Originally posted by mlt
View Post
mmm to my also I pass that to me and my problem was that imap was not commenting the lines as said wiki to it, please reviews the configuration that you have of imap and returns to try!
IV.1.3. Configure pam
Change /etc/pam.d/imap that it looks like this. Note the <YOURPASSWORDFROMINSTALL> defaults, please enter the password used at the Admindaemon installation here.
#@include common-auth
#@include common-account
auth optional pam_mysql.so host=localhost user=openexchange passwd=<YOURPASSWORDFROMINSTALL> db=open-xchange-db [table=login2user LEFT JOIN user ON login2user.id=user.id AND login2user.cid=user.cid] [where=user.cid=1] usercolumn=login2user.uid passwdcolumn=user.userPassword crypt=1
account required pam_mysql.so host=localhost user=openexchange passwd=<YOURPASSWORDFROMINSTALL> db=open-xchange-db [table=login2user LEFT JOIN user ON login2user.id=user.id AND login2user.cid=user.cid] [where=user.cid=1] usercolumn=login2user.uid passwdcolumn=user.userPassword crypt=1
If you see an error in /var/log/auth.log type "acces denied 'openexchange'@'localhost' ... try change host to sock from mysql. By example for Debian Etch. Note the <YOURPASSWORDFROMINSTALL> defaults, please enter the password used at the Admindaemon installation here.
#@include common-auth
#@include common-account
auth optional pam_mysql.so host=/var/run/mysqld/mysqld.sock user=openexchange passwd=<YOURPASSWORDFROMINSTALL> db=open-xchange-db [table=login2user LEFT JOIN user ON login2user.id=user.id AND login2user.cid=user.cid] [where=user.cid=1] usercolumn=login2user.uid passwdcolumn=user.userPassword crypt=1
account required pam_mysql.so host=/var/run/mysqld/mysqld.sock user=openexchange passwd=<YOURPASSWORDFROMINSTALL> db=open-xchange-db [table=login2user LEFT JOIN user ON login2user.id=user.id AND login2user.cid=user.cid] [where=user.cid=1] usercolumn=login2user.uid passwdcolumn=user.userPassword crypt=1
I am mistaken was in these lines.
Leave a comment: