Changeset View
Changeset View
Standalone View
Standalone View
share/examples/ypldap/ypldap.conf
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
domain "freebsd.org" | |||||
interval 60 | |||||
provide map "passwd.byname" | |||||
provide map "passwd.byuid" | |||||
provide map "group.byname" | |||||
provide map "group.bygid" | |||||
provide map "netid.byname" | |||||
directory "127.0.0.1" { | |||||
# directory options | |||||
binddn "cn=ldap,dc=freebsd,dc=org" | |||||
bindcred "secret" | |||||
basedn "dc=freebsd.,dc=org" | |||||
# starting point for groups directory search, default to basedn | |||||
groupdn "ou=Groups,dc=freebsd,dc=org" | |||||
# passwd maps configuration (RFC 2307 posixAccount object class) | |||||
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 "loginShell" | |||||
fixed attribute change "0" | |||||
fixed attribute expire "0" | |||||
fixed attribute class "" | |||||
# group maps configuration (RFC 2307 posixGroup object class) | |||||
group filter "(objectClass=posixGroup)" | |||||
attribute groupname maps to "cn" | |||||
fixed attribute grouppasswd "*" | |||||
attribute groupgid maps to "gidNumber" | |||||
# memberUid returns multiple group members | |||||
list groupmembers maps to "memberUid" | |||||
} |