From Joomla! Documentation

Revision as of 16:14, 22 March 2010 by Doxiki (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

[Edit Descripton] Description:JLDAP

Defined in



Method name Description
__construct Constructor
connect Connect to server boolean True if successful public
close Close the connection public
setDN Sets the DN with some template replacements
getDN string The current dn public
anonymous_bind Anonymously Binds to LDAP Directory
bind Binds to the LDAP directory
simple_search Perform an LDAP search using comma seperated search strings
search Perform an LDAP search
replace Replace an entry and return a true or false result
modify Modifies an entry and return a true or false result
remove Removes attribute value from given dn and return a true or false result
compare Compare an entry and return a true or false result
read Read all or specified attributes of given dn
delete Deletes a given DN from the tree
create Create a new DN
add Add an attribute to the given DN Note: DN has to exist already
rename Rename the entry
getErrorMsg Returns the error message
ipToNetAddress Converts a dot notation IP address to net address (e.g. for Netware, etc)
LDAPNetAddr extract readable network address from the LDAP encoded networkAddress attribute. Jay Burrell, Systems & Networks, Mississippi State University Please keep this document block and author attribution in place.

Novell Docs, see: for Address types: LDAP Format, String: taggedData = uint32String "#" octetstring byte 0 = uint32String = Address Type: 0= IPX Address; 1 = IP Address byte 1 = char = "#" - separator byte 2+ = octetstring - the ordinal value of the address Note: with eDirectory 8.6.2, the IP address (type 1) returns correctly, however, an IPX address does not seem to. eDir 8.7 may correct this. Enhancement made by Merijn van de Schoot: If addresstype is 8 (UDP) or 9 (TCP) do some additional parsing like still returning the IP address

generatePassword Generates a LDAP compatible password


jimport( 'joomla.client.ldap' );

[Edit See Also] SeeAlso:JLDAP


<CodeExamplesForm />