(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:
Johan Danielsson
1998-03-21 23:47:18 +00:00
parent 3c04febb46
commit f045a28cbc

View File

@@ -202,6 +202,17 @@ v4_prop(void *arg, Principal *p)
ent.flags.postdate = 1; ent.flags.postdate = 1;
ent.flags.client = 1; ent.flags.client = 1;
ent.flags.server = 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); ret = v5_prop(pd->context, NULL, &ent, pd);
out: out: