[dovecot-cvs] dovecot/src/auth passdb-ldap.c,1.44.2.14,1.44.2.15
tss at dovecot.org
tss at dovecot.org
Thu Apr 12 19:23:46 EEST 2007
- Previous message: [dovecot-cvs] dovecot/src/plugins/acl Makefile.am, 1.4, 1.5 acl-api-private.h, 1.5, 1.6 acl-api.c, 1.6, 1.7 acl-api.h, 1.4, 1.5 acl-backend-vfile-acllist.c, NONE, 1.1 acl-backend-vfile.c, 1.18, 1.19 acl-backend-vfile.h, NONE, 1.1 acl-backend.c, 1.6, 1.7 acl-cache.c, 1.7, 1.8 acl-cache.h, 1.3, 1.4 acl-mailbox-list.c, 1.5, 1.6 acl-plugin.c, 1.5, 1.6 acl-storage.c, 1.6, 1.7
- Next message: [dovecot-cvs] dovecot/src/auth passdb-ldap.c,1.59,1.60
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv4011
Modified Files:
Tag: branch_1_0
passdb-ldap.c
Log Message:
Don't crash if doing non-plaintext ldap passdb lookup for unknown user.
Index: passdb-ldap.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/passdb-ldap.c,v
retrieving revision 1.44.2.14
retrieving revision 1.44.2.15
diff -u -d -r1.44.2.14 -r1.44.2.15
--- passdb-ldap.c 2 Apr 2007 10:23:07 -0000 1.44.2.14
+++ passdb-ldap.c 12 Apr 2007 16:23:44 -0000 1.44.2.15
@@ -173,7 +173,12 @@
}
}
- request->callback.verify_plain(passdb_result, auth_request);
+ if (auth_request->credentials != -1) {
+ request->callback.lookup_credentials(passdb_result, NULL,
+ auth_request);
+ } else {
+ request->callback.verify_plain(passdb_result, auth_request);
+ }
auth_request_unref(&auth_request);
return NULL;
}
- Previous message: [dovecot-cvs] dovecot/src/plugins/acl Makefile.am, 1.4, 1.5 acl-api-private.h, 1.5, 1.6 acl-api.c, 1.6, 1.7 acl-api.h, 1.4, 1.5 acl-backend-vfile-acllist.c, NONE, 1.1 acl-backend-vfile.c, 1.18, 1.19 acl-backend-vfile.h, NONE, 1.1 acl-backend.c, 1.6, 1.7 acl-cache.c, 1.7, 1.8 acl-cache.h, 1.3, 1.4 acl-mailbox-list.c, 1.5, 1.6 acl-plugin.c, 1.5, 1.6 acl-storage.c, 1.6, 1.7
- Next message: [dovecot-cvs] dovecot/src/auth passdb-ldap.c,1.59,1.60
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list