s4:kdc Allow a password change when the password is expired
authorAndrew Bartlett <abartlet@samba.org>
Thu, 18 Jun 2009 01:08:46 +0000 (11:08 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 18 Jun 2009 03:49:30 +0000 (13:49 +1000)
commit19413c52495877d54c90c60229568d0077fda30b
treec148e96ba2ff28933f2d5f3714b8fc7e60957dec
parent2afc6df9b49a246129acdd7c8c24448c8cf3b6ef
s4:kdc Allow a password change when the password is expired

This requires a rework on Heimdal's windc plugin layer, as we want
full control over what tickets Heimdal will issue.  (In particular, in
case our requirements become more complex in future).

The original problem was that Heimdal's check would permit the ticket,
but Samba would then deny it, not knowing it was for kadmin/changepw

Also (in hdb-samba4) be a bit more careful on what entries we will
make the 'change_pw' service mark that this depends on.

Andrew Bartlett
12 files changed:
source4/auth/auth.h
source4/auth/ntlm/auth_sam.c
source4/auth/sam.c
source4/heimdal/kdc/headers.h
source4/heimdal/kdc/kdc_locl.h
source4/heimdal/kdc/kerberos5.c
source4/heimdal/kdc/krb5tgs.c
source4/heimdal/kdc/windc.c
source4/heimdal/kdc/windc_plugin.h
source4/kdc/hdb-samba4.c
source4/kdc/kdc.h
source4/kdc/pac-glue.c