summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-05 14:06:10 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-05 23:42:08 +1100
commitcbded38ed5f319af4e9836039bfa16c6123e2ba7 (patch)
tree22c1c65450ba316cd7485fd4d94a48fbf5ac843c /source4/scripting/python
parent135756c8ac34c4cf82992dce8c7218781e67f39b (diff)
downloadsamba-cbded38ed5f319af4e9836039bfa16c6123e2ba7.tar.gz
samba-cbded38ed5f319af4e9836039bfa16c6123e2ba7.tar.bz2
samba-cbded38ed5f319af4e9836039bfa16c6123e2ba7.zip
s4-pydsdb: added DsReplicaAttribute()
this allows us to form a DsReplicaAttribute structure from python
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 c435b7a1af..38f018f00d 100644
--- a/source4/scripting/python/samba/samdb.py
+++ b/source4/scripting/python/samba/samdb.py
@@ -483,6 +483,9 @@ accountExpires: %u
def set_schema_from_ldb(self, ldb_conn):
dsdb._dsdb_set_schema_from_ldb(self, ldb_conn)
+ def dsdb_DsReplicaAttribute(self, ldb, ldap_display_name, ldif_elements):
+ return dsdb._dsdb_DsReplicaAttribute(ldb, ldap_display_name, ldif_elements)
+
def get_attribute_from_attid(self, attid):
""" Get from an attid the associated attribute