Travel

Categories

Windows 2008 R2 + Samba 3.0.33 + Mac Snow Leopard 10.6

I have used Samba server to share UNIX home directories to users for a no. of years. For simplicity, the Samba server is configured as pass through mode, ie, the encrypted password of the windows clients are passed to the windows domain controller for authentication without joining the domain. This is used to work until we have changed the domain controller to 2008R2. Windows 7 (have changed the network security option to allow NTLMv2 optional) & Windows XP have no problem to connect to the samba share but MacOSX failed with the below error on samba ( NT_STATUS_INVALID_PARAMETER)

I have changed different options on the Windows 2008 R2 DC (change GPO and registry to allow NTLMv2 optional) and upgraded the samba to the latest version (3.5.7) or applying different patches as described on the Net.

Finally, I decided the fix should be on the Mac side since both Windows 7 and XP can connect to share. After a no. of trial and error, I have found the fix by creating the below file on mac

/etc/nsmb.conf

[default]
streams=no
notify_off=yes
[samba-server.abc.com]
minauth=ntlmv2_off

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>