1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-05 12:23:50 +03:00

s4-pydsdb: added am_rodc() method on samdb

This commit is contained in:
Andrew Tridgell
2010-09-18 20:22:23 -07:00
parent 2666cc9c16
commit e72a1e2055
2 changed files with 30 additions and 0 deletions

View File

@@ -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="",