> rekan sumitra, bisa minta sample smb.confnya? > > trims sebelumnya > Cyd [global] workgroup = malindo netbios name = malserver server string = Malindo Server socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192 smb ports = 139 os level = 64 preferred master = yes local master = yes domain master = yes security = user encrypt passwords = yes domain logons = yes log file = /var/log/samba/log.%m max log size = 50 hosts allow = 127.0.0.1 192.168.2.0/255.255.255.0 add user script = /usr/sbin/useradd -m '%u' delete user script = /usr/sbin/userdel '%u' add group script = /usr/sbin/groupadd '%g' delete group script = /usr/sbin/groupdel '%g' add user to group script = /usr/sbin/usermod -G '%g' '%u' add machine script = /usr/sbin/useradd -s /sbin/nologin -d /tmp '%u' pam password change = Yes unix password sync = yes passwd program = /usr/bin/passwd '%u' passdb backend = tdbsam
map acl inherit = Yes username map = /etc/samba/smbusers cups options = raw csc policy = disable ; testing admin users = administrator ; users profile and home directory logon home = \\%L\%U\.profile ;logon drive = H: logon path = logon script = %U.bat veto files = /*.vbs/*.inf ;log level = 3 browseable = no idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 template shell = /bin/false winbind use default domain = no [homes] comment = Home Directories writable = yes valid users = %S create mode = 0664 directory mode = 0775 ;[profiles] ; path = /home/samba/profiles ; writable = yes ; create mask = 0600 ; directory mask = 0700 [netlogon] comment = Network Logon Service path = /home/netlogon root preexec = /home/netlogon/logon.pl %U readonly = yes guest ok = yes write list = @admins [weighing] comment = weighing program path = /usr/data/weight write list = @wb,prc,mis ; mis section [sourcecode] comment = Source Code path = /home/mis/source write list = @mis [edp] comment = Edp Dept. Data path = /home/data/edp write list = @mis [backup] comment = Database Backup path = /usr/backup write list = @mis [work] comment = Form path = /home/mis/sql write list = @mis ; end mis ; ; special share ; [public] comment = Public Data path = /usr/public writeable = yes public = yes create mask = 777 directory mask = 0777 [application] comment = Windows Application path = /usr/data/windows write list = mis [hrdappl] comment = HRD Application path = /usr/data/hrd create mask = 777 directory mask = 0777 write list = @mis, @hrd valid users = @mis, @hrd [mntcappl] comment = Maintenance Application path = /usr/data/windows/maintenance create mask = 777 directory mask = 0777 write list = @mis, @production [document-template] comment = Document template path = /home/data/document-template browseable = yes create mask = 664 directory mask = 0775 force group = edp write list = @edp ; ; Group Share ; [edp-group] comment = EDP Dept. path = /home/data/edp-group create mask = 660 directory mask = 0770 force group = edp write list = @edp valid users = @edp [production-group] comment = Production Dept. Drive path = /home/data/production-group create mask = 660 directory mask = 0770 force group = production write list = @production valid users = @production [production2-group] comment = Production Confidential Data path = /home/data/production2-group create mask = 660 directory mask = 0770 force group = production2 write list = @production2 valid users = @production2 [accounting-group] comment = Accounting Dept. Drive path = /usr/home/acctfeed create mask = 660 directory mask = 0770 force group = acctfeed write list = @acctfeed valid users = @acctfeed -- FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab Unsubscribe: kirim email ke tanya-jawab-unsubscr...@linux.or.id Arsip dan info milis selengkapnya di http://linux.or.id/milis