如何解决MS Active Directory 和 Linux:使用 kerberos 进行身份验证
我正在使用 AWS Directory 服务器(MS Active Directory 类型)对我的 Linux 机器进行身份验证。
我关注了 this,一切正常,但我有权限问题。
root@example3-core-test01:~# id test@example.net
uid=134401141(test@example.net) gid=134402119(ubuntu@example.net) groups=134402119(ubuntu@example.net),134400513(domain users@example.net),134401137(aws delegated add workstations to domain users@example.net)
我将主要组设置为 ubuntu@example.net。 gid 是 134402119。我想设置为 1000。我使用 Active Directory 用户和计算机工具通过属性编辑器将 Unix 属性 gidNumber 设置为 1000。但是 linux 机器使用的是 MS gid 而不是 Unix gid。
如何更改用户和组的 gid 以查看 Unix 属性而不是我的 Unix 机器中的 MS 属性?
解决方法
在阅读 https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/windows_integration_guide/sssd-integration-intro 的 2.2.3 点后解决
我的具体问题是 sssd 缓存。
root@example3-core-test01:~# rm -f /var/lib/sss/db/*
root@example3-core-test01:~# service sssd restart
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。