setting up samba on centos 6 with likewise 6

2
Setting up Samba on CentOS 6 with Likewise 6 The setup is pretty simple but there are a few gotchas that aren’t in the setup instructions. Edit /etc/sysconfig/selinux and change Enforcing to Permissive and reboot. Download, install Likewise 6 and join it to the domain. URL: http://www.beyondtrust.com/Technical-Support/Downloads/PowerBr oker-Identity-Services-Open-Edition/ Install samba and winbind. yum install samba samba-winbind (need winbind installed but not started, first gotcha) chkconfig smb on Edit /etc/samba/smb.conf and make sure you have these correct: [global] security = ADS workgroup = DOMAIN realm = DOMAIN.COM machine password timeout = 0 server string = hostname netbios name = hostname /opt/likewise/bin/samba-interop-install --install cd /var/lib/samba/private/ ln -s secrets.tdb smbpasswd | Another gotcha. Configure at least 1 share in your smb.conf file. /etc/init.d/smb restart

Upload: gavrilo

Post on 10-Aug-2015

45 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: Setting Up Samba on CentOS 6 With Likewise 6

Setting up Samba on CentOS 6 with Likewise 6

The setup is pretty simple but there are a few gotchas that aren’t in the setup instructions.

Edit /etc/sysconfig/selinux and change Enforcing to Permissive and reboot.

Download, install Likewise 6 and join it to the domain. URL: http://www.beyondtrust.com/Technical-Support/Downloads/PowerBroker-Identity-

Services-Open-Edition/

Install samba and winbind. yum install samba samba-winbind (need winbind installed but not started, first gotcha)

chkconfig smb on

Edit /etc/samba/smb.conf and make sure you have these correct: [global] security = ADS workgroup = DOMAIN realm = DOMAIN.COM machine password timeout = 0 server string = hostname netbios name = hostname

/opt/likewise/bin/samba-interop-install --install

cd /var/lib/samba/private/

ln -s secrets.tdb smbpasswd | Another gotcha.

Configure at least 1 share in your smb.conf file.

/etc/init.d/smb restart

Helpful Source: http://www.likewise.com/resources/documentation_library/manuals/lwe/likewise-samba-guide.html