summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-18 20:22:23 -0700
committerAndrew Tridgell <tridge@samba.org>2010-09-19 11:29:32 -0700
commite72a1e20557f212af03d32152f0cc11acee57814 (patch)
tree09700cae7625ff487534fcb6e625ff8c32e6037f /source4/scripting/python
parent2666cc9c161d4a0f5083f546dbcf470d34b24499 (diff)
downloadsamba-e72a1e20557f212af03d32152f0cc11acee57814.tar.gz
samba-e72a1e20557f212af03d32152f0cc11acee57814.tar.bz2
samba-e72a1e20557f212af03d32152f0cc11acee57814.zip
s4-pydsdb: added am_rodc() method on samdb
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/samba/samdb.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/samdb.py b/source4/scripting/python/samba/samdb.py
index c43c65da93..bbc52a9ebd 100644
--- a/source4/scripting/python/samba/samdb.py
+++ b/source4/scripting/python/samba/samdb.py
@@ -64,6 +64,9 @@ class SamDB(samba.Ldb):
super(SamDB, self).connect(url=url, flags=flags,
options=options)
+ def am_rodc(self):
+ return dsdb._am_rodc(self)
+
def domain_dn(self):
# find the DNs for the domain
res = self.search(base="",