[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: modify DNs in PHP



Hello!

I must make a note here. There isn't a function that is called
ldap_modrdn2 in PHP. But in C API there is. 

/Regards Mats

--
--------------------------------------------------------------------
Mats Luspa 				Phone: +46 (0)980 79 022
Institutet foer Rymdfysik		Fax: +46 (0)980 79 050
Swedish Institute of Space Physics	email: mats.luspa@irf.se
Box 812
SE-981 28 Kiruna, Sweden
--------------------------------------------------------------------

On Tue, 19 Dec 2000, Trotta, Johathan R. wrote:

> ldap_modrdn2()
> 
> int ldap_modrdn2( LDAP *ld, char *entrydn, char *newrdn, int deleteoldrdn );
> 
> or 
> 
> ldap_modrdn2_s()
> 
> (usage is the same)
> 
> J.Trotta
> Pratt & Whitney
> 
> -----Original Message-----
> From: Tomas Kucera [mailto:tom.kucera@sh.cvut.cz]
> Sent: Tuesday, December 19, 2000 5:17 AM
> To: LDAP
> Subject: modify DNs in PHP
> 
> 
> hi,
> does anybody know how to change DNs to another one?
> I have this dn:
> 
> cn=john,ou=marketing,dc=company,dc=country
> 
> and I would change it to:
> 
> cn=john,ou=support,dc=company,dc=country
> 
> but when I dont know how to do it in php
> there is a function ldap_modify but its seems to work only with common
> attributes.
>  
> 	thanks
> 
> -- 
> --------------------------------------------------------------------------
> (o>    Tomas Kucera (kuca) student 6.rocniku FEL CVUT
> //  \    tom.kucera@sh.cvut.cz, tomas@globe.cz       
> V_/_   ICQ: 33297193, TEL: 0604 704983                                   
>        http://symuro.webzdarma.cz
> --------------------------------------------------------------------------
> Linux is like fantasy game: you can kill zombies and invoke daemons
> --------------------------------------------------------------------------
>