Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   slapd.conf    ( 5 )

файл конфигурации для slapd, автономного демона LDAP (configuration file for slapd, the stand-alone LDAP daemon)

Примеры (Examples)

Here is a short example of a configuration file:

include SYSCONFDIR/schema/core.schema pidfile LOCALSTATEDIR/run/slapd.pid

# Subtypes of "name" (e.g. "cn" and "ou") with the # option ";x-hidden" can be searched for/compared, # but are not shown. See slapd.access(5). attributeoptions x-hidden lang- access to attrs=name;x-hidden by * =cs

# Protect passwords. See slapd.access(5). access to attrs=userPassword by * auth # Read access to other attributes and entries. access to * by * read

database mdb suffix "dc=our-domain,dc=com" # The database directory MUST exist prior to # running slapd AND should only be accessible # by the slapd/tools. Mode 0700 recommended. directory LOCALSTATEDIR/openldap-data # Indices to maintain index objectClass eq index cn,sn,mail pres,eq,approx,sub

# We serve small clients that do not handle referrals, # so handle remote lookups on their behalf. database ldap suffix "" uri ldap://ldap.some-server.com/ lastmod off

"OpenLDAP Administrator's Guide" contains a longer annotated example of a configuration file. The original ETCDIR/slapd.conf is another example.