Howto delete a Group ?

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

brockz
Posts: 42
Joined: Mon Oct 16, 2006 5:25 am

Howto delete a Group ?

Postby brockz » Thu Nov 16, 2006 5:59 am

Hello ,

i want to create a group in sac there is only 1 group created yet. But when i want to create a new one with the name "Verwaltung" i get a Error ....
"Couldnt not create Group with a Name that always exists"

But i have no User or Group with the Name "Verwaltung" !

What can i do ? Im searched in the Admin Guide to delete Group but cannot find a command. How can i fix my Problem ?

kanderson

Postby kanderson » Thu Nov 16, 2006 10:43 pm

go to a command line and try:

omsearch -s|grep -i <groupname>

if it exists, type:

omdelent -e <groupname>

My guess is that it's there somewhere... :)

jmason1182
Posts: 55
Joined: Wed Jul 11, 2007 4:11 pm

Postby jmason1182 » Thu Sep 13, 2007 9:11 am

I tried omsearch -s | grep Harris\ Acoustics and it returned my group that was supposedly created.... in fact it returned:

Code: Select all

S=Acoustics/OU1=midsl052/CN=Harris Acoustics/INTERNET-ADDR="Harris Acoustics" <Harris.Acoustics@masonco.local>/ENTRY-TYPE=4/DL-POLICY=0


The problem is, if I do an omdelent -e "Harris Acoustics" or if I do omdelent -e "Acoustics" it says:

Code: Select all

[root@midsl052 ~]# omdelent -e 'Harris Acoustics'
Harris Acoustics
[OM 16073] Unknown attribute specified.

Attribute          : Harris

[root@midsl052 ~]# omdelent -e 'Acoustics'
Acoustics
[OM 16073] Unknown attribute specified.

Attribute          : Acoustics


So now what!? Should I manipulate the directory directly? Or should I explore omdelent more?

I can't get to the group in the SAC.... so command-line is the only way I'll be able to remove the group!

adhodgson
Posts: 176
Joined: Thu Mar 02, 2006 8:09 am

Postby adhodgson » Thu Sep 13, 2007 9:40 am

Hi,

I think I did this last time using the " symbol, and not the ' symbol.

Andrew.

kanderson

Postby kanderson » Thu Sep 13, 2007 10:59 am

Use

omdelent =e "S=Acoustics/OU1=midsl052"

And you should be fine.

You need to at least indicate what Acoustics is, in this case, it's a surname in the directory.

Kev.

jmason1182
Posts: 55
Joined: Wed Jul 11, 2007 4:11 pm

Postby jmason1182 » Thu Sep 13, 2007 12:38 pm

And here's another case where I solve my own problem:

First, find it in the ldap directory using omldapsearch

Code: Select all

[root@midsl052 ~]# omldapsearch "cn=Harris Acoustics"

Secondly, delete it, using your mail administrator name and password (cn... use omldapsearch if you don't know it)

Code: Select all

[root@midsl052 ~]# omldapdelete "cn=Harris Acoustics" -D "cn=Administrator, o=Scalix" -w <mypasswordhere>


That removed the group.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 5 guests