Path: blob/main/share/examples/ypldap/ypldap.conf
105319 views
domain "freebsd.org"1interval 602provide map "passwd.byname"3provide map "passwd.byuid"4provide map "group.byname"5provide map "group.bygid"6provide map "netid.byname"78directory "127.0.0.1" {9# directory options10binddn "cn=ldap,dc=freebsd,dc=org"11bindcred "secret"12basedn "dc=freebsd.,dc=org"13# starting point for groups directory search, default to basedn14groupdn "ou=Groups,dc=freebsd,dc=org"1516# passwd maps configuration (RFC 2307 posixAccount object class)17passwd filter "(objectClass=posixAccount)"1819attribute name maps to "uid"20fixed attribute passwd "*"21attribute uid maps to "uidNumber"22attribute gid maps to "gidNumber"23attribute gecos maps to "cn"24attribute home maps to "homeDirectory"25attribute shell maps to "loginShell"26fixed attribute change "0"27fixed attribute expire "0"28fixed attribute class ""2930# group maps configuration (RFC 2307 posixGroup object class)31group filter "(objectClass=posixGroup)"3233attribute groupname maps to "cn"34fixed attribute grouppasswd "*"35attribute groupgid maps to "gidNumber"36# memberUid returns multiple group members37list groupmembers maps to "memberUid"38}394041