Next: Low-level Operations on a LDAP Server, Previous: The LDAP Lisp Object, Up: The Low-Level LDAP API
Open a LDAP connection to host. plist is a property list containing additional parameters for the connection. Valid keys in that list are:
port- The TCP port to use for the connection if different from
ldap-default-portor the library builtin valueauth- The authentication method to use, possible values depend on the LDAP library SXEmacs was compiled with, they may include
simple,krbv41andkrbv42.binddn- The distinguished name of the user to bind as. This may look like ‘c=com, o=Acme, cn=Babs Jensen’, see RFC 1779 for details.
passwd- The password to use for authentication.
deref- The dereference policy is one of the symbols
never,always,searchorfindand defines how aliases are dereferenced.The default is
never- Aliases are never dereferenced.
always- Aliases are always dereferenced.
search- Aliases are dereferenced when searching.
find- Aliases are dereferenced when locating the base object for the search.
never.timelimit- The timeout limit for the connection in seconds.
sizelimit- The maximum number of matches to return for searches performed on this connection.