Re: add user to ldap using php
| From: | Sayumporn Darunwanna | Date: | Mon, 19 Feb 2001 13:28:03 +0000 |
| Subject: | Re: add user to ldap using php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-40567@lists.php.net to get a copy of this message | ||
I can bind to ldap server successful but ldap add operation couldn't complete.
From: "Richard Lynch" <richard@zend.com> To: <php-general@lists.php.net> Subject: Re: [PHP] add user to ldap using php Date: Mon, 19 Feb 2001 02:13:16 -0600 $a=ldap_add($ds, "uid=beau, dc=graduate, dc=com", $info); but it's an error Waring LDAP: add operation could not be complete in. <my php file> I don't know much about LDAP: Have you checked that $ds is a valid LDAP connection? Can you get your own record out of LDAP using it? Presumably LDAP has some notion of who can add records (or whatever they called them) and who can't. Are you sure the user connected in ldap_open() is empowered to add records at that level in the LDAP space? -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net_________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.