src/server/daemon/ldap_auth.c

changeset 66
74babc0082b7
parent 63
66442f81f823
child 86
49bb6c8ceb2b
--- a/src/server/daemon/ldap_auth.c	Wed May 22 15:05:06 2013 +0200
+++ b/src/server/daemon/ldap_auth.c	Sun May 26 12:12:07 2013 +0200
@@ -36,6 +36,7 @@
     LDAPAuthDB *authdb = malloc(sizeof (LDAPAuthDB));
     authdb->authdb.name = strdup(name);
     authdb->authdb.get_user = ldap_get_user;
+    authdb->authdb.use_cache = 1;
     authdb->config = *conf;
 
     if (!authdb->config.usersearch) {

mercurial