omaddu with specific Authentication ID

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

Nabby

omaddu with specific Authentication ID

Postby Nabby » Fri May 26, 2006 3:25 pm

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.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri May 26, 2006 10:26 pm

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

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Sat May 27, 2006 12:09 pm

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.
Florian von Kurnatowski, Die Harder!

Nabby

Postby Nabby » Mon May 29, 2006 8:23 pm

Thanks for the help. I will try these as soon as I can.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest