Howto disable an email user over ldap
Posted: Thu Dec 06, 2007 12:26 pm
by obelix_79
Hi
We manage our users in an ldap and sync them to scalix. How can I disable (not delete) an user? What is the correct ldap attribute to use?
Thanks
Posted: Fri Dec 07, 2007 12:20 am
by grahamk
Hi,
You can probably achieve what you want using ommodu
I typed man ommodu, from the command line. And have found this option which might help.
Usage: ommodu {authentication-id|-o name[/mailnode]}
[-ANeRkKx]
[--authid authentication-id]
[-a alias[/common-name][/internet-address],...]
[-m modifier | -n name[/mailnode[/common-name][/internet-address]]]
[-p password] [--lock-password] [--unlock-password]
[-l language] [-u unix-login]
[-c {+|-}capability,...] [-t Y|N] [-r Y|N]
[-s ServiceLevel] [-F {add|delete}] [-R filename]
[--requireSignoff]
[--sender Y|N] [--swa Y|N] [--class full|limited]
[--recovery Y|N] [--index sisurl]
or: ommodu --resource Y|N {authentication-id|-o name[/mailnode]}
[--canrecur Y|N] [--canconflict Y|N]
[-p password] [--lock-password] [--unlock-password]
[-l language] [-u unix-login]
[-R filename]
[--requireSignoff]
[--sender Y|N] [--swa Y|N] [--class full|limited]
[--index sisurl]
-r Y|N This option determines if the user can receive mail. If set to
Y the user can receive mail as expected; this is the default.
If set to N the user will not receive mail. A NDN will be
returned to the user originating the message. The intended
recipient will not receive notification that the message was
rejected.
-K Locks a user’s Scalix account. A user cannot sign on to their
mail account until it has been unlocked.
Hope this is helpful.