summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-09 17:34:55 +1000
committerAndrew Tridgell <tridge@samba.org>2010-09-09 21:39:24 +1000
commit54e86d881d2955bae49bd87fe08e74bbfc86fd0e (patch)
tree2ad780d9df2cfe12c38db7892103567fd443d694 /source4/scripting
parent650dcda2a2c59657b11052ebef622c351c4db477 (diff)
downloadsamba-54e86d881d2955bae49bd87fe08e74bbfc86fd0e.tar.gz
samba-54e86d881d2955bae49bd87fe08e74bbfc86fd0e.tar.bz2
samba-54e86d881d2955bae49bd87fe08e74bbfc86fd0e.zip
s4-pydsdb: expose samdb_partitions_dn() as get_partitions_dn() in python
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
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 cc82e53907..e2ac37a240 100644
--- a/source4/scripting/python/samba/samdb.py
+++ b/source4/scripting/python/samba/samdb.py
@@ -595,3 +595,6 @@ accountExpires: %u
def write_prefixes_from_schema(self):
dsdb._dsdb_write_prefixes_from_schema_to_ldb(self)
+
+ def get_partitions_dn(self):
+ return dsdb._dsdb_get_partitions_dn(self)