Executing cmd like
smbget -vRU -w xxx.yyy.zzz smb://xxx.yyy.zzz\\user:password@server/share/dir
but when I try to set credentials in rcfile:
and run cmd as
smbget -vRU -f rcfile smb://server/share/dir
it fails with:
Can't open directory smb://server/share/dir/subdir: Access denied
You don't have enough permissions to access smb://server/share/dir/subdir/somefile
And as proposal - Is it make sense to lead smbgetrc params to smbcredentials format
domain=zzz instead of workgroup?
And also I found out that it works nice with rcfile params for single file but fails for recursing option.
I believe this should be fixed with the recent changes to smbget in 4.4.0rc3 and later.