[Samba] "incorrect password length" when trying to domain-logon from XP to 2.2.3a
Helge Jung (ECO-Logic)
helge at eco-logic-software.de
Fri Sep 27 15:57:02 GMT 2002
I'm trying to set up Samba 2.2.3a as a logon server for my Win2k/XP network.
But when I try to join the domain with a XP Professional client (the
SignOrSeal-Patch is installed, the other option in the management console is
also set up) I get the error message "Login failed: unkown user name or
wrong password" (translated from German) ... in the server's log there are
the following lines connected with my join attempt:
[2002/09/27 17:43:38, 0] smbd/service.c:make_connection(381)
helge logged in as admin user (root privileges)
[2002/09/27 17:43:38, 2] rpc_parse/parse_samr.c:samr_io_userinfo_ctr(6284)
samr_io_userinfo_ctr: unknown switch level 0x1a
[2002/09/27 17:43:38, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670)
api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2002/09/27 17:43:38, 0] libsmb/smbencrypt.c:decode_pw_buffer(263)
decode_pw_buffer: incorrect password length (-677165665).
[2002/09/27 17:43:39, 0] smbd/service.c:make_connection(381)
helge logged in as admin user (root privileges)
[2002/09/27 17:43:39, 2] smbd/server.c:exit_server(458)
Closing connections
The XP-client's name is "atlantixpc" (192.168.0.86), the server has the ip
192.168.0.90 - I attach several config files that may help you to help me
(the directories referenced to do all exist):
--- START --- /etc/samba/smb.conf ---
[global]
workgroup = MITTELERDE
netbios name = SAURON
netbios aliases = server
server string = MITTELERDE-Server (Samba %v PDC)
interfaces = 192.168.0.90/24
encrypt passwords = Yes
smb passwd file = /etc/samba/smbpasswd
passwd program = /usr/bin/passwd %u
passwd chat = *new*password* %n\n *new*password*
%n\n *Password*changed*
username map = /etc/samba/smbusers
username level = 10
unix password sync = Yes
log level = 2
log file = /var/log/samba/mittelerde.%m
time server = Yes
deadtime = 15
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE
domain admin group = helge root
logon script = timeserv.bat
logon path = \\%N\profiles\%U
domain logons = Yes
os level = 255
preferred master = True
domain master = True
wins support = Yes
lock dir = /var/lib/samba
pid dir = /var/run/samba
socket address = 192.168.0.90
admin users = helge root
create mask = 0640
directory mask = 0750
[netlogon]
comment = Spezielle Net-Logon Share
path = /daten/samba/netlogon # debug: directory exists
browseable = No
[profiles]
comment = Roaming Profiles Directory
path = /daten/samba/profiles # debug: directory exists
read only = No
create mask = 0600
directory mask = 0700
--- END --- /etc/samba/smb.conf ---
--- START --- /etc/samba/lmhosts ---
127.0.0.1 localhost
192.168.0.90 sauron.mittelerde sauron
192.168.0.86 AtlantixPC
--- END --- /etc/samba/lmhosts ---
--- START --- /etc/samba/smbpasswd ---
root:0:EFA34B9B319466F0D480EA9533C500D4:85BF0859F208C17BB0132D6E3E70D44B:[UX
]:LCT-3D946076:
helge:500:EBD223B61F8C259CAAD3B435B51404EE:98BB35737013AAFF03181D0FE9FDA09E:
[UX ]:LCT-3D94686E:
sauron$:588:EADCA5F1290B3E63AAD3B435B51404EE:FDCA9094406ECAF37299CDDE583285E
B:[W ]:LCT-3D946215:
atlantixpc$:580:504A5C67888BCFDAF423D1FCE1D1C272:464A7881DF41CFFA0CC13A0BAD3
1F697:[W ]:LCT-3D9475EB:
--- END --- /etc/samba/smbpasswd ---
--- START --- /etc/samba/smbusers ---
root = Administrator admin
helge = "Helge Jung"
--- END --- /etc/samba/smbusers ---
--- START --- /etc/passwd --- (parts only)
helge:x:500:100:Helge Jung:/home/helge:/bin/bash
sauron$:x:588:503::/home/sauron$:/bin/false
atlantixpc$:x:580:503::/home/atlantixpc$:/bin/false
--- END --- /etc/passwd ---
Hopefully you can help me,
Helge.
More information about the samba
mailing list