smeshy123
08-31-2007, 08:03 PM
Warning: ldap_add() [function.ldap-add]: Add: Naming violation
$dn = "uid=nuser,cn=users,dc=category,dc=domain,dc=com";
$newuser["objectclass"] = "inetOrgPerson";
$newuser["cn"] = "new";
$newuser["sn"] = "user";
ldap_add($conn,$dn,$newuser);
Above is the code that seems to be throwing the error. Any ideas about how I could fix this?
Thanks!!!
Smeshy
$dn = "uid=nuser,cn=users,dc=category,dc=domain,dc=com";
$newuser["objectclass"] = "inetOrgPerson";
$newuser["cn"] = "new";
$newuser["sn"] = "user";
ldap_add($conn,$dn,$newuser);
Above is the code that seems to be throwing the error. Any ideas about how I could fix this?
Thanks!!!
Smeshy