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
Fuck you yellow scum. What the fuck joke domain KI is? :D Another fucking chinese scum country? God i wish someone would nuke whole asia... On Wed, Aug 4, 2010 at 12:39 AM, Karotu Tannang <karotu at nauoi.com.ki> wrote:> 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 > -- > To unsubscribe from this list go to the following URL and read the > instructions: ?https://lists.samba.org/mailman/options/samba >
Hi On 4 August 2010 00:39, Karotu Tannang <karotu at nauoi.com.ki> wrote:> 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.Are the Windows 7 clients able to 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).Something definitely seems wrong here. Obviously the password can't be that long.> [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 = rootUsing "force user = root" seems like a bad idea to me, especially in the global section.> ? ? ? ?security = user > ? ? ? ?local master = yes > ? ? ? ?domain logons = yes > ? ? ? ?encrypt passwords = yesDid you have encrypted passwords enabled in your old version of Samba too? Or did you just enable this when you upgraded?> ? ? ? ?interfaces = eth0 > ? ? ? ?log level = 1 > ? ? ? ?passdb backend = smbpasswdThe default passwd backend is tdbsam. The smbpasswd backend is the old format that doesn't support all of the features supported by other backends. I don't know if this has anything to do with the problem, but maybe you could try switching to tdbsam.> ? ? ? ?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[...] Regards, Michael -- Michael Wood <esiotrot at gmail.com>
Maybe Matching Threads
- decode_pw_buffer: incorrect password length
- 3.0.11/MirOS password change problem
- samba 3.0.4 on SLES8: password sync will not work...(decode_pw_buffer: incorrect password length)
- Error when changing domain password in Windows XP
- Windows client does not recognize password change...