[Samba] Samba does not work unless nscd is running

John Du jjohndu at gmail.com
Sun Feb 8 00:37:27 GMT 2009


I recently added a Samba server to an existing domain as a BDC.  It gave 
the following error for each authentication request:

[2009/02/06 04:59:55, 0] passdb/pdb_get_set.c:pdb_get_group_sid(211)
  pdb_get_group_sid: Failed to find Unix account for ditas
[2009/02/06 04:59:55, 1] auth/auth_util.c:make_server_info_sam(589)
  User ditas in passdb, but getpwnam() fails!
[2009/02/06 04:59:55, 0] auth/auth_sam.c:check_sam_security(353)
  check_sam_security: make_server_info_sam() failed with 

I googled and found a post with the same errors.  The poster said 
running ncsd fixed his problem.  I started nscd on the host the new 
Samba server is running on and the errors went away.

Samba version: 3.0.33
OS: RHEL5, kernel 2.6.18-128.el5.

Other samba servers in the domain are 3.0.28 and they do not have this 

Is this (requiring running nscd) expected behavior?  I do not see it 
mentioned anywhere in the Samba documentation.

Thanks for help!


More information about the samba mailing list