On Fri, Nov 23, 2012 at 03:31:50PM +0100, Ondrej Kos wrote:
While testing the build in FIPS mode, i noticed these warnings
(which occur in normal mode too):
[PATCH 1/2]: [PATCH] LDAP: fix uninitialized variable
src/providers/ldap/sdap_async_users.c:372:9: warning: 'orig_dn' may
be used uninitialized in this function [-Wmaybe-uninitialized]
Ack
[PATCH 2/2]: [PATCH] KRB: fix const warning
src/providers/krb5/krb5_child.c: In function ‘changepw_child’:
src/providers/krb5/krb5_child.c:1117:41: warning: passing argument 8
of ‘krb5_get_init_creds_password’ discards ‘const’ qualifier from
pointer target type [enabled by default]
In file included from ./src/util/sss_krb5.h:30:0,
from src/providers/krb5/krb5_child.c:33:
/usr/include/krb5/krb5.h:6686:1: note: expected ‘char *’ but
argument is of type ‘const char *’
src/providers/krb5/krb5_child.c: In function ‘tgt_req_child’:
src/providers/krb5/krb5_child.c:1269:45: warning: passing argument 8
of ‘krb5_get_init_creds_password’ discards ‘const’ qualifier from
pointer target type [enabled by default]
In file included from ./src/util/sss_krb5.h:30:0,
from src/providers/krb5/krb5_child.c:33:
/usr/include/krb5/krb5.h:6686:1: note: expected ‘char *’ but
argument is of type ‘const char *’
Nack, this is expected and will be fixed with krb5-1.11:
https://lists.fedorahosted.org/pipermail/sssd-devel/2012-November/012364....