Solved

Invalid password trying to cannect to Unix server

Posted on 2016-08-31
2
96 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

Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Unix process listing into CSV format 3 53
bash while loop reading input from data section in script 7 71
Strange routing problem between subnets 2 106
Skype password reset 1 32
This article is in response to a question (http://www.experts-exchange.com/Networking/Network_Management/Network_Analysis/Q_28230497.html) here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

733 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