summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-10-26 12:56:02 +0200
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:43:37 +0100
commite53e4a15fd3cebc623fc9ca60823a98be846c7af (patch)
treea69c4f18c5fac89e1c45fbe51f9ec79dc140caaf /source4
parent9fe133ffc69e34e843045abbc41e7b3faad2724a (diff)
downloadsamba-e53e4a15fd3cebc623fc9ca60823a98be846c7af.tar.gz
samba-e53e4a15fd3cebc623fc9ca60823a98be846c7af.tar.bz2
samba-e53e4a15fd3cebc623fc9ca60823a98be846c7af.zip
r25739: We forgot to copy revision and type flags in security_descriptor_copy().
Guenther (This used to be commit 2e028503a36acd12009a4d2f0d217b2d940c9c30)
Diffstat (limited to 'source4')
-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: