Annotation of src/etc/ypldap.conf, Revision 1.1
1.1 ! ajacouto 1: # $OpenBSD$
! 2:
! 3: domain "example.com"
! 4: interval 60
! 5: provide map "passwd.byname"
! 6: provide map "passwd.byuid"
! 7: provide map "group.byname"
! 8: provide map "group.bygid"
! 9:
! 10: directory "127.0.0.1" {
! 11: # directory options
! 12: binddn "cn=admin,dc=example,dc=com"
! 13: bindcred "secret"
! 14: basedn "ou=People,dc=example,dc=com"
! 15:
! 16: # passwd maps configuration (RFC 2307 posixAccount object class)
! 17: passwd filter "(objectClass=posixAccount)"
! 18:
! 19: attribute name maps to "uid"
! 20: fixed attribute passwd "*"
! 21: attribute uid maps to "uidNumber"
! 22: attribute gid maps to "gidNumber"
! 23: attribute gecos maps to "cn"
! 24: attribute home maps to "homeDirectory"
! 25: attribute shell maps to "loginShell"
! 26: fixed attribute change "0"
! 27: fixed attribute expire "0"
! 28: fixed attribute class ""
! 29:
! 30: # group maps configuration (RFC 2307 posixGroup object class)
! 31: group filter "(objectClass=posixGroup)"
! 32:
! 33: attribute groupname maps to "cn"
! 34: fixed attribute grouppasswd "*"
! 35: attribute groupgid maps to "gidNumber"
! 36: # memberUid returns multiple group members
! 37: list groupmembers maps to "memberUid"
! 38: }