(add_one_principal): even though the principal is disabled (creation
of random key/keydata), create it with a random password git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13447 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -117,7 +117,7 @@ add_one_principal (const char *name,
|
||||
if(rand_key || key_data) {
|
||||
princ.attributes |= KRB5_KDB_DISALLOW_ALL_TIX;
|
||||
mask |= KADM5_ATTRIBUTES;
|
||||
strlcpy (pwbuf, "hemlig", sizeof(pwbuf));
|
||||
random_password (pwbuf, sizeof(pwbuf));
|
||||
password = pwbuf;
|
||||
} else if (rand_password) {
|
||||
random_password (pwbuf, sizeof(pwbuf));
|
||||
|
Reference in New Issue
Block a user