Not able to mount windows share from RHEL system "NT_STATUS_PASSWORD_EXPIRED"

Solution Verified - Updated -

Issue

  • Mounting the Windows share from RHEL system gives error "NT_STATUS_PASSWORD_EXPIRED"
# mount -t cifs //test.example.com/test /mnt/ -ousername=test,password=redhat  
mount error 127 = Key has expired  
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)  
  • Logs output:
Sep 21 11:16:22 hostname1 kernel: Status code returned 0xc0000071 NT\_STATUS\_PASSWORD_EXPIRED  
Sep 21 11:16:22 hostname1 kernel:  CIFS VFS: Send error in SessSetup = -127  
Sep 21 11:16:22 hostname1 kernel:  CIFS VFS: cifs_mount failed w/return code = -127

Environment

  • Red Hat Enterprise Linux 5.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.