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
Epoch & Unix Timestamp Conversion Tools
Viewed 43123 times since Fri, Jun 22, 2018
Mirroring the rootvg Volume Group for AIX
Viewed 3553 times since Mon, May 21, 2018
0516-404 allocp: This system cannot fulfill the allocation request. [AIX]
Viewed 4460 times since Thu, Sep 20, 2018
AIX alt_disk_copy
Viewed 9283 times since Sun, Jun 30, 2019
Configuration of AIX Fast Connect and SMBFS
Viewed 7873 times since Mon, Jun 18, 2018
How to determine why your AIX oslevel is downlevel (and a script to help!)
Viewed 3406 times since Fri, Jul 13, 2018
AIX NFS Version 4 configuration over Kerberos inter-realm setup
Viewed 3426 times since Wed, Jun 27, 2018
AIX HA / HACMP, System Admin↑ Mountguard
Viewed 5737 times since Mon, Jun 3, 2019
How to deal with performance monitoring in AIX ?
Viewed 7378 times since Fri, May 25, 2018
To do a quick check on the number of path present (does not mean all are Enabled] using for loop
Viewed 3352 times since Fri, Jun 8, 2018