|
@@ -2957,7 +2957,7 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements Us
|
|
LdapContext ldapContext = adLogin();
|
|
LdapContext ldapContext = adLogin();
|
|
HttpRespMsg httpRespMsg=new HttpRespMsg();
|
|
HttpRespMsg httpRespMsg=new HttpRespMsg();
|
|
//域部门节点
|
|
//域部门节点
|
|
- String searchBase = "DC="+dcFirst+",DC="+dcSecond;
|
|
|
|
|
|
+ String searchBase = "OU=my,DC="+dcFirst+",DC="+dcSecond;
|
|
//String searchBase = "OU=my(组织架构名称),DC=test,DC=com";
|
|
//String searchBase = "OU=my(组织架构名称),DC=test,DC=com";
|
|
//搜索条件
|
|
//搜索条件
|
|
String searchFilter = "objectclass=organizationalUnit";
|
|
String searchFilter = "objectclass=organizationalUnit";
|