This page (revision-1) was last changed on 29-Nov-2024 16:16 by UnknownAuthor

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 added 57 lines
!!! Overview
This shows an [Example] on [How To] use Novell's [ICE] command to create and load Test Users.
[Adopted from|http://www.novell.com/coolsolutions/tools/17321.html]
[ICE documentation|http://www.novell.com/documentation/edir88/index.html?page=/documentation/edir88/edir88/data/a5hgmnu.html]
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
#----------------------------------------------------------------------
}}}
!Generate users
Generate users with this [command-line]:
{{{ 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
}}}
!Load users with this command
{{{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:
[{ReferringPagesPlugin before='*' after='\n' }]