Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[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.

9 views
Skip to first unread message

Jun Yi

unread,
Oct 22, 2012, 7:10:01 PM10/22/12
to
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

Jun
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
0 new messages