[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:11:06 GMT 2004

I can say this if Tomak is using Suse then this may very well be how 
Suse built the package.

I left suse for this exact reason, a perfect example of how they changed 
Samba's "ldap ssl = "parameter

for what ever reason they set this parameter to relate to start_tls / 
false instead of start_tls / off.

so they may have change other settings as well.

Using redhat 9 %u works as it should.

I can't begin to explain the nightmares I had setting up cyrus on suse 
because of all the proprietary settings they have.


John H Terpstra wrote:
> On Friday 26 November 2004 11:19, Tomasz Chmielewski wrote:
> ...
>>Of all howtos etc. I made through, I was only able to setup Samba + LDAP
>>using Samba Guide (chapter 6, Making users happy) - it has the smallest
>>number of bugs - without correcting them (like %m needed instead of %u),
>>running Samba + LDAP would be impossible.
> I guess you are absolutely certain that the use of %u in the "add machine 
> script" is a bug. Please file a bug report on bugzilla.samba.org with a 
> reproducible test case to prove that this is a bug. 
> If it is a bug then we MUST fix it, and then I will update the documentation 
> also.
> At this time, in my test environment, using %u (not %m) works perfectly as I 
> have documented it. If this does not work in your environment please help me 
> to see why. At this time I can not reproduce your problem and thus I fear 
> that your advice is misleading.
> Given that one of us is wrong, let's get to the bottom of the problem and fix 
> it.
>>There is explained how to check which ldap.conf your system uses (for
> Cheers,
>  John T.

More information about the samba mailing list