?
Solved

Invalid password trying to cannect to Unix server

Posted on 2016-08-31
2
Medium Priority
?
128 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 2000 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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 …
The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

719 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