{"id":4149,"date":"2013-06-22T18:38:10","date_gmt":"2013-06-22T15:38:10","guid":{"rendered":"http:\/\/www.koraykey.com\/?p=4149"},"modified":"2013-06-22T18:38:10","modified_gmt":"2013-06-22T15:38:10","slug":"linux-isletim-sistemlerinde-yazici-sunucusu-yapilandirmasi-samba-print-server","status":"publish","type":"post","link":"https:\/\/www.koraykey.com\/?p=4149","title":{"rendered":"Linux \u0130\u015fletim Sistemlerinde Yaz\u0131c\u0131 Sunucusu Yap\u0131land\u0131rmas\u0131 (Samba Print Server)"},"content":{"rendered":"<p style=\"text-align: justify;\"><a href=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/LinuxAll.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-797\" alt=\"LinuxAll\" src=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/LinuxAll.jpg\" width=\"250\" height=\"250\" srcset=\"https:\/\/www.koraykey.com\/wp-content\/uploads\/LinuxAll.jpg 250w, https:\/\/www.koraykey.com\/wp-content\/uploads\/LinuxAll-150x150.jpg 150w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Bu makalemizde \u201cLinux \u0130\u015fletim Sistemlerinde Yaz\u0131c\u0131 Sunucusu Yap\u0131land\u0131rmas\u0131 (Samba Print Server)\u201d konusunu inceleyece\u011fiz. Kurulum i\u015flemimizi \u201cCentOS Linux 6.4 \u0130\u015fletim Sistemi\u201d \u00fczerinde ger\u00e7ekle\u015ftirece\u011fiz. Kurulum ad\u0131mlar\u0131 Red Hat t\u00fcrevi i\u015fletim sistemleri ile olduk\u00e7a benzerdir.<\/span><\/p>\n<p><span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\"><strong>Samba Nedir ?<\/strong><\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Samba, Linux\/Unix i\u015fletim sistemleri ile Windows i\u015fletim sistemleri aras\u0131ndaki ileti\u015fim kuran bir a\u011f sunucusu yaz\u0131l\u0131m\u0131d\u0131r. Linux\u2019ta arka planda \u00e7al\u0131\u015fan bu Deamon Windows istemcilerinin samba kurulu olan sunucuda payla\u015f\u0131ma a\u00e7\u0131lm\u0131\u015f dosya ve dizinlere ula\u015f\u0131lmas\u0131na olanak tan\u0131r bunun yan\u0131nda istemcilerin yaz\u0131c\u0131 isteklerinide y\u00f6netebilir. Tam olarak Samba yap\u0131land\u0131r\u0131lm\u0131\u015f bir Linux sunucusu, genel olarak dizinleri payla\u015ft\u0131rabilir, aktif dizin servisi (ADS \u2013 Active Directory Services) verebilir ayr\u0131ca PDC (Birincil Alan Denetleyicisi) olarak da \u00e7al\u0131\u015fabilir, Windows istemcileri ile kullan\u0131c\u0131 onay\u0131 yapar, kaynaklar\u0131 (dizinleri ve yaz\u0131c\u0131lar\u0131) payla\u015ft\u0131r\u0131r ve kullan\u0131c\u0131 oturumlar\u0131n\u0131 uyarlar. Samba Windows istemcileri (clients) i\u00e7in dosya, yaz\u0131c\u0131 servisi sa\u011flaman\u0131n d\u0131\u015f\u0131nda istemciler i\u00e7in i\u015flevsellik ve yard\u0131mc\u0131 uygulamalar i\u00e7erir.<\/span><\/p>\n<p><span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\"><strong>Samba Sunucusunun Yapabildikleri<\/strong><\/span><\/p>\n<ul>\n<li style=\"text-align: justify;\"><a title=\"Linux \u0130\u015fletim Sistemlerinde Dosya Sunucusu Yap\u0131land\u0131rmas\u0131 (Samba \/ Cifs File Server)\" href=\"http:\/\/www.koraykey.com\/?p=744\"><span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">File server ( Windows\u2019tan Linux\u2019e, Linux\u2019tan Windows\u2019a )<\/span><\/a><\/li>\n<li style=\"text-align: justify;\"><span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Print server ( Windows\u2019tan Linux\u2019e, Linux\u2019tan Windows\u2019a )<\/span><\/li>\n<li style=\"text-align: justify;\"><a title=\"Linux \u0130\u015fletim Sistemlerinde Birincil Etki Alan\u0131 Sunucu Yap\u0131land\u0131rmas\u0131 (Samba Domain Controller)\" href=\"http:\/\/www.koraykey.com\/?p=3842\"><span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">PDC (Windows ve Linux i\u00e7in Birincil Etki Alan\u0131 Denetleyicisi) vb.<\/span><\/a><\/li>\n<li style=\"text-align: justify;\"><span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Wins Server<\/span><\/li>\n<li style=\"text-align: justify;\"><span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Master Browser<\/span><\/li>\n<li style=\"text-align: justify;\"><span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Domain Browser<\/span><\/li>\n<\/ul>\n<p style=\"text-align: justify;\">1. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">\u00d6ncelikle \u201cSamba\u201d ve \u201cActive Directory\u201d entegrasyonu i\u00e7in <a title=\"Linux \u0130\u015fletim Sistemlerinde Kerberos ile Kimlik Do\u011frulama\" href=\"http:\/\/www.koraykey.com\/?p=776\">\u201cLinux \u0130\u015fletim Sistemlerinde Kerberos ile Kimlik Do\u011frulama\u201d<\/a>\u00a0 yaz\u0131m\u0131zdaki ad\u0131mlar\u0131 uygulayarak sunucumuzu etki alan\u0131m\u0131za \u00fcye yap\u0131yoruz.. Yaz\u0131m\u0131zda grafik aray\u00fcz (gui) veya komut istemcisinden ayarlar\u0131m\u0131z\u0131 nas\u0131l yapaca\u011f\u0131m\u0131z anlat\u0131lm\u0131\u015ft\u0131r. A\u015fa\u011f\u0131daki ad\u0131mlar \u201cLinux \u0130\u015fletim Sistemlerinde Kerberos ile Kimlik Do\u011frulama\u201d yaz\u0131m\u0131zdaki paketlerin kurulu oldu\u011fu ve \u201cKerberos\u201d yap\u0131land\u0131rmas\u0131n\u0131n yap\u0131ld\u0131\u011f\u0131 varsay\u0131larak d\u00fczenlenmi\u015ftir.<\/span><\/p>\n<p style=\"text-align: justify;\">2. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Sunucumuza gerekli olan &#8220;Linux Cups&#8221; print server paketlerimizi kuruyoruz ve servisimizi sistemimiz ba\u015flarken otomatik a\u00e7\u0131lacak \u015fekilde yap\u0131land\u0131r\u0131yoruz.<br \/>\n<\/span><\/p>\n<pre class=\"brush: bash; gutter: false; first-line: 1\"><span style=\"font-family: courier new,courier; font-size: 12px;\">-- Linux Cups paketlerimizi kuruyoruz.\r\n\r\n# yum -y install cups*\r\n\r\n-- Linux Cups servisimizi ba\u015flat\u0131yoruz.\r\n\r\n# service cups start\r\n\r\n-- Linux Cups servisimizi sunucumuz ba\u015flad\u0131\u011f\u0131nda otomatik a\u00e7\u0131lacak \u015fekilde\r\nyap\u0131land\u0131r\u0131yoruz.\r\n\r\n# chkconfig cups on\r\n<\/span><\/pre>\n<p style=\"text-align: justify;\">3. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Sistemimize ba\u011flayaca\u011f\u0131m\u0131z yaz\u0131c\u0131 s\u00fcr\u00fcc\u00fcs\u00fc sistemimizde mevcut de\u011filse &#8220;Linux&#8221; i\u015fletim sistemi i\u00e7in uygun olan versiyonunu buluyoruz ve sistemimize y\u00fckl\u00fcyoruz.<\/span><\/p>\n<pre class=\"brush: bash; gutter: false; first-line: 1\"><span style=\"font-family: courier new,courier; font-size: 12px;\"># rpm -Uvh hplip-3.13.5_rhel-6.0.x86_64.rpm <\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">Preparing...                ########################################### [100%]<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">   1:hplipfull              ########################################### [100%]<\/span><\/pre>\n<p style=\"text-align: justify;\">4. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Sunucumuz \u00fczerinden web taray\u0131c\u0131m\u0131z\u0131 arac\u0131l\u0131\u011f\u0131 ile Linux Cups y\u00f6netim konsoluna ba\u011flan\u0131yoruz. Konsola ba\u011flanabilmek i\u00e7in sunucu \u00fczerinden bu i\u015flemi yapmal\u0131y\u0131z veya ekran\u0131 &#8220;export&#8221; ederek &#8220;firefox&#8221; \u00e7al\u0131\u015ft\u0131r\u0131larak yap\u0131lmal\u0131d\u0131r. Aksi takdirde eri\u015fmek m\u00fcmk\u00fcn olmayacakt\u0131r. A\u00e7\u0131lan konsolumuzda yeni yaz\u0131c\u0131 eklemek i\u00e7in &#8220;Add Printer&#8221; d\u00fc\u011fmesine t\u0131kl\u0131yoruz.<\/span><\/p>\n<pre class=\"brush: bash; gutter: false; first-line: 1\"><span style=\"font-family: courier new,courier; font-size: 12px;\">-- Web taray\u0131c\u0131m\u0131z\u0131n adres \u00e7ubu\u011funa a\u015fa\u011f\u0131daki adresi yaz\u0131yoruz.\r\n\r\nhttps:\/\/localhost:631\/admin\/<\/span><\/pre>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4160\" alt=\"SambaPrnInstall_1\" src=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_1.jpg\" width=\"1024\" height=\"562\" srcset=\"https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_1.jpg 1024w, https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_1-640x351.jpg 640w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">5. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Konsolumuz bizden kullan\u0131c\u0131 ad\u0131 ve parolam\u0131z\u0131 istiyor. Burada sistemimizin &#8220;root&#8221; kullan\u0131c\u0131 ve parolas\u0131n\u0131 giriyoruz ard\u0131ndan &#8220;OK&#8221; d\u00fc\u011fmesine t\u0131kl\u0131yoruz.<\/span><\/p>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4162\" alt=\"SambaPrnInstall_2\" src=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_2.jpg\" width=\"1024\" height=\"562\" srcset=\"https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_2.jpg 1024w, https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_2-640x351.jpg 640w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">6. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Konsolumuzda yaz\u0131c\u0131 t\u00fcr\u00fcm\u00fcz\u00fc se\u00e7iyoruz. Benim a\u011f\u0131mda olan yaz\u0131c\u0131y\u0131 &#8220;Discovered Network Printers&#8221; se\u00e7ene\u011finde buldu\u011fu i\u00e7in oradan se\u00e7iyorum ve &#8220;Continue&#8221; d\u00fc\u011fmesine t\u0131kl\u0131yorum.<\/span><\/p>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4163\" alt=\"SambaPrnInstall_3\" src=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_3.jpg\" width=\"1024\" height=\"562\" srcset=\"https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_3.jpg 1024w, https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_3-640x351.jpg 640w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">7.\u00a0 <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Yaz\u0131c\u0131 ismini ve bulundu\u011fu lokasyonuayarl\u0131yoruz. Burada yaz\u0131c\u0131 isminde bo\u015fluk vb. olmamal\u0131d\u0131r.<\/span><\/p>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4164\" alt=\"SambaPrnInstall_4\" src=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_4.jpg\" width=\"1024\" height=\"562\" srcset=\"https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_4.jpg 1024w, https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_4-640x351.jpg 640w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">8. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Yaz\u0131c\u0131m\u0131z i\u00e7in uygun s\u00fcr\u00fcc\u00fcy\u00fc se\u00e7iyoruz. Burada g\u00f6r\u00fclen s\u00fcr\u00fcc\u00fc az \u00f6nce y\u00fckledi\u011fimiz s\u00fcr\u00fcc\u00fcd\u00fcr. E\u011fer Sistemimizde yaz\u0131c\u0131m\u0131za uygun y\u00fckl\u00fc bir s\u00fcr\u00fcc\u00fc varsa bunuda kullanabiliriz. Gerekli se\u00e7imi yapt\u0131kdan sonra &#8220;Add Printer&#8221; d\u00fc\u011fmesine t\u0131kl\u0131yoruz.<\/span><\/p>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_5.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4165\" alt=\"SambaPrnInstall_5\" src=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_5.jpg\" width=\"1024\" height=\"562\" srcset=\"https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_5.jpg 1024w, https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_5-640x351.jpg 640w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">9. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Yaz\u0131c\u0131m\u0131z\u0131n kurulumu tamamland\u0131. Ayarlamam\u0131z gereken ba\u015fka se\u00e7eneklerimiz varsa bu b\u00f6l\u00fcmde ayarl\u0131yoruz.<\/span><\/p>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_6.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4166\" alt=\"SambaPrnInstall_6\" src=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_6.jpg\" width=\"1024\" height=\"562\" srcset=\"https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_6.jpg 1024w, https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_6-640x351.jpg 640w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">10.\u00a0<span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Konsolumuzda &#8220;Printers&#8221; sekmesine ge\u00e7ti\u011fimizde kurmu\u015f oldu\u011fumuz yaz\u0131c\u0131lar\u0131n bir listesini g\u00f6rebiliriz.<\/span><\/p>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_7.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4167\" alt=\"SambaPrnInstall_7\" src=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_7.jpg\" width=\"1024\" height=\"562\" srcset=\"https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_7.jpg 1024w, https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_7-640x351.jpg 640w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">11.<span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\"> Konsolumuzda &#8220;Administration&#8221; sekmesine gelerek geli\u015fmi\u015f ayarlar\u0131 a\u015fa\u011f\u0131daki gibi ayarl\u0131yoruz.<\/span><\/p>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_8.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4168\" alt=\"SambaPrnInstall_8\" src=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_8.jpg\" width=\"1024\" height=\"562\" srcset=\"https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_8.jpg 1024w, https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_8-640x351.jpg 640w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\"><strong>Active Directory (ADS \u2013 Active Directory Services) Entegre Yap\u0131land\u0131rma<\/strong><\/span><\/p>\n<p style=\"text-align: justify;\">12. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Sunucumuzda \u201csamba\u201d servisimizi ba\u015flat\u0131yoruz ve sistemimiz a\u00e7\u0131l\u0131rken otomatik ba\u015flamas\u0131 i\u00e7in gerekli ayarlar\u0131 yap\u0131yoruz.<\/span><\/p>\n<pre class=\"brush: bash; gutter: false; first-line: 1\"><span style=\"font-family: courier new,courier; font-size: 12px;\">-- Servisimizi Ba\u015flatmak i\u00e7in<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># service smb start<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">-- Sistemimiz ba\u015flarken otomatik ba\u015flmas\u0131 i\u00e7in<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># chkconfig smb on\r\n\r\n-- Samba servisimizin \"CUPS\" deste\u011fini kontrol ediyoruz. A\u015fa\u011f\u0131daki gibi bir\r\n\u00e7\u0131kt\u0131 al\u0131yorsak sorun yoktur. Aksi takdirde sistemimiz \u00e7al\u0131\u015fmayacakt\u0131r.\r\n\r\n# smbd -b | grep CUPS\r\n\r\n\u00a0\u00a0 HAVE_CUPS_CUPS_H\r\n\u00a0\u00a0 HAVE_CUPS_LANGUAGE_H\r\n\u00a0\u00a0 HAVE_CUPS\r\n\u00a0\u00a0 HAVE_LIBCUPS\r\n\r\n-- Yaz\u0131c\u0131lar\u0131m\u0131z\u0131 y\u00f6netebilmesi i\u00e7in gerekli yetki atamam\u0131z\u0131 yap\u0131yoruz.\r\n\r\n# <\/span><span style=\"font-family: courier new,courier; font-size: 10px;\">net rpc rights grant 'KORAYKEY\\Domain Admins' SePrintOperatorPrivilege -U administrator<\/span><span style=\"font-family: courier new,courier; font-size: 12px;\">\r\n\r\nEnter administrator's password: **********\r\nSuccessfully granted rights.\r\n\r\n-- Varolan yetkili kullan\u0131c\u0131lar\u0131 g\u00f6rmek i\u00e7in\r\n\r\n# net rpc rights list accounts -U administrator\r\nEnter administrator's password: **********\r\n\r\nBUILTIN\\Print Operators\r\nNo privileges assigned\r\n\r\nBUILTIN\\Account Operators\r\nNo privileges assigned\r\n\r\nBUILTIN\\Backup Operators\r\nNo privileges assigned\r\n\r\nBUILTIN\\Server Operators\r\nNo privileges assigned\r\n\r\nKORAYKEY\\Domain Admins\r\nSePrintOperatorPrivilege\r\n\r\nBUILTIN\\Administrators\r\nSeMachineAccountPrivilege\r\nSeTakeOwnershipPrivilege\r\nSeBackupPrivilege\r\nSeRestorePrivilege\r\nSeRemoteShutdownPrivilege\r\nSePrintOperatorPrivilege\r\nSeAddUsersPrivilege\r\nSeDiskOperatorPrivilege\r\nSeSecurityPrivilege\r\nSeSystemtimePrivilege\r\nSeShutdownPrivilege\r\nSeDebugPrivilege\r\nSeSystemEnvironmentPrivilege\r\nSeSystemProfilePrivilege\r\nSeProfileSingleProcessPrivilege\r\nSeIncreaseBasePriorityPrivilege\r\nSeLoadDriverPrivilege\r\nSeCreatePagefilePrivilege\r\nSeIncreaseQuotaPrivilege\r\nSeChangeNotifyPrivilege\r\nSeUndockPrivilege\r\nSeManageVolumePrivilege\r\nSeImpersonatePrivilege\r\nSeCreateGlobalPrivilege\r\nSeEnableDelegationPrivilege\r\n\r\nEveryone\r\nNo privileges assigned\r\n<\/span><\/pre>\n<p style=\"text-align: justify;\">13. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Linux Cups ayarlar\u0131m\u0131z tamamland\u0131. \u015eimdi &#8220;samba&#8221; \u00fczerinden yaz\u0131c\u0131m\u0131z\u0131 payla\u015ft\u0131rmaya ve ayarlar\u0131m\u0131z\u0131 yapmaya ba\u015fl\u0131yoruz. Sunucumuzda \u201cKerberos\u201d ayarlar\u0131m\u0131z bittikten sonra\u00a0\u201d\/etc\/samba\/smb.conf\u201d dosyas\u0131n\u0131 a\u00e7arak \u201cSamba\u201d sunucu ayarlar\u0131m\u0131z\u0131 yap\u0131yoruz. Ayn\u0131 dosyada payla\u015f\u0131ma a\u00e7t\u0131\u011f\u0131m\u0131z dizinin ve yaz\u0131c\u0131 bilgilerini yap\u0131land\u0131r\u0131yoruz.<br \/>\n<\/span><\/p>\n<pre class=\"brush: bash; gutter: false; first-line: 1\"><span style=\"font-family: courier new,courier; font-size: 12px;\">-- Sunucumuzda yaz\u0131c\u0131 s\u00fcr\u00fcc\u00fclerini koyaca\u011f\u0131m\u0131z bir dizin olu\u015fturuyoruz.<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># mkdir -p \/u01\/printers\r\n<\/span><span style=\"font-family: courier new,courier; font-size: 12px;\"># chmod -R 770 \/printers\r\n<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># vim \/etc\/samba\/smb.conf<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">-- Dosyas\u0131n\u0131 a\u00e7\u0131yoruz a\u015fa\u011f\u0131daki \"global \"de\u011fi\u015fkenlerini kendi sistemimize g\u00f6re<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">d\u00fczenleyerek ekliyoruz. Baz\u0131 sat\u0131rlar varolabilir bunlar\u0131 dikkatlice d\u00fczenliyoruz.<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># Samba Server Global Configuration<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">[global] <\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">   workgroup = KORAYKEY<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">   realm = KORAYKEY.NET<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">   preferred master = no<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">   server string = Samba Server Version %v<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">   security = ads<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">   encrypt passwords = yes<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">   log level = 3<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">   log file = \/var\/log\/samba\/%m<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">   max log size = 50<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">   printcap name = cups<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">   printing = cups<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">   winbind enum users = yes<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">   winbind enum groups = yes<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">   winbind use default domain = yes<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">   winbind nested groups = yes<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">   winbind separator = +<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">   idmap uid = 1000-20000<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">   idmap gid = 1000-20000<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">   template shell = \/bin\/bash<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># Samba Server Printer &amp; Shared Folder Configuration<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">[printers]<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 comment = All Printers<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 path = \/var\/spool\/samba<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 browseable = yes<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 guest ok = no<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 writable = no<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 printable = yes<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 printing = CUPS<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">[Print$]<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        comment = Yazici Suruculeri<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        browseable = yes<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        path = \/u01\/printers\/<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        read only = yes<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        public = yes<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        force user = %U<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        force group = \"KORAYKEY+Domain Users\"<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        force create mode = 0660<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        create mask = 0660<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        force directory mode = 0770<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        valid users = @\"KORAYKEY+Domain Users\"<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        admin users = @\"KORAYKEY+Domain Users\"<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">\twrite list = @\"KORAYKEY+Domain Users\"<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">[IT_Printer]<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        path = \/var\/spool\/samba\/<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        browseable = yes<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        printable = yes<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        printer name = HP_Deskjet_4620_series<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        public = no<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        force user = %U<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        force group = \"KORAYKEY+Domain Admins\"<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        valid users = @\"KORAYKEY+Domain Users\"<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        admin users = @\"KORAYKEY+Domain Admins\"<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">-- Yukar\u0131da bulunan \"[Print$]\" payla\u015f\u0131m\u0131 gizli bir payla\u015f\u0131md\u0131r sunucumuzda\r\ng\u00f6r\u00fcls\u00fcn istiyorsak \"$\" i\u015faretini kald\u0131rmal\u0131y\u0131z.<\/span><\/pre>\n<p style=\"text-align: justify;\">14. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Yapt\u0131\u011f\u0131m\u0131z ayarlar\u0131n ge\u00e7erli olmas\u0131 i\u00e7in samba yap\u0131land\u0131rmam\u0131z\u0131 yeniden y\u00fckl\u00fcyoruz. Bunu servisimizi yeniden ba\u015flatarak veya yap\u0131land\u0131rmam\u0131z\u0131 yeniden y\u00fckleyerek yapabiliriz.<\/span><\/p>\n<pre class=\"brush: bash; gutter: false; first-line: 1\"><span style=\"font-family: courier new,courier; font-size: 12px;\">-- Servisimizi yeniden ba\u015flatmak i\u00e7in<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># service smb restart<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">-- Yap\u0131land\u0131rmam\u0131z\u0131 yeniden y\u00fcklemek i\u00e7in<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># smbcontrol all reload-config<\/span><\/pre>\n<p style=\"text-align: justify;\"><span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\"><strong>Samba Servisini<\/strong><strong>\u00a0(Active Directory Servisi Olmadan) Yerel Hesaplarla Yap\u0131land\u0131rma<\/strong><\/span><\/p>\n<p style=\"text-align: justify;\">15. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Sistemimize gerekli olan &#8220;samba&#8221; ve &#8220;cups&#8221; paketlerimizi kuruyoruz.<\/span><\/p>\n<pre class=\"brush: bash; gutter: false; first-line: 1\"><span style=\"font-family: courier new,courier; font-size: 12px;\">-- \u00d6ncelikle sistemimizde bulunan eski \"samba\" paketlerini kald\u0131r\u0131yoruz.<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># yum -y remove samba*<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">-- Sistemimize \"samba4\" ve \"cups\" paketlerini kuruyoruz.<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># yum -y install samba4* cups*<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">-- Servisimizi Ba\u015flatmak i\u00e7in<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># service smb start<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">-- Sistemimiz ba\u015flarken otomatik ba\u015flmas\u0131 i\u00e7in<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># chkconfig smb on<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">-- \u0130stemcimizi etki alan\u0131na \u00fcye yapmadan \u00f6nce sistemimizi yeniden ba\u015flat\u0131yoruz.<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># shutdown -r now<\/span><\/pre>\n<p style=\"text-align: justify;\">16. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Sunucumuzda \u201cSamba\u201d servisimiz taraf\u0131ndan kullan\u0131lacak kullan\u0131c\u0131 ve gruplar\u0131 olu\u015fturuyoruz.<\/span><\/p>\n<pre class=\"brush: bash; gutter: false; first-line: 1\"><span style=\"font-family: courier new,courier; font-size: 12px;\">-- Grup Olu\u015fturmak i\u00e7in a\u015fa\u011f\u0131daki komutu kullan\u0131yoruz.<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># groupadd it_dep_group<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">-- Kullan\u0131c\u0131lar\u0131m\u0131z\u0131 olu\u015fturup yukar\u0131da olu\u015fturdu\u011fumuz<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">\"it_dep_group\" grubuna \u00fcye yap\u0131yoruz.<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># useradd ituser1 -G it_dep_group<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">-- Kullan\u0131c\u0131m\u0131z i\u00e7in parola belirliyoruz.<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># passwd ituser1<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">Changing password for user ituser1.<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">New password: <\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">BAD PASSWORD: it is based on a dictionary word<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">BAD PASSWORD: is too simple<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">Retype new password: <\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">passwd: all authentication tokens updated successfully.<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">-- Kullan\u0131c\u0131m\u0131z\u0131n olu\u015ftu\u011funu ve grubumuz \u00fcye oldu\u011funu kontrol ediyoruz.<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># id ituser1<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">uid=54323(ituser1) gid=54325(ituser1) groups=54325(ituser1),54324(it_dep_group)<\/span><\/pre>\n<p style=\"text-align: justify;\">17. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Olu\u015fturmu\u015f oldu\u011fumuz kullan\u0131c\u0131m\u0131z i\u00e7in samba parolalar\u0131n\u0131 olu\u015fturuyoruz.<\/span><\/p>\n<pre class=\"brush: bash; gutter: false; first-line: 1\"><span style=\"font-family: courier new,courier; font-size: 12px;\"># smbpasswd -a ituser1<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">New SMB password:<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">Retype new SMB password:<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">Forcing Primary Group to 'Domain Users' for ituser1<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">Forcing Primary Group to 'Domain Users' for ituser1<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">Added user ituser1.<\/span><\/pre>\n<p style=\"text-align: justify;\">18. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Sunucumuzdaki Samba yap\u0131land\u0131rma dosyas\u0131 \u201c\/etc\/samba\/smb.conf\u201d i\u00e7erisinde gerekli ayarlamalar\u0131 yaparak olu\u015fturdu\u011fumuz dizini ve yaz\u0131c\u0131m\u0131z\u0131 payla\u015f\u0131ma a\u00e7\u0131yoruz.<\/span><\/p>\n<pre class=\"brush: bash; gutter: false; first-line: 1\"><span style=\"font-family: courier new,courier; font-size: 12px;\">-- Sunucumuzda yaz\u0131c\u0131 s\u00fcr\u00fcc\u00fclerini koyaca\u011f\u0131m\u0131z bir dizin olu\u015fturuyoruz.<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># mkdir -p \/u01\/printers<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># chmod -R 770 \/printers<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">-- Samba yap\u0131land\u0131rma dosyam\u0131z\u0131 a\u00e7\u0131yoruz.<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># vim \/etc\/samba\/smb.conf<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">-- Dosyas\u0131n\u0131 a\u00e7\u0131yoruz ve dosyan\u0131n sonuna a\u015fa\u011f\u0131daki de\u011fi\u015fkenleri kendi<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">sistemimize g\u00f6re d\u00fczenleyerek ekliyoruz. Vi Edit\u00f6r\u00fcnde sayfa sonuna<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">gitmek i\u00e7in komut modundayken \"shift+g\" tu\u015flar\u0131na basabiliriz. Bu \u015fekilde<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">yap\u0131land\u0131rd\u0131\u011f\u0131m\u0131zda t\u00fcm kullan\u0131c\u0131lar yaz\u0131c\u0131lar\u0131m<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># Samba Server Printer &amp; Shared Folder Configuration<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">[printers]<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        comment = All Printers<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        path = \/var\/spool\/samba<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        browseable = yes<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        guest ok = no<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        writable = no<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        printable = yes<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        printing = CUPS<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">[Print$]<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        comment = Yazici Suruculeri<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        browseable = yes<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        path = \/u01\/printers\/<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        read only = yes<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">        public = yes<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">[IT_Printer]<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">     path = \/var\/spool\/samba\/<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">     browseable = yes<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">     printable = yes<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">     valid users = @it_dep_group<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">     force group = +it_dep_group<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">     printer name = HP_Deskjet_4620_series<\/span><\/pre>\n<p style=\"text-align: justify;\">19. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">De\u011fi\u015fikliklerin uygulanabilmesi i\u00e7in Samba servisimizi\u00a0 de\u011fi\u015fen yap\u0131land\u0131rma dosyas\u0131 ile yeniden ba\u015flat\u0131yoruz.<\/span><\/p>\n<pre class=\"brush: bash; gutter: false; first-line: 1\"><span style=\"font-family: courier new,courier; font-size: 12px;\"># service smb restart<\/span><\/pre>\n<p style=\"text-align: justify;\">20. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Samba sunucumuzda payla\u015f\u0131mlar\u0131 bir web aray\u00fcz\u00fc ile y\u00f6netebiliriz. Bu aray\u00fczden Active Directory entegre veya Yerel Kimlik Do\u011frulama y\u00f6ntemini kullanarak gerekli ayarlamalar\u0131m\u0131z\u0131 yapabiliriz.<\/span><\/p>\n<pre class=\"brush: bash; gutter: false; first-line: 1\"><span style=\"font-family: courier new,courier; font-size: 12px;\">-- \u00d6ncelikle Swat (Samba Web Administration Tool) arac\u0131m\u0131z\u0131n ayarlar\u0131n\u0131 yap\u0131yoruz.<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># vim \/etc\/xinetd.d\/swat<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">dosyas\u0131n\u0131 a\u00e7\u0131yoruz ve a\u015fa\u011f\u0131daki de\u011fi\u015fkenleri d\u00fczenliyoruz.<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">only_from       = 127.0.0.1 192.168.2.0\/24<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">disable         = no<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">-- Servisimizi ba\u015flat\u0131yoruz ve sunucumuz a\u00e7\u0131ld\u0131\u011f\u0131nda otomatik ba\u015flamas\u0131 i\u00e7in<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">ayarl\u0131yoruz.<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># service xinetd start<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># chkconfig xinetd on<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">-- Samba Swat y\u00f6netim panelimiz haz\u0131r kullanabilmek i\u00e7in a\u015fa\u011f\u0131daki gibi \u00f6rnek<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">linkten bir web taray\u0131c\u0131s\u0131 ile ba\u011flanabiliriz. Oturum a\u00e7abilmek i\u00e7in \"root\"<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">kullan\u0131c\u0131 ve parolas\u0131n\u0131 kullanabiliriz.<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">http:\/\/192.168.2.120:901\/<\/span><\/pre>\n<p style=\"text-align: justify;\">21. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Sunucumuzda Firewall ve SELinux servisi etkin ise a\u015fa\u011f\u0131daki izinleri yap\u0131land\u0131r\u0131yoruz. E\u011fer sunucumuzda Firewall ve SELinux servisi kapal\u0131ysa bu ayarlar\u0131 atlayabiliriz.<\/span><\/p>\n<pre class=\"brush: bash; gutter: false; first-line: 1\"><span style=\"font-family: courier new,courier; font-size: 12px;\">-- Firewall ayarlar\u0131 i\u00e7in a\u015fa\u011f\u0131daki komutlar\u0131 \u00e7al\u0131\u015ft\u0131r\u0131yoruz.<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># iptables -A INPUT -p tcp --dport 135 -j ACCEPT<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># iptables -A INPUT -p tcp --dport 137 -j ACCEPT<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># iptables -A INPUT -p tcp --dport 138 -j ACCEPT<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># iptables -A INPUT -p tcp --dport 139 -j ACCEPT<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># iptables -A INPUT -p tcp --dport 445 -j ACCEPT<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">-- Samba hizmeti ile ili\u015fkili SELinux durumu a\u015fa\u011f\u0131daki komutu<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">kullan\u0131larak g\u00f6r\u00fcnt\u00fcl\u00fcyoruz.<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># getsebool -a | grep samba<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">samba_create_home_dirs --&gt; off<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">samba_domain_controller --&gt; off<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">samba_enable_home_dirs --&gt; off<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">samba_export_all_ro --&gt; off<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">samba_export_all_rw --&gt; off<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">samba_run_unconfined --&gt; off<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">samba_share_fusefs --&gt; off<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">samba_share_nfs --&gt; off<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">sanlock_use_samba --&gt; off<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">use_samba_home_dirs --&gt; off<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">virt_use_samba --&gt; off<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">-- Sunucumuzda \"setsembol\" komutu kullan\u0131larak gerekli ayarlamalar\u0131<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">yap\u0131yoruz.<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">-- Aktif etmek i\u00e7in<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># setsebool use_samba_home_dirs on<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">-- Pasif hale getirmek i\u00e7in<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># setsebool use_samba_home_dirs off<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">-- Sunucumuzda \"semanage\" ve \"restorecon\" komutlar\u0131n\u0131 kullanarak<\/span>\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">payla\u015f\u0131m dizinimize izinleri veriyoruz.<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">-- \u0130zin vermek i\u00e7in<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># semanage fcontext -a -t samba_share_t \"\/u01(\/.*)?\"<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\">-- \u0130zinleri geri almak i\u00e7in<\/span>\r\n\r\n<span style=\"font-family: courier new,courier; font-size: 12px;\"># restorecon -F -R -v \/u01<\/span><\/pre>\n<p style=\"text-align: justify;\">22. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Sunucumuzda &#8220;samba print server&#8221; yap\u0131land\u0131rmas\u0131 tamamland\u0131. \u015eimdi istemci bilgisayarlar\u0131m\u0131zdan yaz\u0131c\u0131lar\u0131m\u0131z\u0131 y\u00fckleme i\u015flemini inceleyelim. \u00d6ncelikle &#8220;Active Directory&#8221; ortam\u0131m\u0131z varsa yaz\u0131c\u0131lar\u0131m\u0131z i\u00e7in &#8220;Group Policy&#8221; ilkemizi yap\u0131land\u0131r\u0131yoruz. Burada yaz\u0131c\u0131lar\u0131m\u0131z\u0131n y\u00fcklenece\u011fi yaz\u0131c\u0131 sunucumuzu ve y\u00fcklerken uyar\u0131 vermemesi i\u00e7in gerekli ayarlar\u0131 yap\u0131yoruz.<br \/>\n<\/span><\/p>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_9.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4188\" alt=\"SambaPrnInstall_9\" src=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_9.jpg\" width=\"1024\" height=\"576\" srcset=\"https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_9.jpg 1024w, https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_9-640x360.jpg 640w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">23. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Yaz\u0131c\u0131 sunucumuza ba\u011flanmak i\u00e7in Windows Logo+R tu\u015funa bas\u0131yoruz ve a\u00e7\u0131lan pencereye &#8220;\\\\koraykey-fs&#8221; yaz\u0131yoruz. Sunucumuzda kullanabilir yaz\u0131c\u0131lar\u0131 g\u00f6r\u00fcyoruz.<\/span><\/p>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_10.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4189\" alt=\"SambaPrnInstall_10\" src=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_10.jpg\" width=\"1024\" height=\"576\" srcset=\"https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_10.jpg 1024w, https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_10-640x360.jpg 640w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">24. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Yaz\u0131c\u0131 s\u00fcr\u00fcc\u00fclerimizi g\u00f6rebilmek i\u00e7in Windows Logo+R tu\u015funa bas\u0131yoruz ve a\u00e7\u0131lan pencereye &#8220;\\\\koraykey-fs\\print$&#8221; yaz\u0131p &#8220;enter&#8221; tu\u015funa bas\u0131yoruz. A\u00e7\u0131lan pencerede y\u00fcklemi\u015f oldu\u011fumuz yaz\u0131c\u0131 s\u00fcr\u00fcc\u00fclerimizi g\u00f6r\u00fcyoruz. Bu s\u00fcr\u00fcc\u00fc payla\u015f\u0131m\u0131n\u0131 daha \u00f6nceki ad\u0131mlar\u0131m\u0131zda yap\u0131land\u0131rm\u0131\u015ft\u0131k.<\/span><\/p>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_11.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4190\" alt=\"SambaPrnInstall_11\" src=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_11.jpg\" width=\"1024\" height=\"576\" srcset=\"https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_11.jpg 1024w, https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_11-640x360.jpg 640w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">25. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Yaz\u0131c\u0131 sunucumuzda payla\u015ft\u0131rm\u0131\u015f oldu\u011fumuz &#8220;IT_Printer&#8221; yaz\u0131c\u0131m\u0131z\u0131n \u00fczerinde sa\u011f t\u0131kl\u0131yoruz ve &#8220;Connect&#8221; se\u00e7ene\u011fini se\u00e7iyoruz.<\/span><\/p>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_12.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4191\" alt=\"SambaPrnInstall_12\" src=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_12.jpg\" width=\"1024\" height=\"576\" srcset=\"https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_12.jpg 1024w, https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_12-640x360.jpg 640w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">26. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Yaz\u0131c\u0131 sunucumuz &#8220;Linux&#8221; oldu\u011fu i\u00e7in Windows i\u015fletim sistemi ile uyumlu s\u00fcr\u00fcc\u00fcm\u00fcz\u00fc bulamad\u0131\u011f\u0131n\u0131 s\u00f6yl\u00fcyor. Burada &#8220;OK&#8221; d\u00fc\u011fmesine t\u0131kl\u0131yoruz.<\/span><\/p>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_13.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4192\" alt=\"SambaPrnInstall_13\" src=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_13.jpg\" width=\"1024\" height=\"576\" srcset=\"https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_13.jpg 1024w, https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_13-640x360.jpg 640w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">27. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">\u0130\u015fletim sistemimizde mevcut olan yaz\u0131c\u0131 s\u00fcr\u00fcc\u00fclerimizi bize listeliyor. Burada mevcut bir yaz\u0131c\u0131 ise se\u00e7ebiliriz. Ancak bizim payla\u015f\u0131ma a\u00e7t\u0131\u011f\u0131m\u0131z yaz\u0131c\u0131 gibi mevcut olmayan bir s\u00fcr\u00fcc\u00fc y\u00fcklememiz gerekiyorsa &#8220;Have Disk&#8221; d\u00fc\u011fmesine t\u0131kl\u0131yoruz.<\/span><\/p>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_14.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4193\" alt=\"SambaPrnInstall_14\" src=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_14.jpg\" width=\"1024\" height=\"576\" srcset=\"https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_14.jpg 1024w, https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_14-640x360.jpg 640w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">28. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Yaz\u0131c\u0131m\u0131z\u0131n s\u00fcr\u00fcc\u00fcs\u00fcn\u00fcn bulundu\u011fu payla\u015f\u0131m\u0131n ismini yaz\u0131yoruz. Biz sunucumuzda &#8220;\\\\koraykey-fs\\print$\\hp4620&#8221; payla\u015f\u0131m\u0131n\u0131 ayarlam\u0131\u015ft\u0131k. Bunu yaz\u0131yoruz ve &#8220;OK&#8221; d\u00fc\u011fmesine t\u0131kl\u0131yoruz.<\/span><\/p>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_15.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4195\" alt=\"SambaPrnInstall_15\" src=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_15.jpg\" width=\"1024\" height=\"576\" srcset=\"https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_15.jpg 1024w, https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_15-640x360.jpg 640w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">29. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Payla\u015f\u0131mda olan yaz\u0131c\u0131m\u0131z\u0131n modelini se\u00e7iyoruz ve &#8220;OK&#8221; d\u00fc\u011fmesine t\u0131kl\u0131yoruz.<\/span><\/p>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_16.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4196\" alt=\"SambaPrnInstall_16\" src=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_16.jpg\" width=\"1024\" height=\"576\" srcset=\"https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_16.jpg 1024w, https:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_16-640x360.jpg 640w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">30. <span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Yaz\u0131c\u0131m\u0131z\u0131n y\u00fcklmesi tamamland\u0131. Ba\u015flat men\u00fcs\u00fcnden yaz\u0131c\u0131lar\u0131m\u0131z\u0131 a\u00e7t\u0131\u011f\u0131m\u0131zda y\u00fcklemi\u015f oldu\u011fumuz yaz\u0131c\u0131m\u0131z\u0131n kullan\u0131ma haz\u0131r oldu\u011funu g\u00f6rebiliriz.<\/span><\/p>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_17.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4197\" alt=\"SambaPrnInstall_17\" src=\"http:\/\/www.koraykey.com\/wp-content\/uploads\/SambaPrnInstall_17.jpg\" width=\"1024\" height=\"576\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Bu makalemizde \u201cLinux \u0130\u015fletim Sistemlerinde Yaz\u0131c\u0131 Sunucusu Yap\u0131land\u0131rmas\u0131 (Samba Print Server)\u201d yap\u0131land\u0131rmas\u0131n\u0131 inceledik. Bu yaz\u0131m\u0131z ile tamamen Linux tabanl\u0131 bir i\u015fletim sisteminden Samba Yaz\u0131c\u0131 Sunucusu (Samba Print Server) yap\u0131land\u0131rma kurulumunu Active Directory hizmetiyle b\u00fct\u00fcnle\u015fik ve yerel hesaplarla yap\u0131land\u0131rma i\u015fleminide ger\u00e7ekle\u015ftirdik. Yukar\u0131daki kurulum i\u015flemleri Centos Linux 6.4, Red Hat Enterprise Linux 6.4 ve Oracle Enterprise Linux 6.4 i\u015fletim sistemlerinde denenmi\u015ftir.<\/span><\/p>\n<p><span style=\"font-family: arial,helvetica,sans-serif; font-size: 12px;\">Ba\u015fka bir makalede g\u00f6r\u00fc\u015fmek \u00fczere\u2026<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bu makalemizde \u201cLinux \u0130\u015fletim Sistemlerinde Yaz\u0131c\u0131 Sunucusu Yap\u0131land\u0131rmas\u0131 (Samba Print Server)\u201d konusunu inceleyece\u011fiz. Kurulum i\u015flemimizi \u201cCentOS Linux 6.4 \u0130\u015fletim Sistemi\u201d \u00fczerinde ger\u00e7ekle\u015ftirece\u011fiz. Kurulum ad\u0131mlar\u0131 Red Hat t\u00fcrevi i\u015fletim sistemleri ile olduk\u00e7a benzerdir. Samba Nedir ? Samba, Linux\/Unix i\u015fletim sistemleri ile &hellip; <a href=\"https:\/\/www.koraykey.com\/?p=4149\">Okumaya devam et <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[21,290,20,19,581,576,578,579,580,575,574,582,577,115],"class_list":["post-4149","post","type-post","status-publish","format-standard","hentry","category-unix-linux","tag-h-koray-gunduz","tag-halil-koray-gunduz","tag-koray-gunduz","tag-koraykey","tag-linux-ag-yazicisikurulumu","tag-linux-print-server","tag-linux-print-server-kurulumu","tag-linux-samba-print-server-kurulumu","tag-linux-yazici-paylasimi","tag-samba-cups-print-server","tag-samba-print-server","tag-samba-print-server-active-directory","tag-samba-print-server-kurulumu","tag-samba-server-kurulumu"],"_links":{"self":[{"href":"https:\/\/www.koraykey.com\/index.php?rest_route=\/wp\/v2\/posts\/4149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.koraykey.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.koraykey.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.koraykey.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.koraykey.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4149"}],"version-history":[{"count":0,"href":"https:\/\/www.koraykey.com\/index.php?rest_route=\/wp\/v2\/posts\/4149\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.koraykey.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.koraykey.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4149"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.koraykey.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}