summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rw-r--r--services/samba/ldb.esp2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/samba/ldb.esp b/services/samba/ldb.esp
index 2654efe988..6167bf904f 100644
--- a/services/samba/ldb.esp
+++ b/services/samba/ldb.esp
@@ -95,6 +95,8 @@ function _connect(params, error)
/* Database was not previously opened. Connect to it. */
ldb = ldb_init();
+ ldb.session_info = session.authinfo.session_info;
+ ldb.credentials = session.authinfo.credentials;
var ret = ldb.connect(private_dir + "/" + params[0]);
if (ret && ldb.db)
{