Net_LDAP_Entry: add()-Method

From: Date: Tue, 27 Jun 2006 09:41:05 +0000
Subject: Net_LDAP_Entry: add()-Method
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-24481@lists.php.net to get a copy of this message
Hi folks! I am using the Net_LDAP_Entry class from the Net_LDAP Package to manipulate entries in an LDAP-directory. The add()-method is described as follows in the documentation:
Add one or more attribute to the entry The values given will be added to the values which already exist for the given attributes. usage: $entry->add ( array('sn'=>'huse',objectclass=>array(top,posixAccount)))
But when I use add() to add a value to already existing ones for the given attribute the existing values are overwritten. Any hints? Best regards Sebastian -- Sebastian Schneider <schneider@dvz.fh-aachen.de> ========================================================== Studentische Hilfskraft in der Netzzentrale der FH Aachen eMail: schneider@dvz.fh-aachen.de Telefon: (+49) 0241 / 6009 24 42 ==========================================================

« previous php.pear.general (#24481) next »