Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LDAP returning ldap::user not found when user exists #6416

Open
alister-cf opened this issue Jan 12, 2023 · 0 comments
Open

LDAP returning ldap::user not found when user exists #6416

alister-cf opened this issue Jan 12, 2023 · 0 comments

Comments

@alister-cf
Copy link

I was looking into setting up LDAP via Jumpcloud and even though I am able to use the same credentials in other applications they don't work in cds

I did look up the code and Jumpcloud doesn't provide the dn and company field on a user, could this be the problem?

The error logged after attempting a login:

github.com/ovh/cds/sdk.NewError /tmp/790ad7b9a1a85167593986ed564384b7/run/sdk/error.go:546 github.com/ovh/cds/engine/api/authentication/ldap.AuthDriver.GetUserInfo /tmp/790ad7b9a1a85167593986ed564384b7/run/engine/api/authentication/ldap/ldap.go:98 github.com/ovh/cds/engine/api.(*API).postAuthSigninHandler.func1 /tmp/790ad7b9a1a85167593986ed564384b7/run/engine/api/auth.go:125 github.com/ovh/cds/engine/api.(*Router).handle.func1 /tmp/790ad7b9a1a85167593986ed564384b7/run/engine/api/router.go:442 net/http.HandlerFunc.ServeHTTP /usr/local/go/src/net/http/server.go:2084 github.com/ovh/cds/engine/api.(*Router).recoverWrap.func1 /tmp/790ad7b9a1a85167593986ed564384b7/run/engine/api/router.go:170 github.com/ovh/cds/engine/api.(*Router).setRequestID.func1 /tmp/790ad7b9a1a85167593986ed564384b7/run/engine/api/router.go:118 net/http.HandlerFunc.ServeHTTP /usr/local/go/src/net/http/server.go:2084 github.com/gorilla/handlers.CompressHandlerLevel.func1 /go/pkg/mod/github.com/gorilla/[email protected]/compress.go:143 net/http.HandlerFunc.ServeHTTP /usr/local/go/src/net/http/server.go:2084 github.com/ovh/cds/engine/api.(*Router).compress.func1 /tmp/790ad7b9a1a85167593986ed564384b7/run/engine/api/router.go:95 github.com/ovh/cds/engine/api.(*Router).pprofLabel.func1 /tmp/790ad7b9a1a85167593986ed564384b7/run/engine/api/router.go:87 net/http.HandlerFunc.ServeHTTP /usr/local/go/src/net/http/server.go:2084 github.com/gorilla/mux.(*Router).ServeHTTP /go/pkg/mod/github.com/gorilla/[email protected]/mux.go:210 net/http.serverHandler.ServeHTTP /usr/local/go/src/net/http/server.go:2916 net/http.(*conn).serve /usr/local/go/src/net/http/server.go:1966 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1571

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant