[Samba] Using different UIDs for server and client

Rocky Zhou rockym.z+list at gmail.com
Mon Mar 5 07:30:21 GMT 2007

Now I mount cifs for every clients backup
# mount
//store/homes on /mnt/host type cifs (rw,mand)

But there is still a problem:
# ls /mnt/host -l
total 4
drwxr-xr-x  4 10004 10004 0 Feb 28 14:11 fs_backup
this UID 10004 exists on the samba server 'store', but for this
client, it's not good to use this UID, I hope that the files and dirs
are all owned by 'root'.

What should I do?

Thank you.

More information about the samba mailing list