installation debian sarge - get error omaddu : [OM 30001]

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

wurzel

installation debian sarge - get error omaddu : [OM 30001]

Postby wurzel » Wed Mar 28, 2007 3:12 pm

Hello,

I try to install the scalix Server and I use this guide
http://www.scalix.com/wiki/index.php?ti ... stallation

I have problems in step # 7.6 Creating the Default Admin User

i did these steps:

Code: Select all

sxconfig --set -t general.usrl_cn_rule='Edlhuber, Florian'
sxconfig --set -t general.usrl_authid_rule='fe@'
sxconfig --set -t orniasys.name_part_1='"Florian Edlhuber" <Florian.Edlhuber>' -t orniasys.domain_part_1='edlhuber.net'

Code: Select all

omaddmn -m edlpriv
# omaddmn : Mailnode added as primary mailnode on machine

Code: Select all

omaddu -n sxadmin/edlpriv --class limited -c admin -p secret sxadmin


and I get the error:

Code: Select all

omaddu : [OM 30001] Invalid rule or insufficient data to generate the Common name or Surname.


I tried several times.
for example

Code: Select all

omaddu -n "testuser name"


and always I get the same error. I searched this Forum, I searched the admin and
setup guides, but I do not find any solution.

Where is my fault? Thanks for help in advance. I hope, I get mor help than
viewtopic.php?t=2706&highlight=30001 :wink:

If I do not get help here, I'm going to try a different (supported) linux distribution :wink:

Regards
Florian Edlhuber

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

Postby ScalixSupport » Thu Mar 29, 2007 4:08 am

Hi Florian,

Run the command "omshowmn" to find the mailnode, for me the result is:
[root@subir-rhel4 public]# omshowmn
** subir-rhel4,scalix

for the command:

Code: Select all

omaddu -n <fullname>/<mailnode> --class <class> -c admin -p <password> <loginname>

I would have executed like as below:

Code: Select all

omaddu -n "sxadmin/subir-rhel4,scalix" --class limited -c admin -p secret sxadmin

To see the list of existing users use the command "omshowu -m all".

Thanks,
Subir

wurzel

Postby wurzel » Thu Mar 29, 2007 4:26 pm

Hi Subir,

thank you for your answer. I tried several several parameters and options as specified
in man-pages and HowTos and I tried yours:

ScalixSupport wrote:Run the command "omshowmn" to find the mailnode, for me the result is:
[root@subir-rhel4 public]# omshowmn
** subir-rhel4,scalix


This is what I did:

Code: Select all

ente:~# omshowmn
omshowmn : [OM 6623] No mailnodes currently configured
ente:~# omaddmn -m ente
omaddmn : Mailnode added as primary mailnode on machine
ente:~# omshowmn
        **      ente
ente:~# omaddu -n "sxadmin/ente" --class limited -c admin -p secret sxadmin
omaddu : [OM 30001] Invalid rule or insufficient data to generate the Common name or Surname.


so I tried exactly yours:

ScalixSupport wrote:for the command:

Code: Select all

omaddu -n <fullname>/<mailnode> --class <class> -c admin -p <password> <loginname>

I would have executed like as below:

Code: Select all

omaddu -n "sxadmin/subir-rhel4,scalix" --class limited -c admin -p secret sxadmin



Code: Select all

ente:~# omaddmn -m subir-rhel4,scalix
omaddmn : Mailnode correctly added
ente:~# omshowmn
                subir-rhel4,scalix
        **      ente

ente:~# omdelmn -m ente
omdelmn : Mailnode ente successfully deleted
ente:~#
ente:~# omshowmn
        **      subir-rhel4,scalix
ente:~# omaddu -n "sxadmin/subir-rhel4,scalix" --class limited -c admin -p secret sxadmin
omaddu : [OM 30001] Invalid rule or insufficient data to generate the Common name or Surname.


ScalixSupport wrote:To see the list of existing users use the command "omshowu -m all".


here is my output

Code: Select all

ente:~# omshowu -m all
omshowu : [OM 8110] There are no users configured.
ente:~#


I think, I missed something during installing of my server. But I do not know what and
where to search :cry:

I saw some new postings here, perhaps I can find the answer there :wink:

If not, i would be happy to get some more hints...

Regards
Flo

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

Postby ScalixSupport » Fri Mar 30, 2007 4:01 am

Ok Florian!

What I missed and didn't see were the sxconfig command you had run, if you refer to the
manual installation page, the three commands that you should have run were given as
example there.

So instead of the commands you used to add rules:
sxconfig --set -t general.usrl_cn_rule='Edlhuber, Florian'
sxconfig --set -t general.usrl_authid_rule='fe@'
sxconfig --set -t orniasys.name_part_1='"Florian Edlhuber" <Florian.Edlhuber>' -t orniasys.domain_part_1='edlhuber.net'

you had to create rules using the commands as below:
sxconfig --set -t general.usrl_cn_rule='S, G'
sxconfig --set -t general.usrl_authid_rule='gs@'
sxconfig --set -t orniasys.name_part_1='"C" <G.S>' -t orniasys.domain_part_1='edlhuber.net'

but, before you run the above three commands, you need to remove the rules that have
been already created for general.usrl_cn_rule, general.usrl_authid_rule and
orniasys.name_part_1
.

sxconfig creates generic rules for various system dependent properties, like what
would be the format for Comman Name (CN) display, what should be the AuthID creation
rule (general.usrl_authid_rule) etc. those are all standards. The details about the attribute
used as standards are as below:
The following is a list of user attributes you can use in those rules:
G represents the given name in mixed/original casing
S represents the surname in mixed/original casing
I represents the middle initial(s) in mixed/original casing
C represents the common name/display name in mixed/original casing (this cannot be used in the display name generation)
g, s, i and c represent the first character of the given name/surname/initials/common name in lower case
f and l represent the full given name/last name in lowercase

To see the rules that you currently have, use the commands below:
for general.usrl_cn_rule:

Code: Select all

sxconfig --get -t general.usrl_cn_rule

for general.usrl_authid_rule:

Code: Select all

sxconfig --get -t general.usrl_authid_rule

for orniasys.name_part_1:

Code: Select all

sxconfig --get -t orniasys.name_part_1

remove these, using the commands below, before you add the new rules:
for general.usrl_cn_rule:

Code: Select all

sxconfig --remove -t general.usrl_cn_rule

for general.usrl_authid_rule:

Code: Select all

sxconfig --remove -t general.usrl_authid_rule

for orniasys.name_part_1:

Code: Select all

sxconfig --remove -t orniasys.name_part_1


Please reply with the current result of the command "omshowmn", this command would
display the mailnode, on which the System users, groups or resources are dependent
this should result in only one value, it would be great if you delete all mailnodes using
omdelmn, and create only one that you want to set for your server, so for example
you can create a mailnode by the command:

Code: Select all

omaddmn -m edlhuber

Please feel free to reply for any further consultation or you want to clear any doubts.

Thanks,
Subir

wurzel

Postby wurzel » Fri Mar 30, 2007 4:58 pm

Hi,

thank you for your fast answer!

I did what you said an it seems that it worked!

Look what I had done:

Code: Select all

ente:~# sxconfig --get -t general.usrl_cn_rule
general.usrl_cn_rule=Edlhuber, Florian
ente:~#

ente:~# sxconfig --get -t general.usrl_authid_rule
general.usrl_authid_rule=fe@
ente:~#

ente:~# sxconfig --get -t orniasys.name_part_1
orniasys.name_part_1="Florian Edlhuber" <Florian.Edlhuber>
ente:~#

ente:~# sxconfig --remove -t general.usrl_cn_rule
The specified tag has been removed if present.
ente:~#

ente:~# sxconfig --remove -t general.usrl_authid_rule
the specified tag has been removed if present.
ente:~#

ente:~# sxconfig --remove -t orniasys.name_part_1
The specified tag has been removed if present.
ente:~#

ente:~# omdelmn -m subir-rhel4,scalix
omdelmn : Mailnode subir-rhel4,scalix successfully deleted
omdelmn : [OM 6415] Unable to assign a new primary mailnode
ente:~#

ente:~# omaddmn -m edlhuber
omaddmn : [OM 5627] WARNING!!! Automatic internet address configuration
for users and pdls on this mailnode will not be possible, as a domain
has not been supplied.

omaddmn : Mailnode added as primary mailnode on machine
ente:~#

ente:~# omshowmn
        **      edlhuber
ente:~#

ente:~# sxconfig --set -t general.usrl_cn_rule='S, G'
The specified tag and value has been added or modified if present.

ente:~# sxconfig --set -t general.usrl_authid_rule='gs@'
The specified tag and value has been added or modified if present.
ente:~#

ente:~# sxconfig --set -t orniasys.name_part_1='"C" <G.S>' -t orniasys.domain_part_1='edlhuber.net'
The specified tag and value has been added or modified if present.
The specified tag and value has been added or modified if present.
ente:~#

ente:~# omshowmn
        **      edlhuber
ente:~# sxconfig --get -t general.usrl_cn_rule
general.usrl_cn_rule=S, G
ente:~# sxconfig --get -t general.usrl_authid_rule
general.usrl_authid_rule=gs@
ente:~# sxconfig --get -t orniasys.name_part_1
orniasys.name_part_1="C" <G.S>
ente:~#

ente:~# omaddu -n "sxadmin/edlhuber" --class limited -c admin -p secreet sxadmin
omaddu : The user was added successfully
ente:~#


So it seems that it has worked.

These commands should not have been modifed by myself :wink:

Code: Select all

sxconfig --set -t general.usrl_cn_rule='S, G'
sxconfig --set -t general.usrl_authid_rule='gs@'
sxconfig --set -t orniasys.name_part_1='"C" <G.S>' -t


The following is a list of user attributes you can use in those rules:
G represents the given name in mixed/original casing
S represents the surname in mixed/original casing
I represents the middle initial(s) in mixed/original casing
(...)


I read this in the wiki article and I thought I have to fill my given name, and my characters.
I thought wrong.

Okay, I'll go on testing and configuring the next days. Thank you very much! 8)

Regards
Florian

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

Postby ScalixSupport » Mon Apr 02, 2007 1:27 am

That's great! Feel free to reply with your concerns.

Thanks,
Subir


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 4 guests

cron