TNG 2.5/2.6 authentication problems with win2000 pro
Gavin Atkinson
gavin at ury.york.ac.uk
Tue Oct 3 09:51:30 GMT 2000
Hi,
I'm trying to set up samba TNG to authenticate logons for two win2000 pro
boxes. Currently I am using version 2.5 on FreeBSD 4.0 with the attached
smb.conf file. All the daemons are started, and I have managed to get the
w2k box to join the domain. However when I try to login, i get the
message:
" Unable to log you on because the netlogon service is not running on this
machine"
The netlogon service is indeed running on the win2k box (its set to start
automatically) and the netlogond daemon is running on the server. Enabling
logging at level 20 shows nothing more than correct daemon startup,
(nothing is appended to it when I attempt to authenticate).
I do have this other worrying problem:
(on the samba server)
ury3$ smbclient '\\ury3\tmp'
added interface ip=144.32.108.83 bcast=144.32.109.255 nmask=255.255.254.0
Password:
failed session setup
failed session setup
ury3$
(from a samba 2.0.7 server)
ury$ smbclient '\\ury3\tmp'
added interface ip=144.32.108.81 bcast=144.32.109.255 nmask=255.255.254.0
Password:
Anonymous login successful
Domain=[URY3] OS=[Unix] Server=[Samba TNG-alpha]
smb: \>
Is this problem linked with my other problem? I have tried recompiling but
it never helped. I have also tried using TNG 2.6 - this also suffered with
the above smbclient problem, but I could not even get the w2k box to join
my domain...
Thanks in advance,
Gavin
--
"My doctor told me to stop having dinners for four people -
Unless there are three others" - Oscar Wilde
Gavin Atkinson Assistant Computing Officer University Radio York.
-------------- next part --------------
[global]
#NetBIOS name isn't needed if it's the same as the hostname
workgroup = URY3
#flat files that map Unix groups to NT type groups.
#these files take the form unix_group = `Windows NT group''
domain group map = /usr/local/samba/private/domaingroup.map
domain alias map = /usr/local/samba/private/domainusers.map
local group map = /usr/local/samba/private/localgroup.map
#Domain controllers use user security and we need encrypted
#passwords (see ENCRYPTION.txt)
security = user
domain logons = yes
encrypt passwords = yes
#And in order for us to be *sure* to win browser elections
os level = 65
domain master = yes
preferred master = yes
local master = yes
#WINS is the equivalent of DNS for NetBIOS.
wins support = yes
time server = yes
#the next lines are equivalent to the various profile details
#found in NT's User Manager
logon script = login.bat
logon drive = U:
logon home = \\%L\%U
logon path = \\%L\profile\%U
#share all home directories
[homes]
browseable = no
writable = yes
comment = Users' home directories
#set up netlogon share for system policies and login scripts
[netlogon]
path = /usr/local/samba/netlogon
writable = no
guest ok = no
comment = PDC netlogon share
#the profiles share
#to create automatic subdirs for the different users
#chmod 1777 /usr/local/samba/profile
[profile]
path = /usr/local/samba/profile
writeable = yes
#a public share
[public]
path = /usr/local/samba/public
browseable = yes
public = yes
comment = Public share
[tmp]
path = /usr/tmp
writeable = yes
browseable = yes
public = yes
comment = Temp directory
More information about the samba-ntdom
mailing list