Re: ldap_rename refused to work
| From: | Roger Thomas | Date: | Thu, 15 Aug 2002 00:22:20 +0000 |
| Subject: | Re: ldap_rename refused to work | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-112635@lists.php.net to get a copy of this message | ||
--- Stig Venaas <venaas@nvg.ntnu.no> wrote:
>
> But you're not doing what I wrote...
:) or else i won't be asking hehehe
>
> The third parameter should be the new rdn (which is the same as the old),
> and the fourth should be new parent. So it should look like this:
>
> $r=ldap_rename($ds,
> "uid=roger,ou=People,ou=Civil,o=Engineering,dc=mydomain,dc=net",
> "uid=roger",
> "ou=People,ou=Credit,o=Finance,dc=mydomain,dc=net", TRUE);
>
> Stig
Great, it works. Stig, you saved my day. I owe you my eternal gratitude.
--
roger
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com