Page 1 of 1

Deleted user with omdelent, but see it in SAC

Posted: Tue Nov 14, 2006 8:39 am
by rudi
Hi,

I deleted an internet user with omdelent -e "OU1=internet/CN=Lastname, Firstname". But in SAC it is still displayed.
How can I remove it from SAC???

Thanks!

Posted: Tue Nov 14, 2006 7:55 pm
by florian
The way to delete a user is omdelu. omdelent only deletes the address book/system directory entry.

Cheers,
Florian.

Posted: Wed Nov 15, 2006 4:04 am
by burhankhalid
I have a similar issue, only I deleted the user with omdelu

The user appears in SAC, but when you click on their name, there is an error that the user cannot be found, however the name stays in the user list in SAC.

Posted: Wed Nov 15, 2006 4:07 am
by florian
that's the opposite issue - presumably the user has been deleted from the user database but not from the address book.

To check if a user is in the address book:

Code: Select all

omsearch -e S=<userslastname>


If so, delete with omdelent

To check if a user is in the user database

Code: Select all

omsearch -e S=<userslastname> -d USERLIST -t h


This should normally be deleted with omdelu, if that doesn't work, omdelent -t h -d USERLIST can be used as well, however it will only delete the directory entry but leave the mailbox files behind which will then show up as problems in the next omscan run.

Cheers,
Florian.

Posted: Thu Nov 16, 2006 2:47 am
by burhankhalid
Thanks Florian, as always, you are on the mark.

I deleted a user from SAC, but after a few seconds of the popup "Deleting user 0 of 1" there was an error message "Error deleting user".

I don't know why it does this, because it only started doing it after I switched Scalix to a more powerful machine.

Anyway, the user is deleted from the directory, but still appears in the addressbook. Is there something I can do to find out why this is? For now I can manually delete the users using omdelu + omdelent; but I would like to find out what is the issue here.

Posted: Mon Nov 20, 2006 11:32 am
by rudi
Hi Florian,

I have two users in SAC:
Mayer, Gerhard [mail,node]
Mayer, Gerhard [internet]

I deleted the internet user "Mayer, Gerhard" with
#> omdelent -e "OU1=internet/CN=Mayer, Gerhard"

Now I see with omsearch only the real user:
#> omsearch -e S="Mayer" -d USERLIST -t h
UL-PMN=64/S=Mayer/G=Gerhard/OU1=mail/OU2=node/CN=Mayer, Gerhard/OM-UID=288/INTERNET-ADDR="Mayer, Gerhard" <gerhard.mayer@domain.org>="Mayer, Gerhard" <gerhard.mayer@domain.org>/UL-AUTHID=gerhard.mayer/UL-UXID=60635/UL-IL=C/UL-CAPS=6/UL-FLAGS=0/UL-CLASS=Full/UL-TYPE=PrimeRecip/UL-PWD=$1$8qW1sNFW$O7Yc53GX0edImWoLOOI9N./UL-SASL-PWD=$1$HEvPY8EYXpmV6hIg3Xvm2w\=\=/UL-PWDCHDT=1163501500

How can I delete it from SAC?

Thanks for help!!!!!