Koozali.org: home of the SME Server

webmail - logon failure

Allen Rapini

webmail - logon failure
« on: August 21, 2001, 06:30:03 PM »
As of this morning, I can no longer get users to login to webmail on two different systems. All other services seems fine. It seems a link is broken, but there are also permission issues.

Each machine is using updated PHP, to support the photo gallery. They also each have phpBB installed, as well as some other miscellaneous addons from the contrib section (web stats, and system monitor add-ons)
I have recently applied the patch for webmail, and I can't say when it stopped working since I use webmail so little.

When trying to login, the user/pass are entered as normal, and after a 10-15 sec. delay, the user/pass fields are cleared, and the message below is displayed.
"Either you have logged in incorrectly or your login has expired. Please login again. "

************ var/log/messages **********************
At the same time, the log file shows:
Aug 21 09:08:17 e-smith identd[2899]: Successful lookup: 1238 , 143 : www.www
Aug 21 09:08:17 e-smith imapd[2898]: PAM-listfile: Couldn't open /etc/e-smith/pam/users.allow
Aug 21 09:08:25 e-smith last message repeated 2 times
Aug 21 09:08:29 e-smith IMP[1999]: FAILED 192.168.3.135 to e-smith.bestfriends.net:143 as arapini
************* Permissions of folder *******************
If I look for this file, I find only a folder:
ls -pal /etc/e-smith/templates/etc/esmith/pam/users.allow/
drwxr-xr-x    2 root     root         4096 Aug 16 08:25 ./
drwxr-xr-x    5 root     root         4096 Aug 16 08:25 ../
-rw-r--r--    1 root     root           24 Jul 24 00:48 00usedb
-rw-r--r--    1 root     root            6 Jul 24 00:48 10admin
-rw-r--r--    1 root     root          249 Jul 24 00:48 20userAccounts

comparing to another system which I also can't login on, note the difference in permissions:
drwxr-xr-x    5 root     root         4096 Aug 16 15:07 ./
drwxr-xr-x    4 root     root         4096 Aug 16 15:07 ../
drwxr-xr-x    2 root     root         4096 Aug 16 15:07 accounts.allow/
drwxr-xr-x    2 root     root         4096 Aug 16 15:07 accounts.deny/
drwxr-xr-x    2 root     root         4096 Aug 16 15:07 users.allow/



Hope that's enough to trigger a suggestion. I will keep looking.

Allen

Graham

Re: webmail - logon failure
« Reply #1 on: August 22, 2001, 11:43:57 AM »
Allen, Sorry I cant make any suggestions on this one. I didnt get that CD-ROM
share patch to work but need to find a way of reading the docs before I do anything else. e-Smith is simple to use . . to a point but if you want to do anything extra or have a strange problem then we need more particpation in this forum. Hopefully people will catch on and realise that its a whole lot more cost effective than buying
a Cobalt Raq !!

Thanks for your pervious replies !