YPLDAP.CONF(5) | MidnightBSD File Formats Manual | YPLDAP.CONF(5) |
ypldap.conf
— LDAP
YP map daemon configuration file
The ypldap(8) daemon provides YP maps using LDAP as a backend.
The ypldap.conf
config file is divided
into three main sections.
Much like cpp(1)
or m4(1), macros can be
defined that will later be expanded in context. Macro names must start with
a letter, digit, or underscore, and may contain any of those characters.
Macro names may not be reserved words (for example,
domain
). Macros are not expanded inside quotes.
For example:
fixed_gecos="Pulled from LDAP" fixed attribute gecos $fixed_gecos
Global settings concern the main behaviour of the daemon.
ypldap.conf
will provide.ypldap.conf
The currently implemented maps are:
passwd.byname, passwd.byuid, group.byname, group.bygid.Directories are used to describe the LDAP schema and help
ypldap.conf
convert LDAP entries to
passwd(5),
master.passwd(5),
and group(5) lines. A
directory declaration is of the following form:
directory "some.host" { # directives }
Valid directives for directories are:
attribute
name maps to
stringbasedn
stringgroupdn
stringbindcred
stringbinddn
stringfixed
attribute
attribute stringgroup
filter
stringlist
name maps to
stringValid attributes are:
passwd filter
stringThe ypldap.conf
file format first appeared
in OpenBSD 4.4.
March 22, 2020 | midnightbsd-3.1 |