[Samba] uid and gid problems with linux as client and server
Lapin(c)
lapin at linagora.com
Tue Jun 8 15:51:25 GMT 2004
Hi Paul,
with the same request and Samba 3.0.4, it works fine only for the mount point,
there is no recursive propagation of uid/gid.
# ll /home/mydir/dir
drwxr-xr-x 1 lapin lapin 4096 2004-06-08 14:15 dir
# ll /home/mydir/dir/file
-rwxrwx--- 1 1004 100 2901504 1940-10-24 04:26 file
Selon Paul Espinosa <pespinosa at sunflowerbroadband.com>:
> Laurence,
>
> This is how I mount a samba share on my Linux workstation(all on one line):
>
> sudo mount -t smbfs -o uid=<username>, ip=10.10.10.10, username=<username>,
> password=<password>//server/share /home/mydir/dir
>
> This works for me just fine.
>
> --
> Paul Espinosa
> pespinosa at sunflowerbroadband.com
> IT Supervisor
> The World Company
> 785/312-6912
>
>
> .----[ Laurence Rowe wrote ]----
> |
> |
> | Hi,
> |
> | I'm using samba 3.0.4 (stock debian packages) as a client and a server.
> | The problem is I have a different uid on server (1001) to my client
> | (1000) so when I try and access a file I appear to the client as not
> | being the owner. I have tried the uid and gid options in smbmount, but
> | they do not seem to have any affect (I assume the unix cifs extensions
> | are overiding them).
> |
> | On the server side I have a create mask and a directory mask of 775 but
> | this also has no affect.
> |
> | This is driving me spare! Is there any way to disable the unix cifs
> | extensions or to map between uids?
> |
> | Thanks,
> |
> | Laurence
> |
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
>
>
More information about the samba
mailing list