Logo Search packages:      
Sourcecode: dacode version File versions  Download package

Ldap Class Reference

List of all members.


Detailed Description

Class to manage a dacode ldap users ldap.inc - version 1.1

Copyright (C) 1998 Eric Kilfoil eric@ipass.net

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

The author can be reached at eric@ypass.net

daCode http://www.dacode.org/ src/phplib/ldap.php3

Id
ldap.php3,v 1.7.2.5 2002/07/26 21:33:37 ruffy Exp
Adapted by Pascal Pucci Pascal@deenoo.com for daCode April 2001

FIXME: cleanup necessary

Author:
Eric Kilfoil <eric@ipass.net>

Definition at line 35 of file ldap.php3.


Public Member Functions

 cat ($dn)
 cd ($dir)
 connect ($binddn, $bindpw, $hostname)
 count ()
 disconnect ()
 fetch ()
 getAllows ($ocname)
 getBaseDN ($basedn)
 getBindDN ($binddn)
 getBindPassword ($bindpw)
 getDN ()
 getLDAPHost ($hostname)
 getObjectClasses ()
 getParentDir ($basedn="")
 getRequires ($ocname)
 isAllowed ($ocname, $allowed)
 isObjectClass ($ocname)
 isRequired ($ocname, $required)
 Ldap ($binddn="", $bindpw="", $hostname="")
 ls ($filter="(objectclass=*)", $basedn="")
 mkdir ($attrname, $dirname, $basedn="")
 modify ($attrs)
 readConfiguration ($OCconfigFilePath="")
 rename ($attrs, $dn="")
 resetResult ()
 rm ($attrs="", $dn="")
 rmdir ($deletedn)
 search ($filter)
 setBaseDN ($basedn)
 setBindDN ($binddn)
 setBindPassword ($bindpw)
 setLDAPHost ($hostname)

Public Attributes

 $basedn
 $bid = 0
 $binddn
 $bindpw
 $cid = 0
 $error = ""
 $hostname
 $objectClasses = array()
 $OCconfigFilePath
 $re = 0
 $sr = 0
 $start = 0

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

Generated by  Doxygen 1.6.0   Back to index