Public Attributes

nsIAbLDAPDirectory Interface Reference

XXX This should really inherit from nsIAbDirectory, and some day it will. More...

import "nsIAbLDAPDirectory.idl";

Collaboration diagram for nsIAbLDAPDirectory:

List of all members.

Public Attributes

attribute nsIMutableArray searchServerControls
 If set, these arrays of nsILDAPControls are passed through to the nsILDAPOperation that searchExt is called on.
attribute nsIMutableArray searchClientControls
attribute ACString replicationFileName
 The Replication File Name to use.
attribute unsigned long protocolVersion
 The version of LDAP protocol in use.
attribute ACString saslMechanism
 The SASL mechanism to use to authenticate to the LDAP server If this is an empty string, then a simple bind will be performed A non-zero string is assumed to be the name of the SASL mechanism.
attribute AUTF8String authDn
 The AuthDN to use to access the server.
attribute long maxHits
 The maximum number of matches that the server will return per a search.
attribute long lastChangeNumber
 The Last Change Number used for replication.
attribute ACString dataVersion
 The LDAP server's scoping of the lastChangeNumber.
readonly attribute
nsIAbLDAPAttributeMap 
attributeMap
 The attribute map that is associated with this directory's server.
attribute nsILDAPURL lDAPURL
 The LDAP URL for this directory.
readonly attribute nsILocalFile replicationFile
 The replication (offline) file that this database uses.
readonly attribute nsIAddrDatabase replicationDatabase
 A database that is set up for the replication file.
attribute ACString rdnAttributes
 The LDAP attributes used to build the Relative Distinguished Name of new cards, in the form of a comma separated list.
attribute ACString objectClasses
 The LDAP objectClass values added to cards when they are created/added, in the form of a comma separated list.

Detailed Description

XXX This should really inherit from nsIAbDirectory, and some day it will.

But for now, doing that complicates implementation.


Member Data Documentation

The attribute map that is associated with this directory's server.

attribute AUTF8String nsIAbLDAPDirectory::authDn

The AuthDN to use to access the server.

attribute ACString nsIAbLDAPDirectory::dataVersion

The LDAP server's scoping of the lastChangeNumber.

The Last Change Number used for replication.

The LDAP URL for this directory.

Note that this differs from nsIAbDirectory::URI. This attribute will give you a true ldap url, e.g. ldap://localhost:389/ whereas the uri will give you the directories rdf uri, e.g. moz-abldapdirectory://<pref base="" name>="">/.

The maximum number of matches that the server will return per a search.

The LDAP objectClass values added to cards when they are created/added, in the form of a comma separated list.

The default is to use the following classes: top,person,organizationalPerson,inetOrgPerson,mozillaAbPersonAlpha

attribute unsigned long nsIAbLDAPDirectory::protocolVersion

The version of LDAP protocol in use.

The LDAP attributes used to build the Relative Distinguished Name of new cards, in the form of a comma separated list.

The default is to use the common name (cn) attribute.

A database that is set up for the replication file.

The replication (offline) file that this database uses.

The Replication File Name to use.

The SASL mechanism to use to authenticate to the LDAP server If this is an empty string, then a simple bind will be performed A non-zero string is assumed to be the name of the SASL mechanism.

Currently the only supported mechanism is GSSAPI

If set, these arrays of nsILDAPControls are passed through to the nsILDAPOperation that searchExt is called on.


The documentation for this interface was generated from the following file: