touch xx
rnet group d12group /add
rnet group d12group cidusr /add
smbclient -L srv002 -U cidusr%Passw0rd
smbclient //srv002/common -U cidusr%Passw0rd -c 'ls'
smbclient //srv002/common -U cidusr%Passw0rd -c 'put xx'
smbclient //srv002/common -U cidusr%Passw0rd -c 'ls'
smbclient //srv002/common -U cidusr%Passw0rd -c 'rm xx'
rnet group d12group cidusr /del
rm -f xx