Problems with multiple Ethernet devices ?
Urs Steiner
urs.steiner at switzerland.org
Fri Dec 11 22:17:53 GMT 1998
Hello
I just installed a new Linux server which will be gateway between our local
intranet and the internet in a month or so ...
anyway, i copied my old samba(pre-alpha) to the new machine and installed
it
and behold: it's running
but:i can't connect to it , step 3 from DIAGNOSIS.txt:
(nerys is the server name, hte (internal) ip is 192.168.0.27)
# smbclient -L nerys
doing parameter remote announce = 192.168.0.255/MAX
doing parameter log file = /var/log/samba.log.%m
doing parameter lock directory = /var/lock/samba
doing parameter share modes = yes
pm_process() returned Yes
Added interface ip=192.168.0.27 bcast=192.168.0.255 nmask=255.255.255.0
Client started (version 2.1.0-prealpha).
resolve_name: Attempting lmhosts lookup for name nerys
startlmhosts: Can't open lmhosts file /usr/local/samba/lib/lmhosts. Error
was No such file or directory
resolve_name: Attempting host lookup for name nerys
Connecting to 192.168.0.27 at port 139
session request ok
Password:
session setup failed: code 0
is this a common problem when using multiple ethernet cards( i recall
reading something about problems but can't recall where) or do i just have
misconfigured something? I also can' connect to a newer CVS dated Dec 11
15:12
and here comes my smb.conf:
# This smb.conf forbids any access. For a sensible default smb.conf,
# please rename the file smb.conf.sample to smb.conf
[global]
guest account = nobody
guest ok = yes
;try this one
guest only = yes
;and this one
security = USER
workgroup = MAX
interfaces = 192.168.0.27/255.255.255.0
;show up on which interface ?or ...
hosts allow = 192.168.0. 127.
protocol = NT1
;default
browsable = yes
browse list = yes
;default
deadtime = 5
; after 5 minutes of inactivity close connection
dns proxy = no
;otherwise there might be problems
domain master = yes
;wan-browsing ...
domain logons = yes
;act as domain server
encrypt passwords = yes
;for nt4 sp3 this is important, see also winnt.txt
smb passwd file = /usr/local/samba/private/smbpasswd
;where are the smb passwds stored ?
null passwords = true
;could be risky ... allows access with empty passwords
local master = yes
;participate in elections, master browser for this subnet
message command = csh -c 'xedit %s;rm %s' &
;what todo with winpopup messages
wins support = yes
; this server is a wins server/domain master browser
wins proxy = yes
;respond to broadcast queries
preferred master = yes
;force browser election at startup
os level = 255
;win the elections ...
read prediction = yes
;pre-read data from read-only files
printing = bsd
printcap name = /etc/printcap
load printers = yes
debug level = 4
remote announce = 192.168.0.255/MAX
; This next option sets a separate log file for each client. Remove
; it if you want a combined log file.
log file = /var/log/samba.log.%m
; You will need a world readable lock directory and "share modes=yes"
; if you want to support the file sharing modes for multiple users
; of the same files
lock directory = /var/lock/samba
share modes = yes
; Der nachfolgende Eintrag beschert dem jeweiligen User einen Eintrag
; mit seinem Namen, in dem sich sein Homeverzeichnis befindet. (GUT!)
[homes]
comment = Home Directories
browseable = no
;do not show a service called homes but %u only
guest ok = no
read only = no
create mask = 0755
public = no
write list = @users
and here follow some more share definitions which shouldn't be important
Does anybody have an idea where to fix this ? Probably tomorrow i will have
time for a short reboot and remove the second adapter to look if it runs
then but in the mean time I hope one of has an answer
Thanks
Urs
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
e-mail: urs [dot] steiner [at] switzerland [dot] org
Think of that:
* <- Tribble ÷÷÷\ÄÁÄÁÄ/~~~~*~~~ <- ship saving drowning tribble
More information about the samba-technical
mailing list