SUSE Support

Here When You Need Us

Password renewal does not work when user authenticates against Active Directory

This document (7004059) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Desktop 11

Situation

SLED 11 system is configured to authenticate against Windows Active Directory (AD)  and the authentication does work correctly. But when password reset is needed, the new password is not replicated on the AD, that is, after having set a new password through GDM, it is still not possible to log in with the new password whereas the old one is still valid.
The error might look like the following:
"pam_winbind(passwd:chauthtok): request failed: Invalid parameter, PAM error
was System error (4), NT error was NT_STATUS_INVALID_PARAMETER".

Resolution

Edit "/etc/pam.d/common-password" and make sure that it looks like the following:
password        requisite       pam_pwcheck.so  nullok cracklib
password sufficient pam_unix2.so use_authtok nullok
password sufficient pam_winbind.so
password optional pam_gnome_keyring.so

The order is important.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7004059
  • Creation Date: 31-Jul-2009
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Desktop
    • SUSE Linux Enterprise Desktop

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.