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:
port
The TCP port to use for the connection if different from
ldap-default-port
or the library builtin value
auth
The authentication method to use, possible values depend on the LDAP
library SXEmacs was compiled with, they may include simple
,
krbv41
and krbv42
.
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
, search
or find
and defines how aliases are
dereferenced.
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.
The default is never
.
timelimit
The timeout limit for the connection in seconds.
sizelimit
The maximum number of matches to return for searches performed on this connection.
Close the connection represented by ldap.