fix
This commit is contained in:
parent
68e8a9a988
commit
b9399f887b
|
@ -42,7 +42,6 @@ type DNItem struct {
|
|||
|
||||
func (l *GetDepartmentsLogic) GetDepartments(req *types.Request, userinfo *auth.UserInfo) (resp *basic.Response) {
|
||||
//从ldap获取组织架构数据
|
||||
// 创建搜索请求
|
||||
searchRequest := ldap.NewSearchRequest(
|
||||
l.svcCtx.Config.Ldap.BaseDN,
|
||||
ldap.ScopeWholeSubtree, ldap.NeverDerefAliases, 0, 0, false,
|
||||
|
|
Loading…
Reference in New Issue
Block a user