topic title: Samba
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#1
Hey all.

I'm trying to get samba up and running. I have two XP boxes and Two Antix boxes. The printer is connected to one of the Antix boxes and all other boxes can see and use it. The two Xp boxes can see the two Antix boxes and their files. The Antix boxes show the two Xp boxes via xsmbrowser but cannot see the shares. Also I cannot write to the Antix boxes from XP. The two XP boxes can see and write to each other. Here is my smb.conf please advise.

Code: Select all

;*******************section global*****************
[global]

# Do something sensible when Samba crashes: mail the admin a backtrace
panic action = /usr/share/samba/panic-action %d
printing = cups
workgroup = WORKGROUP
server string = %h server (Samba %v)
hosts allow = 192.168.0. 192.168.1. 192.168.2. 192.168.79. 127. 10.0.0. 10.1.1.
socket options = IPTOS_LOWDELAY TCP_NODELAY
log level = 1
dead time = 15
wins support = yes
hide unreadable = yes
passdb backend = tdbsam
dns proxy = no
host msdfs = no
max log size = 1000
security = share
map to guest = Bad Password
restrict anonymous = no
domain master = no
preferred master = no
max protocol = NT
ldap ssl = No
server signing = Auto
oplocks = No
level2 oplocks = No
;*******************section Shares*****************
[Shared]
path = /home/dan/Shared
guest ok = yes
#read only = no
writable = yes
browseable = yes
create mask = 0775
directory mask = 0775
[Music]
path = /mnt/sdb3/mystuff/Audio
guest ok = yes
#read only = no
writable = yes
browseable = yes
create mask = 0775
directory mask = 0775
;*******************section homes*****************
[homes]
comment = Home Directories
browseable = no
guest ok = no
read only = no
;*******************section printers*****************
[printers]
comment = All Printers
path = /tmp
browseable = no
printable = yes
guest ok = yes
create mode = 0700
eriefisher


[/code]
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#2
Have you checked to see if you have smbclient installed? It was not setup by default on my antix box. You may need it to access the windows shares.

As for writing to the antix shares, check you file permissions to make sure you've enabled"others" read/write access. This is the linux file permissions, not just the samba permissions.
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#3
smbclient is installed and the change to the permissions for read/write worked so now the windows boxes can write to the linux boxes.

The only thing left is getting the linux boxes to write to the windows boxes. The linux boxes can see windows but say there are no shares offered?? The two windows boxes read and write to each other..

eriefisher
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#4
do you have smbfs installed. according to the smbclient info, you need it to mount windows shares.

You might also have a look at fusesmb. There are some excellent howto's out there (search for thunar and fuse). It basically lets you mount an entire network to a mount point. And you don't need to be root to use it. This is the method I use. Its not thunar dependent. any app can access the network.
Posts: 253
mariel77
Joined: 13 Sep 2007
#5
dolphin_oracle wrote:do you have smbfs installed. according to the smbclient info, you need it to mount windows shares.

You might also have a look at fusesmb. There are some excellent howto's out there (search for thunar and fuse).
Thanks for this tip, dolphin_oracle; I like fusesmb.

eriefisher, Do you have a firewall on the win computers that blocks the Linux computers? I have McAfee antivirus/firewall on my win comps; only one usually runs though, and it will only allow the win computers to talk to each other. It sees the Linux machines, but won't allow any writing; I think it installed its own network software. I allow it to run because I figure win machines need all the help they can get. __{{emoticon}}__
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#6
Fusesmb did the trick. I now have full read/write access to and from any computer on my network via thunar. I'm sure it will work with rox or any other file manager out there.

I was unaware of this and I'll never forget it. It works great.

eriefisher
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#7
glad you like it. It fusesmb mounts the network just like any other mount point, so no special software required for browsing. I use it with XFE, and it works great (command line too).

D.O.