hallo there again
i would like to modify some entries on my ldap server via php
actually i want to move some students from one dn to another
i use ldap rename but nothing happens ...
$newparent='cn='.$save[$i].',cn=****,ou=******,ou=****.,ou=******,dc=****,dc=***
$dn= $save[$i+1];
$dn2=split("[,]",$dn);//that is the name of the student(which is on the 1st possition of the array as you see below)
$modify=ldap_rename($ldapconn,$dn2[0],NULL,$newparent,true);
on my mind also is to use ldapmodify...but not sure that works for my case
on the ldap administrative side i can see that i also have to delete after moving an entry...
any ideas...
thanks