SAMBA weird issue...

Hi, I got a little issue regarding SAMBA…

I have a Windows 7 host, running OpenSUSE 11.2 in VirtualBox VM, networking is set to bridge. I can access every service I have in the Windows 7 box (HTTP, FTP, VNC, etc), but just not SMB share… This is all done over GUI.

If I were to access the share and mount it directly to a folder using CLI, it works normally, no errors, works as intended… Why won’t it connect in GUI?
In the GUI SMB connect, if I put my username/password, it’ll fail as if I use wrong password, but “mount” works normally… Any ideas?

Thanks in advance.

zzz2496

Ps. Windows 7 can access OpenSUSE’s SAMBA server normally. OpenSUSE can’t access Windows 7’s shares. Weird…

There’s a few possibilities:

  1. see if the Samba naming daemon is running with this command:
sudo /etc/init.d/nmb status

the command should return “running”.

  1. see if you have a bad Samba rpm (which was circulating a few weeks ago). Run this command:
rpm -qa | grep samba

if the RPMs have this serial “3.4.3”, then run Yast → Software → Online Update and it should be replaced with the corrected version. (it would be a good idea to run the online updater anyway)

These are the front candidates, so try them first

PS just noticed you’re new to the Forums. Welcome!!!

Hi swerdna,

Thanks for the reply, here are the results:

  1. nmb command result: **running
    **2. rpm -qa | grep samba result:

samba-winbind-32bit-3.4.3-3.3.1.x86_64
yast2-samba-client-2.18.3-2.2.noarch
yast2-samba-server-2.18.2-2.1.noarch
samba-winbind-3.4.3-3.3.1.x86_64
samba-3.4.3-3.3.1.x86_64
samba-32bit-3.4.3-3.3.1.x86_64
samba-client-32bit-3.4.3-3.3.1.x86_64
samba-client-3.4.3-3.3.1.x86_64

Those are 3.4.3s, I did online update yesterday, I got those… I tried re-updating, it doesn’t show anything, nothing to be updated…

Thanks in advance,

zzz2496

Whoa, I found your post about bad samba client, I’m updating right now… Will post back ASAP.

zzz2496

Hmm… Every Samba component has been updated to 3.5, but still, I can’t login…

zzz2496

It’s got me beat, I don’t know of any special settings needed for windows 7 (except of course to open up the win7 permissions and set the workgroup the same).

Workgroup is the same “WORKGROUP”, both Win7 and OpenSUSE can see each other. Win7 can access OpenSUSE’s Samba share. The only weird thing is, I can’t even login to Win7’s SMB share, login failed ! The weirder thing is… “mount -t cifs” works as expected, and it didn’t even complain about wrong password, it just mount the share in a folder, and I can have my way on it… Very WEIRD…

zzz2496

On Thu May 13 2010 11:16 pm, swerdna wrote:

>
> zzz2496;2164801 Wrote:
>> Hmm… Every Samba component has been updated to 3.5, but still, I can’t
>> login…
>>
>> zzz2496
>
> It’s got me beat, I don’t know of any special settings needed for
> windows 7 (except of course to open up the win7 permissions and set the
> workgroup the same).
>
>
zzz2496;

What do you get from?


smbclient -L <Win7name> -U<username>%<password>

Where is the netbios name or IP of the Windows 7 box, is
the name of a Win7 user and is the Win7 password of the user.
(Note: if is more than one word, enclose in quotes. Thus the user
John Doe should be entered as “John Doe”.)

What browser are you using? Have you tried different browsers and entered:


smb://<Win7name>
or
smb://<IP of Win7>

If prompted for credentials use a Win7 username and password.

This guide might help. I wrote it a while back and never really polished it
up.

http://forums.opensuse.org/network-internet/428658-proposed-howto-sharing-windows-7-files.html

P. V.
“We’re all in this together, I’m pulling for you.” Red Green