Annotation of src/etc/ypldap.conf, Revision 1.3
1.3 ! ajacouto 1: # $OpenBSD: ypldap.conf,v 1.2 2011/08/28 11:53:16 aschrijver 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.1 ajacouto 16:
17: # passwd maps configuration (RFC 2307 posixAccount object class)
18: passwd filter "(objectClass=posixAccount)"
19:
20: attribute name maps to "uid"
21: fixed attribute passwd "*"
22: attribute uid maps to "uidNumber"
23: attribute gid maps to "gidNumber"
24: attribute gecos maps to "cn"
25: attribute home maps to "homeDirectory"
26: attribute shell maps to "loginShell"
27: fixed attribute change "0"
28: fixed attribute expire "0"
29: fixed attribute class ""
30:
31: # group maps configuration (RFC 2307 posixGroup object class)
32: group filter "(objectClass=posixGroup)"
33:
34: attribute groupname maps to "cn"
35: fixed attribute grouppasswd "*"
36: attribute groupgid maps to "gidNumber"
37: # memberUid returns multiple group members
38: list groupmembers maps to "memberUid"
39: }