password changing not working
Harald H. Hannelius
Harald at iki.fi
Mon May 24 10:15:26 GMT 1999
Hi, somewhere along the versions password changing stopped functioning.
I am running 2.1-prealpha from 24 May 1999. I always get the same error
when I am trying to change my password with smbpasswd:
[1C0] 1E 91 FA D7 60 2B EC 5C AD AE 74 B7 36 A1 B0 93
....`+.\ ..t.6...
[1D0] 0A 0F 50 60 8A 7A 57 C5 9E 10 01 14 C5 98 AF 08
..P`.zW. ........
[1E0] 33 A9 CA 9A 2B FE D5 13 2A AF 97 01 A8 EC FC C9
3...+... *.......
[1F0] F6 D5 5A BB 65 77 A0 C6 94 45 72 AF AB 70 6B 85
..Z.ew.. .Er..pk.
write_socket(3,635)
write_socket(3,635) wrote 635
receive_smb: length < 0!
client_receive_smb failed
size=0
smbpasswd exits without any visible error to the user, but the password
never gets changed. I get this in the logfile every time:
[1999/05/24 12:52:30, 5] lib/username.c:uidtoname(284)
Found: harald:XXXXXXXXXXXXXX:527:100:Harald
Hannelius:/home/harald:/bin/bash
[1999/05/24 12:52:30, 10] passdb/passdb.c:iterate_getsmbpwnam(148)
found by name: harald
[1999/05/24 12:52:30, 7] lib/util_file.c:endfilepwent(161)
endfilepwent: closed file.
[1999/05/24 12:52:30, 10] passdb/passdb.c:pwdb_smb_map_names(269)
pwdb_smb_map_names
[1999/05/24 12:52:30, 3] smbd/chgpasswd.c:chgpasswd(381)
Password change for user: harald
[1999/05/24 12:52:30, 0] lib/fault.c:fault_report(40)
===============================================================
[1999/05/24 12:52:30, 0] lib/fault.c:fault_report(41)
INTERNAL ERROR: Signal 11 in pid 6774 (2.1.0-prealpha)
Please read the file BUGS.txt in the distribution
[1999/05/24 12:52:30, 0] lib/fault.c:fault_report(43)
===============================================================
[1999/05/24 12:52:30, 0] lib/util.c:smb_panic(2527)
PANIC: internal error
(Yes, my password string is changed to protect the innocent :)
Here's the relevant parts of my smb.conf:
unix password sync = yes
passwd program = /usr/bin/passwd %u ; /root/Scripts/yp-restart
passwd chat = *word: %n\n *word: %n\n *changed*
passwd chat debug = true
The trick with a semi-colon after /usr/bin/passwd %u has worked, the NIS
map has always been updated. There's no difference in the error message if
i move the yp-restart call away from the line.
Also, I have changed include/rpc_samr.h MAX_SAM_ENTRIES to 1000, because
we have about 800 users here. I'm not shure whether that affects the
passwd change. I tried with default 250, no avail.
Please help me, I cannot find a workaround for this, and it is very
important that users can change their passwords.
===========================================================
Harald H Hannelius | Harald at iki.fi | GSM +358405470870
===========================================================
More information about the samba-ntdom
mailing list