git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75cdaa4
)
hdb-ldb: fix comment about padding
author
Stefan Metzmacher
<metze@samba.org>
Tue, 22 Jul 2008 16:46:24 +0000
(18:46 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 23 Jul 2008 12:46:06 +0000
(14:46 +0200)
metze
(This used to be commit
ca28d05b11e602e0f98cda0e02f973562c199dc6
)
source4/kdc/hdb-ldb.c
patch
|
blob
|
history
diff --git
a/source4/kdc/hdb-ldb.c
b/source4/kdc/hdb-ldb.c
index 8c5a1f53e92ac9b2eb3362ffaff44989ec10d122..656849334a3b50b2f02c9c89071c948806a1243c 100644
(file)
--- a/
source4/kdc/hdb-ldb.c
+++ b/
source4/kdc/hdb-ldb.c
@@
-249,7
+249,7
@@
static krb5_error_code LDB_message2entry_keys(krb5_context context,
}
talloc_steal(mem_ctx, blob.data);
- /*
TODO: use ndr_pull_struct_blob_all(), when the ndr layer handles it correct with relative pointer
s */
+ /*
we cannot use ndr_pull_struct_blob_all() here, as w2k and w2k3 add padding byte
s */
ndr_err = ndr_pull_struct_blob(&blob, mem_ctx, iconv_convenience, &_pkb,
(ndr_pull_flags_fn_t)ndr_pull_package_PrimaryKerberosBlob);
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {