Solved

Invalid password trying to cannect to Unix server

Posted on 2016-08-31
2
115 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 16

Accepted Solution

by:
vivigatt earned 500 total points
ID: 41780529
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
ID: 41782572
I went ahead and changed the security policy authentications settings and it worked!

Vivigatt, thank you for your encouragement!

Mark
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Enterprise networks where VoIP phones have been deployed frequently use port configurations that allow both a computer and an IP phone to be plugged into the same switch port but use different VLANs. On Cisco equipment I'm referring to the "native V…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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.
Suggested Courses

623 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