add user
808168Apr 12 2009 — edited Aug 5 2009Hi,
How to add a hundred users into DS6.2? Currently im copy & paste into 1 file by using below format(ldif) & edit the uid for each person.
Eg:
dn: uid=amin,ou=staff,dc=usim,dc=edu,dc=my
cn: amin
sn: razak
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
uid: amin
ou:xythos
userPassword: abc123
Then, i rename the file as user.ldif & issue this command root@ldap # ldapadd -h ldap -D "cn=directory manager" -a -f /tmp/users.ldif.
Is there any easy way to dump the users? Im thinking this is a wasting time & not the effective way.Pls advise.