擅长:python、mysql、java
<p>您是否尝试过在属性列表(LDAP_ATTRS)中指定“employeeID”,而不是在search_ext调用中指定“*”,以查看是否返回employeeID</p>
<p>或者尝试不将属性列表指定为<a href="https://www.python-ldap.org/en/latest/reference/ldap.html#ldap.LDAPObject.search" rel="nofollow noreferrer">https://www.python-ldap.org/en/latest/reference/ldap.html#ldap.LDAPObject.search</a>中的文档
表示“检索到的属性可以使用attrlist参数进行限制。如果attrlist为<strong>None</strong>,则返回每个条目的所有属性。”</p>