diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-10-03 16:36:49 -0700 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-10-06 14:28:27 -0700 |
commit | e0a4d7f467d9727563adaaa97961edd06886490e (patch) | |
tree | 2235ed8b2063396790333ef714fa251882ff72a5 /source4 | |
parent | c3b28c7a81c04a0f019b6c1e543a65d6d48b0b2c (diff) | |
download | samba-e0a4d7f467d9727563adaaa97961edd06886490e.tar.gz samba-e0a4d7f467d9727563adaaa97961edd06886490e.tar.bz2 samba-e0a4d7f467d9727563adaaa97961edd06886490e.zip |
Set default trust kvno to -1
Diffstat (limited to 'source4')
-rw-r--r-- | source4/kdc/hdb-samba4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/kdc/hdb-samba4.c b/source4/kdc/hdb-samba4.c index 5b7f55822e..51f464cd09 100644 --- a/source4/kdc/hdb-samba4.c +++ b/source4/kdc/hdb-samba4.c @@ -717,7 +717,6 @@ static krb5_error_code LDB_trust_message2entry(krb5_context context, HDB *db, enum ndr_err_code ndr_err; int i, ret, trust_direction_flags; - uint32_t kvno; private = talloc(mem_ctx, struct hdb_ldb_private); if (!private) { @@ -765,6 +764,7 @@ static krb5_error_code LDB_trust_message2entry(krb5_context context, HDB *db, goto out; } + entry_ex->entry.kvno = -1; for (i=0; i < password_blob.count; i++) { if (password_blob.current->array[i].AuthType == TRUST_AUTH_TYPE_VERSION) { entry_ex->entry.kvno = password_blob.current->array[i].AuthInfo.version.version; |