LDAP function to add objectClass

From: Date: Tue, 01 Aug 2006 02:48:34 +0000
Subject: LDAP function to add objectClass
Groups: php.general 
Request: Send a blank email to php-general+get-239940@lists.php.net to get a copy of this message
I have an already working LDAP server. One of my user's ldif looks like: ... ... sn: Roger Thomas givenName: Roger Thomas objectClass: top objectClass: person objectClass: inetOrgPerson objectClass: organizationalPerson objectClass: qmailUser objectClass: hordePerson o: example.com ou: people ... ... I have around 9000 user records. And I would like to add a new objectClass (radiusprofile) to each user record like: ... ... objectClass: qmailUser objectClass: hordePerson objectClass: radiusprofile ... ... Question: which LDAP function do I need to use to achive this ? --------------------------------------------------- Sign Up for free Email at http://ureg.home.net.my/ ---------------------------------------------------

« previous php.general (#239940) next »