Koozali.org: home of the SME Server

View user home directories through samba

Grant

View user home directories through samba
« on: January 07, 2002, 09:11:07 AM »
Hi,

I'm looking for a way of adding say a 'homedrives' share accessible by a selected user, that displays all the users home drives.

I got as far as:
[homedrives]
path = /home/e-smith/files/users

but then I can't access each users home drive because of permission problems.

Has anybody done this before, or know of a solution?

Robert Heaton

Re: View user home directories through samba
« Reply #1 on: January 08, 2002, 05:48:19 PM »
Hi
Try adding this line under your original statement.
public = yes

Rob.

RS

Re: View user home directories through samba
« Reply #2 on: January 09, 2002, 07:04:51 AM »
I was able to view and access user home accounts from a Windows 2k professioal box.  

Create a local account on the 2k box with user=root   password='your sme root password'.  Log in as root using local account (this machine).

or, if you are using sme as domain controller, log in as root.

User directories are not browsable, so you have do it manually the first time.

To view a users account, type the following at the start/run:

'sme smbserver name''username'    look like this:  \sme\smith

You should have access to this user folder.  Repeat for all users.  Win2k will remember these shares when you type \sme in run command in the future.  

This can be helpful to use Win2k backup to backup user files and information bays to a file or tape on your Win2k computer.  This way, it is simple to restore a single directory or file if needed.  Still do SME server manager backups to so your OS and users/email can be restored.

tstarkey

Re: View user home directories through samba
« Reply #3 on: January 22, 2002, 12:53:40 PM »
Why not add this to your file....

[homedrives]
path = /home/e-smith/files/users
valid users = root yourlogon
write list = root yourlogon


Providing you specify yourlogon as the logon that you use, that should work fine.  I haven't tested it, but from there, if it doesn't work, just play and add some other settings....like "browsable = yes"  and/or "read only = no"

Have fun.

->Troy