src/server/daemon/ldap_auth.h

changeset 385
a1f4cb076d2f
parent 256
19259b6c5cf7
child 415
d938228c382e
--- a/src/server/daemon/ldap_auth.h	Tue Aug 13 22:14:32 2019 +0200
+++ b/src/server/daemon/ldap_auth.h	Sat Sep 24 16:26:10 2022 +0200
@@ -34,6 +34,8 @@
 #include <ldap.h>
 #include <ucx/map.h>
 
+#include "config.h"
+
 #ifdef	__cplusplus
 extern "C" {
 #endif
@@ -90,7 +92,7 @@
     LDAPGroup   *next;
 };
 
-AuthDB* create_ldap_authdb(char *name, LDAPConfig *conf);
+AuthDB* create_ldap_authdb(ServerConfiguration *cfg, const char *name, LDAPConfig *conf);
 
 LDAP* get_ldap_session(LDAPAuthDB *authdb);
 

mercurial