| Main index | Section 5 | Options |
| Macros | |
| User-defined variables may be defined and used later, simplifying the configuration file. | |
| Global Configuration | |
| Global settings for ypldap(8). | |
| Directories | |
| LDAP Directory specific parameters. | |
For example:
fixed_gecos="Pulled from LDAP"
fixed attribute gecos $fixed_gecos
| domain string | |
| Specify the name of the NIS domain ypldap.conf will provide. | |
| interval seconds | |
| Specify the interval in seconds at which the whole directory will be pulled from LDAP. | |
| provide map string | |
| Specify a map that should be provided by ypldap.conf The currently implemented maps are: passwd.byname, passwd.byuid, group.byname, group.bygid. | |
directory "some.host" {
# directives
}
Valid directives for directories are:
| attribute name maps to string Map the passwd(5), master.passwd(5), or group(5) attribute to the LDAP attribute name supplied. | |
| basedn string | |
| Use the supplied search base as starting point for the directory search. | |
| groupdn string | |
| Use the supplied search base as starting point for the directory search for groups. If not supplied, the basedn value will be used. | |
| bindcred string | |
| Use the supplied credentials for simple authentication against the directory. | |
| binddn string | |
| Use the supplied Distinguished Name to bind to the directory. | |
| fixed attribute attribute string | |
| Do not retrieve the specified attribute from LDAP but instead set it unconditionally to the supplied value for every entry. | |
| group filter string | |
| Use the supplied LDAP filter to retrieve group entries. | |
| list name maps to string
Map the
passwd(5),
master.passwd(5),
or
group(5)
attribute to the LDAP attribute name supplied.
A list creates a comma separated list of all the LDAP attributes found.
Valid attributes are:
| |
| name
passwd uid gid gecos home shell change expire class groupname grouppasswd groupgid groupmembers | |
| passwd filter string | |
| Use the supplied LDAP filter to retrieve password entries. | |
| /etc/ypldap.conf | |
| ypldap(8) configuration file. | |
| /usr/share/examples/ypldap/ypldap.conf | |
| ypldap(8) configuration file example. | |
| YPLDAP.CONF (5) | $Mdocdate: March 22 2020 $ |
| Main index | Section 5 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | Ken Thompson has an automobile which he helped design. Unlike most automobiles, it has neither speedometer, nor gas gauge, nor any of the other numerous idiot lights which plague the modern driver. Rather, if the driver makes a mistake, a giant “?” lights up in the center of the dashboard. “The experienced driver,” says Thompson, “will usually know what's wrong.” | ” |