Re: Mass LDAP user creation
well if your ldap supports using the ldif tool you can create a ldif file and import that file straight into the ldap and it will create the users and all
this is just an example
version: 1
NOTE: you must edit this file before importing it and replace all
occurrences of the default suffix "dc=yourco,dc=com" with the suffix
that your LDAP server is configured for.
dn: dc=yourco,dc=com
objectclass: domain
objectclass: top
Add lines according to this scheme that correspond to your suffix
dc: yourco,dc=com
dc: yourco
dn: cn=users,dc=yourco,dc=com
objectclass: container
objectclass: top
cn: users
dn: cn=groups,dc=yourco,dc=com
objectclass: top
objectclass: container
cn: groups
dn: uid=wpsadmin,cn=users,dc=yourco,dc=com
objectclass: organizationalPerson
objectclass: person
objectclass: top
objectclass: inetOrgPerson
uid: wpsadmin
userpassword: wpsadmin
sn: admin
givenName: wps
cn: wps admin
dn: uid=wpsbind,cn=users,dc=yourco,dc=com
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
uid: wpsbind
userpassword: wpsbind
sn: bind
givenName: wps
cn: wps bind
dn: cn=wpsadmins,cn=groups,dc=yourco,dc=com
objectclass: groupOfUniqueNames
objectclass: top
uniquemember: uid=wpsadmin,cn=users,dc=yourco,dc=com
cn: wpsadmins
IBM Certified System Administrator -- WebSphere Portal V6.0, V5.1, V5.0
IBM Certified Solution Developer -- WebSphere Portal V5.1, v6.0
The postings on this site are my own and do not necessarily represent the positions, strategies, or opinions of IBM