Well, the archives turned out to be of no help, so I get to look like
an idiot again...

I've successfully compiled sqwebmail with --enable-webpass=vpopmail,
but users are unable to change their passwords from the sqwebmail
preferences page: all attempts just return the error "Unable to change
password."

The error text itself is a macro in the .html file, not anywhere in
the actual code, and nothing gets logged to syslog, so I'm not
entirely certain what's breaking.  However, I yielded some interesting
clues by trussing the sqwebmail process as it ran:

# grep open truss.out
9862:   open("/home/httpd/htdocs/blank.org/.htaccess", O_RDONLY) Err#2
ENOENT
9862:   open("/dev/zero", O_RDONLY)                     = 3
9862:   open("/usr/lib/libm.so.1", O_RDONLY)            = 4
9862:   open("/usr/lib/libgdbm.so.2", O_RDONLY)         = 4
9862:   open("/usr/lib/libc.so.1", O_RDONLY)            = 4
9862:   open("/usr/lib/libdl.so.1", O_RDONLY)           = 4
9862:   open("/usr/platform/SUNW,SPARCstation-10/lib/libc_psr.so.1", O_RDONLY) Err#2 
ENOENT
9862:   open("/home/vpopmail/webcache/134162/ja/jas.authvchkpw", O_RDONLY) = 3
9862:   open("./sqwebmail-ip", O_RDONLY)                = 3
9862:   open("./sqwebmail-timestamp", O_RDONLY)         = 3
9862:   open("./sqwebmail-timestamp", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
9862:   open("/usr/lib/locale/en_US/en_US.so.1", O_RDONLY) = 3
9862:   open("./sqwebmail-config", O_RDONLY)            = 3
9862:   open("/home/httpd/htdocs/sqwebmail/html/en-us/preferences.html", O_RDONLY) = 3
9862:   open("/home/httpd/htdocs/sqwebmail/hostname", O_RDONLY) = 4
9862:   open("./maildirfilterconfig", O_RDONLY)         Err#2 ENOENT
9862:   open("/home/httpd/htdocs/sqwebmail/maildirfilterconfig", O_RDONLY) Err#2 ENOENT
9862:   open("./sqwebmail-pass", O_RDONLY)              Err#2 ENOENT
9862:   open("sqwebmail-sig", O_RDONLY)                 = 4

Presumably if sqwebmail were attempting to update vpasswd.cdb, it
would try to open ~vpopmail/users/vpasswd at some point?  (And why is
it trying to open sqwebmail-pass when authvchkpw is the only auth
module enables?)  Or am I misunderstanding how this is supposed to
work?

Standard background details: Solaris 2.6.  GCC 2.95.2.  Apache 1.3.9.
Sqwebmail is running setuid vpopmail and setgid vchkpw, which is of
course the owner and group of ~vpopmail/users/vpasswd.  Configuration
string is:

./configure \
        --with-htmllibdir=/home/httpd/htdocs/sqwebmail \
        --enable-cgibindir=/home/httpd/cgi-bin \
        --enable-imagedir=/home/httpd/icons \
        --enable-imageurl=/icons/ \
        --enable-webpass=vpopmail \
        --with-authvchkpw \
        --without-authpwd \
        --without-authshadow \
        --without-authpam \
        --without-authuserdb \
        --without-authmysql \
        --without-authldap \
        --without-authdaemon \
        --enable-mimetypes=/home/httpd/conf/mime.types \
        --with-cachedir=/home/vpopmail/webcache \
        --with-cacheowner=vpopmail

-n

------------------------------------------------------------<[EMAIL PROTECTED]>
"The Zapruder film confirms, beyond all reasonable doubt, that John F. Kennedy
was killed by having his fucking head blown almost completely off his fucking
shoulders."                                                      (--The Onion)
<http://www.blank.org/memory/>------------------------------------------------

Reply via email to