Re: add user to ldap using php

From: Date: Mon, 19 Feb 2001 08:13:16 +0000
Subject: Re: add user to ldap using php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-40540@lists.php.net to get a copy of this message
> $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

« previous php.general (#40540) next »