Bug: https://bugzilla.samba.org/show_bug.cgi?id=7933
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Sat Oct 14 06:02:50 CEST 2017 on sn-devel-144
local fname=$2
local ace=$3
- local_ace=$(echo $ace | sed 's|\\|/|')
+ local_ace=$(printf '%s' "$ace" | sed 's|\\|/|')
# avoid duplicate
out=$($SMBCACLS //$SERVER/$share $fname -U $USERNAME%$PASSWORD)