Annotation of src/etc/ypldap.conf, Revision 1.4
1.4 ! ajacouto 1: # $OpenBSD: ypldap.conf,v 1.3 2012/03/02 07:13:49 ajacoutot Exp $
1.1 ajacouto 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"
1.2 aschrijv 9: provide map "netid.byname"
1.1 ajacouto 10:
11: directory "127.0.0.1" {
12: # directory options
13: binddn "cn=admin,dc=example,dc=com"
14: bindcred "secret"
1.3 ajacouto 15: basedn "dc=example,dc=com"
1.4 ! ajacouto 16: # starting point for groups directory search, default to basedn
! 17: #groupdn "ou=Groups,dc=example,dc=com"
1.1 ajacouto 18:
19: # passwd maps configuration (RFC 2307 posixAccount object class)
20: passwd filter "(objectClass=posixAccount)"
21:
22: attribute name maps to "uid"
23: fixed attribute passwd "*"
24: attribute uid maps to "uidNumber"
25: attribute gid maps to "gidNumber"
26: attribute gecos maps to "cn"
27: attribute home maps to "homeDirectory"
28: attribute shell maps to "loginShell"
29: fixed attribute change "0"
30: fixed attribute expire "0"
31: fixed attribute class ""
32:
33: # group maps configuration (RFC 2307 posixGroup object class)
34: group filter "(objectClass=posixGroup)"
35:
36: attribute groupname maps to "cn"
37: fixed attribute grouppasswd "*"
38: attribute groupgid maps to "gidNumber"
39: # memberUid returns multiple group members
40: list groupmembers maps to "memberUid"
41: }