LDAP SSSD Client 問題 - Linux

Table of Contents

各位大神安安

目前我有在公司重新建一台LDAP,需求是可以讓NAS以及幾台Ubuntu Server帳號可

以統一管理

目前適用Docker osixia/openldap架設

用LDAP Admin管理

目前NAS連線沒有問題,但是那幾台Ubuntu都發生

Ubuntu 都是用 SSSD做連線

genent password username 可以找的到人

id username 也可以

但是只要 su username 就會顯示

su:Authentication failure

想請問一下各位大大有遇過這種問題嗎?


附上 docker run的指令

docker run -d --name ldap -p 389:389 -p 636:636 --env
LDAP_TLS_VERIFY_CLIENT="try" --env LDAP_ORGANISATION="example.org" --env
LDAP_DOMAIN="example.org" --env LDAP_ADMIN_PASSWORD="admin" osixia/openldap

以及 sssd.conf

[sssd]
config_file_version = 2
domains = example.org

[domain/example.org]
id_provider = ldap
auth_provider = ldap
ldap_uri = ldap://192.168.1.1
cache_credentials = True
ldap_search_base = dc=example,dc=org

--

All Comments

Edith avatarEdith2021-12-22
無腦猜個 nsswitch 有寫嗎?
Una avatarUna2021-12-27
我都是用nss+pam
Quintina avatarQuintina2022-01-01
應該說pam.d跟nss還是要改吧(?
Linda avatarLinda2022-01-06
Candice avatarCandice2022-01-11
試著找看看發生錯誤時,系統 log 的內容
Charlie avatarCharlie2022-01-11
你user的login shell是/bin/bash嗎?