diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-07-22 18:46:24 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-07-23 14:46:06 +0200 |
commit | b4e9e8954a3467203f2ec4bb5c7b7b580f47ef36 (patch) | |
tree | 7cf2d772f0688166bac74878c7816080107480dd | |
parent | 75cdaa4c84485bccb27ad6e09281248077b243c3 (diff) | |
download | samba-b4e9e8954a3467203f2ec4bb5c7b7b580f47ef36.tar.gz samba-b4e9e8954a3467203f2ec4bb5c7b7b580f47ef36.tar.xz samba-b4e9e8954a3467203f2ec4bb5c7b7b580f47ef36.zip |
hdb-ldb: fix comment about padding
metze
(This used to be commit ca28d05b11e602e0f98cda0e02f973562c199dc6)
-rw-r--r-- | source4/kdc/hdb-ldb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/kdc/hdb-ldb.c b/source4/kdc/hdb-ldb.c index 8c5a1f53e92..656849334a3 100644 --- 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 pointers */ + /* we cannot use ndr_pull_struct_blob_all() here, as w2k and w2k3 add padding bytes */ 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)) { |