File: ldap_cache_auth.dpatch

package info (click to toggle)
dovecot 1.0.rc15-2etch5
  • links: PTS
  • area: main
  • in suites: etch
  • size: 8,808 kB
  • ctags: 9,428
  • sloc: ansic: 94,231; sh: 9,563; makefile: 1,320; yacc: 948; lex: 253
file content (17 lines) | stat: -rw-r--r-- 687 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh -e
. $(dirname $0)/DPATCH
exit 0
@DPATCH@
diff -urN dovecot-1.0.rc15/src/auth/passdb-ldap.c dovecot-1.0.rc15.debian/src/auth/passdb-ldap.c
--- dovecot-1.0.rc15/src/auth/passdb-ldap.c	2006-11-12 14:05:28.000000000 +0100
+++ dovecot-1.0.rc15.debian/src/auth/passdb-ldap.c	2007-12-30 12:37:54.000000000 +0100
@@ -505,7 +505,8 @@
 			  conn->set.auth_bind ? "password" : NULL);
 	module->module.cache_key =
 		auth_cache_parse_key(auth_passdb->auth->pool,
-				     conn->set.pass_filter);
+				     t_strconcat(conn->set.base,
+                     conn->set.pass_filter, NULL));
 	module->module.default_pass_scheme = conn->set.default_pass_scheme;
 	return &module->module;
 }