[Samba] Windows machine has to join two times

toonverdonck at dommel.be toonverdonck at dommel.be
Wed Mar 10 08:48:59 MST 2010

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
I already tried an nscd -i passwd after adding a machine but that didn't work
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