summaryrefslogtreecommitdiffhomepage
path: root/src/daemon
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-03-21 20:08:27 +0000
committermidipix <writeonce@midipix.org>2018-03-21 20:24:01 -0400
commit138984ab5a1a916ee27e87c90bc8f4839787373c (patch)
tree46104c620ae6540fc82256fc3c3619f27e287616 /src/daemon
parent60ddd3f92f51e3b0bf1379ded0daed101dc30410 (diff)
downloadntapi-138984ab5a1a916ee27e87c90bc8f4839787373c.tar.bz2
ntapi-138984ab5a1a916ee27e87c90bc8f4839787373c.tar.xz
daemon interfaces: ntapi_dsr_create_port(): allow passing a security desc.
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/ntapi_dsr_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/ntapi_dsr_init.c b/src/daemon/ntapi_dsr_init.c
index 6e3951f..8f29eec 100644
--- a/src/daemon/ntapi_dsr_init.c
+++ b/src/daemon/ntapi_dsr_init.c
@@ -234,7 +234,7 @@ int32_t __stdcall __ntapi_dsr_create_port(nt_daemon_params * params)
oa.root_dir = (void *)0;
oa.obj_name = &server_name;
oa.obj_attr = 0;
- oa.sec_desc = (nt_security_descriptor *)0;
+ oa.sec_desc = params->port_sd;
oa.sec_qos = &sqos;
/* create the port */