summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-07-06 18:12:58 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-07-06 22:45:34 +1000
commite4077a8ca57c044bdd177dba1cbb81c3b802fe4c (patch)
tree413940951af1ffc1ffdfdcc131c2de06760a38f7 /source4/scripting/python
parent507e6fdce520999c5b29b3c98de945c4ff96c9a9 (diff)
downloadsamba-e4077a8ca57c044bdd177dba1cbb81c3b802fe4c.tar.gz
samba-e4077a8ca57c044bdd177dba1cbb81c3b802fe4c.tar.bz2
samba-e4077a8ca57c044bdd177dba1cbb81c3b802fe4c.zip
s4-pydsdb: Add bindings for dsdb_find_nc_root()
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 1190516e1e..416cd163d7 100644
--- a/source4/scripting/python/samba/samdb.py
+++ b/source4/scripting/python/samba/samdb.py
@@ -741,6 +741,9 @@ accountExpires: %u
def get_partitions_dn(self):
return dsdb._dsdb_get_partitions_dn(self)
+ def get_nc_root(self, dn):
+ return dsdb._dsdb_get_nc_root(self, dn)
+
def set_minPwdAge(self, value):
m = ldb.Message()
m.dn = ldb.Dn(self, self.domain_dn())