LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Share home directory (http://www.linuxquestions.org/questions/linux-newbie-8/share-home-directory-12280/)

cruella 01-21-2002 11:11 AM

Share home directory
 
We have Redhat 6.0, Windows NT Server 4.0 and Windows NT workstations 4.0. I need to share "joanne's" home directory with another user, "boss". I created a new group to include both users, changed the group for that directory and changed all the attributes as necessary. When I do a "l -ls", it shows the group. When I connect through Windows as "boss" I cannot see the directory. Is there something else I need to do?

lfslinux 01-21-2002 02:01 PM

Re: Share home directory
 
Quote:

Originally posted by cruella
We have Redhat 6.0, Windows NT Server 4.0 and Windows NT workstations 4.0. I need to share "joanne's" home directory with another user, "boss". I created a new group to include both users, changed the group for that directory and changed all the attributes as necessary. When I do a "l -ls", it shows the group. When I connect through Windows as "boss" I cannot see the directory. Is there something else I need to do?
i'm assuming you're running samba on redhat.

changing the group permissions isn't enough. you have to tell samba that user 'boss' is allowed to browse /home/joanna

cruella 01-21-2002 02:08 PM

How do I do that?

acid_kewpie 01-21-2002 02:14 PM

set it up as a normal share and set the 'valid users =' line for that share in smb.conf

man smb.conf

DMR 01-22-2002 01:17 AM

As acid_kewpie said, the users need to be valid as far as Samba is concerned. You might have to do something like "smbpasswd -a <username> <username's password>" to get that working. You can do "man smbpasswd" for more on that if need be. Otherwise, here's a snip from my /etc/smb.conf file for a share on my linux box which can be accessed from my Win98 box by the users "dave" and
"boris":
Code:

[shared]
 comment = home shared directory
 path = /home/shared
 valid users = dave boris
 public = no
 browseable = yes
 writeable = yes



All times are GMT -5. The time now is 09:23 AM.