Problem: SMB user config
|
12th Mar, 2014, 09:54 AM
Post: #1
|
|||
|
|||
SMB user config
hey hey,
i set up my pi with xbian and first to say it works great ( media play, library ) i am new to linux, i know how i can connect to the pi with putty Now i try to set up smb so when i connect from my pc (WiN 8) to the pi he will ask me for a user and pw, in config i found write access but only for everyone eg anonymous and i dont want this i got it that he ask for a user and pw for the default folders "xbian" "xbian-xbmc" "system-logs" but not for my connected usb hard drive, how can i set this up ? And is it necessary to create multiple users for every pc in the network or can all connect with the same user/pw? probably its necessary for more user accounts for only read and read/write access. Sorry for my bad english it is not my main language but i hope anybody can help me. Software XBian version: latest ( installed 2 days ago) 1.0 beta 2 i guess XBMC version: included in the xbian installer Overclock settings: none Hardware Power supply rating: 1,2A 5V RPi model (model A/B 256mb/512mb): B / 512 mb SD card size and make/type: SanDisk Ultra 16gb 30mb/s Network (wireless or LAN): Lan Connected devices (TV, USB, network storage, etc.): TV , USB Keyboard and 1TB HDD |
|||
15th Mar, 2014, 02:38 AM
Post: #2
|
|||
|
|||
RE: SMB user config
I'm not an expert in this field, but from what you are saying, you will need to look at the conf files in
/etc/samba/ Maybe someone else has a better idea. Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
16th Mar, 2014, 08:12 AM
Post: #3
|
|||
|
|||
RE: SMB user config
(12th Mar, 2014 09:54 AM)Eisregen04 Wrote: i got it that he ask for a user and pw for the default folders "xbian" "xbian-xbmc" "system-logs" but not for my connected usb hard drive, how can i set this up ? And is it necessary to create multiple users for every pc in the network or can all connect with the same user/pw? at /etc/usbmount/usbmount.conf there are three parameters SHARESMB=yes SHARERW=no SHARELT=no 1 - shares enabled on hotplug disks 2 - rw access enabled (anonymous) 3 - rw limitations - expects xbian user ownership and asks password for xbian user (smbuser xbian) Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
9th May, 2014, 05:39 AM
Post: #4
|
|||
|
|||
RE: SMB user config
Hi Everybody,
I didn't have the value "SHARELT" in my /etc/usbmount/usbmount.conf I update my Xbian but it's the same result : Just SHARESMB & SHARERW. When I look the /usr/share/usbmount/usbmount file, I didn't find the SHARELT option. My goal is to have 2 access with samba : Anonymous with Read & Xbian width Write/Read. Any Solution ? THX Despendo French user |
|||
29th Dec, 2015, 08:13 PM
Post: #5
|
|||
|
|||
RE: SMB user config
Old thread, but I was looking for the same kind of thing
I did it with defining xbian as samba user with a password : Terminal sudo smbpasswd xbian For me it looks like this : - disable xbian-xbmc, in the latest distrib, .xbmc doesn't exist anymore - xbian and logs available only for xbian - a dropbox dir to allow guests to upload files - an exemple of directory in read only mode for guests - an exemple of directory in read/write mode for xbian only Terminal [xbian] path = /home/xbian guest ok = no read only = no force user = xbian browseable = yes #[xbian-xbmc] # path = /home/xbian/.xbmc # guest ok = yes # read only = no # force user = xbian # browseable = yes [xbian-kodi] path = /home/xbian/.kodi guest ok = no read only = no force user = xbian browseable = yes [system-logs] path = /var/log guest ok = no read only = yes force user = root browseable = yes [DropBox] path = /your/path/to/DropBox guest ok = yes read only = no force user = xbian browseable = yes [dir-guest-ro] path = /your/path/to/dir guest ok = yes read only = yes force user = xbian browseable = yes [dir-xbian-rw] path = /your/path/to/dir guest ok = no read only = no force user = xbian browseable = yes |
|||
« Next Oldest | Next Newest »
|