logon problem
K Clethero
wkc at tarapine.co.nz
Tue Jan 15 17:50:06 GMT 2002
Hi All
I have a problem when using Client For Microsoft Networks to connect to my
samba server from a subnet. After attempting logon the message comes back
saying it was unable to locate a domain server.
However, if I un-check the "Log on to Windows NT domain" in Client For
Microsoft Networks I can access the users home shares (suggests the
authentication is working?) but I cannot use any logon scripts for those
machines. In future I will need to provide access to samba for users
connecting to our network via our telco's radius server. This currently
lets us on to the network but machines are unable to locate the samba
server.
For the present I would be pleased if I could get the Win9x clients on both
subnets to log on to the domain correctly.
Any help or suggestions would be very welcome. Thank you for taking the
trouble to read this and reply.
I am using the following setup:
Samba version 2.0.6
Mandrake Linux 7.0 (IP 192.168.1.201)
Networks:
192.168.1.0 samba server on this subnet, all Win9x clients can see the
the server an use Client For Microsoft Networks
to log on.
192.168.2.0 Win9x clients cannot use Client For Microsoft Networks to log
on to domain.
192.168.3.0 Win9x clients cannot use Client For Microsoft Networks to log
on to domain.
Please find copies of smb.conf, wins.dat below.
smb.conf as follows
[global]
server string = Samba Server %v
hosts allow = 192.168.1. 192.168.2. 192.168.3. 127.0.0.1
printcap name = /etc/printcap
print command = /usr/bin/lpr -r -P %p %s
lpq command = /usr/bin/lpq -P %p
lprm command = /usr/bin/lprm -P %p %j
load printers = yes
guest account = smbuser
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY
interfaces = 192.168.1.201/24 127.0.0.1/24
remote announce = 192.168.2.255 192.168.3.255
local master = Yes
os level = 65
domain master = yes
preferred master = yes
domain logons = yes
logon script = %U.bat
name resolve order = wins
wins support = yes
workgroup = tarapine
dns proxy = no
comment = %h Samba Server %v
guest account = smbuser
encrypt passwords = yes
smb passwd file = /etc/smbpasswd
unix password sync = Yes
password level = 0
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
null passwords = no
deadtime = 10
debug level = 3
message command = csh -c 'xedit %s; rm %s' &
bind interfaces only = Yes
security = user
read bmpx = No
time server = Yes
hide dot files = Yes
force create mode = 0770
create mode = 0770
force directory mode = 0770
directory mode = 0770
[homes]
comment = Home Directories
browseable = no
writable = yes
available = yes
public = no
only user = no
hide dot files = Yes
nmblookup -A 192.168.1.201 gives
doing parameter message command = csh -c 'xedit %s; rm %s' &
doing parameter bind interfaces only = Yes
doing parameter security = user
doing parameter read bmpx = No
doing parameter time server = Yes
doing parameter hide dot files = Yes
doing parameter force create mode = 0770
doing parameter create mode = 0770
doing parameter force directory mode = 0770
doing parameter directory mode = 0770
pm_process() returned Yes
added interface ip=192.168.1.201 bcast=192.168.1.255 nmask=255.255.255.0
added interface ip=127.0.0.1 bcast=127.0.0.255 nmask=255.255.255.0
bind succeeded on port 0
Socket opened.
Looking up status of 192.168.1.201
received 9 names
TSMSERVER <00> - M <ACTIVE>
TSMSERVER <03> - M <ACTIVE>
TSMSERVER <20> - M <ACTIVE>
..__MSBROWSE__. <01> - <GROUP> M <ACTIVE>
TARAPINE <00> - <GROUP> M <ACTIVE>
TARAPINE <1b> - M <ACTIVE>
TARAPINE <1c> - <GROUP> M <ACTIVE>
TARAPINE <1d> - M <ACTIVE>
TARAPINE <1e> - <GROUP> M <ACTIVE>
num_good_sends=0 num_good_receives=0
/var/lock/samba/wins.dat
VERSION 1 152558
"__MSBROWSE__#01" 1011636236 255.255.255.255 e4R
"ALLANT#03" 1011637689 192.168.1.8 64R
"ANAV#03" 1011638367 192.168.1.53 64R
"BEVW#03" 1011637456 192.168.1.29 4R
"BLAIRT#03" 1011638306 192.168.1.251 4R
"COLINU#03" 1011646279 192.168.2.2 64R
"DENISEC#03" 1011637622 192.168.1.2 64R
"EWANB#03" 1011638720 192.168.1.23 4R
"FINANCE01#00" 1011642310 192.168.1.54 4R
"FINANCE01#03" 1011642310 192.168.1.54 4R
"FINANCE01#20" 1011642310 192.168.1.54 4R
"FREIGHT01#00" 1011638367 192.168.1.53 64R
"FREIGHT01#03" 1011638367 192.168.1.53 64R
"FREIGHT01#20" 1011638367 192.168.1.53 64R
"JASOND#03" 1011636236 192.168.2.1 64R
"JOHNK#03" 1011635067 192.168.1.28 4R
"JOHNS#03" 1011638292 192.168.1.24 4R
"LOG01#00" 1011638720 192.168.1.23 4R
"LOG01#03" 1011638720 192.168.1.23 4R
"LOG01#20" 1011638720 192.168.1.23 4R
"LOG02#00" 1011638992 192.168.1.4 4R
"LOG02#03" 1011638990 192.168.1.4 4R
"LORRAINEM#03" 1011637278 192.168.1.25 4R
"OPS01#00" 1011637256 192.168.1.25 4R
"OPS01#03" 1011637255 192.168.1.25 4R
"OPS02#00" 1011638292 192.168.1.24 4R
"OPS02#03" 1011638292 192.168.1.24 4R
"OPS02#20" 1011638292 192.168.1.24 4R
"PAY01#00" 1011637297 192.168.1.29 4R
"PAY01#03" 1011637296 192.168.1.29 4R
"PETERD#03" 1011637491 192.168.1.10 64R
"PETERF#03" 1011639009 192.168.1.4 4R
"PURCHASE01#00" 1011637491 192.168.1.10 64R
"PURCHASE01#03" 1011637491 192.168.1.10 64R
"PURCHASE01#20" 1011637491 192.168.1.10 64R
"RECEPTION01#00" 1011636887 192.168.1.27 4R
"RECEPTION01#03" 1011636885 192.168.1.27 4R
"RECEPTION01#20" 1011636890 192.168.1.27 4R
"RUDYG#03" 1011642310 192.168.1.54 4R
"SAFTEY01#00" 1011635025 192.168.1.28 4R
"SAFTEY01#03" 1011635024 192.168.1.28 4R
"SAFTEY01#20" 1011635029 192.168.1.28 4R
"SHERYLP#03" 1011637256 192.168.1.27 4R
"SHIP01#00" 1011637689 192.168.1.8 64R
"SHIP01#03" 1011637689 192.168.1.8 64R
"SHIP01#20" 1011637689 192.168.1.8 64R
"SUER#03" 1011573271 192.168.3.1 64R
"SYSADMIN01#00" 1011558037 192.168.1.26 4R
"SYSADMIN01#03" 1011558035 192.168.1.26 4R
"SYSADMIN01#20" 1011558041 192.168.1.26 4R
"TARAPINE#00" 1011662363 255.255.255.255 c4R
"TARAPINE#1b" 1011662363 192.168.1.201 127.0.0.1 44R
"TARAPINE#1c" 1011662363 192.168.1.201 127.0.0.1 c4R
"TARAPINE#1e" 1011662363 255.255.255.255 c4R
"TARS02#00" 1011637622 192.168.1.2 64R
"TARS02#03" 1011637622 192.168.1.2 64R
"TARS02#20" 1011637622 192.168.1.2 64R
"TARS251#00" 1011638290 192.168.1.251 4R
"TARS251#03" 1011638288 192.168.1.251 4R
"TARS251#20" 1011638292 192.168.1.251 4R
"TONG01#00" 1011573271 192.168.3.1 64R
"TONG01#03" 1011573271 192.168.3.1 64R
"TONG01#1f" 1011237618 192.168.3.1 64R
"TONG01#20" 1011573271 192.168.3.1 64R
"TREAT01#00" 1011636236 192.168.2.1 64R
"TREAT01#03" 1011636236 192.168.2.1 64R
"TREAT01#20" 1011636236 192.168.2.1 64R
"TREAT02#00" 1011646278 192.168.2.2 64R
"TREAT02#03" 1011646278 192.168.2.2 64R
"TREAT02#20" 1011646278 192.168.2.2 64R
"TSMPHOTOCOPY#00" 1011653616 192.168.1.231 64R
"TSMPHOTOCOPY#20" 1011653622 192.168.1.231 64R
"TSMSERVER#00" 1011662363 192.168.1.201 127.0.0.1 46R
"TSMSERVER#03" 1011662363 192.168.1.201 127.0.0.1 46R
"TSMSERVER#20" 1011662363 192.168.1.201 127.0.0.1 46R
"WKC#03" 1011655358 192.168.1.26 4R
Cheers
Keith Clethero
System Administrator
Taranaki Sawmills Ltd.
Ph 06 7559000 x 816
More information about the samba
mailing list