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?
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?