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:
committed by
Gerald (Jerry) Carter
parent
2a2d67f5ad
commit
1f2419d9f8
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user