Hello,
I am writing some LDAP-scripts in PHP. One of the scripts has to add new objects(urls) to the tree using the ldap_add command. The problem is that I cannot add objects of the type "labeledURIObjec" to the tree.
The part of the script posing problems is the following one:
$entry["objectClass"]="labeledURIObject";
$entry["labeledURI"]=" $r=ldap_add($ac, "labeledURI= $entry);
When I execute the script, I get an error telling me that the add-operation could not be completed.
I tried to modify the script a little bit having:
$entry["objectClass"]="organizationalUnit";
$entry["ou"]="test"
$r=ldap_add($ac, "ou=test,ou=Webservers,ou=RTLGROUP,dc=Global,dc=com", $entry);
and everything works fine
So the problem has to be anywhere with my URI-object
Can someone help me please?
Thanx
CB
I am writing some LDAP-scripts in PHP. One of the scripts has to add new objects(urls) to the tree using the ldap_add command. The problem is that I cannot add objects of the type "labeledURIObjec" to the tree.
The part of the script posing problems is the following one:
$entry["objectClass"]="labeledURIObject";
$entry["labeledURI"]=" $r=ldap_add($ac, "labeledURI= $entry);
When I execute the script, I get an error telling me that the add-operation could not be completed.
I tried to modify the script a little bit having:
$entry["objectClass"]="organizationalUnit";
$entry["ou"]="test"
$r=ldap_add($ac, "ou=test,ou=Webservers,ou=RTLGROUP,dc=Global,dc=com", $entry);
and everything works fine
So the problem has to be anywhere with my URI-object
Can someone help me please?
Thanx
CB