From db10033b2b49d6db660779f9c18a6d507ecb6923 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 1 Feb 2007 01:27:02 +0000 Subject: r21103: This seems to do the 'right thing' in applying the correct access control to the SWAT ldb browser. This should show up as the authenticated user, rather than anonymous now. Andrew Bartlet (This used to be commit 48a5105f6bb0afcd22feb9448aba3006e6646848) --- services/samba/ldb.esp | 2 ++ 1 file changed, 2 insertions(+) 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) { -- cgit