Merge branch 'master' of https://github.com/skelsec/msldap
skelsec
3 years ago
962 | 962 | :return: A tuple of (True, None) on success or (False, Exception) on error. |
963 | 963 | :rtype: (:class:`bool`, :class:`Exception`) |
964 | 964 | """ |
965 | if controls is None: | |
966 | controls = [] | |
965 | 967 | controls_conv = [] |
966 | 968 | for control in controls: |
967 | 969 | controls_conv.append(Control(control)) |
1126 | 1128 | # logger.debug('Polling AD for all user objects') |
1127 | 1129 | # ldap_filter = r'(sAMAccountType=805306368)' |
1128 | 1130 | # |
1129 | # return self.pagedsearch(ldap_filter, MSADUser_ATTRS)⏎ | |
1131 | # return self.pagedsearch(ldap_filter, MSADUser_ATTRS) |