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

user manager and ubuntu login #202

Open
jpvlerbe opened this issue May 15, 2023 · 1 comment
Open

user manager and ubuntu login #202

jpvlerbe opened this issue May 15, 2023 · 1 comment

Comments

@jpvlerbe
Copy link

Hi

I am trying to use ldap-user-manager to manage access accounts for ubuntu servers. After spending quite a bit of time however I do not seem to get it working. I have the following docker-compose setup:
`
version: "3.8"

services:
openldap:
image: osixia/openldap:1.5.0
volumes:
- ./storage/ldap_db:/var/lib/ldap
- ./storage/ldap_config:/etc/ldap/slapd.d
environment:
- LDAP_ORGANISATION=try.this.it
- LDAP_DOMAIN=example.com
- LDAP_ADMIN_PASSWORD=
- LDAP_CONFIG_PASSWORD=
- LDAP_RFC2307BIS_SCHEMA=true
- LDAP_REMOVE_CONFIG_AFTER_SETUP=true
- LDAP_TLS_VERIFY_CLIENT=never
networks:
- openldap
ports:
- 389:389
- 636:636

openldap-ui:
image: wheelybird/ldap-user-manager:v1.10
environment:
- LDAP_URI=ldap://openldap
- LDAP_BASE_DN=dc=example,dc=com
- LDAP_REQUIRE_STARTTLS=FALSE
- LDAP_ADMINS_GROUP=admins
- LDAP_ADMIN_BIND_DN=cn=admin,dc=example,dc=com
- LDAP_ADMIN_BIND_PWD=
- LDAP_IGNORE_CERT_ERRORS=true
- NO_HTTPS=TRUE
- PASSWORD_HASH=SSHA
- SERVER_HOSTNAME=localhost:18080
- LDAP_DEBUG=true
- LDAP_VERBOSE_CONNECTION_LOGS=true
- SHOW_POSIX_ATTRIBUTES=TRUE
depends_on:
- openldap
ports:
- 18080:80
networks:
- openldap

networks:
openldap:
name: openldap
`

For configuring the login on Ubuntu I want to use SSSD for which I referred to https://ubuntu.com/server/docs/service-sssd-ldap. I tried and searched far and wide, ignoring SSL/TLS things for now, but could not get it to work. Is it meant to be compatible or should I refer to another manager? Any pointers, caveats?

@wheelybird
Copy link
Owner

Hi. I'm not really sure what your problem is. Assuming you've got OpenLDAP and ldap-user-manager working (i.e. you can add new user accounts) then there should be no issue with SSSD. Either the issue lies in how you've configured SSSD or there are connection issues. You didn't provide any SSSD logs, so it's hard to say. Were you able to test your LDAP connection with the ldapwhoami command as described on the page you linked to?

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

2 participants