NTLMSSP, SPN and AIX CIFS

NTLMSSP, SPN and AIX CIFS

Today I had busy time trying to figure out why SMB/CIFS Windows Server 2008 share cannot be mounted in AIX.

AIX # mount -v cifs -n WindowsMachine.re.somewh.ere/sysaccount5/PassWd -o wrkgrp=SOMEGROUP,uid=11345,gid=22345,fmode=750 /projectA$  /tmp/123
There was an error connecting the share or the server.
Make sure the lsdev command shows that device nsmb0 is in
the Available state.  Also make sure that the share name,
user name and password are accurate.

Root cause of the problem

NTLMv2 negotiates using the SPN (when the system is joined to AD)

UNIX system joined with incorrect SPN to the AD. (SPN doesn’t match UNIX FQDN)

Symptom

In this case CIFS share can’t be mounted in AIX. (seems like that AIX CIFS package doesn’t support NTLMSSP yet.)

In Linux it can be mounted only with the “sec=ntlmssp” flag:

Linux # mount.cifs //WindowsMachine.re.somewh.ere/projectA$ /tmp/123 -o username=sysaccount5,password=PassWd,domain=SOMEGROUP,sec=ntlmssp
OK

Solution

To fix the situation set the following on Windows Server:

1. Local Security Policy
Security Settings -> Local Policies -> Security Options
Microsoft network server: Server SPN target name validation level: Off

2. Local Security Policy
Security Settings -> Local Policies -> Security Options
Network security: LAN Manager authentication level: Send LM & NTLM responses

For the point 2., I presume that this can be anything eventually, unless that AIX CIFS package indeed doesn’t support NTLMSSP.

If someone can confirm, feel free to comment.

OR rather join UNIX system with correct SPN. Unless it would be a long story for you :-)

4 (1)
Article Rating (1 Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
Topics: PowerHA / HACMP, Storage Adding a new volume group to an active PowerHA resource group
Viewed 3936 times since Mon, Jun 3, 2019
AIX smtctl The smtctl command controls the enabling and disabling of processor simultaneous multithreading mode.
Viewed 16681 times since Fri, Jan 18, 2019
AIX- Procedure to replace rootvg harddisk
Viewed 6048 times since Tue, Apr 16, 2019
Part 1, Memory overview and tuning memory parameters AIX7
Viewed 5912 times since Wed, Jun 19, 2019
Backing up your VIOS configuration with viosbr.
Viewed 13202 times since Mon, May 28, 2018
Mirroring the rootvg Volume Group for AIX 4.1/4.2
Viewed 4215 times since Mon, May 21, 2018
Trouble Shooting AIX Networking
Viewed 3646 times since Tue, May 22, 2018
Part 3, Monitoring your network packets and tuning the network
Viewed 7164 times since Mon, Jun 4, 2018
AIX, Networking Etherchannel failover testing
Viewed 4230 times since Fri, Apr 19, 2019
AIX, Security, System Admin↑ Clearing password history
Viewed 3745 times since Fri, Apr 19, 2019