Page 1 of 2
I can´t delete an user with spanish character
Posted: Thu May 18, 2006 11:37 am
by risquez
:shock:
Hi there,
after create an user I have a problem with the admin
console: when I click on a user in the left column, I get a popup with
an error message "Could not retrieve the information for the selected user".
My user has an spanish accent "López" but I can see "L?pez" and "Could not retrieve the information for the selected user" message. What can I do for delete this user?
Thanks for your help.
Alberto
Posted: Fri May 19, 2006 3:22 pm
by ScalixSupport
Hi Alberto,
Try using the "omdelu" command (see the man pages for details). First, do an "omshowu -m all" and find the user in the list. Then use the omdelu command to delete the user.
Thanks,
Rachel
Perfect !!!
Posted: Thu Jun 01, 2006 5:19 pm
by risquez
Hello Rachel:
Thank you very much!!
Perfect ! that's all!
Best Wishes
Alberto
omdelu usage
Posted: Thu Jun 15, 2006 7:38 pm
by kmcelwain
Okay the import created two identical users by accident. I'm sure that I missed it before I imported.
Question, I tried doing omdelu and can't seem to get it to work....what's the easiest way to determine the unix login or scalix ID of the duplicate users to delete them that way?
Posted: Thu Jun 15, 2006 8:45 pm
by AussieOwner
do an omshowu -m all > /tmp/x.x
vi /tmp/x.x
delete ALL the lines EXCEPT the two users you want to delete
save the file off
make absolutly sure that the file ONLY contains the two users you want to delete
do an omdelu -f /tmp/x.x and this will delete the two users in the file.
Darrell
Nope
Posted: Fri Jun 16, 2006 9:42 am
by kmcelwain
The name given is ambiguous.
Shouldn't an ID of some sort be different for them...how can I find out their unix ID or scalix ID...that shouldn't be the same.
Posted: Fri Jun 16, 2006 4:42 pm
by ScalixSupport
omshowu will show that information, but you would need to uniquely identify the user first. So, start by typing:
omsearch -e s=lastname -m @all-attr@ -v
and post the complete records for those two users.
Thanks,
Rachel
Posted: Sat Jun 17, 2006 9:37 am
by kmcelwain
So which one is the unix-id
I'm guessing I'll do a
omdelu -U 2378
omdelu -U 2379
or is it the other one.
S=Watson
G=Robin
CN=Watson, Robin
OU1=mail
OU2=banks
INTERNET-ADDR=rredmond@banks.k12.ga.us
ENTRY-TYPE=1
UL-AUTHID=rWatson
UL-CAPS=6
UL-CLASS=Limited
UL-IL=C
IA-FORMAL=rredmond@banks.k12.ga.us
S-SDX=W325
G-SDX=R150
HOST-FQDN=mail.banks.k12.ga.us
GLOBAL-UNIQUE-ID=a3900000a1d1b844-2.82.8.861
LOCAL-UNIQUE-ID=2378
DBV-ID=33554805
S=Watson
G=Robin
CN=Watson, Robin
OU1=mail
OU2=banks
INTERNET-ADDR=rwatson@banks.k12.ga.us
ENTRY-TYPE=1
UL-AUTHID=rWatson
UL-CAPS=6
UL-CLASS=Limited
UL-IL=C
IA-FORMAL=rwatson@banks.k12.ga.us
S-SDX=W325
G-SDX=R150
HOST-FQDN=mail.banks.k12.ga.us
GLOBAL-UNIQUE-ID=b3900000a1d1b844-2.82.8.861
LOCAL-UNIQUE-ID=2379
DBV-ID=33554806
Posted: Sat Jun 17, 2006 11:58 am
by ScalixSupport
Hi Karl,
You can delete the users this way:
omdelu -n "Robin Watson/ia=rredmond@banks.k12.ga.us"
omdelu -n "Robin Watson/ia=rwatson@banks.k12.ga.us "
or you can get their complete USERLIST information by typing:
omsearch -e s=watson -m @all-attr@ -v -t h -d userlist
Then deleting them with the -U parameter and their UL-UXID.
Thanks,
Rachel
Posted: Sat Jun 17, 2006 3:42 pm
by kmcelwain
Didn't work.
Same ambiguous error.
Is there an easy modify user comand.
I think it's not doesn't like the identical name, If I can change one then hopefully it will then let me delete the wrong account.
Posted: Sat Jun 17, 2006 3:52 pm
by ScalixSupport
Are you saying it didn't work when you used the -U UL-UXID either?
Thanks,
Rachel
Posted: Sat Jun 17, 2006 3:58 pm
by kmcelwain
Yep...tried both....getting the ambigous error both ways
what about ommodu then a omdelu
Posted: Sat Jun 17, 2006 3:59 pm
by ScalixSupport
Can you post the output from the omsearch command I sent in my latter message as well as the omdelu command lines you're entering?
Thanks,
Rachel
Posted: Sat Jun 17, 2006 4:09 pm
by kmcelwain
[root@mail ~]# omdelu -U 60833
[OM 8042] The name given is ambiguous
omdelu: No users were deleted
Here is the result from the omsearch
S=Watson
G=Robin
CN=Watson, Robin
OU1=mail
OU2=banks
INTERNET-ADDR=rredmond@banks.k12.ga.us
UL-PWD=$1$RNpxbHMf$5P3\/AK1ZD8iw3RKfiC5M8\/
UL-SASL-PWD=$1$td08tXAL\/1zVURxsx9Naew\=\=
UL-PWDCHDT=1149986752
UL-BADPWD=0
UL-AUTHID=rWatson
OM-UID=401
UL-UXID=60833
UL-IL=C
UL-CAPS=6
UL-PMN=64
UL-FLAGS=2
UL-CLASS=Limited
UL-TYPE=PrimeRecip
IA-FORMAL=rredmond@banks.k12.ga.us
S-SDX=W325
G-SDX=R150
HOST-FQDN=mail.banks.k12.ga.us
GLOBAL-UNIQUE-ID=af800000a1d1b844-2.82.8.861
LOCAL-UNIQUE-ID=2314
DBV-ID=33554771
S=Watson
G=Robin
CN=Watson, Robin
OU1=mail
OU2=banks
INTERNET-ADDR=rwatson@banks.k12.ga.us
UL-PWD=$1$RNpxbHMf$5P3\/AK1ZD8iw3RKfiC5M8\/
UL-SASL-PWD=$1$td08tXAL\/1zVURxsx9Naew\=\=
UL-PWDCHDT=1149986752
UL-BADPWD=0
UL-AUTHID=rWatson
OM-UID=402
UL-UXID=60834
UL-IL=C
UL-CAPS=6
UL-PMN=64
UL-FLAGS=2
UL-CLASS=Limited
UL-TYPE=PrimeRecip
IA-FORMAL=rwatson@banks.k12.ga.us
S-SDX=W325
G-SDX=R150
HOST-FQDN=mail.banks.k12.ga.us
GLOBAL-UNIQUE-ID=bf800000a1d1b844-2.82.8.861
LOCAL-UNIQUE-ID=2315
DBV-ID=33554772
Posted: Sat Jun 17, 2006 5:15 pm
by ScalixSupport
Hi Karl,
Hmm... that's very odd. Okay, let's do it this way:
ommodent -e s=watson/ia=rredmond@banks.k12.ga.us -n "s=Watson1/cn=Watson1, Robin"
ommodent -e s=watson/ia=rredmond@banks.k12.ga.us -n "s=Watson1/cn=Robin Watson1" -t h -d userlist
Now should have two unique entries, one called Robin Watson and one called Robin Watson1.
Thanks,
Rachel