[Samba] %o passwd chat parameter - Samba-3.0.0beta3 - bug?
tdoris at tancap.net
tdoris at tancap.net
Wed Jul 23 18:58:55 GMT 2003
The %o passwd chat parameter (current password) doesn't seem to be working in
this release. I'm running a Redhat 9 system that seems to require it.
Changing the %o to the current password allows everything to work so I'm pretty
sure it is something related to that parameter. Is this a bug or am I just
reading the log wrong?
from smb.conf:
unix password sync = Yes
passwd program = /usr/bin/passwd
passwd chat = *(current)*UNIX*password* %o\n *New*password* %n\n
*Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
passwd chat debug = yes
log level = 103
from log:
[2003/07/23 13:41:31, 10] smbd/chgpasswd.c:dochild(217)
Invoking '/usr/bin/passwd' as password change program.
[2003/07/23 13:41:31, 10] lib/util_sock.c:read_socket_with_timeout(263)
read_socket_with_timeout: timeout read. select timed out.
[2003/07/23 13:41:31, 100] smbd/chgpasswd.c:expect(271)
expect: expected [*(current)*UNIX*password*] received [Changing password for
user tdoris.
Changing password for tdoris
(current) UNIX password: ] match yes
[2003/07/23 13:41:31, 10] smbd/chgpasswd.c:expect(282)
expect: returning True
[2003/07/23 13:41:31, 100] smbd/chgpasswd.c:expect(237)
expect: sending [
]
[2003/07/23 13:41:33, 0] lib/util_sock.c:read_socket_with_timeout(279)
read_socket_with_timeout: timeout read. read error = Input/output error.
[2003/07/23 13:41:33, 100] smbd/chgpasswd.c:expect(271)
expect: expected [*New*password*] received [
passwd: Authentication token manipulation error
] match no
[2003/07/23 13:41:33, 2] smbd/chgpasswd.c:expect(277)
expect: Input/output error
[2003/07/23 13:41:33, 3] smbd/chgpasswd.c:talktochild(308)
Response 2 incorrect
[2003/07/23 13:41:33, 3] smbd/chgpasswd.c:chat_with_program(376)
Child failed to change password: tdoris
[2003/07/23 13:41:33, 3] smbd/chgpasswd.c:chat_with_program(421)
The status of the process exiting was 256
[2003/07/23 13:41:33, 5] rpc_parse/parse_samr.c:init_samr_r_chgpasswd_user(7178)
init_r_chgpasswd_user
[2003/07/23 13:41:33, 5] rpc_server/srv_samr_nt.c:_samr_chgpasswd_user(1549)
_samr_chgpasswd_user: 1549
[2003/07/23 13:41:33, 5] rpc_parse/parse_prs.c:prs_debug(81)
000000 samr_io_r_chgpasswd_user
[2003/07/23 13:41:33, 5] rpc_parse/parse_prs.c:prs_ntstatus(664)
0000 status: NT_STATUS_ACCESS_DENIED
More information about the samba
mailing list