Next: Low-level Operations on a LDAP Server, Previous: The LDAP Lisp Object, Up: The Low-Level LDAP API [Contents][Index]
Open a LDAP connection to host. plist is a property list containing additional parameters for the connection. Valid keys in that list are:
portThe TCP port to use for the connection if different from
ldap-default-port or the library builtin value
authThe authentication method to use, possible values depend on the LDAP
library SXEmacs was compiled with, they may include simple,
krbv41 and krbv42.
binddnThe distinguished name of the user to bind as. This may look like ‘c=com, o=Acme, cn=Babs Jensen’, see RFC 1779 for details.
passwdThe password to use for authentication.
derefThe dereference policy is one of the symbols never,
always, search or find and defines how aliases are
dereferenced.
neverAliases are never dereferenced.
alwaysAliases are always dereferenced.
searchAliases are dereferenced when searching.
findAliases are dereferenced when locating the base object for the search.
The default is never.
timelimitThe timeout limit for the connection in seconds.
sizelimitThe maximum number of matches to return for searches performed on this connection.
Close the connection represented by ldap.