Benches macOS

5

Force finder to use NTLMv2 settings

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hi All,

Need to force finder to use NTLMv2 when connecting to a windows share.

Even with setting "client ntlmv2 auth = yes" in /etc/smb.conf, connecting to the share always resulted in "wrong/bad password error message". It always uses NTLMv1 only. Can anyone point me to any other setting/configuration to enable ntlmv2 for finder.

Between any changes in /etc/smb.conf is picked up by smbclient command line utility.

Thanks in advance.

rohitk

5 replies

Sign in or join Beachball Help to reply.

  1. 0

    Nils C. Anderson

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Interesting. ""client ntlmv2 auth = yes"" should have disabled NTLMv1

    from smb.conf(1):


    client ntlmv2 auth (G)
    .
    .
    .
    Similarly, if enabled, NTLMv1, client lanman auth and client plaintext auth authentication will be dis-
    abled. This also disables share-level authentication.

    Have you checked the smb.conf file using testparm?

    Have you tried also disabling:


    ntlm auth (G)
    This parameter determines whether or not smbd(8) will attempt to authenticate users using the NTLM
    encrypted password response. If disabled, either the lanman password hash or an NTLMv2 response will
    need to be sent by the client.
    If this option, and lanman auth are both disabled, then only NTLMv2 logins will be permited. Not all
    clients support NTLMv2, and most will require special configuration to us it.
    Default: ntlm auth = yes

  2. 0

    pingtosen

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Yes I did try "ntlm auth = no" but could not succeed.

    Only smbclient could recognize the changes in /etc/smb.conf file. As littleSaint mentioned, I would want finder to use ntlmv2.

    May be a little more information could help understand better.

    Am trying to mount a share exposed by OpenSolaris as windows share using SMB protocol. Although linux,windows and solaris are able to mount the share without any problem. On mac, finder is not able to mount. Between I found a commercial tool AdmitMac, which could mount the share without any issue. Tracing the network packets shows NTLMv2 authentication enabled.

    Wondering if there are any settings to control the finder or limitation of finder.

  3. 0

    LittleSaint

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    What version of Mac OS are you running? I thought I had read the NTLMv2 was supported in 10.5. Try looking at the man page for nsmb.conf. I believe that is the file that controls client settings. I don't believe it exists by default. You have to create it.

  4. 0

    pingtosen

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Using Mac OS X v10.6.2 on mac mini.

    With this settings in /etc/nsmb.conf

    [default]

    minauth=ntlmv2

    Mac client and Opensolaris box negotiate LM-0.12(NTLMv2) to use for authentication and later no more packets out from Mac client. If I remove the contents of nsmb.conf, Mac client starts communicating NTLMv1 and finally wrong password notification pops up.

  5. 0

    LittleSaint

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    The OP wants to force his client (Finder) to use NTLMv2 when connecting to shares. AFAIK, smb.conf is for configuring the smb server, not the client.