Image

Samba and Windows shares

Hi Folks,

Today, I wanted to copy files to a buddy. I'm running Linux and he's running Windows. He created a Windows share and gave me a username with which to connect. The username had no password set.

So, I connected like I've done many times before (to other Windows shares). Only difference was the username had NO password. I did the following:

smbclient //hostname/share -U username -N

and received the following:

session setup failed: NT_STATUS_LOGON_FAILURE

I tried the above command again, this time without -N and was prompted for a password. I left it blank and hit enter and received the above message again.

I told him to assign a password to that username. I tried it again, and it worked.

My question: Can samba browse Windows shares without requiring a password for a particular username? I understand that interaction between Samba and Windows Sharing is limited in certain areas, but is this one of them or am I missing something?

Thnx in advance.