Solved

Invalid password trying to cannect to Unix server

Posted on 2016-08-31
2
55 Views
Last Modified: 2016-09-02
I added a 2nd administrator level user profile to a Windows 7 Pro work group computer and tried to map a drive to a SAMBA share on a SCO Unix server. This is the same thing I've done before on the other computers in the office, and it's always taken mere seconds to do.
1. Open Windows Explorer
2. Click Tools/Map network drive
3. Select the drive letter
4. Browse to the correct share and click OK
5. Check Connect using different credentials
6. Click Finish
7. Enter User name as domain\name
8. Enter the password and click OK
The result is "The specified network password is not correct."...except it is.

The other user profile on this computer has the same drive mapping and works perfectly.

A terminal emulation program used on both profiles connects perfectly to the server using the same credentials.

I created a 3rd user profile in case the 2nd was corrupt, and had the same failure.

While Googling I've seen the procedure below, but I'm reluctant to make changes because the current settings work for the other profile:
1. Run: gpedit.msc
2. Console Root -> Local Computer Policy -> Computer Configuration -> Windows Settings -> -> Security Settings -> Local Policies ->Security Options
3. When you're there change the following policies
    Microsoft network client: Send unencrypted password to third-party SMB server: Switch it to "Enabled".
    Network security: LAN Manager authentication level: Select the option: Send LM & NTLM - use NTLMv2 session security if negotiated.

I've also seen some procedures having to do with settings changes on the Unix box.

The Unix server was install YEARS ago by another consultant, and I know very little about Unix. I have root access to it and have had to make changes to it over the years...directed by someone who knows they're doing. I say all this because if the solution requires changes to server, the solution should come with detailed instruction on how to get where I should be going!

Thank you!

Mark
0
Comment
Question by:markperl1
2 Comments
 
LVL 16

Accepted Solution

by:
vivigatt earned 500 total points
Comment Utility
Try to change the authentication settings (NTLM etc).
If it works, then you know that the problem comes from here.
AFAICR,  only very recent versions of samba can use NTLMv2.
See :
https://kb.iu.edu/d/atvt

You may also have a character in the password that is legit for Windows but not for Samba/Unix (although I can't figure out what character(s) it could be).

But if your Samba server does not use the same user/password directory as the Computer (IOW, if they are not member of the same AD domain), it is very likely that the user/password exists on the Windows machine but not on the Samba machine. If that is the case, you "just" have to add the user(s) to the Samba machine, making sure that they use the same name and password.
See
http://www.cyberciti.biz/faq/adding-a-user-to-a-samba-smb-share/
0
 

Author Closing Comment

by:markperl1
Comment Utility
I went ahead and changed the security policy authentications settings and it worked!

Vivigatt, thank you for your encouragement!

Mark
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now