note 24454 rejected from function.ldap-add by betz
| From: | betz@php.net | Date: | Fri, 16 Aug 2002 15:55:13 +0000 |
| Subject: | note 24454 rejected from function.ldap-add by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-35138@lists.php.net to get a copy of this message | ||
i´m need to use ldap_add to make a program, and i ´ve set some attributs like this
$info["dn"]="value";
$info["mail"]="value1";
$info["opm"]=value2;
$info["giveName"]=valeu3;
$info["telephoneNumber"]=value4;
$info["cn"]=value5;
$info["uid"]=value5;
$info["sn"]=value6;
$info["Codigo"]=value7;
$info["unidade"]=valu8;
$info["facsimileTelephoneNumber"]=value9;
$info["posto"]=value10;
$info["userPassword"]=value11;
$info["objectclass"][0]="value12";
$info["objectclass"][1]="value13";
$info["objectclass"][2]="value14";
$info["objectclass"][3]="value15";
$info["objectclass"][4]= "value16";
and apears a error message
Warning: LDAP: add operation could not be completed. in /var/www/htdocs/ldap/add.php on line 66
Object class violation
how can i correct this error???
thanks
Jorge