]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/examples/ypldap/ypldap.conf
Import OpenCSD -- an ARM CoreSight(tm) Trace Decode Library.
[FreeBSD/FreeBSD.git] / share / examples / ypldap / ypldap.conf
1 $FreeBSD$
2 domain          "freebsd.org"
3 interval        60
4 provide map     "passwd.byname"
5 provide map     "passwd.byuid"
6 provide map     "group.byname"
7 provide map     "group.bygid"
8 provide map     "netid.byname"
9
10 directory "127.0.0.1" {
11         # directory options
12         binddn "cn=ldap,dc=freebsd,dc=org"
13         bindcred "secret"
14         basedn "dc=freebsd.,dc=org"
15         # starting point for groups directory search, default to basedn
16         groupdn "ou=Groups,dc=freebsd,dc=org"
17
18         # passwd maps configuration (RFC 2307 posixAccount object class)
19         passwd filter "(objectClass=posixAccount)"
20
21         attribute name maps to "uid"
22         fixed attribute passwd "*"
23         attribute uid maps to "uidNumber"
24         attribute gid maps to "gidNumber"
25         attribute gecos maps to "cn"
26         attribute home maps to "homeDirectory"
27         attribute shell maps to "loginShell"
28         fixed attribute change "0"
29         fixed attribute expire "0"
30         fixed attribute class ""
31
32         # group maps configuration (RFC 2307 posixGroup object class)
33         group filter "(objectClass=posixGroup)"
34
35         attribute groupname maps to "cn"
36         fixed attribute grouppasswd "*"
37         attribute groupgid maps to "gidNumber"
38         # memberUid returns multiple group members
39         list groupmembers maps to "memberUid"
40 }