summaryrefslogtreecommitdiff
path: root/source3/libads/cldap.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libads/cldap.c')
-rw-r--r--source3/libads/cldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/cldap.c b/source3/libads/cldap.c
index 3a5a8b0647..efe13cc756 100644
--- a/source3/libads/cldap.c
+++ b/source3/libads/cldap.c
@@ -291,7 +291,7 @@ bool pull_mailslot_cldap_reply(TALLOC_CTX *mem_ctx,
uint32_t *nt_version)
{
enum ndr_err_code ndr_err;
- uint32_t nt_version_query = ((*nt_version) & 0x000000ff);
+ uint32_t nt_version_query = ((*nt_version) & 0x0000001f);
uint16_t command = 0;
ndr_err = ndr_pull_struct_blob(blob, mem_ctx, &command,