[Samba] Win2000SP3 can't connect to Samba

Stephen C. Biggs yyyyy50 at st8.us
Thu Aug 29 13:12:00 GMT 2002

This is EXACTLY what I am getting... The first time I try to join the 
domain, I get back "The RPC server is not available"... the next time, I 

"The parameter is incorrect"

Looking at the packet dump, the first time through, after the DCERPC bind 
ack, Win2K sends an SAMR request of 62 which is unknown, SAMBA replies 
with a DCERPC fault.  Then, the next sequence it sends the proper SAMR  
of 57 which is CONNECT2.
Samba comes back with ACCESS_DENIED for the CREATE_USER2_IN_DOMAIN, after 
I enter "root" and the right password, and my logs show:
[2002/08/29 12:20:35, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367)
  unable to open passdb database.
[2002/08/29 12:20:35, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(573)
  add_smbfilepwd_entry: unable to open file.
[2002/08/29 12:20:35, 0] 
  Failed to add entry for user win2k$.

I've attached my smb.conf file.

Can anybody help with this?  I have the user "root" in smbpasswd.  This 
is something stupid, I know...

On 28 Aug 2002 at 17:02, Christian Schäfer wrote:

> hi all!
> i'm pretty new to linux and just installed a mandrake 8.1 on a little
> machine in my network. I got the samba server up and running and it
> even is visible in my windows network folder.
> but when i try to connect from windows 2000 sp3 the server refuses my
> login attempts even root...
> any idea?
> /christian

-------------- next part --------------
# Samba config file created using SWAT
# from linux (
# Date: 2002/08/29 15:00:25

# Global parameters
	workgroup = SAMBA_DOMAIN
	netbios name = LINUXSERVER
	server string = %h (Samba Server %v)
	interfaces = eth0 lo
	bind interfaces only = Yes
	encrypt passwords = Yes
	allow trusted domains = No
	map to guest = Bad Password
	null passwords = Yes
	passwd program = /usr/bin/passwd %u
	passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
	unix password sync = Yes
	restrict anonymous = Yes
	log file = /var/log/samba/%m.log
	max log size = 0
	protocol = LANMAN2
	large readwrite = Yes
	max protocol = LANMAN2
	name resolve order = wins host lmhosts bcast
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	load printers = No
	add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
	domain logons = Yes
	os level = 65
	lm announce = True
	lm interval = 120
	preferred master = True
	domain master = True
	dns proxy = No
	wins proxy = Yes
	wins support = Yes
	admin users = root
	hosts allow =
	hosts deny = all
	printing = lprng

	comment = Home Directories
	valid users = %S
	read only = No
	create mask = 0664
	directory mask = 0775

	comment = All Printers
	path = /var/spool/samba
	printable = Yes
	browseable = No

	path = /home/netlogon
	write list = root

More information about the samba mailing list