[LINUX:12451] Samba Hakk.

---------

New Message Reply About this list Date view Thread view Subject view Author view

Subject: [LINUX:12451] Samba Hakk.
From: Kadir Leblebici (leblebici@telebot.com)
Date: Wed 26 Jan 2000 - 19:04:02 EET


Merhabalar;
RedHat 6.1 yukledim yeni bir bilgisayara. Tum servisleri kurdum. Samba da dahil acilista samba aktif halde degil bende /etc/rc.d/init.d/smb start ile baslatiyorum
ve samba calismaya basliyor.
Linux uzerinde smbclient ve smbmount ile windows makinelere ulasip dosya alip verebiliyorum.
Lakin windows makineler linux u ag komsularinda bir turlu goremiyorlar ping atabiliyorlar telnet cekebiliyorlar hatta nbtstat -A ip adresi ile adini grubunu bile goruyorlar ama bir turlu agkomsularinda bilgisayar olarak goremiyorlar. Bunu gordurebilmem icin neler yapmaliyim acaba, birde herseferinde sambanin otamatik acilmasi icin nereye hangi komutu yazmaliyim yani bilgisayar acilinca samba baslasin ve kapaninca kapansin tipki diger sendmail vb servisler gibi. Smb.conf dosyasinin acilimi ise asagida yardimlarinizi bekliyorum.

smb.conf dosyasinin acilimi

# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not many any basic syntactic errors.
#
#======================= Global Settings =====================================
[global]
 workgroup = Kaynak
 comment = Kaynak Holding Linux (RH6.0)
 log file = /var/log/samba/log.%m
 ;printcap name = /etc/printcap
 max log size = 50
 ;default = haber
 netbios name = Kaynak_Linux
 dns proxy = no
 load printers = no
 preferred master = no
 auto services = global homes
 server string =
 os level = 65
 security = user
 domain master = yes
 domain logons = yes
 local master = yes
 prefered master = yes
 logon script = logon.bat

[netlogon]
 comment = Kaynak Network Logon Service
 path = /home/netlogon
 quest ok = yes
 writable = no
 share modes = no
 
[homes]
 comment = Home Directories
 browseable = no
 force create mode = 555
 force directory mode = 555
 writable = yes
 
;[printers]
; comment = All Printers
; path = /var/spool/samba
; browseable = no
# Set public = yes to allow user 'guest account' to print
; guest ok = no
; writable = no
; printable = yes

# This one is useful for people to share files
;[tmp]
; comment = Temporary file space
; path = /tmp
; read only = no
; public = yes

# A publicly accessible directory, but read only, except for people in
# the "staff" group
;[public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; writable = yes
; printable = no
; write list = @staff

# Other examples.
#
# A private printer, usable only by fred. Spool data will be placed in fred's
# home directory. Note that fred must have write access to the spool directory,
# wherever it is.
;[fredsprn]
; comment = Fred's Printer
; valid users = fred
; path = /homes/fred
; printer = freds_printer
; public = no
; writable = no
; printable = yes

# A private directory, usable only by fred. Note that fred requires write
# access to the directory.
;[fredsdir]
; comment = Fred's Service
; path = /usr/somewhere/private
; valid users = fred
; public = no
; writable = yes
; printable = no

# a service which has a different directory for each machine that connects
# this allows you to tailor configurations to incoming machines. You could
# also use the %u option to tailor it by user name.
# The %m gets replaced with the machine name that is connecting.
;[pchome]
; comment = PC Directories
; path = /usr/pc/%m
; public = no
; writable = yes

# A publicly accessible directory, read/write to all users. Note that all files
# created in the directory by users will be owned by the default user, so
# any user with access can delete any other user's files. Obviously this
# directory must be writable by the default user. Another user could of course
# be specified, in which case all files would be owned by that user instead.
;[public]
; path = /usr/somewhere/else/public
; public = yes
; only guest = yes
; writable = yes
; printable = no

# The following two entries demonstrate how to share a directory so that two
# users can place files there that will be owned by the specific users. In this
# setup, the directory should be writable by both users and should have the
# sticky bit set on it to prevent abuse. Obviously this could be extended to
# as many users as required.
;[myshare]
; comment = Mary's and Fred's stuff
; path = /usr/somewhere/shared
; valid users = mary fred
; public = no
; writable = yes
; printable = no
; create mask = 0765

[Haber]
 comment = File Shared Based Services
 path = /home/_hizmetler/haber
 read only = no
 public = yes
 create mask = 0770

[Posta]
 comment = Posta Ofisi
 path = /var/spool/samba
 read only = no
 public = yes

[deneme]
 comment = Posta Ofisi
 path = /aaa
 read only = no
 public = yes

 
 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/


New Message Reply About this list Date view Thread view Subject view Author view

---------

Bu arsiv hypermail 2b25 tarafindan uretilmistir.