summaryrefslogtreecommitdiff
path: root/source4/rpc_server
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/rpc_server
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/rpc_server')
-rw-r--r--source4/rpc_server/dcerpc_server.c2
-rw-r--r--source4/rpc_server/samr/samdb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/rpc_server/dcerpc_server.c b/source4/rpc_server/dcerpc_server.c
index 11e385153e..de8ac73304 100644
--- a/source4/rpc_server/dcerpc_server.c
+++ b/source4/rpc_server/dcerpc_server.c
@@ -198,7 +198,7 @@ NTSTATUS dcesrv_interface_register(struct dcesrv_context *dce_ctx,
* we try to set it
*/
if (ep->sd == NULL) {
- ep->sd = copy_security_descriptor(dce_ctx, sd);
+ ep->sd = security_descriptor_copy(dce_ctx, sd);
}
/* if now there's no security descriptor given on the endpoint
diff --git a/source4/rpc_server/samr/samdb.c b/source4/rpc_server/samr/samdb.c
index 488c48cd50..7501d94ae6 100644
--- a/source4/rpc_server/samr/samdb.c
+++ b/source4/rpc_server/samr/samdb.c
@@ -888,7 +888,7 @@ struct security_descriptor *samdb_default_security_descriptor(TALLOC_CTX *mem_ct
{
struct security_descriptor *sd;
- sd = sd_initialise(mem_ctx);
+ sd = security_descriptor_initialise(mem_ctx);
return sd;
}