Springen naar inhoud


Foto

Permissions for samba


  • Please log in to reply
Er zijn 5 reacties in dit onderwerp

#1 babyloon

  • Member
  • 2 berichten

0
Neutral

Geplaatst op 5 augustus 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
  • 14151 berichten

+52
Good

Geplaatst op 6 augustus 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
  • 4795 berichten

+15
Neutral

Geplaatst op 6 augustus 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
  • 32766 berichten

+245
Excellent

Geplaatst op 6 augustus 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 berichten

0
Neutral

Geplaatst op 6 augustus 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
  • 33477 berichten

+118
Excellent

Geplaatst op 6 augustus 2008 - 19:53

the 7025 is an OpenEmbedded (OE) box

on the Glassfibre 1GB DVB-C...



1 gebruiker(s) lezen dit onderwerp

0 leden, 1 bezoekers, 0 anonieme gebruikers