[LINUX:2757] Samba configurasyonu

Varol KESKIN (keskinv@astronomy.sci.ege.edu.tr)
Wed, 23 Dec 1998 10:12:04 +0200 (EET)


Selam,

Belki yardimi olur diye ornek bir samba islem ve konfigurasyonu
gonderiyorum. Adi sambaserver olan bir linux yuklu bilgisayarda samba
calistigini varsayalim. Asagidaki komutla kaya adli kullanici bu
serverin durumunu gorebilir. Bu, bir Win95/98 icin de gecerlidir. Yani
smbclient -L winserver ile adi winserver olan bilgisayarin
paylastirdiklari gorulebilir.
..........................................................................
[kaya@astrolinux /home]# smbclient -L sambaserver
Added interface ip=192.168.37.11 bcast=192.168.79.255
nmask=255.255.240.0
Server time is Wed Dec 23 09:42:49 1998
Timezone is UTC+2.0
Password:
Domain=[ASTRO] OS=[Unix] Server=[Samba 1.9.18p10]
security=user

Server=[SAMBASERVER] User=[kaya] Workgroup=[ASTRO] Domain=[ASTRO]

Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (SAMBA 1.9.18p10 Server of
Astronomy)
lp Printer
kaya Disk Home Directories
tmp Disk Temporary file space

This machine has a browse list:

Server Comment
--------- -------
SAMBASERVER SAMBA 1.9.18p10 Server of Astronomy
KEMAL KEMAL CAN
SEVDA Sevda Guven

This machine has a workgroup list:

Workgroup Master
--------- -------
ASTRO SAMBASERVER
KIMYA KIMYASERVER
..................................................................

Bu da ornek bir smb.conf dosyasi

[globals]
wins support = yes

[global]
announce as = Win95
server string = SAMBA 1.9.18p10 Server of Astronomy
hide dot files = no
workgroup = ASTRO
hosts allow = 155.223. 127.
guest account = smbguest

printcap name = /etc/printcap
printing = lprng
print command = /usr/local/bin/lpr -P%p %s -r
lpq command = /usr/local/bin/lpq -P%p
lprm command = /usr/local/bin/lprm -P%p %j

load printers = yes
socket options = TCP_NODELAY

log file = /usr/local/samba/log.%m
lock directory = /usr/local/samba/var/locks
share modes = yes
security = user
read prediction = Yes
oplocks = no

[homes]
comment = Home Directories
browseable = no
read only = no
create mode = 0750

[printers]
comment = HP Laserjet 5MP Printer of Astronomy
browseable = no
printable = yes
public = no
writable = no
create mode = 0700
path = /tmp
guest ok = no

[tmp]
comment = Temporary file space
path = /tmp
read only = yes
public = yes
.....................................................

Boylelikle bir win95ten linuxta user olan kisiler kendi home dizinlerine
ve ayrica linuxa bagli olan yaziciya ulasabilmektedirler. Benzer
tanimlamalar linuxtan Win95in paylastirdigi kaynaklara ulasmak icin de
gecerlidir.

Bu da ornek bir printcap dosyasi.

lp:cm=HP Laserjet 5MP:lp=/dev/lp1:sd=/var/spool/lpd:sh:mx#0:

yalnizca tek satir. Bu yaziciyi hem linux uzerinden hem de Win95ler
uzerinden sorunsuz kullanmak olasi. Grafik cikti da alabilirsiniz.
Burada tavsiye edebilecegim printer software'i olarak LPRng
kullanilmasi. Oldukca iyi sonuc veriyor. Text, grafik, postscript gibi
dosyalarin basimini cok kolaylastiriyor. LPRng icin bilgi:

Web Page and HOWTO in HTML format:
http://www.astart.com/LPRng.html
and the HOWTO/ directory in the distribution

The software may be obtained from
ftp://ftp.astart.com/pub/LPRng (Main site)

Mirrors:
ftp://ftp.sage-au.org.au/pub/printing/spooler/lprng (AU)
ftp://ftp.zod.wau.nl/pub/mirror/plp/LPRng (AU/NZ)
ftp://gwynne.cs.ualberta.ca/pub/LPRng (CA)
ftp://ftp.informatik.uni-hamburg.de/pub/os/unix/utils/LPRng (DE)
ftp://ftp.uni-paderborn.de/pub/unix/printer/plp/LPRng (DE)
ftp://ftp.iona.ie/pub/plp/LPRng (IE)
ftp://ftp.chembio.ntnu.no/pub/mirrors/LPRng (NO)
ftp://ftp.mono.org/pub/LPRng (UK)
ftp://ftp.cs.columbia.edu/pub/archives/pkg/LPRng (US)
ftp://ftp.cs.umn.edu/pub/LPRng (US)
ftp://ftp.iona.com/pub/plp/LPRng (US)
ftp://uiarchive.uiuc.edu/pub/packages/LPRng (US)

Umarim samba ile ugrasanlarin isine yarar. Herkese iyi calismalar
dileklerimle.
--------------------------------------------------------
Varol Keskin
Ege University, Science Faculty,
Astronomy and Space Sciences Department,
Bornova 35100, Izmir - TURKEY
e-mail : keskinv@alpha.sci.ege.edu.tr
keskinv@astronomy.sci.ege.edu.tr
--------------------------------------------------------

Listeden cikmak icin:
unsub linux
mesajini listeci@bilkent.edu.tr'a gonderiniz.
Lutfen Listeci icin MIME / HTML / Turkce Aksan kullanmayin.
Liste arsivinin adresi: http://listweb.bilkent.edu.tr/