summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-08-14 17:45:57 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-08-18 09:50:44 +1000
commitba52834dd97d4c855ab98c2cbab1d6ed8d189de8 (patch)
tree013f7077722cf7cf3e3a4245fea817deb96f3451 /source4/dsdb
parenta68a5592c5fc88fc7ba335cfbe375d687c8b8112 (diff)
downloadsamba-ba52834dd97d4c855ab98c2cbab1d6ed8d189de8.tar.gz
samba-ba52834dd97d4c855ab98c2cbab1d6ed8d189de8.tar.bz2
samba-ba52834dd97d4c855ab98c2cbab1d6ed8d189de8.zip
s4:auth Remove system_session_anon() from python bindings
Diffstat (limited to 'source4/dsdb')
-rwxr-xr-xsource4/dsdb/tests/python/acl.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/dsdb/tests/python/acl.py b/source4/dsdb/tests/python/acl.py
index a8cba74fe0..3897a60c37 100755
--- a/source4/dsdb/tests/python/acl.py
+++ b/source4/dsdb/tests/python/acl.py
@@ -25,7 +25,6 @@ from samba.ndr import ndr_pack, ndr_unpack
from samba.dcerpc import security
from samba.auth import system_session
-from samba.auth import system_session_anonymous
from samba import gensec
from samba.samdb import SamDB
from samba.credentials import Credentials
@@ -717,7 +716,7 @@ class AclSearchTests(AclTests):
self.u2 = "search_u2"
self.u3 = "search_u3"
self.group1 = "group1"
- self.anonymous = SamDB(url=host, session_info=system_session_anonymous(),
+ self.anonymous = SamDB(url=host, session_info=system_session(),
lp=lp)
res = self.ldb_admin.search("CN=Directory Service, CN=Windows NT, CN=Services, "
+ self.configuration_dn, scope=SCOPE_BASE, attrs=["dSHeuristics"])