[ask] Seting samba di webmin

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
Rosihan
Posts: 1
Joined: 28 Dec 2012, 09:23
Contact:

[ask] Seting samba di webmin

Postby Rosihan » 28 Dec 2012, 09:45

Mohon bantuan,

Saya membuat file server dengan samba via webmin di Ubuntu Linux 12.04.1. User dan grup sdh saya buat. Pada saat di akses dari windows XP bisa di browse tapi tidak bisa menambah folder dan file. Berikut seting di smb.conf nya.


#======================= Global Settings =======================

[global]
log file = /var/log/samba/log.%m
read raw = no
write raw = no
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
obey pam restrictions = yes
socket options = TCP_NODELAY
map to guest = bad user
winbind trusted domains only = yes
encrypt passwords = yes
winbind use default domain = yes
passwd program = /usr/bin/passwd %u
passdb backend = tdbsam
dns proxy = no
writeable = yes
server string = %h PT Media Inter Data
path = /home
unix password sync = yes
workgroup = WORKGROUP
os level = 20
syslog = 0
security = user
usershare allow guests = yes
panic action = /usr/share/samba/panic-action %d
max log size = 1000
pam password change = yes

## Browsing/Identification ###

# wins support = no
; wins server = w.x.y.z
; name resolve order = lmhosts host wins bcast

#### Networking ####
; interfaces = 127.0.0.0/8 eth0
; bind interfaces only = yes

########## Domains ###########
; domain logons = yes
; logon path = \\%N\profiles\%U
; logon drive = H:
; logon script = logon.cmd
; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u
; add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u
; add group script = /usr/sbin/addgroup --force-badname %g

############ Misc ############
; include = /home/samba/etc/smb.conf.%m
; message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
; idmap uid = 10000-20000
; idmap gid = 10000-20000
; template shell = /bin/bash
; winbind enum groups = yes
; winbind enum users = yes
; usershare max shares = 100

#======================= Share Definitions =======================


;[homes]
; comment = Home Directories
; browseable = no
; read only = yes
; create mask = 0700
; directory mask = 0700
; valid users = %S
;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; read only = yes
;[profiles]
; comment = Users profiles
; path = /home/samba/profiles
; guest ok = no
; browseable = no
; create mask = 0600
; directory mask = 0700
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no

;[cdrom]
; comment = Samba server's CD-ROM
; read only = yes
; locking = no
; path = /cdrom
; guest ok = yes

; preexec = /bin/mount /cdrom
; postexec = /bin/umount /cdrom




[BOD]
force user = my_boss
browseable = yes
path = /home/DATA/xmedia
force group = BOD


Terima kasih
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: [ask] Seting samba di webmin

Postby q_p » 28 Dec 2012, 16:16

Kalau maksudnya u/ folder sharing, langsung saja anda edit /etc/samba/smb.conf. Tidak perlu pakai webmin. Tapi sebelumnya pastikan anda sudah install

Code: Select all

apt-get install samba samba-common samba-doc libcupsys2 winbind smbclient smbfs
User avatar
sta
Posts: 2003
Joined: 27 Apr 2010, 09:49
Contact:

Re: [ask] Seting samba di webmin

Postby sta » 28 Dec 2012, 16:58

mungkin masalah write
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: [ask] Seting samba di webmin

Postby q_p » 28 Dec 2012, 17:51

@sta
Bisa jadi. Tapi kalo lihat konfigurasinya, samba dipakai u/ PDC, printer sharing dan file/folder sharing. Baiknya disederhanakan saja dulu menjadi file/folder sharing. Kalo sudah jalan, artinya kompi client windows bisa mapping drive ke samba, bisa dilanjut ke PDC dan Printer sharing.

Return to “Ubuntu Server”

Who is online

Users browsing this forum: No registered users and 12 guests