[Samba] Unable to connect samba server using hostname [2]

DavidDST daviddst at xinus.net
Thu Sep 21 11:35:14 GMT 2006


Hi,

I've got th same problem than in this tread (no solution found) :

http://lists.samba.org/archive/samba/2005-November/113914.html

except I've got the problem on all stations.

I am unable to connect to samba server using it's hostname, whereas it's 
work with IP address. When I use the hostname, Samba always request for 
login/password.

[2006/09/21 12:59:04, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(500)
   NativeOS=[Windows Server 2003 3790 Service Pack 1] NativeLanMan=[]
[2006/09/21 12:59:04, 3] smbd/sesssetup.c:reply_spnego_negotiate(385)
   Got OID 1 2 840 48018 1 2 2
[2006/09/21 12:59:04, 3] smbd/sesssetup.c:reply_spnego_negotiate(385)
   Got OID 1 2 840 113554 1 2 2
[2006/09/21 12:59:04, 3] smbd/sesssetup.c:reply_spnego_negotiate(385)
   Got OID 1 3 6 1 4 1 311 2 2 10
[2006/09/21 12:59:04, 3] smbd/sesssetup.c:reply_spnego_negotiate(388)
   Got secblob of size 1201
[2006/09/21 12:59:04, 10] passdb/secrets.c:secrets_named_mutex(697)
   secrets_named_mutex: got mutex for replay cache mutex
[2006/09/21 12:59:04, 10] libads/kerberos_verify.c:ads_verify_ticket(310)
   ads_verify_ticket: enc type [16] failed to decrypt with error Bad 
encryption type
[2006/09/21 12:59:04, 3] libads/kerberos_verify.c:ads_verify_ticket(310)
   ads_verify_ticket: enc type [3] failed to decrypt with error Decrypt 
integrity check failed
[2006/09/21 12:59:04, 10] libads/kerberos_verify.c:ads_verify_ticket(310)
   ads_verify_ticket: enc type [1] failed to decrypt with error Bad 
encryption type
[2006/09/21 12:59:04, 10] passdb/secrets.c:secrets_named_mutex_release(709)
   secrets_named_mutex: released mutex for replay cache mutex
[2006/09/21 12:59:04, 3] libads/kerberos_verify.c:ads_verify_ticket(317)
   ads_verify_ticket: krb5_rd_req with auth failed (Bad encryption type)
[2006/09/21 12:59:04, 1] smbd/sesssetup.c:reply_spnego_kerberos(172)
   Failed to verify incoming ticket!

Samba has been correctly register in the domain.
Samba use Windows 2003 server as NTP server.
I could obtain user list and group list from winbind.

I could resolve workstations name from Samba server. There is no IP 
restriction on Samba server.

When I use IP address, log is different :

[2006/09/21 13:04:23, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(500)
   NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 
2002 5.1]
[2006/09/21 13:04:23, 3] smbd/sesssetup.c:reply_spnego_negotiate(385)
   Got OID 1 3 6 1 4 1 311 2 2 10
[2006/09/21 13:04:23, 3] smbd/sesssetup.c:reply_spnego_negotiate(388)
   Got secblob of size 40
[2006/09/21 13:04:23, 5] auth/auth.c:make_auth_context_subsystem(484)
   Making default auth method list for security=ADS
[...]

I've got something like "auth/auth.c:make_auth_context_subsystem" with 
IP and "passdb/secrets.c:secrets_named_mutex" with hostname.

Any ideas ?

Kindest regards,

David.


More information about the samba mailing list