Skip to content

Commit

Permalink
Update ldap.go
Browse files Browse the repository at this point in the history
  • Loading branch information
wangbokun authored Feb 7, 2023
1 parent 23a4441 commit c78b7cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ldap/ldap.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ func (l *Ldap) Searchobject(baseDN string, authFilter string, searchField []stri
searchField, // A list attributes to retrieve
nil,
)
// res, err := conn.Search(searchRequest)
res, err := l.LdapConn.SearchWithPaging(searchRequest, 10)
res, err := conn.Search(searchRequest)
//res, err := l.LdapConn.SearchWithPaging(searchRequest, 10)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit c78b7cd

Please sign in to comment.