(do_ext_keytab): set timestamp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7707 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 1998 Kungliga Tekniska H<>gskolan
|
||||
* Copyright (c) 1997 - 2000 Kungliga Tekniska H<>gskolan
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -71,6 +71,7 @@ do_ext_keytab(krb5_principal principal, void *data)
|
||||
key.keyblock.keytype = k->key_data_type[0];
|
||||
key.keyblock.keyvalue.length = k->key_data_length[0];
|
||||
key.keyblock.keyvalue.data = k->key_data_contents[0];
|
||||
key.timestamp = time(NULL);
|
||||
ret = krb5_kt_add_entry(context, e->keytab, &key);
|
||||
if(ret)
|
||||
krb5_warn(context, ret, "krb5_kt_add_entry");
|
||||
|
Reference in New Issue
Block a user