git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d25e828
)
r21103: This seems to do the 'right thing' in applying the correct access
author
Andrew Bartlett
<abartlet@samba.org>
Thu, 1 Feb 2007 01:27:02 +0000
(
01:27
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:44:29 +0000
(14:44 -0500)
control to the SWAT ldb browser. This should show up as the
authenticated user, rather than anonymous now.
Andrew Bartlet
services/samba/ldb.esp
patch
|
blob
|
history
diff --git
a/services/samba/ldb.esp
b/services/samba/ldb.esp
index 2654efe9884e2e589940f1cf06a95022904e3eb6..6167bf904f33a749ffee68dc9879bfcf4c92883f 100644
(file)
--- 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)
{