cannot add user to group

Discuss Scalix Management Services ( formerly Scalix Admin Console )

Moderator: ScalixSupport

santo
Posts: 82
Joined: Thu Dec 01, 2005 9:37 am

cannot add user to group

Postby santo » Sun Dec 04, 2005 4:32 pm

I'm trying to create some groups in sac, but I can't add all users I want to those groups.

What I want to do, is creating a group "info" to which I want to add two users, let's say user1 and user2, so one can send a mail to info@mydomain.tld which will then be forwarded to both user1 and user2.

The problem is, that I can't add user1 to the group. I can select its checkbox, but when clicking on "Save Changes", the following error pops up:

"Could not update the members of this group"

Any ideas why I can't add that user to the group ?

Currently, there are 5 users (including the sxadmin user) of which I can add 4 of them to whatever new group I create.
Only user1 cannot be added to such a new group.

It is however possible to add this user to one of the existing groups (ScalixAdmins, ScalixGroupAdmins, etc)

santo
Posts: 82
Joined: Thu Dec 01, 2005 9:37 am

Postby santo » Sun Dec 04, 2005 5:13 pm

I also noticed that I can't modify this user. For example checking the option "Is full administrator" and clicking on "Save Changes", gives the following popup:

"The user information could not be saved".

This is the output of a tail on the logfile /var/opt/scalix/logs/log.0:


Code: Select all

EDITED BY SCALIX SUPPORT TO REMOVE UTF8 CHARACTERS


Notice the segmentation violation.

Is this normal ?
What could cause this behaviour ?

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

Postby ScalixSupport » Sun Dec 04, 2005 9:05 pm

I needed to edit your message because the ctrl characters in the output were breaking the RSS feed.

The command you need to look at the contents of the event log is

Code: Select all

omshowlog
.

Please can you run the command

Code: Select all

omshowlog -e > /tmp/file
to dump the entire log to a file and then cat /tmp/file.

Cheers
Dave

santo
Posts: 82
Joined: Thu Dec 01, 2005 9:37 am

Postby santo » Mon Dec 05, 2005 3:31 am

Ok, first of all I'm really sorry about the problems with the RSS feed due to my post. :oops:

Now, this is the relevant part of the output of

Code: Select all

omshowlog -e > /tmp/logfile


REPORT Administration(ommodu ) 12.05.05 08:26:21
[OM 4630] Admin command run :
/opt/scalix/bin/ommodu -n CN=User1 Dummy/G=User1/S=Dummy/OU1=scalix/OU2=mydomain -o G=User1/S=Dummy/OU1=scalix/OU2=mydomain -c +admin


SERIOUS ERROR Administration(ommodu ) 12.05.05 08:26:21
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 16226
Procedure trace follows:
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address


SERIOUS ERROR Administration(ommodu ) 12.05.05 08:26:21
[OM 10272] BACKTRACE:
[0xffffe420]
/opt/scalix/lib/libom_da.so(da_GetNamedAttValue+0x7d) [0xb7d85d39]
/opt/scalix/lib/libom_dr.so [0xb7d56a8b]
[0x2d656440]

santo
Posts: 82
Joined: Thu Dec 01, 2005 9:37 am

Postby santo » Mon Dec 05, 2005 3:37 am

and this is the error log when trying to add that same user to a new group (as mentioned in my initial post):

REPORT Administration(omaddpdln ) 12.05.05 08:32:49
[OM 4630] Admin command run :
/opt/scalix/bin/omaddpdln -n CN=User1 Dummy/OU1=scalix/OU2=mydomain -l CN=info/OU1=scalix/OU2=mydomain


SERIOUS ERROR Administration(omaddpdln ) 12.05.05 08:32:49
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 16408
Procedure trace follows:
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address
-> mim_parse_address
<- mim_parse_address


SERIOUS ERROR Administration(omaddpdln ) 12.05.05 08:32:49
[OM 10272] BACKTRACE:
[0xffffe420]
/opt/scalix/lib/libom_da.so(da_GetNamedAttValue+0x7d) [0xb7f16d39]
/opt/scalix/lib/libom_dr.so [0xb7ee7a8b]
[0x2d656440]

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

Postby ScalixSupport » Mon Dec 05, 2005 11:01 am

It's possible you have a control character in the actual directory entry.

Can you run the command:

Code: Select all

omsearch -e "CN=User1 Dummy" -m@ALL-ATTR@ | cat -vet


This will show all the attributes defined for the user and the cat command will indicate if there are any extra characters.

Cheers

Dave

santo
Posts: 82
Joined: Thu Dec 01, 2005 9:37 am

Postby santo » Mon Dec 05, 2005 1:55 pm

Hi Dave,

I hope you understand that I cannot paste the entire output of the command, as it contains a lot of email addresses (aliases) for that user.
(If you really need the entire output, I can send it to you directly if you want)

But nevertheless, I ran the command with and without the "| cat -vet" option and as far as I can see, there is only a difference between the two at the very end of the output:

end of output with "| cat -vet"

Code: Select all

.net=vacatures@de-sc/S-SDX=D216/G-SDX=G000$


end of output without "| cat -vet"

Code: Select all

.net=vacatures@de-sc/S-SDX=D216/G-SDX=G000


the difference is that with the first command, there is a trailing "$".
Can this be the problem ?

Is it normal that the domain isn't shown completely for the last alias ?
I.e. shouldn't it be "vacatures@<mydomain.tld>" instead of vacatures@<myd>/S-SDX=D216/G-SDX=G000" ?

Also, are there any limits on the number of aliases for a user ?
I ask this, because the command doesn't show all aliases created for that user.
(There are two more aliases for this user)

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

Postby ScalixSupport » Mon Dec 05, 2005 2:55 pm

Please can you post the whole output from the command. I understand if you edit it for security but I need to see the complete details.

Cheers

Dave

santo
Posts: 82
Joined: Thu Dec 01, 2005 9:37 am

Postby santo » Mon Dec 05, 2005 3:01 pm

ok, here it is:

Code: Select all

EDITED BY SCALIX FOR SECURITY

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

Postby ScalixSupport » Tue Dec 06, 2005 11:12 am

We have some issues where the INTERNET-ADDR attribute contains a large number of addresses. In your case, you have 20 addresses which is obviously causing omaddpdln a problem.

We're looking to fix this in a later release, unfortunately it didn't make it into our next major release.

In the meantime, the workaround is to use aliases.

When you add the user, you can do the following

Code: Select all

omaddu -n "User Name/mailnode/IA=address1@domain.com=address2@domain.com"
-a "Alias Name/IA=address3@domain.com=address4@domain.com"
-a "Alias Name2/IA=address5@domain.com=address6@domain.com"
(edited for display:this should all be on one line)

where each -a contains approximately 5 addresses. One thing to point out is that you only need to friendly name on the first address of the primary user, every other address is used for incoming messages only, this means you can cut down on the size of the data a little.

Cheers

Dave

santo
Posts: 82
Joined: Thu Dec 01, 2005 9:37 am

Postby santo » Tue Dec 06, 2005 12:52 pm

ok, many thanks, but I have some additional questions then :lol:

1) What's the difference between specifying extra email addresses using the sac interface and adding them when creating the user using omaddu ?
As I understand it, it would mean that the former are not aliases where the latter are.
If so, what are the addresses added via sac then (if not aliases) ?

2) How can I fix this without having to recreate the user ?
-> The command you gave is for creating new users, but in my case the user already exists Isn't there any command to update an existing user ?
(I already imported outlook calendar entries, tasks, etc for that particular user.
-> Also, using sac I cannot remove some addresses defined earlier for that user (I hoped to lower the number of addresses for the user and therefore eliminating the existing problems)

3) Can you remove or edit the output of omsearch in my previous post, as it contains several real-world email addresses ?

Thanks,

Guy


Return to “Scalix Management Services”



Who is online

Users browsing this forum: No registered users and 4 guests