NetBios name lookup is failing me
Emanuel Levy
emanuel at levy.net
Mon Nov 19 03:17:02 GMT 2001
OS=Free BSD 4.4 with Samba 2.2.2 installed via source. System has 2 IP's
one internal one external. I am telling samba to bind to xl0 which is my
internal network. The samba system has an IP of 192.168.1.1
------------------------------------------------------------------------
----------------------------------------
su-2.05# nmblookup 192.168.1.1
INFO: Debug class all level = 3 (pid 96313 from pid 96313)
params.c:pm_process() - Processing configuration file
"/usr/local/etc/smb.common"
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0
bind succeeded on port 0
Socket opened.
querying 192.168.1.1 on 127.255.255.255
querying 192.168.1.1 on 192.168.1.255
name_query failed to find name 192.168.1.1
su-2.05#
su-2.05# smbclient //192.168.1.1/mannyl
INFO: Debug class all level = 3 (pid 96314 from pid 96314)
params.c:pm_process() - Processing configuration file
"/usr/local/etc/smb.common"
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0
Password:
session setup failed: ERRSRV - ERRbadpw (Bad password - name/password
pair in a Tree Connect or Session Setup are invalid.)
------------------------------------------------------------------------
----------------------------------------
My smb.common file is called from smb.conf and contains
------------------------------------------------------------------------
----------------------------------------
[homes]
comment = "Home Directory for : %u "
path = /usr/home/&u
browseable = no
writeable = yes
[Gateway]
path = /usr/common
comment = "Printer Files and other common programs"
writeable = yes
------------------------------------------------------------------------
----------------------------------------
The smb.conf that calls it contains
------------------------------------------------------------------------
----------------------------------------
[global]
netbios name = Gateway
server string = Compaq Proliant 1600
workgroup = unix-net
encrypt passwords = yes
guest ok = no
hosts allow = 192.168.0. localhost 192.168.1. 192.168.2.
log level = 3
log file = /var/log/samba/%m.log
max log size = 50
debug timestamp = yes
bind interfaces only = yes
interfaces = 127.0.0.1 192.168.1. 192.168.2.
os level = 34
local master = yes
preferred master = yes
include = /usr/local/etc/smb.common
Does anyone see where my problem lies?
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the samba
mailing list