[Samba] Specified network password is not correct
Merle Reine
merle at gardenfreshcorp.com
Wed Oct 26 20:52:54 GMT 2005
I am having trouble connecting to a Centos 4.1 machine. I have the
following installed:
samba-common-3.0.10-1.4E
samba-3.0.10-1.4E.2
samba-client-3.0.10-1.4E
samba-swat-3.0.10-1.4E.2
Currently running:
smbd
nmbd
winbind
My smb.conf is as follows:
# Global parameters
[global]
preferred master = No
domain master = No
wins support = Yes
encrypt passwords = yes
remote announce = 192.168.1.255/soupx
smb passwd file = /etc/samba/smbpasswd
[homes]
read only = No
[test]
comment = test share
path = /u/sambausers
valid users = operator
I have one user in /etc/samba/smbpasswd:
operator:11:8880F85FF03EAF3B944E2DF489A880E4:E337E31AA4C614B2895AD684A51156DF:[U
]:LCT-435FE36C:
I am in the process of switching an old 386 machine for a dual xeon
machine. On the old 386, running:
samba-2.2.5-10
samba-common-2.2.5-10
samba-client-2.2.5-10
samba-swat-2.2.5-10
I can connect to the 386 with any windows, linux, mac.
When I try to connect to the new machine running samba 3.0.10 from unix,
i connect fine:
[root at soupx1 temp]# smbclient //soupx/test -W LINUX-SOUP -U operator
added interface ip=192.168.1.208 bcast=192.168.1.255 nmask=255.255.255.0
Got a positive name query response from 192.168.1.9 ( 192.168.1.9 )
Password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.10-1.4E.2]
smb: \> dir
. D 0 Mon Sep 26 15:27:14 2005
.. D 0 Mon Oct 10 05:11:02 2005
stores D 0 Sat Oct 22 06:02:08 2005
npd D 0 Fri Jul 29 08:51:38 2005
legal D 0 Tue Sep 23 15:22:20 2003
.............................................................................................................
When I try to connect from any windows machine, I get:
net use z: \\soupx\test
Enter the user name for 'soupx' : operator
Enter the password for soupx:
System error 86 has occured.
The specified network password is not correct.
...........................................................................................................
I used smbpasswd -a operator and set the password (which works from a
linux machine)
In /var/log/samba/smbd.log I see:
[2005/10/26 13:48:21, 1] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(593)
Unknown packet in reply_sesssetup_and_X_spnego
[2005/10/26 13:48:28, 0] lib/util_sock.c:get_peer_addr(1000)
getpeername failed. Error was Transport endpoint is not connected
[2005/10/26 13:48:28, 0] lib/util_sock.c:read_socket_data(384)
read_socket_data: recv failure for 4. Error = Connection reset by peer
[2005/10/26 13:48:28, 1] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(593)
Unknown packet in reply_sesssetup_and_X_spnego
I can connect to a public share on this machine without a password.
Any idea what is wrong?
More information about the samba
mailing list