(init): Don't disable forwardable for kadmin/changepw.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15064 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -175,11 +175,16 @@ init(struct init_options *opt, int argc, char **argv)
|
|||||||
/* Create `kadmin/changepw' */
|
/* Create `kadmin/changepw' */
|
||||||
krb5_make_principal(context, &princ, realm,
|
krb5_make_principal(context, &princ, realm,
|
||||||
"kadmin", "changepw", NULL);
|
"kadmin", "changepw", NULL);
|
||||||
|
/*
|
||||||
|
* The Windows XP (at least) password changing protocol
|
||||||
|
* request the `kadmin/changepw' ticket with `renewable_ok,
|
||||||
|
* renewable, forwardable' and so fails if we disallow
|
||||||
|
* forwardable here.
|
||||||
|
*/
|
||||||
create_random_entry(princ, 5*60, 5*60,
|
create_random_entry(princ, 5*60, 5*60,
|
||||||
KRB5_KDB_DISALLOW_TGT_BASED|
|
KRB5_KDB_DISALLOW_TGT_BASED|
|
||||||
KRB5_KDB_PWCHANGE_SERVICE|
|
KRB5_KDB_PWCHANGE_SERVICE|
|
||||||
KRB5_KDB_DISALLOW_POSTDATED|
|
KRB5_KDB_DISALLOW_POSTDATED|
|
||||||
KRB5_KDB_DISALLOW_FORWARDABLE|
|
|
||||||
KRB5_KDB_DISALLOW_RENEWABLE|
|
KRB5_KDB_DISALLOW_RENEWABLE|
|
||||||
KRB5_KDB_DISALLOW_PROXIABLE|
|
KRB5_KDB_DISALLOW_PROXIABLE|
|
||||||
KRB5_KDB_REQUIRES_PRE_AUTH);
|
KRB5_KDB_REQUIRES_PRE_AUTH);
|
||||||
|
Reference in New Issue
Block a user