ehlo,
There is a warning with some version of gcc (4.9.1, 4.4.7). Warning is not visible with gcc 4.8 In my opinion, variable "a" should be initialized every time if "maps" is not NULL.
src/providers/ldap/sdap.c: In function 'sdap_parse_entry': src/providers/ldap/sdap.c:481:56: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized] for (ai = a; ai < attrs_num; ai++) { ^ src/providers/ldap/sdap.c:307:9: note: 'a' was declared here int a, i, ret, ai; ^ CCLD libsss_ldap_common.la
You can also see warnin in koji build on fedora 21 https://kojipkgs.fedoraproject.org//packages/sssd/1.12.1/2.fc21/data/logs/x8... If you have better idea how to fix this warning I will be glad to review your patch.
LS