Warning: inconsistant interface 127.0.0.1
David.LANDGREN at oecd.org
David.LANDGREN at oecd.org
Fri Mar 19 15:53:25 GMT 1999
Hello samba people,
I have samba 2.0.3 compiled from source on a Linux box, in order to setup
SMB sharenames to access the Linux box from an NT client. I have swat set up
in order to configure Samba, and my conf file is as follows:
# Samba config file created using SWAT
# from 10.65.8.20 (10.65.8.20)
# Date: 1999/03/19 15:31:59
# Global parameters
workgroup = [xxx]
netbios name = PACWEB
server string = PAC Web Research Server
security = SHARE
smb passwd file = /etc/smbpasswd
passwd chat debug = Yes
username map = /etc/smbusers
log level = 2
log file = /var/log/samba/log.%m
max log size = 100
name resolve order = host lmhosts wins bcast
socket options = TCP_NODELAY
load printers = No
local master = No
dns proxy = No
comment = PAC Web Research Server
hosts allow = 10. 127.
[tmp]
comment = (tmp)
path = /tmp
read only = No
create mask = 0644
guest ok = Yes
[davidshare]
comment = (david share)
path = /home/david
guest account =
valid users = @users
read only = No
create mask = 0644
I can attach to the tmp share as a guest and can read and write, but I can't
get onto my own share (davidshare) by connecting as myself. I can see them
though, in a Map Drive dialog box on NT.
On the Linux machine (whose host name is tidbinbilla), I get the following
when I run nmblookup:
/usr/local/samba/lib 1069 # nmblookup -B tidbinbilla
Warning: inconsistant interface 127.0.0.1
Added interface ip=127.0.0.1 bcast=127.0.0.1 nmask=97.0.0.0
Sending queries to 127.0.0.1
The netmask looks wrong, and I don't know where it's getting that value
from. I've sprinkled debug statements in lib/interface.c but I'm no further
in figuring out what is going on.
log.smb is reporting stuff like
[1999/03/19 16:08:36, 2] lib/interface.c:interpret_interfaces(205)
get_broadcast says 255.0.0.0
[1999/03/19 16:08:36, 2] lib/interface.c:interpret_interfaces(220)
Added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
[1999/03/19 16:08:36, 1] smbd/files.c:file_init(219)
file_init: Information only: requested 10000 open files, 246 are
available.
[1999/03/19 16:08:36, 2] smbd/server.c:open_sockets(183)
waiting for a connection
[1999/03/19 16:08:45, 2] smbd/server.c:main(702)
Changed root to /
[1999/03/19 16:08:46, 2] lib/access.c:check_access(249)
Allowed connection from tidbinbilla.oecd.org (127.0.0.1)
[1999/03/19 16:08:46, 2] smbd/reply.c:reply_special(95)
netbios connect: name1=TIDBINBILLA name2=PACWEB
Also, when I try to look up my NT client I get the following:
/var/log/samba 1077 # nmblookup -B [myNTmachine] '*'
Warning: inconsistant interface 127.0.0.1
Added interface ip=127.0.0.1 bcast=0.0.0.0 nmask=97.0.0.0
Sending queries to 0.0.0.0
Got a positive name query response from 127.0.0.1 ( 127.0.0.1 )
127.0.0.1 *<00>
Is this normal? I sort of expected to see an IP address 10.x.x.x and not the
loopback.
Can anyone give me a clue? I'll be happy to provide more information, but I
don't really know what would be the most helpful. /etc/smbusers and
/etc/smbpasswd seem to be normal.
Thanks,
David Landgren
More information about the samba
mailing list