Next: , Previous: , Up: SXEmacs LDAP API   [Contents][Index]


60.2.1 LDAP Variables

Variable: ldap-default-host

The default LDAP server hostname. A TCP port number can be appended to that name using a colon as a separator.

Variable: ldap-default-port

Default TCP port for LDAP connections. Initialized from the LDAP library. Default value is 389.

Variable: ldap-default-base

Default base for LDAP searches. This is a string using the syntax of RFC 1779. For instance, "o=ACME, c=US" limits the search to the Acme organization in the United States.

Variable: ldap-host-parameters-alist

An alist of per host options for LDAP transactions. The list elements look like (HOST PROP1 VAL1 PROP2 VAL2 ...) host is the name of an LDAP server. A TCP port number can be appended to that name using a colon as a separator. propn and valn are property/value pairs describing parameters for the server. Valid properties:

binddn

The distinguished name of the user to bind as. This may look like ‘cn=Babs Jensen,o=ACME,c=US’, see RFC 1779 for details.

passwd

The password to use for authentication.

auth

The authentication method to use, possible values depend on the LDAP library SXEmacs was compiled with, they may include simple, krbv41 and krbv42.

base

The base for the search. This may look like ‘cÿ, o¬me’, see RFC 1779 for syntax details.

scope

One of the symbols base, onelevel or subtree indicating the scope of the search limited to a base object, to a single level or to the whole subtree.

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

timelimit

The timeout limit for the connection in seconds.

sizelimit

The maximum number of matches to return for searches performed on this connection.

Variable: ldap-verbose

If non-nil, LDAP operations will echo progress messages. Defaults to nil.


Next: , Previous: , Up: SXEmacs LDAP API   [Contents][Index]