diff options
author | midipix <writeonce@midipix.org> | 2018-03-21 20:08:27 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-03-21 20:24:01 -0400 |
commit | 138984ab5a1a916ee27e87c90bc8f4839787373c (patch) | |
tree | 46104c620ae6540fc82256fc3c3619f27e287616 /src | |
parent | 60ddd3f92f51e3b0bf1379ded0daed101dc30410 (diff) | |
download | ntapi-138984ab5a1a916ee27e87c90bc8f4839787373c.tar.bz2 ntapi-138984ab5a1a916ee27e87c90bc8f4839787373c.tar.xz |
daemon interfaces: ntapi_dsr_create_port(): allow passing a security desc.
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon/ntapi_dsr_init.c | 2 |
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 */ |