[Samba] Share names causing big troubles

Jerry Lynde jlynde at diligence.com
Tue Oct 15 19:35:01 GMT 2002


Here's the Homes excerpt from my samba configuration...
================================
[homes]
         comment = Home Directories
         username = %S
         writeable = Yes
         create mask = 0744
         force create mode = 0775
         directory mask = 0750
         browseable = No
================================
The "browseable = No" line hides em all.

You might want to stick to a mo9re convention (old school) username
convention for length reasons, like jmcparland or something...

Jer


><mailto:jamie at listserv.newberg.k12.or.us>jamie at listserv.newberg.k12.or.us 
>wrote:
>>
>>Thanks for the quick response.. The phone is literally ringing from a crabby
>>teacher about this. HA!
>>
>>I just tried that.
>>
>>\\172.16.48.50\students\
>>
>>So my home directory would look like
>>
>>
>>This is the directory with all the kids folders in it. It shows all the
>>other kids folders. I chmoded all the kids folders to 700 so a student can
>>only access their own dir.
>>
>>I also played with chmoding the students dir. I thought if I set it to 755
>>they would only see their folder but no such luck. All the folders show up.
>>
>>
>>
>>On 10/15/02 11:56 AM, "Herb Lewis" <mailto:herb at sgi.com><herb at sgi.com> wrote:
>>
>>>
>>>Jamie McParland wrote:
>>>>
>>>>Yea I did that but you see the other 2999 students. And you have to look
>>>>through them all to find your folder. That s not gonna fly with the
>>>>teachers. - Jamie
>>>>
>>>
>>>I think you misunderstand. I don't mean to share the parent directory
>>>for the user home directories. Samba has a special share named homes
>>>that maps to the home directory of the user. If my login name was
>>>herb, I could map my home as either \\server\herb or \\server\homes
>>>and get the same directory. This should work to allow you to map
>>>\\server\homes instead of \\server\jamie.mcparland to get to your
>>>home directory on samba.
>>
>>




More information about the samba mailing list