This shows an Example on How To use Novell's ICE command to create and load Test Users.
Create a template similar to:
#====================================================================== # DirLoad 1.00 # Template created on 19/05/2006 by K.R.Koushik [rkoushik@novell.com] # modified by jim.willeke.com #====================================================================== !COUNTER=00001 !OBJECTCOUNT=5 !UNICYCLE=first.txt,last.txt #!CYCLE=ou,BLOCK=10 #!CYCLE=first.txt #---------------------------------------------------------------------- # ATTRIBUTE TEMPLATE # #---------------------------------------------------------------------- objectclass: top objectclass: person objectclass: organizationalPerson objectclass: inetorgPerson facsimileTelephoneNumber: 1-800-$C(%03d)-$N(1-9999,%04d) telephoneNumber: 1-800-$C(%03d)-$N(1-9999,%04d) telephoneNumber: 1-800-$C(%03d)-$N(1-5555,%04d) l: $R(locations.txt) #Language: $R(languages.txt) title: $R(titles.txt) city: $R(cities.txt) initials: $R(initials.txt) jobcode: $R(jobcode.txt) sn: $R(last.txt) givenName: $R(first.txt) displayName: $R(first.txt) mail: $A(givenname).$A(sn)@$R(company.txt).$R(domain.txt) ou: $R(departments.txt) fullName: $A(givenname)_$A(sn) userpassword: novell dn: cn=$R(alpha.txt)$N(1-99999,%05d),ou=users,dc=willeke,dc=com #----------------------------------------------------------------------
ice -S load -f C:\mydata\common\bin\ldapTools\ldif-template\ldif-template\jeems-template -D ldif -f C:\mydata\common\bin\ldapTools\ldif-template\ldif-template\users.ldif
ice -l ice.log -v -SLDIF -fC:\mydata\common\bin\ldapTools\ldif-template\ldif-template\users.ldif -c -v -a -Edes -e<password> -DLDAP -s169.254.25.129 -p389 -dcn=admin,ou=services,o=cpw -w<password> -F -P!! More Information There might be more information for this subject on one of the following: