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

Robert Silvia coolhand1977 at comcast.net
Fri Nov 26 22:00:43 GMT 2004


Yeah good information...

on redhat it's ldap.conf in /etc/ too go figure

Tomasz Chmielewski wrote:
> 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 
> think).
> 
> But it's not a Samba issue, anyway (although confusing) :)
> 
> 
> Tomek



More information about the samba mailing list