1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-23 20:59:10 +03:00

r17032: I thought I had already merged this from trunk:

> r16959 | vlendec | 2006-07-11 23:10:44 +0200 (Di, 11 Jul 2006) | 1 line
>
> get_share_security does not need snum, activate RPC-SAMBA3-SRVSVC

Volker
(This used to be commit c89471e157)
This commit is contained in:
Volker Lendecke
2006-07-14 17:46:06 +00:00
committed by Gerald (Jerry) Carter
parent 2a2d67f5ad
commit 1f2419d9f8
4 changed files with 13 additions and 8 deletions

View File

@ -382,7 +382,8 @@ int main(int argc, const char *argv[])
switch ( mode ) {
case SMB_ACL_VIEW:
if (!(secdesc = get_share_security( ctx, snum, &sd_size )) ) {
if (!(secdesc = get_share_security( ctx, sharename,
&sd_size )) ) {
fprintf(stderr, "Unable to retrieve permissions for share [%s]\n", sharename);
return -1;
}