From cbded38ed5f319af4e9836039bfa16c6123e2ba7 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 5 Nov 2010 14:06:10 +1100 Subject: s4-pydsdb: added DsReplicaAttribute() this allows us to form a DsReplicaAttribute structure from python --- source4/scripting/python/samba/samdb.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/scripting/python') 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 -- cgit