#include "lib/ldb/include/ldb.h"
#include "ldb_wrap.h"
#include "../lib/util/util_ldb.h"
-#include "libcli/auth/libcli_auth.h"
#include "auth/auth.h"
#include "param/param.h"
-#include "auth/gensec/schannel_state.h"
/**
connect to the schannel ldb
existed = file_exist(path);
ldb = ldb_wrap_connect(mem_ctx, ev_ctx, lp_ctx, path,
- system_session(mem_ctx, lp_ctx),
- NULL, LDB_FLG_NOSYNC, NULL);
+ system_session(lp_ctx),
+ NULL, LDB_FLG_NOSYNC);
talloc_free(path);
if (!ldb) {
return NULL;