OS X Lion: Connecting to older SMB servers that do not support UNICODE or NT style commands

Learn how to connect OS X Lion to older SMB servers that do not support UNICODE or NT style commands. This includes Microsoft Windows 98 and some Network Attached Storage (NAS) devices that use the Windows 98 version of the SMB protocol.
This article has been archived and is no longer updated by Apple.

You can determine if you are trying to connect to a device that only supports the earlier protocol by looking for a message such as this in the system.log:

"smb_smb_negotiate: Support for the server SERVER_NAME has been deprecated (PreXP), disconnecting"

To enable OS X Lion to connect to this device, execute the following Terminal command:

sudo sysctl -w net.smb.fs.kern_deprecatePreXPServers=0

This change will be in effect until the OS X Lion computer is restarted.

Learn more

To revert the setting back without restarting, you can execute this Terminal command:

sudo sysctl -w net.smb.fs.kern_deprecatePreXPServers=1

Information about products not manufactured by Apple, or independent websites not controlled or tested by Apple, is provided without recommendation or endorsement. Apple assumes no responsibility with regard to the selection, performance, or use of third-party websites or products. Apple makes no representations regarding third-party website accuracy or reliability. Contact the vendor for additional information.

Published Date: