View Single Post

   
  #2 (permalink)  
Old 02-15-2008, 04:33 PM
Ian Wilson
 
Posts: n/a
Default Re: Samba version 2.2.6

Patrice wrote:
> What should be installed on Openserver 5.0.6 prior Samba 2.2.6 or 3.0.9
> to work properly ???
>


I've also been struggling with Samba for 506 and had problems with 3.0.9.

I suspect you might be better off installing 3.0.1 from
ftp://ftp.aplawrence.com/pub/zini/samba_506.tar.bz2

uncompress it with bzip2,
untar it into /usr/local,
create a /usr/local/samba/lib/smb.conf
run /usr/local/samba/sbin/nmbd
run /usr/local/samba/sbin/smbd

You should then be able to access the shares from a Windows PC.

My smb.conf came from a (now uninstalled) samba 2.2.6 and is not
thoroughly tested.

[global]
workgroup = ACMECORP
netbios name = MYBOX
server string = Samba Server
hosts allow = 192.168.0. 127.
printcap name = lpstat
load printers = yes
printing = sysv
guest account = nouser
log file = /usr/local/samba/logs/log.%m
max log size = 50
security = share
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = net0
os level = 20
dns proxy = no
[homes]
comment = Home Directories
browseable = no
writable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[FooBar]
comment = foo
path = /foo/bar
public = yes
writable = no
printable = no
guest ok = yes
guest only = yes

Caveat Emptor. YMMV. Batteries not included.
Reply With Quote