summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-07-23 10:05:43 +0200
committerStefan Metzmacher <metze@samba.org>2008-07-23 14:46:09 +0200
commite0f04e36ad415d7396fea7d43eb1d0db53d53a69 (patch)
treec7bbc2f5c0f1ec84eefcf5ca062053e61e93863a /source4/dsdb/samdb
parente3434f8995ef834a1b8f452060544862b2a9642b (diff)
downloadsamba-e0f04e36ad415d7396fea7d43eb1d0db53d53a69.tar.gz
samba-e0f04e36ad415d7396fea7d43eb1d0db53d53a69.tar.bz2
samba-e0f04e36ad415d7396fea7d43eb1d0db53d53a69.zip
password_hash: fix callers after idl change for package_PrimaryKerberos
metze (This used to be commit 1bf552856f3a930c4716ceb73d9ba9adf7502d3d)
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/password_hash.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/password_hash.c b/source4/dsdb/samdb/ldb_modules/password_hash.c
index 59ec18e546..5bbae2c164 100644
--- a/source4/dsdb/samdb/ldb_modules/password_hash.c
+++ b/source4/dsdb/samdb/ldb_modules/password_hash.c
@@ -336,11 +336,6 @@ static int setup_primary_kerberos(struct setup_password_fields_io *io,
ldb_oom(io->ac->module->ldb);
return LDB_ERR_OPERATIONS_ERROR;
}
- pkb3->unknown3 = talloc_zero_array(io->ac, uint64_t, pkb3->num_keys);
- if (!pkb3->unknown3) {
- ldb_oom(io->ac->module->ldb);
- return LDB_ERR_OPERATIONS_ERROR;
- }
if (lp_parm_bool(ldb_get_opaque(io->ac->module->ldb, "loadparm"), NULL, "password_hash", "create_aes_key", false)) {
/*
@@ -438,7 +433,6 @@ static int setup_primary_kerberos(struct setup_password_fields_io *io,
/* initialize the old keys to zero */
pkb3->num_old_keys = 0;
pkb3->old_keys = NULL;
- pkb3->unknown3_old = NULL;
/* if there're no old keys, then we're done */
if (!old_scb) {
@@ -499,7 +493,6 @@ static int setup_primary_kerberos(struct setup_password_fields_io *io,
/* fill in the old keys */
pkb3->num_old_keys = old_pkb3->num_keys;
pkb3->old_keys = old_pkb3->keys;
- pkb3->unknown3_old = old_pkb3->unknown3;
return LDB_SUCCESS;
}