Makeuser generates users according to a specified pattern. It is a utility I wrote to allow us to create users for testing NetMail (previously called NIMS) performance. Unless you are trying to do similar performance tests it is probably of little value to you.
This utility is provided as is, with no warranty whatsoever. To the best of my knowledge it performs the task it was written for. If it doesn't do what you want it to do, I will not fix or change anything. I am not responsible for damage.
Requires NIMS 2.5 or higher.
makeuser [-lu:() -lp:() -s:() -n:() [-c:()] [-m:()] [-p:()] [-v]] | -h | -?]
-lu:(admin user) -- User to login as
-lp:(admin pw) -- Password for login user
-m:(printf mask) -- Mask to use for username generation [default:test%d]
-p:(password) -- Password to use for new users [default:test]
-c:(context) -- Context to create new users in
-s:(start) -- Start-number for user generation
-n:(count) -- Number of users to generate
-v -- Verbose
-i -- Ignore errors during object creation
The dot notation used for DS is somewhat slow to handle in code, so all myDS apps (including NetMail ) use a different syntax to deal with DS. Instead of writing everything in reverse (CN=peter.O=nims.NIMS_TREE) we write it forward and use backslashes instead of dots as separators (\NIMS_TREE\nims\peter).Note that DS wants the tree name always in all caps.
All DNs for make users are in this pathname format (i.e. \TREE\context\user)