X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=blobdiff_plain;f=source4%2Fscripting%2Fpython%2Fsamba%2Fsamdb.py;fp=source4%2Fscripting%2Fpython%2Fsamba%2Fsamdb.py;h=f77ce1737db607df00d48c6e665991ed12c1586b;hp=ba0dd99cb72b2c32da24089a7ada883957c1a71b;hb=02562a0ca988b5b1e0796a445aabc96dddb408d2;hpb=082a9cc72815a3873b1cea2779dff6bc41a9773c diff --git a/source4/scripting/python/samba/samdb.py b/source4/scripting/python/samba/samdb.py index ba0dd99cb72..f77ce1737db 100644 --- a/source4/scripting/python/samba/samdb.py +++ b/source4/scripting/python/samba/samdb.py @@ -517,6 +517,10 @@ accountExpires: %u '''return the linkID for a LDAP attribute as a integer''' return dsdb._dsdb_get_linkId_from_lDAPDisplayName(self, ldap_display_name) + def get_lDAPDisplayName_by_attid(self, attid): + '''return the lDAPDisplayName from an integer DRS attribute ID''' + return dsdb._dsdb_get_lDAPDisplayName_by_attid(self, attid) + def set_ntds_settings_dn(self, ntds_settings_dn): """Set the NTDS Settings DN, as would be returned on the dsServiceName rootDSE attribute.