You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the example on the README, the code examples say to do:
s := ldap.NewServer()
handler := ldapHandler{}
s.BindFunc("", handler)
When I try to do that (and s.SearchFunc), even though I've implemented the interfaces in my handler, go build says:
.\main.go:42:4: s.BindFunc undefined (type *ldapserver.Server has no field or method BindFunc)
.\main.go:43:4: s.SearchFunc undefined (type *ldapserver.Server has no field or method SearchFunc)
Is the example wrong or is something missing from the Server struct?
The text was updated successfully, but these errors were encountered:
In the example on the README, the code examples say to do:
s := ldap.NewServer()
handler := ldapHandler{}
s.BindFunc("", handler)
When I try to do that (and s.SearchFunc), even though I've implemented the interfaces in my handler, go build says:
.\main.go:42:4: s.BindFunc undefined (type *ldapserver.Server has no field or method BindFunc)
.\main.go:43:4: s.SearchFunc undefined (type *ldapserver.Server has no field or method SearchFunc)
Is the example wrong or is something missing from the Server struct?
The text was updated successfully, but these errors were encountered: