SAMBA problem

Hi everybody,

(level - very experienced in MS networking but a Linux newbie)

Konqueror can’t see any workgroup.
Dolphine can see the workgroup and computers, but can’t see any shares on remote MS PC.

Is that a problem of the graphic application or I do something wrong?

Thanks.

EvgK wrote:

>
> Hi everybody,
>
> (level - very experienced in MS networking but a Linux newbie)
>
> Konqueror can’t see any workgroup.
> Dolphine can see the workgroup and computers, but can’t see any shares
> on remote MS PC.
>
> Is that a problem of the graphic application or I do something wrong?
>
>
> Thanks.
>
>
EvgK;

They should show up. Check your configuration against:
http://www.swerdna.net.au/linux.html

Have you added Samba users with smbpasswd -a <username> ?

P. V.
Only fools rush in where angels fear to tread.

Thank you for the reply.
I added the user as you suggested. Now konquerer sees the workgroup, computers and shares on the SUSE PC, but can’t see shares on a MS PC.

EvgK wrote:

>
> Thank you for the reply.
> I added the user as you suggested. Now konquerer sees the workgroup,
> computers and shares on the SUSE PC, but can’t see shares on a MS PC.
>
>
EvgK;

Perhaps someone else can give you a more specific answer but, I think, KDE4 had
problems with smb. 3.x seems to be OK. In another thread, Nautilus(sp?) had
a problem unless you gave a share name. When you see the workgroup, do you see
the Windows machines? Is everyone on the same workgroup?

P. V.
Only fools rush in where angels fear to tread.

Hi,

PV, thank you for your reply.

I installed all the smb and samba wildcard stuff excluding LDAP utilities. I started a Xfce session and use smb4k (KDE 3.5.9). It shows all the computers in my home network. I can see a list of the computers in my home network but only this SUSE PC shows his IP address. I can mount shares from the Suse PC, but it can’t see any shares on MS PC. Smb4k shows unknown IP address, Operation System and Server string for it. But I can reach a share by name with Mount Manually command.

Have anybody any suggestions how to force to work SAMBA properly?

Thank you

EvgK wrote:

>
> Hi,
>
> PV, thank you for your reply.
>
>
> I installed all the smb and samba wildcard stuff excluding LDAP
> utilities. I started a Xfce session and use smb4k (KDE 3.5.9). It shows
> all the computers in my home network. I can see a list of the computers
> in my home network but only this SUSE PC shows his IP address. I can
> mount shares from the Suse PC, but it can’t see any shares on MS PC.
> Smb4k shows unknown IP address, Operation System and Server string for
> it. But I can reach a share by name with Mount Manually command.
>
> Have anybody any suggestions how to force to work SAMBA properly?
>
>
> Thank you
>
>
EvgK;

What happens if use Konqueror and enter “smb://<machine name>/”. (Alternatively
if you look under the system tab in Konqueror and choose “Remote Places”–>“SMB
Shares” you should automatically get the windows shares.)

I’ve never used Smb4k, so I’m not sure that seeing or not seeing an IP address
is significant. You should be able to mount shares using “mount.cifs”
or “mount cifs”. See “man mount.cifs” and/or “man mount” (type these commands
in a terminal window). Generally if name resolution is working on your Lan you
do not need IP address. You can always add machines and IP’s in the “lmhosts”
file located in /etc/samba/, it works just like Windows, but broadcasts or wins
should make this unnecessary.


P. V.
Only fools rush in where angels fear to tread.

PV wrote:

> EvgK wrote:
>
>>
<snip>
> I’ve never used Smb4k, so I’m not sure that seeing or not seeing an IP address
> is significant. You should be able to mount shares using “mount.cifs”
> or “mount cifs”. See “man mount.cifs” and/or “man mount” (type these commands
> in a terminal window). Generally if name resolution is working on your Lan you
> do not need IP address. You can always add machines and IP’s in the “lmhosts”
> file located in /etc/samba/, it works just like Windows, but broadcasts or
> wins should make this unnecessary.
>
One additional thought, it is possible that Smb4k tries to use smbfs, which is
now obsolete. I am not positive about that but I do know this is true for
smbmount. You are now required to use cifs since smbfs is no longer supported
by the kernel. Thus smbmount is obsolete and MAYBE Smb4k.


P. V.
Only fools rush in where angels fear to tread.

Seems to me that KDE4.0 has problems in Konqueror and Dolphin with translating Samba signals into icons in the applications’ windows. This IIRC is ameliorated by upgrading to KDE4.1 – remember 4.0 is just experimental and 4.1 is 0.1 better. So FWIW I would suggest upgrading in the first instance and if it’s still flaky I’d suggest changing your samba configuration to Local Master Browser , LMB, with this [global] paragraph written over the default [global] in the (text) file /etc/samba/smb.conf:

[global]
workgroup = NAME_OF_WORKGROUP <== change this to your workgroup
netbios name = name_of_this_workstation <== change this to net name of yr computer
name resolve order = bcast host lmhosts wins
server string = “”
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
use client driver = yes
map to guest = Bad User
local master = yes
preferred master = yes
os level = 65
usershare allow guests = Yes
usershare max shares = 100
usershare owner only = False

Link to background reading for LMB: Samba and Suse: HowTo Set up an openSUSE-Windows Home Office LAN/Network. Versions 10, 11