Re: [Gluster-users] Access from multiple hosts where users have different uid/gid

2017-10-06 Thread Alastair Neil
nfsv4 id mapping is based on username not uid so you could use ganesha nfs
to share the files.

On 5 October 2017 at 04:42, Frizz  wrote:

> I have a setup with multiple hosts, each of them are administered
> separately. So there are no unified uid/gid for the users.
>
> When mounting a GlusterFS volume, a file owned by user1 on host1 might
> become owned by user2 on host2.
>
> I was looking into POSIX ACL or bindfs, but that won't help me much.
>
> What did other people do with this kind of problem?
>
> ___
> Gluster-users mailing list
> Gluster-users@gluster.org
> http://lists.gluster.org/mailman/listinfo/gluster-users
>
___
Gluster-users mailing list
Gluster-users@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users

Re: [Gluster-users] Access from multiple hosts where users have different uid/gid

2017-10-05 Thread Jim Kinney
Ouch!

I use a unified UID/GID process. I personally use FreeIPA. It can also be
done with just LDAP or (not recommended for security reasons) NIS+

Baring those, a well-disciplined manual process will work by copying
passwd, group, shadow and gshadow files around to all systems. Create new
users on a specific machine and then use a home-brewed script to push/sync
the files to all other machines.

On Thu, Oct 5, 2017 at 4:42 AM, Frizz  wrote:

> I have a setup with multiple hosts, each of them are administered
> separately. So there are no unified uid/gid for the users.
>
> When mounting a GlusterFS volume, a file owned by user1 on host1 might
> become owned by user2 on host2.
>
> I was looking into POSIX ACL or bindfs, but that won't help me much.
>
> What did other people do with this kind of problem?
>
> ___
> Gluster-users mailing list
> Gluster-users@gluster.org
> http://lists.gluster.org/mailman/listinfo/gluster-users
>



-- 
-- 
James P. Kinney III

Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain


*http://heretothereideas.blogspot.com/
*
___
Gluster-users mailing list
Gluster-users@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users

[Gluster-users] Access from multiple hosts where users have different uid/gid

2017-10-05 Thread Frizz
I have a setup with multiple hosts, each of them are administered
separately. So there are no unified uid/gid for the users.

When mounting a GlusterFS volume, a file owned by user1 on host1 might
become owned by user2 on host2.

I was looking into POSIX ACL or bindfs, but that won't help me much.

What did other people do with this kind of problem?
___
Gluster-users mailing list
Gluster-users@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users