For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > June 2006 > Net_LDAP_Entry: add()-Method









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Net_LDAP_Entry: add()-Method
Sebastian Schneider

2006-06-27, 4:00 am

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
========================================
==================
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com