【问题标题】:MS Active Directory & Linux: Auth with kerberosMS Active Directory 和 Linux:使用 kerberos 进行身份验证
【发布时间】:2021-05-13 09:49:17
【问题描述】:

我正在使用 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 属性?

【问题讨论】:

    标签: linux active-directory kerberos sssd


    【解决方案1】:

    读取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
    

    【讨论】:

      最近更新 更多