Standard User Account Becomes Locked

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

seankoshy
Posts: 20
Joined: Fri Feb 02, 2007 2:18 am

Standard User Account Becomes Locked

Postby seankoshy » Fri Sep 28, 2007 11:55 am

Hello,

Running community edition 11.1 on OpenSuse 10.1
Running into the problem of random standard user accounts becoming locked. I find out when the user cannot login, then I find out in the SAC that the user has become locked somehow. Any ideas as to how this happens?

Thanks,

Sean

chris
Scalix Star
Scalix Star
Posts: 321
Joined: Mon May 09, 2005 2:56 pm
Location: Freiburg, Germany

Postby chris » Sun Sep 30, 2007 1:20 pm

I know it's silly, but is it possible that the users are entering the wrong password multiple times?

You can find the bad password count with omsearch -e UL-BADPWD=* -s -t h -d userlist.

That's certainly the first thing I'd check.

Chris

jaime.pinto
Scalix Star
Scalix Star
Posts: 709
Joined: Fri Feb 23, 2007 6:50 pm
Location: Toronto - Canada

Postby jaime.pinto » Sun Sep 30, 2007 5:44 pm

Every now and then I have this problem with some user: the system simply reports that the password is not correct, which is obviously not true.

My solution has been very nasty, because it affects all other users:
1) omshowu -n "user" -f
2) cd g00003e/ (or whatever)
3) rm -rf 00000v8.ofs imap-cache
4) omscan -Avfx -U "user/mailnode
5) then omshut and omrc (this is the bad part)"
6) I still do another restart or the DB and tomcat
Image Jaime
||||||||||||||||||||||||||||||||||||||||

seankoshy
Posts: 20
Joined: Fri Feb 02, 2007 2:18 am

... Not sure if it's bad passwords

Postby seankoshy » Tue Oct 02, 2007 6:07 pm

Still locking random accounts ... one was locked today - and I checked to see if there was bad password attempts - and there were none for the locked user. Any other ideas? Thanks,

Sean

seankoshy
Posts: 20
Joined: Fri Feb 02, 2007 2:18 am

Postby seankoshy » Wed Oct 03, 2007 1:11 am

Also ... is there a command I could use to get a list of locked accounts? Thanks,

Sean

massspec

Postby massspec » Wed Oct 03, 2007 2:11 am

Same here. I have two users who are locked out for no apparent reason, and I can't see how to reset them.

I also don't understand the solution above. I am new to administrating Scalix, and could use a hand with those instructions specifcally this part

g00003e/ (or whatever)

And why is omshut and omrc so bad for the other users?

Thanks

jaime.pinto
Scalix Star
Scalix Star
Posts: 709
Joined: Fri Feb 23, 2007 6:50 pm
Location: Toronto - Canada

Postby jaime.pinto » Wed Oct 03, 2007 8:54 am

And why is omshut and omrc so bad for the other users?
That will stop the scalix server and start again. The shutdown process can take upwards of a few minutes, and kick out some users that were online, as well as keeping other from loging in.

In earlier releases there appear to have been a ommaint script installed on the crontab of the system, and this would run on a regular basis in a more proactive way, doing preventive housekeeping on user's mailboxes. Since release 11.0.4 I have no longer seen this script run, and the usual reports mailed to me. That's when I started to see this lockup symptoms happening more often.

So, what about the ommaint installation? Why isn't there anymore?
Image Jaime
||||||||||||||||||||||||||||||||||||||||

massspec

Postby massspec » Wed Oct 03, 2007 10:12 am

I still don't see how the solution that you describe works.

What does this mean?

"g00003e/ (or whatever)"

Thanks for your reply. This is locking up of accounts is not a good problem...

jaime.pinto
Scalix Star
Scalix Star
Posts: 709
Joined: Fri Feb 23, 2007 6:50 pm
Location: Toronto - Canada

Postby jaime.pinto » Wed Oct 03, 2007 10:25 am

When you give the command omshowu -n "user" -f for a particular user, some information will be displayed about the location where the folders for that user are stored. The "g00003e" refers to the way Scalix identifies a user forder.
Image Jaime
||||||||||||||||||||||||||||||||||||||||

mikethebike
Posts: 566
Joined: Mon Nov 28, 2005 4:16 pm
Location: England

Postby mikethebike » Wed Oct 03, 2007 10:28 am

omsearch -d userlist -t h -e s=*/ul-type=primerecip/ul-flags=1 -m s/g/ou1 |omfmtent -x

will give you a list of locked users.

seankoshy
Posts: 20
Joined: Fri Feb 02, 2007 2:18 am

Postby seankoshy » Thu Oct 04, 2007 3:03 am

Hmm ... when i try to run the command it says '[OM 16954] Entry not in the Directory'

thanks for the help so far,

mikethebike
Posts: 566
Joined: Mon Nov 28, 2005 4:16 pm
Location: England

Postby mikethebike » Thu Oct 04, 2007 5:08 am

Sean,

thats probably a good thing...no accounts are locked.

lock your email account "ommodu -o "sean kosky" -K", and run that search again

Mick

seankoshy
Posts: 20
Joined: Fri Feb 02, 2007 2:18 am

Postby seankoshy » Fri Oct 12, 2007 1:33 pm

Hey Mick,

Your help was much appreciated. Accounts still get locked once in a while, but this helps me finding out when; also there is another similar post to this where people are also having the same issues. Thanks again,

Sean :D

Richard Hall
Scalix
Scalix
Posts: 147
Joined: Fri May 20, 2005 5:37 am

Postby Richard Hall » Sat Oct 13, 2007 2:36 pm

A slightly easier way to find 'locked' users is:

Code: Select all

omshowu -m all -l
and then

Code: Select all

ommodu -o <user> -k
to unlock the user.

Richard


Return to “Scalix Server”



Who is online

Users browsing this forum: Google [Bot] and 3 guests

cron