diff options
Diffstat (limited to 'source3/lib/sharesec.c')
-rw-r--r-- | source3/lib/sharesec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/sharesec.c b/source3/lib/sharesec.c index eef5f39fc0..a1a543e6a1 100644 --- a/source3/lib/sharesec.c +++ b/source3/lib/sharesec.c @@ -303,7 +303,7 @@ SEC_DESC *get_share_security( TALLOC_CTX *ctx, const char *servicename, } if (psd) { - *psize = ndr_size_security_descriptor(psd, NULL, 0); + *psize = ndr_size_security_descriptor(psd, 0); } else { return get_share_security_default(ctx, psize, GENERIC_ALL_ACCESS); |