summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-07-06 19:57:58 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-07-06 22:55:50 +1000
commit023508ed17155309013ec684fa49d2d76d030dd0 (patch)
treeb8b6b9d79de76a3555e3eca63b11d49a0525678c /source4/scripting
parent979215ad59e3a1dcb2dddeb1749d8f2eb1a920c3 (diff)
downloadsamba-023508ed17155309013ec684fa49d2d76d030dd0.tar.gz
samba-023508ed17155309013ec684fa49d2d76d030dd0.tar.bz2
samba-023508ed17155309013ec684fa49d2d76d030dd0.zip
pydsdb: Add bindings for dsdb_wellknown_dn()
Diffstat (limited to 'source4/scripting')
-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 416cd163d7..7451b6c624 100644
--- a/source4/scripting/python/samba/samdb.py
+++ b/source4/scripting/python/samba/samdb.py
@@ -744,6 +744,9 @@ accountExpires: %u
def get_nc_root(self, dn):
return dsdb._dsdb_get_nc_root(self, dn)
+ def get_wellknown_dn(self, nc_root, wkguid):
+ return dsdb._dsdb_get_wellknown_dn(self, nc_root, wkguid)
+
def set_minPwdAge(self, value):
m = ldb.Message()
m.dn = ldb.Dn(self, self.domain_dn())