From: Volkan Evrin (linux@karel.com.tr)
Date: Mon 30 Jan 2006 - 12:01:13 EET
Merhaba,
Elimde calisana mevcut bir Samba etki alani var (SuSE 9.3 - Samba
3.0.9). Bu sistem icinde yeni bir sunucu kurmaya karar verdik(RHEL ES
4.0) ve bu sunucunu kullanici yetkilendirmesini de mevcut samba'nin
kullanici-gurup tanimlarindan almasini istiyoruz.
Buna uygun bir smb.conf ayarladim (en altta). Mevcut Samba sunucu
uzerinde smbpasswd tanimlarini yaptim. Yeni Sunucu ustunde de #net rpc
join -U root% ile bu sunucuyu etki alanina ekledim. Bu ana kadar hersey
normal, ama bu yeni sunucu uzerinde kullanici dogrulamasini (mevcut
Samba kullanicilari ile) yapamadim.
Yeni sunucu'nun kendi ustunde barindiracagi servis, dosya ve dizinlere
mevcut samba etki alaninin kullanicilarinin ve guruplarinin erismesi
icin nasil kimlik dogrulama yapmaliyim?
iyi calismalar
Volkan Evrin
smb.conf --
# 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 made any basic syntactic errors.
#
#======================= Global Settings
=====================================
[global]
workgroup = MyDomain
server string = MyHost
#printcap name = /etc/printcap
security = domain
encrypt passwords = yes
password server = samba-server
log file = /var/log/samba/%m.log
max log size = 1000
name resolve order = hosts lmhosts wins bcast
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
domain logons = no
preferred master = no
local master = no
domain master = no
dns proxy = no
remote announce = 192.168.2.255
hosts allow = 192.168. 127.
[homes]
comment = Home Directories
browseable = no
writable = yes
[kaynak]
comment = Bilgi Kaynaklari
path = /home/kaynak
browseable = yes
writable = yes
public = no
[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
_______________________________________________
Linux-ag mailing list
Linux-ag@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-ag