This article has been archived and is no longer updated by Apple.

Lion Server: Does not register with WINS server

Lion Server may not properly register with a WINS Server.

If this situation occurs, use the following steps to allow the server to properly register with the WINS server.

  1. On the server, open Terminal.

  2. Execute this command:

    sudo scutil

  3. Execute the following command at the ">" prompt in the Terminal window to verify that RegisterWINSName is set to false (sample output appears in italics):

    > show com.apple.smb <dictionary> { ... ... ... RegisterWINSName : FALSE ... ... WINSServerAddressList : <array> { ... } ... ... }

  4. Execute the following four commands at the ">" prompt in the Terminal window to change the RegisterWINSName to true (sample output appears in italics):

    > get com.apple.smb > d.add RegisterWINSName ? TRUE > set com.apple.smb > show com.apple.smb <dictionary> { ... ... ... RegisterWINSName : TRUE ... ... WINSServerAddressList : <array> { ... } ... ... }

  5. Execute this command at the ">" prompt:

    > quit

  6. Finally, restart the netbiosd process for the change to take effect by using this command:

    sudo killall netbiosd

Published Date: