[SSSD] [PATCHES] Fix password change for trusted AD users

Simo Sorce simo at redhat.com
Wed Nov 14 17:00:07 UTC 2012


On Wed, 2012-11-14 at 17:27 +0100, Sumit Bose wrote:
> -#define SSSD_KRB5_CHANGEPW_PRINCIPAL "kadmin/changepw"
> +/* SSSD_KRB5_CHANGEPW_PRINCIPAL is used as the 8th argument
> (in_tkt_service)
> + * of krb5_get_init_creds_password() which is declared as 'char *' in
> MIT
> + * Kerberos 1.10 or lower. It looks that it will be changed to 'const
> char *'
> + * in Version 1.11. */
> +#define SSSD_KRB5_CHANGEPW_PRINCIPAL discard_const("kadmin/changepw")

Nack, given it is being changed to const char * in 1.11 I think we
should just live with the const warnings for now.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the sssd-devel mailing list