summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-07-22 18:31:45 +0200
committerStefan Metzmacher <metze@samba.org>2008-07-23 14:46:07 +0200
commitbcb0db3634680fdaf1d037545fafe7509ed72ad9 (patch)
treeadd7d16a2ec574f7484a77c0676f3eefe7836384 /source4/dsdb/samdb/ldb_modules
parentb4e9e8954a3467203f2ec4bb5c7b7b580f47ef36 (diff)
downloadsamba-bcb0db3634680fdaf1d037545fafe7509ed72ad9.tar.gz
samba-bcb0db3634680fdaf1d037545fafe7509ed72ad9.tar.bz2
samba-bcb0db3634680fdaf1d037545fafe7509ed72ad9.zip
password_hash: don't add zero padding as w2k8 also don't add it
metze (This used to be commit 26e9169d454349795ad0bc64d7f65059541ab89e)
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r--source4/dsdb/samdb/ldb_modules/password_hash.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/password_hash.c b/source4/dsdb/samdb/ldb_modules/password_hash.c
index 3e442b6341..2dddb26550 100644
--- a/source4/dsdb/samdb/ldb_modules/password_hash.c
+++ b/source4/dsdb/samdb/ldb_modules/password_hash.c
@@ -925,16 +925,6 @@ static int setup_supplemental_field(struct setup_password_fields_io *io)
nt_errstr(status));
return LDB_ERR_OPERATIONS_ERROR;
}
- /*
- * TODO:
- *
- * This is ugly, but we want to generate the same blob as
- * w2k and w2k3...we should handle this in the idl
- */
- if (!data_blob_append(io->ac, &pkb_blob, zero16, sizeof(zero16))) {
- ldb_oom(io->ac->module->ldb);
- return LDB_ERR_OPERATIONS_ERROR;
- }
pkb_hexstr = data_blob_hex_string(io->ac, &pkb_blob);
if (!pkb_hexstr) {
ldb_oom(io->ac->module->ldb);