Devenv:LDAP: couple simplifications for LDAP (#17807)

* Add LDAP config instead sed use

* Add container name

* Add SizeLimit option to client and to server.
  Probably useless at this point, but it's better to have it then otherwise
This commit is contained in:
Oleg Gaidarenko
2019-07-01 15:09:04 +03:00
committed by GitHub
parent 5836427794
commit ca136c7c22
6 changed files with 21 additions and 4 deletions

View File

@@ -261,6 +261,7 @@ func (server *Server) getSearchRequest(
return &ldap.SearchRequest{
BaseDN: base,
Scope: ldap.ScopeWholeSubtree,
SizeLimit: 1000,
DerefAliases: ldap.NeverDerefAliases,
Attributes: attributes,
Filter: filter,