This commit is contained in:
laodaming 2023-11-21 15:14:10 +08:00
parent be076197d2
commit d2ed9e9eeb

View File

@ -74,7 +74,7 @@ func (l *GetLdapOrganizationMembersLogic) GetLdapOrganizationMembers(req *types.
}
//解析dn成每个小的单元
cellList := strings.Split(memberDn, ",") //取cn邮箱
filterBuilder.WriteString(fmt.Sprintf("(&%s)", "("+cellList[0]+")"))
filterBuilder.WriteString(fmt.Sprintf("(%s)", cellList[0]))
}
break
}