Active direcotry based ACLs for Samba and Windows GPFS clients
Hello, I would like to ask if there is any possible way to unify access IDs for Samba share and GPFS client on Windows. The model situation looks like this - we have a GPFS cluster with one filesystem. On the filesystem we have a Samba shared directory. MMauth is configured to Active directory for file access and works. The Windows machine is also part of the GPFS cluster and therefore it is able to mount the filesystem "directly" by mmmount. However the user/group IDs that are used by this access method are not consistent with the IDs used by Samba and access to the same data is not working well. Is there is any solution to this situation? I tried to study the documentation but I didn't find a clear information whether this is or isn't possible but I also didn't find a way to unify the access. -- S přáním pěkného dne / Best regards Mgr. Peter Hruška IT specialista M Computers s.r.o. Úlehlova 3100/10, 628 00 Brno-Líšeň (mapa<https://mapy.cz/s/gafufehufe>) T:+420 515 538 136 E: peter.hruska@mcomputers.cz<mailto:peter.hruska@mcomputers.cz> www.mcomputers.cz<http://www.mcomputers.cz/> www.lenovoshop.cz<http://www.lenovoshop.cz/> [cid:d08ab7cf0ea126f3f6cd0af2c9a3127280680285.camel@mcomputers.cz-0]
On 08/03/2024 13:02, Peter Hruška wrote:
Hello,
I would like to ask if there is any possible way to unify access IDs for Samba share and GPFS client on Windows.
The model situation looks like this - we have a GPFS cluster with one filesystem. On the filesystem we have a Samba shared directory. MMauth is configured to Active directory for file access and works. The Windows machine is also part of the GPFS cluster and therefore it is able to mount the filesystem "directly" by mmmount. However the user/group IDs that are used by this access method are not consistent with the IDs used by Samba and access to the same data is not working well. Is there is any solution to this situation? I tried to study the documentation but I didn't find a clear information whether this is or isn't possible but I also didn't find a way to unify the access.
The obvious question is to ask if your Active Directory has it's RFC 23037bis fields populated? JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
Hello Jonathan, Thank you for the answer. Since I used Automatic ID-mapping method for the mmauth deployment I didn't do anything regarding RFC2307. I chose this approach because we don't want to use kerberos for NFS authentication (although we will use NFS for separate data access). I'll check on that. If you have any hints I would appreciate them. -- S přáním pěkného dne / Best regards Mgr. Peter Hruška IT specialista M Computers s.r.o. Úlehlova 3100/10, 628 00 Brno-Líšeň (mapa<https://mapy.cz/s/gafufehufe>) T:+420 515 538 136 E: peter.hruska@mcomputers.cz<mailto:peter.hruska@mcomputers.cz> www.mcomputers.cz<http://www.mcomputers.cz/> www.lenovoshop.cz<http://www.lenovoshop.cz/> [cid:c95a681f19a2dd92eac22c858b7c1d0dfa182335.camel@mcomputers.cz-0] On Fri, 2024-03-08 at 15:50 +0000, Jonathan Buzzard wrote: EXTERNÍ ODESÍLATEL On 08/03/2024 13:02, Peter Hruška wrote: Hello, I would like to ask if there is any possible way to unify access IDs for Samba share and GPFS client on Windows. The model situation looks like this - we have a GPFS cluster with one filesystem. On the filesystem we have a Samba shared directory. MMauth is configured to Active directory for file access and works. The Windows machine is also part of the GPFS cluster and therefore it is able to mount the filesystem "directly" by mmmount. However the user/group IDs that are used by this access method are not consistent with the IDs used by Samba and access to the same data is not working well. Is there is any solution to this situation? I tried to study the documentation but I didn't find a clear information whether this is or isn't possible but I also didn't find a way to unify the access. The obvious question is to ask if your Active Directory has it's RFC 23037bis fields populated? JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org
On 08/03/2024 16:08, Peter Hruška wrote:
Hello Jonathan,
Thank you for the answer. Since I used Automatic ID-mapping method for the mmauth deployment I didn't do anything regarding RFC2307. I chose this approach because we don't want to use kerberos for NFS authentication (although we will use NFS for separate data access). I'll check on that. If you have any hints I would appreciate them.
Consistent mapping won't work without RFC2307bis attributes being populated as far as I am aware. Windows knows nothing about the idmap_rid, it only knows about SID's Mixing NFS and Samba out the same file system or at the very least the same directory hierarchy is a mugs game. There in lies a gigantic pit of woe for all those foolish enough to try based on personal experience. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
It works just fine at UQ, using an AFM cache. We have NFS-only at the 'home' but we have thousands of filesets coming out of NFS and SMB on our cache. Not, technically, a preferred configuration to have that many of them, but it's possible. Sarah Walters BCompSc Research Computing Systems Engineer Research Computing Centre The University of Queensland Brisbane QLD 4072 Australia E sarah.walters@uq.edu.au W www.rcc.uq.edu.au CRICOS code: 00025B The University of Queensland is embracing the Green Office philosophy. Please consider the environment before printing this email. This email (including any attached files) is intended solely for the addressee and may contain confidential information of The University of Queensland. If you are not the addressee, you are notified that any transmission, distribution, printing or photocopying of this email is prohibited. If you have received this email in error, please delete and notify me. Unless explicitly stated, the opinions expressed in this email do not represent the official position of The University of Queensland. ________________________________ From: gpfsug-discuss <gpfsug-discuss-bounces@gpfsug.org> on behalf of Jonathan Buzzard <jonathan.buzzard@strath.ac.uk> Sent: Saturday, 9 March 2024 02:18 To: gpfsug-discuss@gpfsug.org <gpfsug-discuss@gpfsug.org> Subject: Re: [gpfsug-discuss] Active direcotry based ACLs for Samba and Windows GPFS clients On 08/03/2024 16:08, Peter Hruška wrote:
Hello Jonathan,
Thank you for the answer. Since I used Automatic ID-mapping method for the mmauth deployment I didn't do anything regarding RFC2307. I chose this approach because we don't want to use kerberos for NFS authentication (although we will use NFS for separate data access). I'll check on that. If you have any hints I would appreciate them.
Consistent mapping won't work without RFC2307bis attributes being populated as far as I am aware. Windows knows nothing about the idmap_rid, it only knows about SID's Mixing NFS and Samba out the same file system or at the very least the same directory hierarchy is a mugs game. There in lies a gigantic pit of woe for all those foolish enough to try based on personal experience. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org
participants (3)
-
Jonathan Buzzard -
Peter Hruška -
Sarah Walters
