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

Re: OpenLDAP and PHP/Apache problem (more info)



This is actually the wrong place for this message. You should try teh php
mailing list instead. However...

> 
> $info["givenname"]="aaaaaaaaaaaaaaaaa";
> $sr=ldap_mod_replace($ds,"uid=myid1,dc=mydomain",$info);
> 

Shouldn't this be:

$info["givenname"][0]="aaaaaaaaaaaaaaaaa";
$sr=ldap_mod_replace($ds,"uid=myid1,dc=mydomain",$info);

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`     bcollins@debian.org  --  bcollins@openldap.org  --  bmc@visi.net     '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'