Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: Andromalius on January 22, 2008, 09:15:21 PM

Title: Samba Documentation?
Post by: Andromalius on January 22, 2008, 09:15:21 PM
Hello,
  I have been looking for samba documentation but haven't found anything, and there doesn't seem to be a way to configure a share through server-manager.

Originally I had intended to edit smb.conf but there is a note at the top that says it gets re-generated by....something.

Is there documentation on how to configure samba?
Title: Re: Samba Documentation?
Post by: imcintyre on January 22, 2008, 09:25:35 PM
If I'm not missing something, you need to create an i-bay, add some users, create a group with the users in it and then set the properties on the ibay to allow the users to read/write etc. It is pretty simple to do in the server-manager and explained pretty well in the manual.

Let me know if this doesn't help.
Title: Re: Samba Documentation?
Post by: Stefano on January 22, 2008, 09:40:49 PM
there doesn't seem to be a way to configure a share through server-manager.

are you sure?

Quote
Is there documentation on how to configure samba?

yes, the manual..

hth
ciao
Stefano
Title: Re: Samba Documentation?
Post by: thomasch on January 23, 2008, 03:27:54 AM
Quote
I have been looking for samba documentation but haven't found anything, and there doesn't seem to be a way to configure a share through server-manager

When you configure I-bays  (http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter14)  or Information bays, you are configuring samba shares, well.. some of the configurations. If you want more control, then you can :
-configure the samba properties via db commands

Read  here  (http://wiki.contribs.org/DB_Variables_Configuration#Samba_.28smbd.29)

or

- edit the template of smb.conf.
/etc/e-smith/templates/ hold the configuration template fragments.

Originally I had intended to edit smb.conf but there is a note at the top that says it gets re-generated by....something.

SME Server uses different approach to manage the configuration than other Linux distro. It uses templating system which pull some of the configuration from configuration database.
You can either change the configuration by submit db commands from CLI (as root) or edit the templates directly.

If you want to edit smb.conf, you copy the fragment(s) from /etc/e-smith/templates/etc/smb.conf  to /etc/e-smith/templates-custom/etc/smb.conf  and edit the fragment in there.
then do a  'expand-template /etc/smb.conf' to 'regenerate' /etc/smb.conf and restart the samba server.

Read the docs *at least twice*, search the forum, fiddle around db commands and you will find SME server is a easy to manage and fun yet powerful server.

 RTFM  (http://wiki.contribs.org/) even if you are an experienced Linux user.
Title: Re: Samba Documentation?
Post by: CharlieBrady on January 23, 2008, 04:44:23 AM
You can either change the configuration by submit db commands from CLI (as root) or edit the templates directly.

Or, for something really radical, you could use the server-manager - as describe in the User Guide. :-)
Title: Re: Samba Documentation?
Post by: imcintyre on January 24, 2008, 02:20:28 AM
I think you may have scared him off on only his second post :sad:
Title: Re: Samba Documentation?
Post by: thomasch on January 24, 2008, 02:44:06 AM
Is it because of me says RTFM?
I'm sorry. I never intended to scare anybody off..

Always think RTFM = Read The Fine Manual

Title: Re: Samba Documentation?
Post by: imcintyre on January 24, 2008, 03:11:29 AM
 :lol: :lol: :lol: :lol: :lol: :lol: