[Samba] smbtorture must have username and password? (can I run smbtorture WIHTOUT username and password). I don't like to use smbpasswd to set a username and password.
Volker Lendecke
Volker.Lendecke at SerNet.DE
Tue Oct 23 00:32:53 MDT 2012
On Mon, Oct 22, 2012 at 04:05:27PM -0700, Jun Yi wrote:
> Dear everybody,
>
> I just ran into this problem. The followings are the instructions I ran
>
> 1 sudo ./smbd -s ./smb.conf
>
> file ./smb.conf is the configuration file as follows
> cat ./smb.conf
> [global]
> max protocol = SMB2
> min protocol = SMB2
> security = share
> guest account = nobody
> [testShare]
> path = /tmp
> guest ok = yes
> read only = no
>
> The system also has a nobody account, checking it by "sudo cat /etc/passwd
> | grep nobody", otherwise, you need to create one or map the guest to other
> account name),
>
> 2 ./smbtorture -N //xxx/testShare smb2.read
> or ./smbtorture //xxx/testShare smb2.read
>
> 3. Then I got the failure as follows:
> Failed to connect to SMB2 share \\localhost\testShare -
> NT_STATUS_LOGON_FAILURE
> I found the default workgroup name "workgroup" and my linux login name
> "xxxx" are use for the NTLMSSP auth.
>
> Could anybody give me some quick hint to tell me how to run smbtorture
> without username and password?
>
> Thanks for your help
Use -U%
Volker
--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
More information about the samba-technical
mailing list