Jump to content


Photo

Permissions for samba


  • Please log in to reply
5 replies to this topic

#1 babyloon

  • Member
  • 2 posts

0
Neutral

Posted 5 August 2008 - 18:32

Hi,

I already use samba on servers and some computers.
I want to use it on my dreambox, but with permissions and limitation (not only guest access).

smbpasswd is not on my Pli Iolite, and I didn't find any information about securing samba on dreambox.

Could you help me please?

Thank you,

Damien

Re: Permissions for samba #2 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 6 August 2008 - 10:52

For which box?
As far as I know, CDK boxes do not have smbpasswd, but it *could* be possible for the OE boxes.
Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: Permissions for samba #3 litemotiv

  • Senior Member
  • 4,795 posts

+15
Neutral

Posted 6 August 2008 - 10:58

Add the following section to your smb.conf file (after modifying it to reflect your needs and your system):

[sharename]
comment = Insert a comment here
path = /media/hdd/sharedir/
valid users = username
public = no
writable = yes
printable = no
create mask = 0765

The above example allows the user 'username' to read and write to the directory /media/hdd/sharedir, on the Dreambox, from a Samba client.

Re: Permissions for samba #4 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 6 August 2008 - 11:10

As far as I know, CDK boxes do not have smbpasswd


Neither do OE boxes. smbpasswd is really huge (several mb's), so we leave it out.

Re: Permissions for samba #5 babyloon

  • Member
  • 2 posts

0
Neutral

Posted 6 August 2008 - 18:51

My box is a Dreambox 7025.
What is OE & CDK ?

I try the config posted by lite, but samba didn't allow me to change username, it's Guest forced.
Also, I tried to change security param in Global, change it from share to user

Then, I have :

[Global]
security = user

Dreambox 7025 with HDD Multiboot on USB stick Pli Iolite

Re: Permissions for samba #6 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,472 posts

+118
Excellent

Posted 6 August 2008 - 19:53

the 7025 is an OpenEmbedded (OE) box

on the Glassfibre 1GB DVB-C...



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users