samba4 testing with smbclient fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba4 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I am attempting to install Samba 4 for use as a primary domain controller using version 4.0.0~alpha18.
smbclient //localhost/
includes the lines
GSSAPI to 'localhost' does not make sense
Failed to start GENSEC client mech gssapi_krb5: NT_STATUS_
and the password prompt fails to accept the password - the session ends with
Connection to \\localhost\
after the third try. However
smbclient //localhost/
*does* get to the smb: \> prompt, though the same two error messages show up in the debug output. Replacing localhost with irishtown.
Error reading smb_krb5 reply packet: NT_STATUS_
Error reading smb_krb5 reply packet: NT_STATUS_
Error reading smb_krb5 reply packet: NT_STATUS_
Failed to get kerberos credentials: kinit for <email address hidden> failed (Cannot contact any KDC for requested realm)
Cannot reach a KDC we require to contact <email address hidden> : kinit for <email address hidden> failed (Cannot contact any KDC for requested realm)
SPNEGO(gssapi_krb5) NEG_TOKEN_INIT failed: NT_STATUS_
My general network configuration seems to be working. DNS is set up, and the test host commands specified in the HOWTO all seem to work. There doesn't appear to be any firewalling going on. smbclient doesn't seem to be generating any messages on /var/log/syslog .
Thanks for reporting your test results on Samba 4. I'm not sure what you're actually reporting as a bug here though?
Note that the HOWTO suggests "smbclient //localhost/ netlogon -d 5 -Uadministrator %[the password]" and you report that actually works for you.
The lines:
GSSAPI to 'localhost' does not make sense INVALID_ PARAMETER
Failed to start GENSEC client mech gssapi_krb5: NT_STATUS_
are showing up because it first tries to use GSSAPI (Kerberos), which doesn't work for localhost.