←  [EN] Enduser support

Forums

»

Permissions for samba

's foto babyloon 5 aug 2008

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
Citeren

's foto dAF2000 6 aug 2008

For which box?
As far as I know, CDK boxes do not have smbpasswd, but it *could* be possible for the OE boxes.
Citeren

's foto litemotiv 6 aug 2008

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.
Citeren

's foto pieterg 6 aug 2008

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.
Citeren

's foto babyloon 6 aug 2008

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
Citeren

's foto hemertje 6 aug 2008

the 7025 is an OpenEmbedded (OE) box
Citeren