Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-08-2010, 11:09 AM   #1
LQ Newbie
Registered: Jun 2010
Posts: 6

Rep: Reputation: 0
Trouble mounting Windows 2008 Server share on Red Hat 4 machine

Hello and thanks for the assistance if anybody in the community can provide it

I am having issues mounting a share on a Windows 2008 Server from all of our Redhat 4 machines. I am trying to back up files before wiping and upgrading them to 5. I will try and post as much information that I gathered after trying different things. I am a newer hire for this network and a Linux newbie.

The scenario is this:

1. Windows 2008 Active Directory.
2. Redhat Enterprise 4 machines

I have root access and I tried entering at the terminal:

" smbclient -L "servername" -U "username"

get the "password" prompt

I enter my password and get:

"session setup failed: NT_STATUS_ACCOUNT_LOCKED_OUT."

I check event viewer on the 2008 box and last week was seeing:

Event ID: 4625
Keywords: Audit Failure
etc, etc
"Account for which Logon failed:
Security ID: NULL SID
Account name: anonymous
Account Domain:MYGROUP
Failure Information:
Failure Reason: Uknown user name or bad password
etc, etc

Now the last couple of days the audit failures have not shown up on the 2008 Server box even though I attempted to log in.

The end users used to just use Konquerer smb://"servername"/"share" and it worked but for some reason starting last week this no longer works. Nothing was changed that I know of, this network is in a sealed classified environment with no external access. All additions to the network are monitored and no unapproved software is installed. The lab is in a vault type environment and only a few people know the combination and alarm pass codes so no chance of somebody adding stuff without me knowing it.

I would think with the locked out message it was an issue with my user account but that works fine on the Windows side so I tried my Linux credentials with no success when trying to mount the directory.

Is there something anybody can suggest Linux or Windows side to check? No user accounts work connecting to the Windows share.

p.s. I am aware the above command is only to see the Windows shares but i get the same thing when I just try and mount using CIFS or SMBFS.

Last edited by tpatt100; 06-08-2010 at 11:21 AM. Reason: added something
Old 06-09-2010, 04:10 AM   #2
Senior Member
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Has the password expired?
Old 06-09-2010, 05:00 AM   #3
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 92

The syntax for mounting a Windows (CIFS) share is:

# mount -t cifs //path/to/your/share /your/mount/point -o,username=yourusername,password=yourpassword
If you try the above and get an error regarding the password then most likely your password needs to be changed or is locked.
Old 06-09-2010, 06:37 AM   #4
LQ Newbie
Registered: Jun 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Originally Posted by Agrouf View Post
Has the password expired?
Nope because I can log on the Windows machines fine. The issue is none of the users now can access the share it rejects everybody else's user account and password.
Old 06-09-2010, 09:59 AM   #5
LQ Newbie
Registered: Jun 2010
Posts: 6

Original Poster
Rep: Reputation: 0
I am going to look at the Windows Group Policy for the domain. I have a feeling the problem lies there.
Old 06-09-2010, 11:36 AM   #6
Registered: Jun 2010
Posts: 34

Rep: Reputation: 16
Does the Windows box have access to the Windows Update service?

It may not be something you have done, but we have just gone past a Patch Tuesday that contained a bumper dose of Critical Fixes - some of which were CIFS-related. Default access policies are sometimes reinstated on Windows boxes after big updates. That would expalin why the Windows boxes all still knew how to talk to each other.
Old 06-09-2010, 01:17 PM   #7
LQ Newbie
Registered: Jun 2010
Posts: 6

Original Poster
Rep: Reputation: 0
It was a Windows Group Policy issue. The domain controller had a bunch of hardening done to it before I was hired. It does not get Windows updates either, patches are done manually and quarterly.

I did some Googling and tried disabling these:

Computer Configuration-Windows Settings-Security Settings-


Digitally encrypt or sign secure channel
Microsoft Network Client: Digitally sign communications
Microsoft Network server: Digitally sign communications

did a gpupdate and now the users can mount the shares fine.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble mounting Windows share luckythedonkey Linux - Newbie 2 04-03-2006 01:33 PM
sharing internet from a windows 98 machine to a Red Hat Linux machine ritwiksolutions Linux - Newbie 7 03-14-2006 10:20 AM
Trouble mounting a Windows share lowpro2k3 Slackware 2 10-17-2005 04:38 AM
Accessing Windows share from Red Hat 9 through Samba basu_arani Linux - Software 1 09-13-2003 05:33 AM
Mounting a share on a Windows Client Machine broadsoft Linux - Networking 4 08-05-2003 05:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:11 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration