DOMAIN login from another subnet w/out WINS?

sven at sven.cp.uconn.edu sven at sven.cp.uconn.edu
Tue Mar 24 20:16:56 GMT 1998


Hi folks,

Has anybody been able to login to a DOMAIN on another subnet w/out a WINS
server?  I have a multi-homed samba (1.9.18) server serving a token-ring
and an ethernet network.  My goal is remove one NIC and just have packets
go through a router ( the default gateway ) to get to samba server.  I
created an lmhosts.sam file which does reroute netbios packets from
local interface to designated interface on other subnet.  The
problem is this only seems to work once client is loged in.  When
client tries to login then the message that client could not be
validated against a server..... comes up.  Below are the relevant files.
Thanks Sven.

lmhosts.sam:

xxx.xxx.xxx.xxx aNetBIOSname #PRE #DOM:aDomainNAME


smb.conf:
workgroup = aDomainNAME
browse list = yes
case sensitive = no
domain logons = yes
domain master = yes
dont descend = /proc,/dev
guest account = nobody
interfaces = xxx.xxx.xxx.xxx/255.255.255.128 
load printers = yes
local master = yes
lock directory = /var/lock/samba
locking = yes
log file = /var/log/samba/log.%m
logon path = \\%N\%U
logon home = \\%N\%U\samba
logon script = STARTUP.BAT
map hidden = yes
max log size = 50
netbios name = aNetBIOSname
null passwords = no
os level = 65
preferred master = yes
preserve case = yes
print command = lpr -h -r -P%p %s
printcap name = /etc/printcap
printing = bsd
security = user
short preserve case = yes
socket options = TCP_NODELAY

shares & printers........



More information about the samba mailing list