[Samba] Windows machine has to join two times

Brian H. Nelson bnelson at cis.ysu.edu
Wed Mar 10 09:15:41 MST 2010


It might be a problem with nscd *negative* result caching as described 
in this post:

http://lists.samba.org/archive/samba/2008-March/139102.html
which also links this post:
http://lists.samba.org/archive/samba/2006-May/120798.html

Maybe those will provide some helpful information for you.

-Brian



toonverdonck at dommel.be wrote:
> Ok, so it's better to clear the cache after adding a machine into the 
> LDAP
> directory so SAMBA can add the right attributes instead of disabling 
> the nscd
> service?
> I already tried an nscd -i passwd after adding a machine but that 
> didn't work
> out
> Quoting John Drescher <drescherjm at gmail.com>:
>
>>> I stopped the nscd service and now I can join the machine's from the 
>>> first
>>> time!
>>> Wasn't the cache cleared by adding "nscd -i passwd" to the scripts? 
>>> Is it a
>>> good
>>> idea to disable this service?
>>
>> In a lot of cases the answer is no. If your ldap server is not on the
>> same box the answer is definitely no because you will take a huge
>> performance hit when accessing files.
>>
>> John
>>
>
>
>


More information about the samba mailing list