using samba to serve the whole tree of home directories

Urban Widmark urban at teststation.com
Wed Nov 21 03:07:03 GMT 2001


On Tue, 20 Nov 2001, Joseph DiPerna wrote:

> I expected to see something like
> 
> drwxrwxrwx    3 capdx    capdx        4096 Nov 19
> 15:26 capdx
> drwx------    2 carol    carol        4096 Nov 20
> 14:36 carol
> drwx------   11 jdiperna jdiperna     4096 Nov 19
> 19:05 jdiperna
> 
> but instead I'm seeing
> 
> drwxrwxr-x    1 root     root          512 Nov 19
> 15:26 capdx
> drwxrwxr-x    1 root     root          512 Nov 20
> 14:36 carol
> drwxrwxr-x    1 root     root          512 Nov 19
> 19:05 jdiperna
> 
> I want the permissions to be the same as they are on
> the server.
> 
> Any clues would be very much appreciated.

smbfs does not support mapping users. All files are shown as belonging one 
user, and all accesses to the server are made as the user making the 
connection.

Try using NFS. Or mount each directory individually (with some kind of
automounting, autofs, pam_mount).

/Urban





More information about the samba mailing list