OpenBSD manual page server

Manual Page Search Parameters

LDAPD(8) System Manager's Manual LDAPD(8)

ldapdLightweight Directory Access Protocol daemon

ldapd [-dnv] [-D macro=value] [-f file] [-s file]

ldapd is a daemon which implements version 3 of the LDAP protocol.

A running ldapd process can be controlled using the ldapctl(8) utility.

The options are as follows:

macro=value
Define macro to be set to value on the command line. Overrides the definition of macro in the configuration file.
Do not daemonize and log to .
file
Use file as the configuration file, instead of the default /etc/ldapd.conf.
Configtest mode. Only check the configuration file for validity.
file
Specify an alternative location for the socket file.
Produce more verbose output. A second -v together with the -d flag produces debug traces of decoded BER messages on stderr.

ldapd can authenticate users via simple binds or SASL with the PLAIN mechanism.

When using simple binds, the bind DN entry must exist in a namespace and have a userPassword attribute. The following formats of the userPassword attribute are recognized:

Verify the password against the SHA-1 digest.
Verify the password against the salted SHA-1 digest.
Verify the password against the crypt(3) hash.
Use BSD Authentication with the given username and authentication style “auth-ldap”. This is similar to using SASL PLAIN authentication with username as the authentication ID.
Same as above, but overrides the login class.

Without a prefix, the userPassword attribute is compared literally with the provided plain text password.

When using SASL binds, the authentication ID should be a valid username for BSD Authentication.

For plain text passwords to be accepted, the connection must be considered secure, either by using an encrypted connection, or by using the secure keyword in the configuration file.

/etc/ldapd.conf
default ldapd configuration file
/var/run/ldapd.sock
default ldapd control socket
/var/db/ldap/*.db
ldapd database files

ldapd.conf(5), login.conf(5), ldapctl(8)

J. Sermersheim, Lightweight Directory Access Protocol (LDAP): The Protocol, RFC 4511, June 2006.

K. Zeilenga, Lightweight Directory Access Protocol (LDAP): Directory Information Models, RFC 4512, June 2006.

The ldapd program first appeared in OpenBSD 4.8.

ldapd is not yet fully LDAPv3 compliant.

August 14, 2013 OpenBSD-5.6