ICE import + eDir attributes modify
ice -S LDIF -f modify.ldf -D LDAP -s -d -W
ice -S LDIF -f modify.ldf -D LDAP -s 192.168.0.2 -d cn=admin,ou=system,o=eee -W
-W: prompt for password
LDIF file:
version: 1
dn: cn=10F01,ou=F,ou=Grade10,ou=Student,ou=User,o=eee
changetype: modify
replace: ndsHomeDirectory
ndsHomeDirectory: cn=Beethoven_STUDENT,ou=system,o=eslc#0#Grade10\F\10F01
dn: cn=10F02,ou=F,ou=Grade10,ou=Student,ou=User,o=eee
changetype: modify
replace: ndsHomeDirectory
ndsHomeDirectory: cn=Beethoven_STUDENT,ou=system,o=eslc#0#Grade10\F\10F02
dn: cn=10F03,ou=F,ou=Grade10,ou=Student,ou=User,o=eee
changetype: modify
replace: ndsHomeDirectory
ndsHomeDirectory: cn=Beethoven_STUDENT,ou=system,o=eslc#0#Grade10\F\10F03
ice -S LDIF -f modify.ldf -D LDAP -s 192.168.0.2 -d cn=admin,ou=system,o=eee -W
-W: prompt for password
LDIF file:
version: 1
dn: cn=10F01,ou=F,ou=Grade10,ou=Student,ou=User,o=eee
changetype: modify
replace: ndsHomeDirectory
ndsHomeDirectory: cn=Beethoven_STUDENT,ou=system,o=eslc#0#Grade10\F\10F01
dn: cn=10F02,ou=F,ou=Grade10,ou=Student,ou=User,o=eee
changetype: modify
replace: ndsHomeDirectory
ndsHomeDirectory: cn=Beethoven_STUDENT,ou=system,o=eslc#0#Grade10\F\10F02
dn: cn=10F03,ou=F,ou=Grade10,ou=Student,ou=User,o=eee
changetype: modify
replace: ndsHomeDirectory
ndsHomeDirectory: cn=Beethoven_STUDENT,ou=system,o=eslc#0#Grade10\F\10F03
0 Comments:
Post a Comment
<< Home