Page 1 of 1

Delete Internet User

Posted: Fri Feb 17, 2006 10:44 am
by rudi
How can I delete Internet Users on the command line? When I want to delete a special Internetuser in SAC, there comes a error message. So now I want to delete it on the command line.
The next question: How can I show Internet Users on the command line?

Thanks for help!!

Posted: Fri Feb 17, 2006 11:23 am
by ScalixSupport
Typically, internet users have a mailnode of internet or internet,tnef.

You can use the command:

Code: Select all

omsearch -e ou1=internet
to list the internet users.

To delete them, you will need to run the command:

Code: Select all

omdelent -e "ou1=internet/IA=user@domain.com"


Be careful if you are syncing your directory with another server. It is more advisable to delete the entry from the master server rather than any slave.

Cheers

Dave

Posted: Mon Feb 20, 2006 4:36 am
by rudi
Hi,

ok, it works, but how I can delete the follwing user from the directory. The command omdelent -e "OU1=mail/OU2=node/IA=user@gmx.net" doesn't work:

CN=User/S=User/OU1=mail/OU2=node/UL-CLASS=Limited/CNTRY=AT/INTERNET-ADDR="User" <user@gmx.net>

Thanks for help!!

Posted: Mon Feb 20, 2006 5:17 am
by ScalixSupport
Please see the man page for omdelent.

To delete this entry, use omdelent -e="cn=user"

Cheers,

Sascha.