Codebase list msldap / fa794d0
Set controls default value if not set Pixis authored 3 years ago GitHub committed 3 years ago
1 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
908908 :return: A tuple of (True, None) on success or (False, Exception) on error.
909909 :rtype: (:class:`bool`, :class:`Exception`)
910910 """
911 if controls is None:
912 controls = []
911913 controls_conv = []
912914 for control in controls:
913915 controls_conv.append(Control(control))
10721074 # logger.debug('Polling AD for all user objects')
10731075 # ldap_filter = r'(sAMAccountType=805306368)'
10741076 #
1075 # return self.pagedsearch(ldap_filter, MSADUser_ATTRS)
1077 # return self.pagedsearch(ldap_filter, MSADUser_ATTRS)