(v4_prop): Check for `changepw.kerberos'.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4645 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
11
kdc/hprop.c
11
kdc/hprop.c
@@ -202,6 +202,17 @@ v4_prop(void *arg, Principal *p)
|
||||
ent.flags.postdate = 1;
|
||||
ent.flags.client = 1;
|
||||
ent.flags.server = 1;
|
||||
|
||||
/* special case password changing service */
|
||||
if(strcmp(p->name, "changepw") == 0 &&
|
||||
strcmp(p->instance, "kerberos") == 0) {
|
||||
ent.flags.forwardable = 0;
|
||||
ent.flags.renewable = 0;
|
||||
ent.flags.proxiable = 0;
|
||||
ent.flags.postdate = 0;
|
||||
ent.flags.initial = 1;
|
||||
ent.flags.change_pw = 1;
|
||||
}
|
||||
|
||||
ret = v5_prop(pd->context, NULL, &ent, pd);
|
||||
out:
|
||||
|
Reference in New Issue
Block a user