svn commit: samba r21103 - in branches/SAMBA_4_0/services/samba: .

abartlet at samba.org abartlet at samba.org
Thu Feb 1 01:27:03 GMT 2007


Author: abartlet
Date: 2007-02-01 01:27:02 +0000 (Thu, 01 Feb 2007)
New Revision: 21103

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21103

Log:
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

Modified:
   branches/SAMBA_4_0/services/samba/ldb.esp


Changeset:
Modified: branches/SAMBA_4_0/services/samba/ldb.esp
===================================================================
--- branches/SAMBA_4_0/services/samba/ldb.esp	2007-01-31 22:31:25 UTC (rev 21102)
+++ branches/SAMBA_4_0/services/samba/ldb.esp	2007-02-01 01:27:02 UTC (rev 21103)
@@ -95,6 +95,8 @@
 
     /* 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)
     {



More information about the samba-cvs mailing list