1)install the samba3.0.31 and configure 2)setting an user for SSO samba -bash-3.00$ smbclient -k -L localhost OS=[Unix] Server=[Samba 3.0.31-cdc-4.2.0-147] Sharename Type Comment --------- ---- ------- samba-test Disk IPC$ IPC IPC Service (Samba-CDC) testone Disk Home directories OS=[Unix] Server=[Samba 3.0.31-cdc-4.2.0-147] Server Comment --------- ------- Workgroup Master --------- ------- WONDER B-SOL1064 3)modify the /etc/hosts 192.168.168.15 b-sol8 change it into 192.168.168.15 localhost.localdomain b-sol8 the sso samba -bash-3.00$ smbclient -k -L localhost cli_session_setup_blob: recieve failed (NT_STATUS_LOGON_FAILURE) session setup failed: NT_STATUS_LOGON_FAILURE
Created attachment 3491 [details] samba.log samba.log on the level10
You have basically changed the principal name of the system. Not fixing this unless unles you can provide a more convincing argument.
wo don't change anything on the debian3.1. the localhost.localdomain is in /etc/hosts by default, so the samba kerberos authentication does not work, if we don't remove the localhost.localdomain. So I think need to fix it on debian3.1
(In reply to comment #3) > wo don't change anything on the debian3.1. > the localhost.localdomain is in /etc/hosts by default, > so the samba kerberos authentication does not work, if we don't remove the > localhost.localdomain. > > So I think need to fix it on debian3.1 > localhost should be an entry for 127.0.0.1. You said in the original description "(3) modify the /etc/hosts" so perhaps this is just a debian bug. I still consider this a system misconfiguration issue and not a source code bug in Samba.
yes, you are right, this is just a debian bug. Since the line:"127.0.0.1 localhost.localdomain localhost" is in /etc/hosts on debian by default. if we don't remove the localhost.localdomain from /etc/hosts on debian, The samba kerberos authentication does not work. Does it need to be fixed it?
Please open a Debian bug report as it seems to be an Debian issue. Closing out bug report.