note 73978 added to function.imap-lsub
| From: | Czigola at osu1 dot php dot net | Date: | Mon, 19 Mar 2007 16:18:02 +0000 |
| Subject: | note 73978 added to function.imap-lsub | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-124590@lists.php.net to get a copy of this message | ||
The Apache's PHP Imap module crashes when running in a chroot, and /etc/passwd isn't
present (relative to the chroot).
It is enough to have the UID's line Apache is running with present in the passwd file (the
shadow file isn't required).
Symptoms:
Calling this function results in a SEGFAULT.
In your syslog (if it was properly set up for the chroot) you can see lines like these:
Mar 19 01:07:13 * *: imap-login: Login: user=<*>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1,
secured
Mar 19 01:07:13 * apache2[24918]: IMAP toolkit crash: Unable to look up user name
Mar 19 01:07:13 *: IMAP(*): Disconnected
Remark:
In particular this causes failure of login attemptf in HORDE3+IMP4.
See also:
http://bugs.horde.org/ticket/?id=711
http://gab.eu/nodes/17
----
Server IP: 195.70.37.52
Probable Submitter: 193.225.226.189
----
Manual Page -- http://www.php.net/manual/en/function.imap-lsub.php
Edit -- https://master.php.net/note/edit/73978
Del: integrated -- https://master.php.net/note/delete/73978/integrated
Del: useless -- https://master.php.net/note/delete/73978/useless
Del: bad code -- https://master.php.net/note/delete/73978/bad+code
Del: spam -- https://master.php.net/note/delete/73978/spam
Del: non-english -- https://master.php.net/note/delete/73978/non-english
Del: in docs -- https://master.php.net/note/delete/73978/in+docs
Del: other reasons-- https://master.php.net/note/delete/73978
Reject -- https://master.php.net/note/reject/73978
Search -- https://master.php.net/manage/user-notes.php