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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content