[Samba] Error: Incorrect password length

Karotu Tannang karotu at nauoi.com.ki
Tue Aug 3 16:39:55 MDT 2010


Hi,

I just upgraded my server to support Windows 7 and so installed Samba
3.5.4 from 3.2.5. OS is Debian Lenny.
Now my Windows XP clients cannot join the Domain.

When joining the Domain, I get a wrong password error on Windows. In
my samba logs it shows the following:

[2010/08/03 12:10:19.681501,  0] lib/util_sock.c:1432(get_peer_addr_internal)
  getpeername failed. Error was Transport endpoint is not connected
[2010/08/03 12:10:19.681859,  0] lib/util_sock.c:675(write_data)
[2010/08/03 12:10:19.681931,  0] lib/util_sock.c:1432(get_peer_addr_internal)
  getpeername failed. Error was Transport endpoint is not connected
  write_data: write failure in writing to client 0.0.0.0. Error
Connection reset by peer
[2010/08/03 12:10:19.682030,  0] smbd/process.c:79(srv_send_smb)
  Error writing 4 bytes to client. -1. (Transport endpoint is not connected)
[2010/08/03 12:10:19.987801,  0]
../libcli/auth/smbencrypt.c:589(decode_pw_buffer)
  decode_pw_buffer: incorrect password length (1720729972).
[2010/08/03 12:10:19.987986,  0]
../libcli/auth/smbencrypt.c:590(decode_pw_buffer)
  decode_pw_buffer: check that 'encrypt passwords = yes'

My smb.conf is --

[global]
	workgroup = LMD
	netbios name = LAND
	force user = root
	security = user
	local master = yes
	domain logons = yes
        encrypt passwords = yes
	interfaces = eth0
	log level = 1
	passdb backend = smbpasswd
	log file = /var/log/samba/mainlog
	logon drive = P:
	logon script = logon.bat
	logon home = \\LAND\%U
	logon path =
	hide files = /desktop.ini/
	os level = 99
	preferred master = yes
	wins support = yes
	
	#Automatically add them users/machines
	add machine script = /usr/sbin/useradd -d /dev/null -g machines -c
'Machine Account' -s /bin/false '%u'
        name resolve order = wins lmhosts hosts bcast

[homes]
	read only = no
	create mask = 0600
	writable = yes
	directory mask = 0700
	
[homes_ac]
	path = /home
	writable = yes
	browseable = no
	
[netlogon]
	path = /usr/netlogon
	read only = yes
[mi_user]
	#The other required DATA to be shared from /data
	path = /home/data/mi_user
	writable = yes
	public = yes

[gdocs]
        #G: drive
	path = /home/data/gdocs	
	writable = yes
	public = yes

[linfo]
	# H: drive
	path = /home/data/linfo
	writable = yes
	public = yes

[mapba]
	#K: drive
	path = /home/data/mapba
	writable = yes
	public = yes

[ccad55]
	#L: drive
	path = /home/data/ccad55
	writable = yes
	public = yes

[qadocs]
	#Q: drive
	path = /home/data/qadocs
	writable = yes
	public = yes

[scripts]
	#DIR for Scripts for pushing proxy and lockdown IE
	path = /home/data/scripts
	writable = no
	public = yes
	browseable = no
	guest ok = yes


Maybe I missed out something? I checked a lot of documents online but
found only a few. Is it possible this could be a bug and that maybe a
developer is required to test this?

Even /etc/init.d/samba stop does not completely kills all smbd and
nmbd.. is this normal?

Look forward to hearing from any suggestions if there is any way I
could use it. Otherwise.. 'make revert' to 3.2.5.

Kind regards,

Karotu
-- 
----------------------------------
Karotu Tannang
Nauoi IT Services
Behind BOK, Betio / PO Box 46, Bairiki
Tarawa, KIRIBATI
Office Phone: + 686 25483 / Mobile: +686 94038


More information about the samba mailing list