"getent passwd" and LDAP accounts out of sync

Status
Not open for further replies.

ccy

Dabbler
Joined
Nov 16, 2011
Messages
11
I have both FreeNAS utilize a LDAP service in another host working fine.

Using getent passwd show the LDAP users defined without problem.

If I try to move a LDAP user to another ou (organization unit) in my LDAP directory, I expect the getent passwd shall not list out the user but it keep showing out. Rebuild the directory cache doesn't help too.

I can confirm the user has moved by using ldapsearch.

The only way to make the user disappear in `getent passwd` is reboot the FreeNAS box.

Is there a better to refresh users or can we disable the LDAP cache in FreeNAS?
 
Status
Not open for further replies.
Top