Bug 790 - changing password don't work
Summary: changing password don't work
Status: RESOLVED INVALID
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: ntlm_auth tool (show other bugs)
Version: 3.0.0
Hardware: All other
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-18 07:41 UTC by spurnelle
Modified: 2005-11-14 09:28 UTC (History)
0 users

See Also:


Attachments
log of the machine (85.74 KB, text/plain)
2003-11-18 07:43 UTC, spurnelle
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description spurnelle 2003-11-18 07:41:36 UTC
I would like to force changing password. For that, Iset the attribute
sambaPwdMustChange to 0.  When my user (spu) logon to domain,  the w2k client
(SP4) says "The password expire today, you change now" and the user click on
"Yes" button.  The client display a dialog box with user name, domain, old
password and two text box for new password and confim password.  After the user
have clicked to Ok button, the client say The username or old password is not
correct, verify if the verr_maj is not set.  The password is not changed and
profile and share is not accesible. 

Configuration
Samba 3.0.0 with some patches (not latest) compiled with --acl-support --with-ldap
RedHat 8.0 with kernel 2.4.22 and patche XFS
Winbind is not used and my server is full PDC.
Comment 1 spurnelle 2003-11-18 07:43:00 UTC
Created attachment 262 [details]
log of the machine

Log of the test to change password with log level = 10
Comment 2 spurnelle 2003-11-18 07:44:10 UTC
I posted a mail about this problem yesterday (european time) with this subject
[Samba] Changing password on w2k server
Comment 3 spurnelle 2003-11-20 01:05:32 UTC
The LMPassword and NTpassword change but I don't know howto verifu if the
userPassword (I suppose that is the unixpassword) change ?

Configuration problem ?
Comment 4 spurnelle 2003-11-20 01:16:39 UTC
The unixpassword is correctly changed (tested with telnet connection).

Else, why the client that the old password is not correct ?
Comment 5 spurnelle 2003-11-20 04:02:11 UTC
I resume : 
All password is changed, no attribute for password management is changed
(sambaPwdMustChange) and the client says "old password not correct".

BUG : error in check_ntlmpassword
BUG : error in message box of client.

And if the message client is correct, BUG in samba password management, because
samba change password with a incorrect old password.

This bug is URGENT...
A answer please.
Forgot Samba4 for the moment...
Comment 6 spurnelle 2003-11-21 08:05:51 UTC
I CLOSE THE BUG.
I asked the question in a french mialling-list (samba-fr).
five minutes later, I have an answer and I can change password if I change
concerned attribute of my LDAP tree.

==================================================================================
Comment 7 Gerald (Jerry) Carter (dead mail address) 2003-11-22 06:05:54 UTC
close at reporter's request
Comment 8 Gerald (Jerry) Carter (dead mail address) 2005-11-14 09:28:06 UTC
database cleanup