Adding / changing directory attributes from CLI

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

tenaciousC
Posts: 89
Joined: Thu Mar 30, 2006 5:41 pm
Location: Manchester, UK.

Adding / changing directory attributes from CLI

Postby tenaciousC » Wed Jul 12, 2006 2:20 am

Hi All,

Currently the SAC has a few useful attributes missing when settng up users. I believe plans are afoot to be able customise what attributes are shown there....

In the meantime I would like to add JOB-TITLE using CLI

I thought the correct way to do was a follows

Code: Select all

ommodu - n Tenacious/MAILNODE -m "JOB-TITLE=IT GodKing"


I do this and get the reassuring : ommodu: The user was modified successfully

However when I do an

Code: Select all

omsearch -e S=Tenacious


I see that JOB-TITLE has not been added.

I have even tried modifying existing attributes in the same fashion and again nothing changes.

What am I doing wrong?

Cheers!

C

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Wed Jul 12, 2006 4:35 am

The correct way to do it would be with ommodent. ommodu only modifies a few attributes (basically what's shown with omshowu).

Code: Select all

ommodent -e "S=surname/G=firstname" -n "JOB-TITLE=IT GodKing"

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

Postby ScalixSupport » Wed Jul 12, 2006 7:59 am

Hi,

A word of caution. Be very careful when using ommodent as it might render your user unusable if used incorrectly.

Cheers,
Yuri

tenaciousC
Posts: 89
Joined: Thu Mar 30, 2006 5:41 pm
Location: Manchester, UK.

Postby tenaciousC » Wed Jul 12, 2006 12:58 pm

Hi,

Thanks for that!

Yuri - would you care to expand on your prophecy of doom?? :shock:

What incorrect use should be avoided?

Cheers!

C


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest