Lion Server: Does not register with WINS server

Products Affected

Lion Server

Symptoms

Lion Server may not properly register with a WINS Server.

Resolution

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:
  3. sudo scutil

  4. Execute the following command at the ">" prompt in the Terminal window to verify that RegisterWINSName is set to false (sample output appears in italics):
  5. > show com.apple.smb
    
    <dictionary> {
    ...
    ...
    ...
    RegisterWINSName : FALSE
    ...
    ...
    WINSServerAddressList : <array> {
    ...
    }
    ...
    ...
    }

  6. Execute the following four commands at the ">" prompt in the Terminal window to change the RegisterWINSName to true (sample output appears in italics):
  7. > get com.apple.smb
    > d.add RegisterWINSName ? TRUE
    > set com.apple.smb
    > show com.apple.smb
    
     <dictionary> {
          ...
          ...
          ...
     RegisterWINSName : TRUE
          ...
          ...
     WINSServerAddressList : <array> {
          ...
    } ... ... }

  8. Execute this command at the ">" prompt:
    > quit  
  9. Finally, restart the netbiosd process for the change to take effect by using this command:
    sudo killall netbiosd
Not helpful Somewhat helpful Helpful Very helpful Solved my problem
Ask other users about this article
in Apple Support Communities
See all questions on this article See all questions I have asked