SAMBA4-BLANKONF2012

  • 882 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
882
On Slideshare
0
From Embeds
0
Number of Embeds
3

Actions

Shares
Downloads
50
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Hidup menawarkan begitu banyak pilihanPilih serta jalani yang terbaik, dan jadilah seorang …! Konferensi BlankOn, Bogor 01 – 02 Desember 2012
  • 2. Tak harus Windows server untuk Domain Controller Lokakarya membangun Active Directory / Domain Controller menggunakan Linux BlankOn dan Samba4 Ramadoni, Magelang Linux admin@invaleed.web.id Konferensi BlankOn, Bogor 01 – 02 Desember 2012
  • 3. Mengapa B ank n ? M ngapa Blankon• BlankOn memiliki segala kebaikan sistem operasi GNU/Linux• Distribusinya dapat diperoleh dengan mudah• Ramah terhadap perangkat keras• Bebas digunakan, dimodifikasi dan disebarluaskan• Dikembangkan dari distro populer - Debian• Dukungan komunitas yang besar dan mumpuni• Tersedianya dokumentasi dan dukungan teknis• Tersedianya jutaan aplikasi pada repositori mandiri BlankOn• Dirilis secara gratis, dan mengemas aplikasi khas Indonesia•AAman dari virus d i i• Mudah dalam penggunaan dan administrasinya• Asli racikan Indonesia• Dll Konferensi BlankOn, Bogor 01 – 02 Desember 2012
  • 4. Mengapa SAMBA 4 ? M ngapaFITUR• Full Active Directory / Domain Controller• File Sharing• Printer Sharing• Integrasi dengan DNS• Integrasi dengan LDAPADMINISTRASi• Mudah dikonfigurasikan• Handal & mumpuni d l• Free of charge Konferensi BlankOn, Bogor 01 – 02 Desember 2012
  • 5. B ANK N BLANKON - SAMBA 4Apakah bisa nggant an p rs n n s Act v r ct ryApa ah b sa menggantikan 100 persen Windows Active Directory ?Fungsi yang p p g y g popular p pada Microsoft Active Directory y y yaitu Organization gUnit (OU) dan Group Policy (GPO), fitur tersebut dapat berfungsi baik (GPO),pada SAMBA4,Protokol Samba memungkinkan server Linux/UNIX untukberkomunikasi dengan mesin client yang mengunakan OS Windowsdalam satu jaringan, sehingga sistem ini dapat terintegrasi dengan systemoperasi Linux, Windows XP Profesional, Windows Vista, Windows 7, danjuga Macintosh Macintosh. Konferensi BlankOn, Bogor 01 – 02 Desember 2012
  • 6. Cakupan lokakarya kakaryaTASK LISt :- Instalasi Linux BlankOn- Instalasi dan Konfigurasi SAMBA4- Instalasi dan Konfigurasi DNS BIND- Instalasi dan Konfigurasi kerberos g- Join Domain- Manajemen users & computers- Implementasi GPO & Roaming Profile- Membuat HotBackup Konferensi BlankOn, Bogor 01 – 02 Desember 2012
  • 7. Konferensi BlankOn, Bogor 01 – 02 Desember 2012
  • 8. B RKAS contekan BERKAS c n kan# apt-get install build-essential libacl1-dev libattr1-dev libblkid-dev libgnutls-dev libreadline-dev python-dev python-dnspython gdb pkg-config libpopt-devlibldap2-dev dnsutils libbsd-dev attr krb5-user# cd /usr/local/src# wget http://ftp.samba.org/pub/samba/rc/samba-4.0.0rc5.tar.gz# tar -xvf samba-4.0.0rc5.tar.gz# cd samba-4.0.0rc5# ./configure --enable-debug --enable-selftest / fi bl d b bl lft t# make# make install# /usr/local/samba/bin/samba-tool domain provision --realm=sesuatu.blankon.in --domain BLANKONFdomain=BLANKONF --adminpass=p@ssw0rd --server-role=dc --dns-backend=BIND9 DLZ adminpass p@ssw0rd server role dc dns backend BIND9_DLZ# /usr/local/samba/sbin/samba -i -M single –d3# /usr/local/samba/bin/smbclient -L localhost -U%# smbclient //localhost/netlogon -UAdministrator%p@ssw0rd -c ls# apt-get install bind9# vi /etc/resolv.confdomain sesuatu.blankon.innameserver 192.168.1.2 Konferensi BlankOn, Bogor 01 – 02 Desember 2012
  • 9. B RKAS contekan BERKAS c n kan# vi /etc/bind/named.confinclude "/usr/local/samba/private/named.conf";# vi /etc/default/bind9OPTION="-4 -u bind"# named-checkconf# /etc/init.d/bind9 restart# host -t A samba.blankonf.blankon.in.# host -t SRV _ldap._tcp.blankonf.blankon.in.# host -t SRV _kerberos._udp.blankonf.blankon.in.# mv /etc/krb5.conf /etc/krb5.conf.orig# cp /usr/local/samba/share/setup/krb5.conf /etc/# vi /etc/krb5.confdefault_realm = BLANKONF.BLANKON.IN# vi /etc/bind/named.conf.optionstkey-gssapi-keytab "/usr/local/samba/private/dns.keytab";# kinit administrator@BLANKONF.BLANKON.IN# klist Konferensi BlankOn, Bogor 01 – 02 Desember 2012
  • 10. B RKAS contekan BERKAS c n kan# vi /usr/local/samba/etc/smb.conf[global] printcap name = /dev/null load printers = no printing = bsd# /usr/local/samba/bin/wbinfo -u# /usr/local/samba/bin/samba-tool user add demo2# /usr/local/samba/bin/wbinfo --name-to-sid USERNAME# /usr/local/samba/bin/wbinfo --sid-to-uid xxx# /usr/local/samba/sbin/samba_dnsupdate --verbose --all-names / /l l/ b / bi / b d d b ll# wget http://anonscm.debian.org/loggerhead/pkg-samba/samba4/unstable/download/head:/1833%40fc4039ab-9d04-0410-8cac-899223bdd6b0:trunk%252Fsamba4:debian%252Fsamba4.init/samba4.init -O/etc/init.d/samba4/etc/init d/samba4# sed -i s|/usr/sbin|/usr/local/samba/sbin|g /etc/init.d/samba4# chmod 755 /etc/init.d/samba4# update-rc.d samba4 defaults Konferensi BlankOn, Bogor 01 – 02 Desember 2012
  • 11. B rkas amp ran Berkas lampiranIsi berkas /usr/local/samba/etc/smb.conf# Global parameters[global] workgroup = BLANKONF realm = blankonf.blankon.in netbios name = SAMBA server role = active directory domain controller server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind, ntp_signd, kcc,dnsupdate printcap name = /dev/null load printers = no printing = bsd[netlogon] path = /usr/local/samba/var/locks/sysvol/blankonf.blankon.in/scripts read only = No[sysvol] path = /usr/local/samba/var/locks/sysvol read only = No[profiles] path = /usr/local/samba/var/profiles read only = no[share] path = /data comment = Sh i t Sharing D t Data read only = no browseable = yes writeable = yes guest ok = yes vfs object = recycle config file = / g /usr/local/samba/etc/recycle.conf / / / / y recycle:repository = Recycle Bin recycle:keeptree = Yes recycle:versions = Yes Konferensi BlankOn, Bogor 01 – 02 Desember 2012
  • 12. B rkas amp ran Berkas lampiranIsi berkas /usr/local/samba/etc/recycle.conf name = Recycle Bin mode = KEEP_DIRECTORIES|VERSIONS|TOUCH maxsize = 0 exclude = *.tmp|*.temp|*.o|*.obj|~$*|*.~??|*.log|*.trace excludedir = /tmp|/temp|/cache noversions = *.doc|*.ppt|*.dat|*.ini|*.xls|*.pdfIsi berkas /etc/krb5.conf[libdefaults] default_realm = BLANKONF.BLANKON.IN dns_lookup_realm = false dns_lookup_kdc = trueIsi berkas /etc/bind/named.confinclude "/etc/bind/named.conf.options";include "/etc/bind/named.conf.local";include "/etc/bind/named.conf.default-zones";include "/usr/local/samba/private/named.conf";Isi berkas /etc/network/interfacesauto loiface lo inet loopbackiface eth0 inet staticaddress 192.168.1.4netmasks 255.255.255.0gateway 192.168.1.1dns-nameservers 192.168.1.4dns-search blankonf.blankon.in Konferensi BlankOn, Bogor 01 – 02 Desember 2012
  • 13. Bahan r f r ns referensi• http://blankonlinux.or.id• https://wiki.samba.org/index.php/Samba4/HOWTO• https://www.isc.org/software/bind htt // i / ft /bi d• http://debian.org• google.com• wikipedia.com iki di Konferensi BlankOn, Bogor 01 – 02 Desember 2012
  • 14. Silakan bertanya…SILAKAN Berkomentar Konferensi BlankOn, Bogor 01 – 02 Desember 2012
  • 15. Terima kasih Matur nuwunKamsiah tararengkyuKamsiah & tararengkyu Hatur NUHun Konferensi BlankOn, Bogor 01 – 02 Desember 2012