Koozali.org: home of the SME Server

Samba Documentation?

Offline Andromalius

  • 2
  • +0/-0
Samba Documentation?
« 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?

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: Samba Documentation?
« Reply #1 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.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Samba Documentation?
« Reply #2 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

Offline thomasch

  • *
  • 232
  • +0/-0
Re: Samba Documentation?
« Reply #3 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   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

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 even if you are an experienced Linux user.
« Last Edit: January 23, 2008, 03:31:50 AM by thomasch »

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Samba Documentation?
« Reply #4 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. :-)

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: Samba Documentation?
« Reply #5 on: January 24, 2008, 02:20:28 AM »
I think you may have scared him off on only his second post :sad:

Offline thomasch

  • *
  • 232
  • +0/-0
Re: Samba Documentation?
« Reply #6 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


Offline imcintyre

  • *
  • 609
  • +0/-0
Re: Samba Documentation?
« Reply #7 on: January 24, 2008, 03:11:29 AM »
 :lol: :lol: :lol: :lol: :lol: :lol: