summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-11-17 14:35:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:56 -0500
commit856ee665374071c89f5ecf540dcc3d68ccf2ff16 (patch)
tree34c2193631b6f965d85724f05c67e57a8508d997 /source4/librpc/ndr
parent04a47a26ce3cdc9de5a98ede499be6e693896824 (diff)
downloadsamba-856ee665374071c89f5ecf540dcc3d68ccf2ff16.tar.gz
samba-856ee665374071c89f5ecf540dcc3d68ccf2ff16.tar.bz2
samba-856ee665374071c89f5ecf540dcc3d68ccf2ff16.zip
r3810: create a LIB_SECURITY subsystem
- move dom_sid, security_descriptor, security_* funtions to one place and rename some of them metze (This used to be commit b620bdd672cfdf0e009492e648b0709e6b6d8596)
Diffstat (limited to 'source4/librpc/ndr')
-rw-r--r--source4/librpc/ndr/ndr_sec.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/source4/librpc/ndr/ndr_sec.c b/source4/librpc/ndr/ndr_sec.c
index c91c2762c2..798d3a7cf1 100644
--- a/source4/librpc/ndr/ndr_sec.c
+++ b/source4/librpc/ndr/ndr_sec.c
@@ -23,6 +23,7 @@
#include "includes.h"
+#include "librpc/gen_ndr/ndr_security.h"
/*
parse a dom_sid2 - this is a dom_sid but with an extra copy of the num_auths field
@@ -112,18 +113,3 @@ size_t ndr_size_security_descriptor(struct security_descriptor *sd)
ret += ndr_size_security_acl(sd->sacl);
return ret;
}
-
-/*
- talloc and copy a security descriptor
- */
-struct security_descriptor *copy_security_descriptor(TALLOC_CTX *mem_ctx,
- const struct security_descriptor *osd)
-{
- struct security_descriptor *nsd;
-
- /* FIXME */
- DEBUG(1, ("copy_security_descriptor: sorry unimplemented yet\n"));
- nsd = NULL;
-
- return nsd;
-}