K, I've been digging into this a bit further. Seems that when I try to log in as any user, rcube updates the DB with session information, but it doesn't seem to create a corresponding user record in the users table. For example, loggging in with mailadmin as a user, the only entry in the mysql log is this:
INSERT INTO session (sess_id, vars, created, changed) VALUES ('e73688aafc73be78b2089e5cbe36f409', 'client_id|s:32:"e73688aafc73be78b2089e5cbe36f409";user_lang|s:2:"en";auth_time|i:1128394400;auth|s:40:"f3a3e88c1f2781fad6bbb2d1132d 4c8a5e7647e0";task|s:4:"mail";', NOW(), NOW());
but yet the user table stays empty. obviously, i do have the auto registration option set to TRUE in main.inc.php.
I'm using the CVS tree, so i don't know if that's partially the problem, but it doesn't seem to work either with the stable release. from what i can tell, there's no indication that an IMAP log in is being requested (I have cyrus logging everything at this point to see what's what).
Any ideas?
cheers, rodolfo
On 10/3/05, Rodolfo segleaur@gmail.com wrote:
OK - makes sense. What type of auth can it do against the IMAP server? from what i can tell rcube does plain auth against imap/imaps. the interesting thing here is that i cannot, for the life of me authenticate with rcube against the imap server (it's all in the same box). I'm trying to get this to work on Mac OS X.4 Server. no errors are logged in logs/errors or sendmail. so any detailed info or experience on how this works would be helpful to track down the bugger that's crashing this in the code.
cheers, rodolfo
On 10/3/05, thomas bruederli roundcube@gmail.com wrote:
Hi there,
I know, the user authorization and creation is not well documented. This is how it works: The main authority for the RoundCube access is the IMAP server. If 'auto_create_user' is set to TRUE in config/main.inc.php a new record in the user table will be created once the IMAP login succeeded. This user record does not store a password, it's just used to assign identities, contacts and cache records. If you have 'auto_create_user' set to FALSE only IMAP logins which already have a corresponding entry in the user's table (username and hostname) will be allowed.
And here's a notice about the CVS version: don't forget to move config/*.inc.php.dist to config/*inc.php in order to make the system work.
Regards, Thomas
2005/10/3, Rodolfo segleaur@gmail.com:
k - so i downloaded the HEAD branch from CVS and installed it on my system. the setup right now looks quite simple (at least the config/ files). the only issue i see right now is that no matter what user i put (that I know exists on the system and can log in) it says that the user/password failed.
now, i guess i was at a loss at this the same way Joshua was, so my question is two-fold: what auth system does rcube use? and from what I can tell, the user table in the mysql db is for user registration only? should it map back to the actual system user information?
cheers, rodolfo