[dovecot-cvs] dovecot/src/auth auth-request.c,1.37,1.38
    cras at dovecot.org 
    cras at dovecot.org
       
    Thu Oct 27 17:29:23 EEST 2005
    
        - Previous message: [dovecot-cvs] dovecot-lda/src mail-send.c,1.6,1.7
 
        - Next message: [dovecot-cvs] 
	dovecot/src/auth Makefile.am, 1.48, 1.49 auth.c, 1.19,
	1.20 mech-anonymous.c, 1.13, 1.14 mech-apop.c, 1.16,
	1.17 mech-cram-md5.c, 1.20, 1.21 mech-digest-md5.c, 1.34,
	1.35 mech-gssapi.c, NONE, 1.1 mech-login.c, 1.12,
	1.13 mech-ntlm.c, 1.19, 1.20 mech-plain.c, 1.31,
	1.32 mech-rpa.c, 1.19, 1.20 mech.c, 1.54, 1.55 mech.h, 1.35, 1.36
 
         -  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
 
       
    
  
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv20067/src/auth
Modified Files:
	auth-request.c 
Log Message:
Non-plaintext authentication and passdb cache didn't work together. Patch by
Andrey Panin.
Index: auth-request.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/auth-request.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- auth-request.c	20 Oct 2005 09:07:48 -0000	1.37
+++ auth-request.c	27 Oct 2005 14:29:21 -0000	1.38
@@ -409,6 +409,8 @@
 
 	i_assert(request->state == AUTH_REQUEST_STATE_MECH_CONTINUE);
 
+	request->credentials = credentials;
+
 	cache_key = passdb_cache == NULL ? NULL : passdb->cache_key;
 	if (cache_key != NULL) {
 		if (passdb_cache_lookup_credentials(request, cache_key,
@@ -421,7 +423,6 @@
 	}
 
 	request->state = AUTH_REQUEST_STATE_PASSDB;
-	request->credentials = credentials;
 	request->private_callback.lookup_credentials = callback;
 
 	if (passdb->blocking)
    
    
        
	- Previous message: [dovecot-cvs] dovecot-lda/src mail-send.c,1.6,1.7
 
	- Next message: [dovecot-cvs] 
	dovecot/src/auth Makefile.am, 1.48, 1.49 auth.c, 1.19,
	1.20 mech-anonymous.c, 1.13, 1.14 mech-apop.c, 1.16,
	1.17 mech-cram-md5.c, 1.20, 1.21 mech-digest-md5.c, 1.34,
	1.35 mech-gssapi.c, NONE, 1.1 mech-login.c, 1.12,
	1.13 mech-ntlm.c, 1.19, 1.20 mech-plain.c, 1.31,
	1.32 mech-rpa.c, 1.19, 1.20 mech.c, 1.54, 1.55 mech.h, 1.35, 1.36
 
         -  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
 
       
More information about the dovecot-cvs
mailing list