Hi,
I need to create a file to add 300000 users to a directory server. The input should look like this;
Objectclass: User
DN: CN=[XXX123],OU=newaccounts,DC=domain,dc=com
CN: XXX123
userAccountControl: 66080.
sAMAccountName: XXX123
userPrincipalName: xxx123@domain.com
I need to create a file that looks like this for 300000 users. The XXX123 bit will be unique to each user, but the constraints are that it should start with some say 6 random letters, and end with 3 random numbers.
The attributes;
DN:
CN:
sAMAccountName:
and userPrincipalName
Should all use this new random value.
I would really appreciate help on this.
STU
I need to create a file to add 300000 users to a directory server. The input should look like this;
Objectclass: User
DN: CN=[XXX123],OU=newaccounts,DC=domain,dc=com
CN: XXX123
userAccountControl: 66080.
sAMAccountName: XXX123
userPrincipalName: xxx123@domain.com
I need to create a file that looks like this for 300000 users. The XXX123 bit will be unique to each user, but the constraints are that it should start with some say 6 random letters, and end with 3 random numbers.
The attributes;
DN:
CN:
sAMAccountName:
and userPrincipalName
Should all use this new random value.
I would really appreciate help on this.
STU