Page 1 of 1

omaddu with specific Authentication ID

Posted: Fri May 26, 2006 3:25 pm
by Nabby
I have been trying to use the omaddu command to add new users, for scripting purposes. I have most of it down. However, I would like to specify a particular authentication ID.

omaddu --class full -n "Test 2/OU1=mail/OU2=anything/ia=test2@anything.com=test.2@anything.com"

That is what I have so far and the results are:

First Name: Test
Last Name: 2
Display Name: 2, Test
Email Addresses: test2@anything.com
test.2@anything.com
Authentication ID: 2.Test
Premium user

There are two things I need different.

1. The display name would be better if it were: Test 2
2. Authentication ID needs to be: T2 (first letter of first name and full last name)

The biggest priority is the authentication ID because this server authenticates to an external LDAP. The display name we could live without changing but we would prefer consistency.

I would greatly appreciate any assistance with this.

Posted: Fri May 26, 2006 10:26 pm
by ScalixSupport
There isn't the ability to automatically generate the authentication ID using the pattern you described so you need to add it manually.

Just put the auth id at the end of the omaddu command without a command line switch, i.e.

Code: Select all

omaddu --class full -n "Test 2/OU1=mail/OU2=anything/ia=test2@anything.com=test.2@anything.com" authid


Cheers

Dave

Posted: Sat May 27, 2006 12:09 pm
by florian
However, there is also an automatic setting for generating Authentication IDs as flast, i.e. with the first letter of the given name in lower case and the last name.

Please check

Code: Select all

man omaddu
for details on how to configure this.

Thx,
Florian.

Posted: Mon May 29, 2006 8:23 pm
by Nabby
Thanks for the help. I will try these as soon as I can.