# github.com/shaj13/go-guardian/v2/auth/strategies/ldap
/home/user/go/pkg/mod/github.com/shaj13/go-guardian/v2@v2.11.5/auth/strategies/ldap/ldap.go:71:9: cannot use ldap.DialURL(cfg.URL, opts...) (value of type *"github.com/go-ldap/ldap/v3".Conn) as conn value in return statement: *"github.com/go-ldap/ldap/v3".Conn does not implement conn (wrong type for method Close)
have Close() (error)
want Close()
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What version of Go-Guardian are you using ?
What did you do?
What did you see instead?
Works ok with LDAP version 3.4.4: