Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WinXP & password changing

Status
Not open for further replies.

adminstrator

Instructor
Oct 9, 2003
1
AT
Hi there!

I've got following problem:

Samba as PDC is working perfectly (with profiles and everything). But when a
User wants to change his password (STRG+ALT+DEL, Change Password...) and enters
his old and then his new password twice, there is following error message:
The Username or the password is wrong. Passwords are case sensitive. (or something
like that!).

From the smb-log-file I extracted this:

[2003/10/09 17:26:43, 10] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1388)
pdb_getsampwnam: found by name: tester
[2003/10/09 17:26:43, 4] lib/substitute.c:automount_server(177)
Home server: s-svr01
[2003/10/09 17:26:43, 4] lib/substitute.c:automount_server(177)
Home server: s-svr01
[2003/10/09 17:26:43, 3] smbd/sec_ctx.c:pop_sec_ctx(436)
pop_sec_ctx (989, 500) - sec_ctx_stack_ndx = 1
[2003/10/09 17:26:43, 3] smbd/chgpasswd.c:chgpasswd(464)
Password change for user: tester
[2003/10/09 17:26:43, 10] smbd/chgpasswd.c:findpty(81)
findpty: Allocated slave pty /dev/pts/3
[2003/10/09 17:26:43, 3] smbd/sec_ctx.c:push_sec_ctx(297)
push_sec_ctx(989, 500) : sec_ctx_stack_ndx = 2
[2003/10/09 17:26:43, 3] smbd/uid.c:push_conn_ctx(286)
push_conn_ctx(107) : conn_ctx_stack_ndx = 0
[2003/10/09 17:26:43, 3] smbd/sec_ctx.c:set_sec_ctx(329)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2003/10/09 17:26:43, 3] smbd/chgpasswd.c:chat_with_program(430)
Dochild for user tester (uid=0,gid=0)
[2003/10/09 17:26:43, 10] smbd/chgpasswd.c:dochild(211)
Invoking '/usr/bin/passwd tester' as password change program.
[2003/10/09 17:26:43, 100] smbd/chgpasswd.c:expect(265)
expect: expected [*new*password*] received [Changing password for tester.
New password: ] match yes
[2003/10/09 17:26:43, 10] smbd/chgpasswd.c:expect(276)
expect: returning True
[2003/10/09 17:26:43, 100] smbd/chgpasswd.c:expect(231)
expect: sending [something
]
[2003/10/09 17:26:45, 100] smbd/chgpasswd.c:expect(265)
expect: expected [*retype*new*password*] received [
Re-enter new password: ] match no
[2003/10/09 17:26:45, 100] smbd/chgpasswd.c:expect(231)
expect: sending [something
]
[2003/10/09 17:26:45, 100] smbd/chgpasswd.c:expect(265)
expect: expected [*retype*new*password*] received [
Password changed
] match no
[2003/10/09 17:26:45, 2] smbd/chgpasswd.c:expect(271)
expect: Input/output error
[2003/10/09 17:26:45, 3] smbd/chgpasswd.c:talktochild(302)
Response 2 incorrect
[2003/10/09 17:26:45, 3] smbd/chgpasswd.c:chat_with_program(363)
Child failed to change password: tester
[2003/10/09 17:26:45, 5] rpc_parse/parse_samr.c:init_samr_r_chgpasswd_user(6894)
init_r_chgpasswd_user
[2003/10/09 17:26:45, 5] rpc_server/srv_samr_nt.c:_samr_chgpasswd_user(1275)
_samr_chgpasswd_user: 1275
[2003/10/09 17:26:45, 5] rpc_parse/parse_prs.c:prs_debug(60)
000000 samr_io_r_chgpasswd_user
[2003/10/09 17:26:45, 5] rpc_parse/parse_prs.c:prs_ntstatus(618)
0000 status: NT_STATUS_WRONG_PASSWORD


Part of my smb.conf:

[global]
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *new*password* %n\n *retype*new*password* %n\n *password*changed*
passwd chat debug = yes
log level = 100
max log size = 1000
syslog = 1
time server = Yes
unix extensions = Yes
case sensitive = yes
follow symlinks = no
wide links = no
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
printcap name = CUPS
printing = cups
netbios name = s-svr01
server string = Samba %v
workgroup = test
domain admin group = @root
os level = 128

preferred master = yes
domain master = yes
local master = yes

default = homes
guest ok = no
security = user
encrypt passwords = yes
update encrypted = yes
password level = 4
domain logons = yes

logon path = \\%N\profiles
logon script = logon.bat
hide dot files = yes
delete veto files = no
invalid users = bin daemon lp mail games ftp man news uucp sshd ntp at postfix named irc squid ldap pop mailman

Can anyone help me with this please? I know that with this configuration the password changing should work, but it seems I've forgotten
something.

Thanks in advance,

Nerved SysAdmin
 
Hi,
I have the same proble but with w2k. No one can change his passwork from any logged machine.
 
Actually it looks like your password chat is wrong.

"[2003/10/09 17:26:45, 100] smbd/chgpasswd.c:expect(265)
expect: expected [*retype*new*password*] received [
Re-enter new password: ] match no"

change retype to Re-enter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top