summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/libcli/security/security_descriptor.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/libcli/security/security_descriptor.c b/source4/libcli/security/security_descriptor.c
index 9454560c94..75c20b52cf 100644
--- a/source4/libcli/security/security_descriptor.c
+++ b/source4/libcli/security/security_descriptor.c
@@ -130,6 +130,9 @@ struct security_descriptor *security_descriptor_copy(TALLOC_CTX *mem_ctx,
}
}
+ nsd->revision = osd->revision;
+ nsd->type = osd->type;
+
return nsd;
failed: