Page 1 of 1

Unable to delete user account

Posted: Mon Oct 29, 2007 8:02 pm
by dhobbs
I have a user account that I'm not able to delete. WHen I do a omshowu it says the name give is ambiguous

omshowu support
omshowu : [OM 8042] The name given is ambiguous

when I do an omsearch it doesn't show up at all.

And when I search the filelist to shows up twice

omsearch -e S=support -c -d userlist -t h
S=support/CN=support/OU1=mail/INTERNET-ADDR="Support" <support@lush.com> /UL-PWD=$1$IVZ.C43C$l\/QAJI2t3xNvFUOmP388S1/UL-SASL-PWD=$1$0x\/UHICUJ19djoenYVCfxg\=\=/UL-PWDCHDT=1180720117/UL-BADPWD=0/UL-AUTHID=support/OM-UID=643/UL-UXID=60959/UL-IL=C/UL-CAPS=6/UL-PMN=64/UL-FLAGS=2/UL-CLASS=Limited/UL-TYPE=PrimeRecip
S=support/CN=support/OU1=mail/INTERNET-ADDR="Support" <support@lush.com>/UL-PWD=$1$IVZ.C43C$l\/QAJI2t3xNvFUOmP388S1/UL-SASL-PWD=$1$0x\/UHICUJ19djoenYVCfxg\=\=/UL-PWDCHDT=1180720117/UL-BADPWD=0/UL-AUTHID=support/OM-UID=646/UL-UXID=60962/UL-IL=C/UL-CAPS=6/UL-PMN=64/UL-FLAGS=2/UL-CLASS=Limited/UL-TYPE=PrimeRecip


I need to delete this account but I can't delete it using omdelu or omdelent. How do I get rid of it?

Posted: Mon Nov 05, 2007 12:34 pm
by dhobbs
No one else has run into this issue yet or has a suggestion on how to do this?

Posted: Mon Nov 05, 2007 12:43 pm
by techsharp
I made a thread on this - still on the first page - take a look and see if this works for you.

viewtopic.php?t=9033

Thanks

Posted: Mon Nov 05, 2007 4:55 pm
by kanderson
Is this fixed?

use omsearch -s @ALL_ATTR@|grep Support

this will show the user including properties that are globally unique. You should be able to delete the entry from there.

Thanks
Kev.

Posted: Tue Nov 06, 2007 7:13 pm
by dhobbs
omsearch -s @ALL_ATTR@|grep Support but omsearch -m @ALL-ATTR@ -s | grep Support did not show the user that I'm trying to delete. It did however show a bunch of other users that had support in their names or email addresses

Posted: Tue Nov 06, 2007 7:23 pm
by dhobbs
The only thing that's different that I can find between the duplicate accounts is the following:

OM-UID=646/UL-UXID=60962
OM-UID=643/UL-UXID=60959

I've tried deleting them using:
omdelu -U 60962
[OM 8042] The name given is ambiguous

mdelu -U 60959
[OM 8042] The name given is ambiguous

omdelu: No users were deleted

omshowu -U 60962
Authentication ID: support
Globally Unique ID: 45710000f4eec564-581.89.04.46
User Name : support /CN=support
MailNode : mail
Internet Address : "Support" <support@lush.com>
System Login : 60962
Password : pre-expired
Admin Capabilities : NO
Mailbox Admin Capabilities : NO
Language : C
Mail Account: Unlocked
Last Signon : Never.
Receipt of mail : ENABLED
Service level : 0
Excluded from Tidying : NO
Recovery Folder visible : NO
User Class : Limited

omshowu -U 60959
Authentication ID: support
Globally Unique ID: 15710000f4eec564-581.89.04.46
User Name : support /CN=support
MailNode : mail
Internet Address : "Support" <support@lush.com>
System Login : 60959
Password : pre-expired
Admin Capabilities : NO
Mailbox Admin Capabilities : NO
Language : C
Mail Account: Unlocked
Last Signon : Never.
Receipt of mail : ENABLED
Service level : 0
Excluded from Tidying : NO
Recovery Folder visible : NO
User Class : Limited

Any more ideas?

Posted: Tue Nov 06, 2007 8:13 pm
by kanderson
This will be of a teaching reply than a helping one, I fear...

Scalix kind of has 2 places a person can appear.

First is with an account. The commands to administer those are om***u (add/del/mod).

The second is the directory. The commands here are om***ent. (add/del/mod).

omsearch will show the entries in the directory.
omshowu will show you the accounts.

So if they show up in search, then use omdelent. use the -e switch, and then put details of the user in quotes. Normally, you'd need a combination of S/I/G/OU that uniquely identifies the user. You don't have that though, so you'd use "S=support/CN=support/OU1=mail/OM-UID=643" and that should make it unique.

But you look like you have a bigger issue. Even if you uniquely identify the user in the directory, the accounts will still remain, and I don't think you'll succeed at getting rid of them.

I suspect this will require a call to support.

Kev.