I'm new to Samba and FreeBSD and can't seem to get my
Windows systems to see the Samba server I'm trying to set
up.
I have 2 Windows NT 4.0 (SP6) servers set up as domain
controllers and a multi-homed FreeBSD box (v4.1.1) setup as
a firewall and IP aliasing machine for access to the
internet. The Samba version shipped with this version of
FreeBSD is 2.0.7.
My private network mask is 255.255.255.192 and all of my
Windows machines connect and operate correctly with both NT
Servers and also connect and access the internet via natd on
my FreeBSD machine.
The NT 4.0 (SP6) PDC is named CHANDLER and lives at
192.168.254.1.
The NT 4.0 (SP6) BDC is named BUCKO and lives at
192.168.254.2.
The FreeBSD 4.1.1 system is named SPARKY and lives at
192.168.254.5(fxp0) and 66.1.24.33(ed0).
The CHANDLER PDC is also my one, and only, WINS server at
192.168.254.1.
My SMB.CONF file and two LOG files follow my questions.
Since my existing setup is Windows Domain oriented with both
a PDC and a BDC, is Samba 2.0.7 up to this task or should I
be using a later version?
Is IP aliasing screwing Samba up? i.e. Should Samba be
running on a different machine or can Samba work with natd?
Please forgive me if I've done something stupid. I'm in the
process of reading the O'Reilly, "Using Samba" book but am
stumped.
Thanks for your help
Don
/usr/local/etc/smb.conf
# Samba config file created using SWAT
# from 192.168.254.5 (192.168.254.5)
# Date: 2000/12/04 13:04:12
# Global parameters
[global]
netbios name = sparky
server string = Samba %v on (L%)
workgroup = suntreeaz.com
security = share
encrypt passwords = Yes
update encrypted = Yes
wins server = 192.168.254.1
# Networking configuration options
hosts allow = 192.168.254. localhost
interfaces = 192.168.254.5/26
bind interfaces only = Yes
# Debug logging information
log level = 2
log file = /usr/local/etc/samba.log.%m
max log size = 50
debug timestamp = yes
[c]
path = /mnt/c/FreeBSD
writeable = Yes
guest ok = Yes
This is /usr/local/etc/samba.log.smb
[2000/12/04 14:23:45, 2] lib/interface.c:add_interface(83)
added interface ip=192.168.254.5 bcast=192.168.254.63
nmask=255.255.255.192
[2000/12/04 14:23:45, 1] smbd/files.c:file_init(216)
file_init: Information only: requested 10000 open files,
1054 are available.
[2000/12/04 14:23:45, 2] smbd/server.c:open_sockets(181)
waiting for a connection
And a very big mystery to me is this log file called
/usr/local/etc/samba.log.bucko, which indicates to me that
Samba can see BUCKO, my BDC, but BUCKO can't see SPARKY, my
Samba server?
[2000/12/04 14:18:51, 2] lib/interface.c:add_interface(83)
added interface ip=192.168.254.5 bcast=192.168.254.63
nmask=255.255.255.192
[2000/12/04 14:19:09, 2] lib/interface.c:add_interface(83)
added interface ip=192.168.254.5 bcast=192.168.254.63
nmask=255.255.255.192
[2000/12/04 14:19:42, 2] smbd/server.c:exit_server(408)
Closing connections
[2000/12/04 14:19:42, 2] smbd/server.c:exit_server(408)
Closing connections