[Samba] windows 7 machine account fails to authenticate against samba PDC

mrArcabuz jg2001 at alexacorp.com
Tue Jun 21 16:31:14 MDT 2011

Hi, it's been a while since the original message appeared, but here's my
experience in case someone finds it useful:

 I set up a standalone (tdb backend) PDC on samba 3.4.7 (Ubuntu 10.04 LTS)
and got similar messages as graham-65 did:

[2011/06/21 17:01:45,  1] auth/auth_util.c:577(make_server_info_sam) 
  User WIN7HOST$ in passdb, but getpwnam() fails! 
[2011/06/21 17:01:45,  0] auth/auth_sam.c:355(check_sam_security) 
  check_sam_security: make_server_info_sam() failed with

 In my case, the logon proceeds normally & the user on WIN7HOST$ can open
and close files normally.

 I believe the issue lies with the upper case name of the machine account.

 I changed the machine account name to uppercase in the passwd & shadow
files and the message does not appear anymore in the logs.

 This would explain why it's not an issue on an LDAP backend, as the uid
there is case insensitive.



View this message in context: http://samba.2283325.n4.nabble.com/windows-7-machine-account-fails-to-authenticate-against-samba-PDC-tp2446003p3615534.html
Sent from the Samba - General mailing list archive at Nabble.com.

More information about the samba mailing list