Re: [PHP3] ldap_rename() ??

From: Date: Thu, 23 Mar 2000 01:20:10 +0000
Subject: Re: [PHP3] ldap_rename() ??
Groups: php.dev 
Request: Send a blank email to php-dev+get-17157@lists.php.net to get a copy of this message
Nathan, The reason why I can't use a copy & delete approach is because I have configure the ldap server to maintain referential integrity on a particular attribute(like uniquemember). IOW, one attribute in my directory points to another dn. That was my first approach. If I delete the entry then I get a broken reference. The directory server needs to know that I am "renaming" a dn so that it can maintain the referential integrity. I thought also doing the same thing that you suggested: modify the source for my own purposes. Although I might end up doing that, I wanted to know if there are immediate plans to add lpad functionality to php to avoid reinventing the wheel. Thanks, Carlos --- Nathan Benson <phuzz@phactor.org> wrote: > sure. there was a way to implement an > ldap_set_option() in PHP. use the source, > it's what i did. (; > > although, i suppose you could write your own PHP > function to get the value of 'attribute', > store it, use ldap_mod_add() to create your new one, > then use ldap_mod_del() to nix the > old one. not too hard, probably easier than hacking > the PHP source and recompliling. > > or am i just way off? is there an easier way to do > this? someone lemme know if i'm a > dummy and have missed something. > > on Tue, 21 Mar 2000, Cyberbyte is accused of > writing: > > > Are there any plans to implement an ldap_rename > function in php? > > > > Thanks, > > > > Carlos Guzman > > > > > > -- > > PHP 3 Mailing List <http://www.php.net/> > > To unsubscribe, send an empty message to > php3-unsubscribe@lists.php.net > > To subscribe to the digest, e-mail: > php3-digest-subscribe@lists.php.net > > To search the mailing list archive, go to: > http://www.php.net/mailsearch.php3 > > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > > -- > Nathan Benson > ------------- > http://www.phactor.org/ > > Me spell chucker work grate. Need grandma chicken. > __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com

« previous php.dev (#17157) next »