Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: stocky on February 02, 2005, 04:44:31 AM

Title: samba config and accessing user folders
Post by: stocky on February 02, 2005, 04:44:31 AM
Hi again,
I now have my SME 6 box (CSERVER) setup so that when the users try and access via My Network Places (\\cserver), it requests a user/PW to gain access. SME then displays two folders, one called homes, and the other being the user name. Both of these folders are the same.
Q1...Can I make the HOMES folder go away and just leave the user folder showing? If so, how?
Q2...I need to make a totally public folder accessible to all users WITHOUT having them login. How can I do this as they are required to enter a user/pw just to get into \\cserver at the moment

Ideally i would like to have free unrestricted access with no login to \\cserver\public and have the users enter a user/pw to get into \\cserver\home_folder (or something similar), which then displays the users files.

BTW... i know its not the right way to do it, but i have made the changes by editing the smb.conf file, so i dont need to be able to set it up from the web console, i will just chnage the file manually.

Does this make sense? can someone help??? :roll:
This is for my local school
Title: samba config and accessing user folders
Post by: stocky on February 02, 2005, 04:46:25 AM
PS...i can post my smb.conf file if that helps.......
Title: samba config and accessing user folders
Post by: purana on February 05, 2005, 02:59:23 AM
Quote
Q1...Can I make the HOMES folder go away and just leave the user folder showing? If so, how?


edit your smb.conf

Find the section relating to [home] share. And below it find the bit that says;

browseable = yes

change it to be

browseable = no

Save and restart samba.

You should then no longer see the home share, the user logged on will stil however see his/her own home share. BUt will not see the other link to it being home.

Hope that helps
Title: samba config and accessing user folders
Post by: mikeda411 on February 05, 2005, 07:16:09 AM
were is the smb.conf file that i can edit? I tried to edit /etc/samb/smb.conf but there was a statemanet that saids not to edit that file. where or how can i edit the smb.conf file?
Title: samba config and accessing user folders
Post by: stocky on February 05, 2005, 09:12:04 AM
BAH...i editied it, just BE WARNED...if you make any changes thru the web panel you will lose what you have manually done...i need to make it do things and dont have grasp of the template system yet, so its the only way i knew how to do it
Title: samba config and accessing user folders
Post by: Denbert on February 05, 2005, 09:55:14 AM
http://no.longer.valid/phpwiki/index.php/Customizing