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 c78b7cd commit 7d0b480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ldap/ldap.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ 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.Search(searchRequest)
//res, err := l.LdapConn.SearchWithPaging(searchRequest, 10)
if err != nil {
return nil, err
Expand Down

0 comments on commit 7d0b480

Please sign in to comment.