Samba

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
ganome
Posts: 62
Joined: 22 Jun 2012, 11:37
Location: jakarta

Samba

Postby ganome » 04 Sep 2013, 08:19

gan bantuin sy donk, jd gni sy lgi membuat sharing file dengan samba .. ad 3 folder yang ingin sya sharing,

Code: Select all

1.akutansi 2.komputer 3.ekonomi
sya udh buat

Code: Select all

adduser untuk masing" folde (akutansi dll..) dan smbdpasswd -a (masing' user)
pertanyaan'a pas user akutansi masuk ke folder'a dan masukan pass'a ..
ko knpa folder' lain yg tadinya ke passwrd jd ikut kebuka ya padahal passwrd'a kan beda".

Code: Select all

ini smb.conf sya [komputer] comment = sharing file komputer path = /home/share/komputer writeable = yes browseable = yes create mask = 0775 force create mode = 0775 directory mask = 0775 force directory mode = 0775 [ekonomi] comment = sharing file Elka path = /home/share/ekonomi writeable = yes browseable = yes create mask = 0775 force create mode = 0775 directory mask = 0775 force directory mode = 0775 [akutansi] comment = sharing file Komputer path = /home/share/akutansi writeable = yes browseable = yes create mask = 0777 force create mode = 0777 directory mask = 0777 force directory mode = 0777
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: Samba

Postby q_p » 04 Sep 2013, 08:35

Pada masing-masing folder yang di-share, tambahkan =

Code: Select all

force user = fulan
PS=
Hindari penggunaan singkatan pada posting/thread agar tidak rancu dengan CLI. Dengan Bahasa Indonesia yang baku, malah lebih baik.
User avatar
ganome
Posts: 62
Joined: 22 Jun 2012, 11:37
Location: jakarta

Re: Samba

Postby ganome » 04 Sep 2013, 08:48

iya mkasih kang pragola pati,

Code: Select all

force user = fulan (itu untuk apa ya, soal'a setelah saya tambahkan "you minght not have permission to use this network resource")
User avatar
ganome
Posts: 62
Joined: 22 Jun 2012, 11:37
Location: jakarta

Re: Samba

Postby ganome » 04 Sep 2013, 08:57

maaf kang

Code: Select all

force user = fulan (fulan'a itu diisi Ip addres atau nama user msing" pc) maklum kang msih newbe.
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: Samba

Postby q_p » 04 Sep 2013, 09:20

fulan diganti dengan user yang anda buat pada langkah ini =
...
sya udh buat

Code: Select all

adduser untuk masing" folde (akutansi dll..) dan smbdpasswd -a (masing' user)
...
User avatar
ganome
Posts: 62
Joined: 22 Jun 2012, 11:37
Location: jakarta

Re: Samba

Postby ganome » 04 Sep 2013, 10:41

kang sya udh ikutin cra akang tp tetep sma kang smua'a bisa kebuka ..
ini smb.conf saya

Code: Select all

[akutansi] comment = sharing file Komputer path = /home/share/akutansi writeable = yes browseable = yes create mask = 0777 force create mode = 0777 directory mask = 0777 force directory mode = 0777 force user = akutansi [ekonomi] comment = sharing file Elka path = /home/share/ekonomi writeable = yes browseable = yes create mask = 0775 force create mode = 0775 directory mask = 0775 force directory mode = 0775 force user = ekonomi
User avatar
sr_aja
Posts: 603
Joined: 10 Dec 2012, 11:21
Location: Jakarta

Re: Samba

Postby sr_aja » 05 Sep 2013, 08:49

pertanyaan'a pas user akutansi masuk ke folder'a dan masukan pass'a ..
ko knpa folder' lain yg tadinya ke passwrd jd ikut kebuka ya padahal passwrd'a kan beda".
periksa apakah user akuntansi juga sebagai member dari group yg lain
dan coba tambahkan parameter ini;

valid users = akuntansi << nama groups/nama user

Who is online

Users browsing this forum: No registered users and 16 guests