[SSSD] [PATCH] SSSD: Add the options to specify a UID and GID to run as

Pavel Reichl preichl at redhat.com
Mon Oct 20 16:03:17 UTC 2014


On 10/20/2014 05:40 PM, Jakub Hrozek wrote:
> On Mon, Oct 20, 2014 at 04:49:10PM +0200, Pavel Reichl wrote:
>> On 10/20/2014 02:53 PM, Jakub Hrozek wrote:
>>> On Mon, Oct 20, 2014 at 01:24:38PM +0200, Jakub Hrozek wrote:
>>>> I found a bug in the IFP initialization. The rest of the patches is
>>>> unchanged, only ifpsrv.c changed.
>>> Sorry, one more respin. I added a patch to chown the debug logs.
>>> Initially, I wanted to open the debug logs as root and then just pass
>>> the fd, but then I realized this wouldn't work for logfile rotation. So
>>> I'm afraid we need to chown the log files..
>>>
>>> The other patches are unchanged, just a new one was added.
>>>
>>>
>>> _______________________________________________
>>> sssd-devel mailing list
>>> sssd-devel at lists.fedorahosted.org
>>> https://lists.fedorahosted.org/mailman/listinfo/sssd-devel
>> Sorry test linking fails for me:
>>
>> ../../../src/db/server_tests-sysdb_search.o: In function
>> `sysdb_getpwnam_with_views':
>> /home/developer/sssd/x86_64/src/tests/cwrap/../../../../src/tests/cwrap/../../../src/db/sysdb_search.c:104:
>> undefined reference to `sysdb_search_user_override_by_name'
>> /home/developer/sssd/x86_64/src/tests/cwrap/../../../../src/tests/cwrap/../../../src/db/sysdb_search.c:126:
>> undefined reference to `sysdb_add_overrides_to_object'
>> ../../../src/db/server_tests-sysdb_search.o: In function
>> `sysdb_getpwuid_with_views':
>> /home/developer/sssd/x86_64/src/tests/cwrap/../../../../src/tests/cwrap/../../../src/db/sysdb_search.c:209:
>> undefined reference to `sysdb_search_user_override_by_uid'
>> /home/developer/sssd/x86_64/src/tests/cwrap/../../../../src/tests/cwrap/../../../src/db/sysdb_search.c:231:
>> undefined reference to `sysdb_add_overrides_to_object'
>> ../../../src/db/server_tests-sysdb_search.o: In function
>> `sysdb_enumpwent_with_views':
>> /home/developer/sssd/x86_64/src/tests/cwrap/../../../../src/tests/cwrap/../../../src/db/sysdb_search.c:317:
>> undefined reference to `sysdb_add_overrides_to_object'
>> ../../../src/db/server_tests-sysdb_search.o: In function
>> `sysdb_getgrnam_with_views':
>> /home/developer/sssd/x86_64/src/tests/cwrap/../../../../src/tests/cwrap/../../../src/db/sysdb_search.c:396:
>> undefined reference to `sysdb_search_group_override_by_name'
>> /home/developer/sssd/x86_64/src/tests/cwrap/../../../../src/tests/cwrap/../../../src/db/sysdb_search.c:428:
>> undefined reference to `sysdb_add_overrides_to_object'
>> /home/developer/sssd/x86_64/src/tests/cwrap/../../../../src/tests/cwrap/../../../src/db/sysdb_search.c:435:
>> undefined reference to `sysdb_add_group_member_overrides'
>> ../../../src/db/server_tests-sysdb_search.o: In function
>> `sysdb_getgrgid_with_views':
>> /home/developer/sssd/x86_64/src/tests/cwrap/../../../../src/tests/cwrap/../../../src/db/sysdb_search.c:548:
>> undefined reference to `sysdb_search_group_override_by_gid'
>> /home/developer/sssd/x86_64/src/tests/cwrap/../../../../src/tests/cwrap/../../../src/db/sysdb_search.c:580:
>> undefined reference to `sysdb_add_overrides_to_object'
>> /home/developer/sssd/x86_64/src/tests/cwrap/../../../../src/tests/cwrap/../../../src/db/sysdb_search.c:587:
>> undefined reference to `sysdb_add_group_member_overrides'
>> ../../../src/db/server_tests-sysdb_search.o: In function
>> `sysdb_enumgrent_with_views':
>> /home/developer/sssd/x86_64/src/tests/cwrap/../../../../src/tests/cwrap/../../../src/db/sysdb_search.c:737:
>> undefined reference to `sysdb_add_overrides_to_object'
>> /home/developer/sssd/x86_64/src/tests/cwrap/../../../../src/tests/cwrap/../../../src/db/sysdb_search.c:745:
>> undefined reference to `sysdb_add_group_member_overrides'
>> ../../../src/db/server_tests-sysdb_search.o: In function
>> `sysdb_initgroups_with_views':
>> /home/developer/sssd/x86_64/src/tests/cwrap/../../../../src/tests/cwrap/../../../src/db/sysdb_search.c:959:
>> undefined reference to `sysdb_add_overrides_to_object'
>> ../../../src/db/server_tests-sysdb_search.o: In function
>> `sysdb_get_user_attr_with_views':
>> /home/developer/sssd/x86_64/src/tests/cwrap/../../../../src/tests/cwrap/../../../src/db/sysdb_search.c:1083:
>> undefined reference to `sysdb_search_user_override_attrs_by_name'
>> /home/developer/sssd/x86_64/src/tests/cwrap/../../../../src/tests/cwrap/../../../src/db/sysdb_search.c:1105:
>> undefined reference to `sysdb_add_overrides_to_object'
>>
>>
>> Do I have to apply some views patches first?
>> Sorry, I'm getting lost in patch-sets dependencies.
> Yes, I didn't rebase the patches on top of views. Here goes a rebased
> version..
>
>> You should push it all already. :-)
> Working on it :-)
>
Thanks, ACK to all.
>
>
> _______________________________________________
> sssd-devel mailing list
> sssd-devel at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/sssd-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20141020/50e11b4b/attachment.html>


More information about the sssd-devel mailing list