Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: ezingleman on November 15, 2006, 01:01:44 AM

Title: Samba Configuration -Help Requested
Post by: ezingleman on November 15, 2006, 01:01:44 AM
I use SME here at my home as an email/web/samba appliance.  I've been using FreeNAS for a share drive. It works well but I don't want three server PCs running around the clock running up my powerbill :-)

How may I configure SAMBA within SME so that everyone on the local subnet may have unauthenticated access to the drive?

Thanks in advance,

Ernest
Title: Samba Configuration -Help Requested
Post by: mbachmann on November 24, 2006, 02:50:07 PM
Look at /etc/samba/smb.conf. The entries you are interested in are
security and guest.

Do not alter the entries there. You have to use the SME template system.

Copy the files /etc/e-smith/templates/etc/smb.conf/11guestOk and 11security to /etc/e-smith/templates-custom/etc/smb.conf/. If the directory is not there, create it. Edit the contents to

guest ok = yes
security = share

save,
expand template
Code: [Select]
signal-event workgroup-update

[Note: normally you would run expand-template /etc/samba/smb.conf but here is or was a bug]

restart samba
Code: [Select]
service smb restart

View smb.conf to confirm changes. Try it out.

If you are stuck, try searching for "expand template smb.conf" here in the forums.