# OpenBSD ypldap.conf domain "ccs.ucsb.edu" interval 300 provide map "passwd.byname" provide map "passwd.byuid" provide map "group.byname" provide map "group.bygid" directory "%%MASTER%%" { basedn "dc=ccs,dc=ucsb,dc=edu" passwd filter "(objectClass=posixAccount)" attribute name maps to "uid" fixed attribute passwd "*" attribute uid maps to "uidNumber" attribute gid maps to "gidNumber" attribute gecos maps to "cn" attribute home maps to "homeDirectory" attribute shell maps to "ucsbCcs%%LAYOUT%%" fixed attribute change "0" fixed attribute expire "0" fixed attribute class "ldap" group filter "(objectClass=posixGroup)" attribute groupname maps to "cn" fixed attribute grouppasswd "*" attribute groupgid maps to "gidNumber" list groupmembers maps to "memberUid" } # vim: noexpandtab tabstop=4