Changing the workgroup/domain

Discussion in 'Linux Networking' started by balubeto, Apr 2, 2014.

  1. balubeto

    balubeto Member

    Messages:
    51
    Likes Received:
    4
    Trophy Points:
    8
    Hi

    I have a computer with Windows and one with Lubuntu 13.10 32-bit.

    How do I change the workgroup/domain of the Linux computer so that both computers automatically see?

    Thanks

    Bye

  2. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,226
    Likes Received:
    415
    Trophy Points:
    83
    http://en.wikibooks.org/wiki/Samba/Configuring_a_Workgroup_from_the_Shell_with_Samba

    Code:
    cd /etc/samba && mv smb.conf smb.conf.orig && nano smb.conf
    then add the following:
    Code:
    [global]
    workgroup = WORKGROUPNAME
    netbios name = NETBIOSNAME
    security = SHARE
    passdb backend = guest
    
    [data]
    comment = Public Data
    path = /srv/myshares
    read only = no
    then add a guest account:
    Code:
     adduser --home /dev/null --shell /bin/false --no-create-home --uid 65533 --disabled-password guest
    and add a password:
    Code:
    smbpasswd -a guest

Share This Page