在 Fedora 上将本地组添加到 ldap 登录用户

问题描述

Using OpenLDAP to authorize on Fedora 33 instance I wish to add the ldap user to local groups as docker,audio,dialout,etc.
I'm trying to use PAM configuration.
In /etc/security/group.conf the next line is added:
*;*;*;Al0000-2400;docker
nothing is happened.
I tried to add the line
auth        optional      pam_group.so
in different files from /etc/pam.d/,for example in /etc/pam.d/password-auth
But always execution of applying the modification fails
authselect apply-changes
[error] [/etc/authselect/password-auth] has unexpected content!
[error] Unexpected changes to the configuration were detected.
[error] Refusing to activate profile unless those changes are removed or overwrite is requested.

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)