Bug 6483 - smbget -f options does not work
Summary: smbget -f options does not work
Alias: None
Product: Samba 3.3
Classification: Unclassified
Component: Client tools (show other bugs)
Version: 3.3.4
Hardware: x86 Linux
: P3 minor
Target Milestone: ---
Assignee: Christian Ambach
QA Contact: Samba QA Contact
Depends on:
Reported: 2009-06-17 12:20 UTC by TAKAHASHI Motonobu
Modified: 2020-12-22 02:14 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description TAKAHASHI Motonobu 2009-06-17 12:20:44 UTC
smbget -f options does not work:

samba32a:/home/local/Work/samba-3.3.4/source# cat ~/.smbgetrc
workgroup W2K8AD1
username administrator
password password

samba32a:/home/local/Work/samba-3.3.4/source# /usr/local/samba/bin/smbget smb://w2k8srv1/temp/Samba/test1.txt
Using workgroup W2K8AD1, user administrator
Can't open test1.txt: File exists <-- download itself works!

samba32a:/home/local/Work/samba-3.3.4/source# mv ~/.smbgetrc /tmp

samba32a:/home/local/Work/samba-3.3.4/source# /usr/local/samba/bin/smbget --rcfile=/tmp/.smbgetrc smb://w2k8srv1/temp/Samba/test1.txt
Username for temp at w2k8srv1 [guest]  <-- --rcfile option seems not to work.

also -f option does not.
Comment 1 Björn Jacke 2020-12-22 02:14:15 UTC
with a conf file /tmp/x like

workgroup mydom
user myuser%mypass

smbget -f /tmp/x smb://host.site/share/test.txt

works with 4.13