lldap/example_configs/rancher.md
2023-02-19 14:38:54 +01:00

1.5 KiB

Configuration for SUSE Rancher (any version)

Left (hamburger) menu > Users & Authentication > OpenLDAP (yes, we are using the OpenLDAP config page)


LDAP configuration

Hostname/IP

ip-address, DNS name or when running in Kubernetes (see https://github.com/Evantage-WS/lldap-kubernetes), lldap-service.lldap.svc.cluster.local

Port

3890

Service Account Distinguished name

cn=admin,ou=people,dc=example,dc=com

Service Account Password

xxx

User Search Base

ou=people,dc=example,dc=com

Group Search Base

ou=groups,dc=example,dc=com

Object Class (users)

inetOrgPerson

Object Class (groups)

groupOfUniqueNames

Username Attribute

cn

Name Attribute

cn

Login Attribute

uid

Group Member User Attribute

dn

User Member Attribute

memberOf

Search Attribute (groups)

cn

Search Attribute (users)

uid|sn|givenName

Group Member Mapping Attribute

member

Group DN Attribute

dn
Choose "Search direct and nested group memberships"
Fill in the username and password of an admin user at Test and Enable Authentication and hit save

Screenshot: SUSE Rancher LLDAP Config

See https://github.com/Evantage-WS/lldap-kubernetes for a LLDAP deployment for Kubernetes