(store_principal_ent): encoding princ_expire_time and pw_expiration in
correct order git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6438 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997 Kungliga Tekniska H<>gskolan
|
||||
* Copyright (c) 1997 - 1999 Kungliga Tekniska H<>gskolan
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -118,10 +118,10 @@ store_principal_ent(krb5_storage *sp,
|
||||
krb5_store_principal(sp, princ->principal);
|
||||
if (mask & KADM5_PRINC_EXPIRE_TIME)
|
||||
krb5_store_int32(sp, princ->princ_expire_time);
|
||||
if (mask & KADM5_LAST_PWD_CHANGE)
|
||||
krb5_store_int32(sp, princ->last_pwd_change);
|
||||
if (mask & KADM5_PW_EXPIRATION)
|
||||
krb5_store_int32(sp, princ->pw_expiration);
|
||||
if (mask & KADM5_LAST_PWD_CHANGE)
|
||||
krb5_store_int32(sp, princ->last_pwd_change);
|
||||
if (mask & KADM5_MAX_LIFE)
|
||||
krb5_store_int32(sp, princ->max_life);
|
||||
if (mask & KADM5_MOD_NAME) {
|
||||
|
Reference in New Issue
Block a user