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)


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


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
There are no attachments for this article.
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
AIX - How to shutdown or reboot
Viewed 3070 times since Fri, Jun 8, 2018
AIX↑ AIX www links
Viewed 3175 times since Sat, Apr 20, 2019
vfcpmap on VIO Server
Viewed 8994 times since Tue, Jun 4, 2019
sysdumpdev Command
Viewed 1505 times since Mon, Jul 16, 2018
List of 10 Must Know Oracle Database Parameters for Database Administrator
Viewed 112424 times since Thu, Jun 21, 2018
AIX: How to set automatic logoff (only for terminals)
Viewed 2628 times since Mon, Jun 11, 2018
Getting list users and groups in AIX
Viewed 2771 times since Mon, May 28, 2018
AIX perf how to
Viewed 17981 times since Tue, Aug 14, 2018
ILMT Procedure - ILMT / TAD4D / SUA / BFI
Viewed 9621 times since Fri, Jul 5, 2019
Script to make mksysb backup from NIM to LPAR
Viewed 3143 times since Thu, Feb 21, 2019