[Pardus-kullanicilari] Paylastirma... Beceremedim gitti... :-(
Emre Erenoglu
erenoglu at gmail.com
1 Kas 2007 Per 00:55:40 EET
Bu arada aklima geldi, ornegin Ubuntu'yu bir smb server olarak kullanabilmek
icin, yani paylasimlara izin verebilmesi ve uzaktan erisebilinmesi icin,
erisimde kullanilacak kullanici adinin calismasi gerekiyor. Bunun icin:
1) sistemde mevcut bir kullanici olmasi
2) root iken:
smbpasswd -a kullanici_adi
ile samba paylasim sistemine eklenmesi. dedigim gibi, bu kullanici_adi
sistemde mevcut olmali.
Daha sonra uzaktan erisilirken, bu kullanici_adi ve ilgili sifresi
kullanilarak erisilebilir.
Emre
On Oct 31, 2007 10:21 PM, Emre Erenoglu <erenoglu at gmail.com> wrote:
> Selam Omer Bey,
>
> Asagida benim ubuntu sistemimdeki smb.conf dosyasini bulabilirsiniz,
> burada gereken degisiklikleri yapip (sizin siteminiz icin) /etc/samba
> altindaki smb.conf yerine koyarsaniz sorun olmayacaktir. Bir de guvenlik
> duvarinin kapali olduguna emin olun test asamasinda.
>
> --- buradan kopyalayin ---
>
> [global]
> workgroup = SizinWorkgroup
> server string = %h server (Samba, Pardus)
> obey pam restrictions = Yes
> passdb backend = tdbsam
> passwd program = /usr/bin/passwd %u
> passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
> *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
> syslog = 0
> log file = /var/log/samba/log.%m
> max log size = 1000
> dns proxy = No
> panic action = /usr/share/samba/panic-action %d
> invalid users = root
> hosts allow = 192.168.1.0/255.255.255.0
> hosts deny = ALL, EXCEPT, localhost
> # Hosts allow icin 192.168.1.0/255.255.255.0 yerine, sizin evinizdeki
> network ne ise onu yazmalisiniz.
>
> [printers]
> comment = All Printers
> path = /var/spool/samba
> create mask = 0700
> printable = Yes
> browseable = No
>
> [print$]
> comment = Printer Drivers
> path = /var/lib/samba/printers
>
> [D]
> comment = Benim D Surucusu
> path = /d
> read only = No
> create mask = 0644
> hosts allow =
> hosts deny =
> # Burada nereyi paylastirmak istiyorsaniz orayi yazin. Ancak
> paylastirdiginiz yere en azindan okuma izniniz olduguna emin olun.
>
> [cdrom]
> comment = DVDRW Drive
> path = /media/cdrom0
> writable = no
> locking = no
> # sizde CDROM bu patikada (/media/cdrom0) olmayabilir, gerekirse komple
> silin gitsin.
>
> --- buraya kadar ---
>
> bir de su komutu, kendi kullaniciniz icin vermeniz gerekebilir:
>
> smbpasswd
>
> bu komut size bir sifre sorar, samba'dan ulasilirken gerekli sifre bu,
> muhtemelen pardus hesabinizla ayni sifreyi koyarsiniz...
>
> bir deneyin, bu UBUNTU'dan alinma bir config dosyasidir, ancak Pardus'a
> uyacagini dusunuyorum.
>
> Kolay gelsin,
>
> Emre
>
>
> On Oct 31, 2007 9:47 PM, Omer Ozen < ofozen at yahoo.ca> wrote:
>
> >
> > Aydın bey merhaba,
> >
> > Hazırlamış olduğunuz içeriği, baş, son ve aradaki sizin uyarıları
> > silerek, kopyaladım ve yapıştırdım söz konusu belgenin içine. Tabii yönetici
> > sıfatıyla değiştirerek.
> >
> > Bir şey değişmedi. Ayrıca bugün TASMA'dan gidip güvenlik duvarında söz
> > konusu klasörlere erişimi sağladım. Orada SAMBA'da görmüş olduğum
> > eksiklikleri de düzelttim; çalışma grubu: WORKGROUP olması gerektiği gibi...
> > Yalnız oradaki 'Sunucu dizisi'ni pek anlayabilmiş değilim. Karşısında %h
> > (Workstation) yazıyor. Denemek amacıyla onu da bir ara 'workgroup' olarak
> > belirledim... Ancak, herhangi bir ÅŸey deÄŸiÅŸmedi. :-(
> >
> > Güvenlik seviyesi 'paylaş' üzerinde. Misafir girişlere seçili ve Misafir
> > hesabı 'nobody', NetBIOS adı: PARDUS.
> >
> > Pardus üzerinde diğer makineler görülüyor ve onların paylaştırılmış
> > klasörlerine girilebiliyor, herhangi bir sorun yok.
> >
> > Ancak Pardus öbür makinelerde görünmediği gibi, kendi içinde de
> > görünmüyor. Benim anladığım Pardus'taki klasörleri paylaşıma açamıyorum'...
> > :-(
> >
> > Yalnız şunun ayrımına vardım, bilmiyorum önemi var mı?
> >
> > TASMA'da 'Güvenlik Ayarları'nda belirli izinleri verdikten sonra
> > uygulayıp çıkıyorum. Ancak her girişimde kutucukların boş olduğunu,
> > yukarıdan, 'Güvenlik duvarını başlat' düğmesine işlerlik kazandırdıktan
> > sonra kutucukların seçili olduğu görünüyor.
> >
> > Orada benim pek emin olmadığım bir şey var. Eş deyişle, izin veriyor mu,
> > vermiyor mu? Bilmiyorum.
> >
> > Sonuçta, beceremedik gitti... :-) :-(
> >
> > Neyse, herhalde bir ara eksikliÄŸi bulup gidereceÄŸim. Åžimdilik Pardus'tan
> > Windows makinelerine girebiliyorum.
> >
> > Esenlikle...
> >
> >
> > Ömer Özen
> >
> >
> >
> >
> >
> >
> >
> >
> > *Aydin Deniz Senler <asenler at yahoo.com>* wrote:
> >
> > Ömer Bey, burada kuralın mümkün olduğunca sadeleştirmek olduğu esasından
> > hareketle sizin dosyayı biraz "kırptım".
> > Tabi bunu denemeden önce eskisinin bir kopyasını almanız gerekiyor.
> > Yalnız gene başlamadan önce her iki sistemde de güvenlik duvarı
> > ayarlarını izin verecek şekilde yapmış olduğunuzu varsayıyorum.
> > Eğer güvenlik endişeniz varsa aşağıda kullandığım "0777" kodunu
> > değiştirmeniz gerekeir, çünkü bu kod ilgili dizini herkese açıyor, ama hangi
> > kod olduÄŸunu bilemiyorum doÄŸrusu.
> > Sonucu bildirirseniz sevinirim.
> > Kolay gelsin
> > # Pardus samba configuration
> > [global]
> > workgroup = Pardus # ( Buraya Pardus yerine istediğiniz bir adı verin)
> > server string = %h (workstation)
> > log file = /var/log/samba.log
> > max log size = 50
> > dns proxy = no
> > # We are using share model security
> > security = share
> > restrict anonymous = no
> > guest ok = yes # (Bunu ben ekledim)
> > domain master = no
> > preferred master = no
> > max protocol = NT
> > acl compatibility = winnt
> > ldap ssl = No
> > server signing = Auto
> > # Sample sharings are defined here.
> > # Modify these according to your taste.
> > # Un-comment the following and create the
> > # netlogon directory for Domain Logons
> > ; [netlogon]
> > ; comment = Network Logon Service
> > ; path = /usr/local/samba/lib/netlogon
> > ; guest ok = yes
> > ; writable = no
> > ; share modes = no
> > # All printers are by default shared by Samba.
> > # Use "browseable = yes" for other clients
> > # to browse this printer share.
> > [printers]
> > comment = All printers
> > path = /var/spool/samba/
> > printable = yes
> > create mask = 0777
> > # A sample share that is enabled by default
> > [share]
> > comment = Samba Linux share
> > path = /home/samba/
> > guest ok = yes
> > read only = no
> > case sensitive = no
> > strict locking = no
> > msdfs proxy = no
> > guest account = Omer
> > # A sample sharing that everyone can access to.
> > # Modify the "path" statement so that it points
> > # to your directory you want to share.
> > ;[public]
> > ; path = /usr/somewhere/else/public
> > ; public = yes
> > ; only guest = yes
> > ; writable = no
> > ; printable = no
> > [BELGELERGAZETE]
> > path = /home/Omer/Belgeler/Gazete/
> > comment = /home/Omer/Belgeler/Gazete
> > read only = no
> > create mask = 0777 # (Ben ekledim)
> > [SMB4K]
> > path = /home/Omer/smb4k/
> > guest ok = yes
> > read only = no
> > create mask = 0777 # (Ben ekledim)
> > [GÖRÜNTÜ]
> > path = /home/Omer/Belgeler/Gazete/Görüntü/
> > guest ok = yes
> > read only = no
> > create mask = 0777 # (Ben ekledim)
> > [SAYFALAR]
> > path = /home/Omer/Belgeler/Gazete/Sayfalar/
> > guest ok = yes
> > read only = no
> > create mask = 0777 # (Ben ekledim)
> > [YAZI]
> > path = /home/Omer/Belgeler/Gazete/Yazý/
> > guest ok = yes
> > read only = no
> > create mask = 0777 # (Ben ekledim)
> > Aydýn bey,
> > Biraz uzunca.... :-(
> > ***
> > # Pardus samba configuration
> > [global]
> > server string = %h (workstation)
> > log file = /var/log/samba.log
> > max log size = 50
> > dns proxy = no
> > # We are using share model security
> > security = share
> > restrict anonymous = no
> > domain master = no
> > preferred master = no
> > max protocol = NT
> > acl compatibility = winnt
> > ldap ssl = No
> > server signing = Auto
> > # Sample sharings are defined here.
> > # Modify these according to your taste.
> > # Un-comment the following and create the
> > # netlogon directory for Domain Logons
> > ; [netlogon]
> > ; comment = Network Logon Service
> > ; path = /usr/local/samba/lib/netlogon
> > ; guest ok = yes
> > ; writable = no
> > ; share modes = no
> > # All printers are by default shared by Samba.
> > # Use "browseable = yes" for other clients
> > # to browse this printer share.
> > [printers]
> > comment = All printers
> > path = /var/spool/samba/
> > printable = yes
> > create mask = 0700
> > guest ok = yes
> > read only = no
> > case sensitive = no
> > strict locking = no
> > msdfs proxy = no
> > # A sample share that is enabled by default
> > [share]
> > comment = Samba Linux share
> > path = /home/samba/
> > guest ok = yes
> > read only = no
> > case sensitive = no
> > strict locking = no
> > msdfs proxy = no
> > guest account = Omer
> > # A sample sharing that everyone can access to.
> > # Modify the "path" statement so that it points
> > # to your directory you want to share.
> > ;[public]
> > ; path = /usr/somewhere/else/public
> > ; public = yes
> > ; only guest = yes
> > ; writable = no
> > ; printable = no
> > [BELGELERGAZETE]
> > path = /home/Omer/Belgeler/Gazete/
> > comment = /home/Omer/Belgeler/Gazete
> > guest ok = yes
> > wide links = no
> > read only = no
> > case sensitive = no
> > strict locking = no
> > msdfs proxy = no
> > [SMB4K]
> > path = /home/Omer/smb4k/
> > guest ok = yes
> > read only = no
> > case sensitive = no
> > strict locking = no
> > msdfs proxy = no
> > [GÖRÜNTÜ]
> > path = /home/Omer/Belgeler/Gazete/Görüntü/
> > guest ok = yes
> > read only = no
> > case sensitive = no
> > strict locking = no
> > msdfs proxy = no
> > [SAYFALAR]
> > path = /home/Omer/Belgeler/Gazete/Sayfalar/
> > guest ok = yes
> > read only = no
> > [YAZI]
> > path = /home/Omer/Belgeler/Gazete/Yazý/
> > guest ok = yes
> > read only = no
> > case sensitive = no
> > strict locking = no
> > msdfs proxy = no
> > ***
> > Þimdiden teþekkürler...
> > Ömer Özen
> > --Boundary-01�qZJH88jBLX9bl6--
> > ------------------------------
> > Yahoo! kullaniyor musunuz?
> > Istenmeyen postadan biktiniz mi? Istenmeyen postadan en iyi korunma
> > Yahoo! Posta'da
> > http://tr.mail.yahoo.com_______________________________________________
> > Pardus-kullanicilari e-posta listesi
> > Listeden ��kmak i�in
> > http://liste.uludag.org.tr/mailman/listinfo/pardus-kullanicilariadresini kullan�n.
> > Listeye iletmek istedi�iniz sorular� Pardus-kullanicilari at pardus.org.tre-posta adresine g�nderin.
> > Liste mesajlar�nda arama yapmak i�in http://liste.pardus.org.tr/aramaweb sayfas�na gidin.
> >
> >
> > ------------------------------
> > Be smarter than spam. See how smart SpamGuard is at giving junk email
> > the boot with the *All-new Yahoo! Mail *<http://web32311.mail.mud.yahoo.com/dc/try_mail?qa=green_new%0A>
> >
> > _______________________________________________
> > Pardus-kullanicilari e-posta listesi
> > Listeden çıkmak için http://liste.uludag.org.tr/mailman/listinfo/pardus-kullanicilari
> > adresini kullanın.
> > Listeye iletmek istediğiniz soruları Pardus-kullanicilari at pardus.org.tre-posta adresine gönderin.
> > Liste mesajlarında arama yapmak için http://liste.pardus.org.tr/aramaweb sayfasına gidin.
> >
>
>
>
> --
> Emre Erenoglu
> erenoglu at gmail.com
--
Emre Erenoglu
erenoglu at gmail.com
-------------- sonraki bölüm --------------
Bir HTML eklentisi temizlendi...
URL: http://liste.pardus.org.tr/pardus-kullanicilari/attachments/20071031/4da18ef4/attachment-0001.htm
Pardus-kullanicilari mesaj listesiyle ilgili
daha fazla bilgi