Tags

, , , , ,

(reposting December 26, 2005)

Bila anda ingin mencoba bikin domain controler utk server autentikasi pada jaringan anda menggunakan Linux, Saya coba share pengalaman.
Saya tulis sesederhana mungkin untuk memudahkan anda dalam pemahaman maksud dari file konfigurasi smb.conf
Saya asumsikan anda telah menginstall samba dengan baik
lalu lakukan…


# mv /etc/samba/smb.conf /etc/samba/smb.conf.old
#vi /etc/samba/smb.conf

………….
[global]
; basic server setting
workgroup = syndicate.net ; ubah dengan nama domain yg anda inginkan
netbios name = saiya ; hostname yg akan di kenal oleh mesin windows
server string = Samba PDC running %v
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

; pdc & master browser setting
OS level = 64
preferred master = yes
local master = yes
domain master = yes

; security & loging setting
security = user
encrypt passwords = yes
log file = /var/log/samba/log.%m
log level = 2
max log size = 50
hosts allow = 127.0.0.1 172.19.0.0/255.255.0.0 ; ubah dengan network anda

; user profiles & home directory
logon home = \\%L\%U\
logon drive = Z:
logon path = \\%L\Profiles\%U
logon script = %U.bat

==========SHARES==========

[homes]
comment = Home Directories
browseable = no
writable = yes

[netlogon]
comment = Network Logon Service
path = /home/netlogon
read only = yes
writable = no

[Profiles]
path = /home/samba/profiles
writeable = yes
browseable = no
create mask = 0600
directory mask = 0700