[SSSD-users] how to map unix group name to other attribute than "cn" of the group entry

Lukas Slebodnik lslebodn at redhat.com
Tue Aug 12 08:07:15 UTC 2014


On (12/08/14 14:17), XuQing Tan wrote:
>Hi Jakub
>
>attached is the log files, and blow is the commands sequence:
>
>[root at 10-0-0-84 ~]# service sssd stop
>Stopping sssd:                                             [  OK  ]
>[root at 10-0-0-84 ~]# rm -f /var/lib/sss/db/cache_*.ldb
>[root at 10-0-0-84 ~]# service sssd start
>Starting sssd:                                             [  OK  ]
>[root at 10-0-0-84 ~]# id nick at example.com
>uid=15001(nick) gid=20000(my-testing-group-at-world-wide-space)
>groups=20000(my-testing-group-at-world-wide-space)
>[root at 10-0-0-84 ~]# getent group -s -sss
>my-testing-group-at-world-wide-space
>[root at 10-0-0-84 ~]# getent group -s -sss test-group
                                     ^
                         this character should not be there

sh-4.2$ getent passwd -s -sss usersssd01
sh-4.2$ echo $?
2
sh-4.2$ getent passwd -s sss usersssd01
usersssd01:*:325600011:325600011:sssd user:/home/usersssd01/:/bin/sh

LS


More information about the sssd-users mailing list