FreeBSD 13.1 using a default /etc/nsswitch.conf except for
Lookups work as expects with entries in /etc/passwd not triggering an LDAP search and missing entries do. Now if I add LDAP into group:
I get 2 x LDAP lookups for every request with the following filters:
/etc/[passwd|group] are set up correctly with local users (like root) so why is ldap being interrogated.
Code:
passwd: files ldap
Code:
group: files ldap
Code:
filter="(&(objectClass=posixAccount)(uid=root))"
attr=uid uidNumber
"(&(objectClass=posixGroup)(memberUid=root))"
attr=cn gidNumber