1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00

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)
This commit is contained in:
Andrew Bartlett 2007-02-01 01:27:02 +00:00 committed by Gerald (Jerry) Carter
parent 0a4617bd9f
commit db10033b2b

View File

@ -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)
{