[Samba] Re: A little help with nss_ldap - User xxx in passdb, but getpwnam() fails!

Tomasz Chmielewski mangoo at mch.one.pl
Fri Nov 26 19:08:48 GMT 2004

Adam Tauno Williams wrote:
>>>I just tested your settings and they seem to be working.
>>>The auth takes much longer now, maybe because it is working.
>>>When checking shares the getpwnam does not even get called any more.
>>>I noticed many SMB_VFS, NT_STATUS_NO_SUCH_OBJECT in the log, I guess 
>>>that let's me know VFS was complied in my binary.
>>>How is the ldap.conf in the /etc/ directory different then the one found 
>>>in /etc/openldap/
> There is a very simple way to determine this.
> awilliam at laptop01:~> rpm -qf /etc/ldap.conf
> pwdutils-2.6.90-6
> awilliam at laptop01:~> rpm -qf /etc/openldap/ldap.conf
> openldap2-client-2.2.15-5
> So you know from what packages came which file.

I didn't know that, too.

It's confusing to have two config files with the same names in the 
system, isn't it?

They could call this file /etc/nss-ldap.conf (like they did on RedHat i 

But it's not a Samba issue, anyway (although confusing) :)


More information about the samba mailing list