Dear FreeIPA experts, 

I am trying to get the "subid" feature of my FreeIPA managed installation 
working to use on some Debian 12 workstations (ultimately to use rootless 
docker).

The Server is IPA, Version: 4.12.2

The debian 12 freeipa-client package is 4.9.11-1

The systems were originally not installed with the "--subid" option, I 
therefore added the line 

"subuid: sss" 

manually to /etc/nsswitch.conf. 

However, I also did an ipa-client-install with --force-join --subid on one 
system to see if it changed something. 

With the nsswitch.conf setup like that, I can do:

dockeruser@stu-workstation2:~$ ipa subid-find dockeruser
------------------------
1 subordinate id matched
------------------------
  Eindeutige ID: bdd556b6-1bb1-4d4f-a2a0-aab35108dcb2
  Eigentümer: dockeruser
  SubUID range start: 2147549184
  SubUID range size: 65536
  SubGID range start: 2147549184
  SubGID range size: 65536
-------------------------------------
Anzahl der zurückgegebenen Einträge 1
-------------------------------------

This looks fine. 

The problem is, that this will not work: 

dockeruser@stu-workstation2:~$ getsubids dockeruser
Error fetching ranges

If I enter a line for "dockeruser" into /etc/subuid, the getsubuids command 
will display it. 

This means the setting in /etc/nsswich.conf seems to be ignored or something 
else 
causes it to fall back to looking in the file.

The libsubid librarie (s) seem to be there:

root@stu-workstation2:~# ldconfig -p |grep libsubid
        libsubid_sss.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libsubid_sss.so
        libsubid.so.4 (libc6,x86-64) => /lib/x86_64-linux-gnu/libsubid.so.4

I also tried the same installation approach on a fedora 42 host, and it also 
did not work initially. 

However, using "authselect enable-feature with-subid" fixed it on that system.

Is it possible to get the "getsubids" command to work on the Debian 12 systems?


Many thanks for any answers, 

Thomas
-- 
_______________________________________________
FreeIPA-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to