[SSSD] [PATCH] idmap: Silence DEBUG messages when dealing with built-in, SIDs.

Michal Židek mzidek at redhat.com
Thu Nov 15 20:11:40 UTC 2012


https://fedorahosted.org/sssd/ticket/1593

With this patch we get:

[sssd[be[AD]]] [sdap_save_group] (0x1000): Mapping group 
[Administrators] objectSID to unix ID
[sssd[be[AD]]] [sdap_idmap_sid_to_unix] (0x0400): Object SID 
[S-1-5-32-544] is a built-in one.
[sssd[be[AD]]] [sdap_save_group] (0x0400): Skipping built-in object.

Instead of the old messages, that looked like this:

[sssd[be[AD]]] [sdap_save_group] (0x1000): Mapping group 
[Administrators] objectSID to unix ID
[sssd[be[AD]]] [sdap_idmap_sid_to_unix] (0x0080): Could not parse domain 
SID from [S-1-5-32-544]
[sssd[be[AD]]] [sdap_save_group] (0x0080): Could not convert SID string: 
[Invalid argument]
[sssd[be[AD]]] [sdap_save_group] (0x0080): Failed to save group 
[Administrators]: [Invalid argument]
[sssd[be[AD]]] [sdap_save_groups] (0x0040): Failed to store group 0. 
Ignoring.


The patch is attached.

NOTE: To reproduce, set enumerate = true for the AD domain, delete the 
cache files and start SSSD.

Thanks
Michal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-idmap-Silence-DEBUG-messages-when-dealing-with-built.patch
Type: text/x-patch
Size: 6267 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20121115/c44ab809/attachment.bin>


More information about the sssd-devel mailing list