Issues getting SMB shares working.
Hello I've recently taken over managing a GPFS installation providing storage to a research facility at Leeds University. The system was setup by a colleague who recently left and before he left he configured NFSV4 access which services an important subset, but not all the users who require access to the storage. SMB access was part of the deployment plan, but he didn't have time to get that working. I've been attempting to get an SMB share up and running myself and have enabled the SMB service with "mmces service enable SMB", have added a share with "mmsmb export add share /path/to/folder" and "mmsmb export list" seems to show everything is okay. However attempts to access the share through the floating protocol addresses fail and I have no idea how to diagnose the issue. Any advice/help would be welcome. -- Aidan Richmond Apple/Unix Support Officer, IT Garstang 10.137 Faculty of Biological Sciences University of Leeds Clarendon Way LS2 9JT Tel:0113 3434252 a.g.richmond@leeds.ac.uk
Have you configured authentication? Mmuserauth service list --data-access-method file -----Original Message----- From: gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Aidan Richmond Sent: 01 March 2017 11:19 To: gpfsug-discuss@spectrumscale.org Subject: [gpfsug-discuss] Issues getting SMB shares working. Hello I've recently taken over managing a GPFS installation providing storage to a research facility at Leeds University. The system was setup by a colleague who recently left and before he left he configured NFSV4 access which services an important subset, but not all the users who require access to the storage. SMB access was part of the deployment plan, but he didn't have time to get that working. I've been attempting to get an SMB share up and running myself and have enabled the SMB service with "mmces service enable SMB", have added a share with "mmsmb export add share /path/to/folder" and "mmsmb export list" seems to show everything is okay. However attempts to access the share through the floating protocol addresses fail and I have no idea how to diagnose the issue. Any advice/help would be welcome. -- Aidan Richmond Apple/Unix Support Officer, IT Garstang 10.137 Faculty of Biological Sciences University of Leeds Clarendon Way LS2 9JT Tel:0113 3434252 a.g.richmond@leeds.ac.uk _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Hello It returns the following: FILE access configuration : USERDEFINED PARAMETERS VALUES ------------------------------------------------- On 01/03/17 11:33, Sobey, Richard A wrote:
Mmuserauth service list --data-access-method file
-- Aidan Richmond Apple/Unix Support Officer, IT Garstang 10.137 Faculty of Biological Sciences University of Leeds Clarendon Way LS2 9JT Tel:0113 3434252 a.g.richmond@leeds.ac.uk
That's probably the first thing you need to sort out then. Check out the mmuserauth service create command. There was an example on this list on Monday so depending when you subscribed you may not have seen it. FYI the command cited was: mmuserauth service create --type ad --data-access-method file --servers 192.168.88.3 --user-name administrator --netbios-name scale --idmap-role master --password ********* --idmap-range-size 1000000 --idmap-range 10000000-299999999 --enable-nfs-kerberos --unixmap-domains 'sirius(10000-20000)' Change the parameters to cater to your environment and needs of course. Richard -----Original Message----- From: gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Aidan Richmond Sent: 01 March 2017 11:36 To: gpfsug-discuss@spectrumscale.org Subject: Re: [gpfsug-discuss] Issues getting SMB shares working. Hello It returns the following: FILE access configuration : USERDEFINED PARAMETERS VALUES ------------------------------------------------- On 01/03/17 11:33, Sobey, Richard A wrote:
Mmuserauth service list --data-access-method file
-- Aidan Richmond Apple/Unix Support Officer, IT Garstang 10.137 Faculty of Biological Sciences University of Leeds Clarendon Way LS2 9JT Tel:0113 3434252 a.g.richmond@leeds.ac.uk _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Hello I'm a little hesitant to mess with the authentication as I we are wanting consistent UIDs across our systems and I know my predecessor struggled to get them consistent. Our AD environment stores the UID and GID settings in msSFU30uid and msSFU30gid. I'm also concerned that the system is already in use with nfsv4 access and don't want to break existing access unless I have to. On 01/03/17 11:42, Sobey, Richard A wrote:
That's probably the first thing you need to sort out then.
Check out the mmuserauth service create command.
There was an example on this list on Monday so depending when you subscribed you may not have seen it. FYI the command cited was:
mmuserauth service create --type ad --data-access-method file --servers 192.168.88.3 --user-name administrator --netbios-name scale --idmap-role master --password ********* --idmap-range-size 1000000 --idmap-range 10000000-299999999 --enable-nfs-kerberos --unixmap-domains 'sirius(10000-20000)'
Change the parameters to cater to your environment and needs of course.
Richard
-----Original Message----- From: gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Aidan Richmond Sent: 01 March 2017 11:36 To: gpfsug-discuss@spectrumscale.org Subject: Re: [gpfsug-discuss] Issues getting SMB shares working.
Hello
It returns the following:
FILE access configuration : USERDEFINED PARAMETERS VALUES -------------------------------------------------
On 01/03/17 11:33, Sobey, Richard A wrote:
Mmuserauth service list --data-access-method file
-- Aidan Richmond Apple/Unix Support Officer, IT Garstang 10.137 Faculty of Biological Sciences University of Leeds Clarendon Way LS2 9JT Tel:0113 3434252 a.g.richmond@leeds.ac.uk
Lets figure out how your NFS is authenticating then. The userdefined authentication you have, could mean that your linux host is configured to authenticated towards AD --- or it could be that you're using simple sys-authentication for NFS. Could you please post the output of: mmnfs export list mmnfs config list -jf On Wed, Mar 1, 2017 at 1:07 PM, Aidan Richmond <a.g.richmond@leeds.ac.uk> wrote:
Hello
I'm a little hesitant to mess with the authentication as I we are wanting consistent UIDs across our systems and I know my predecessor struggled to get them consistent. Our AD environment stores the UID and GID settings in msSFU30uid and msSFU30gid.
I'm also concerned that the system is already in use with nfsv4 access and don't want to break existing access unless I have to.
On 01/03/17 11:42, Sobey, Richard A wrote:
That's probably the first thing you need to sort out then.
Check out the mmuserauth service create command.
There was an example on this list on Monday so depending when you subscribed you may not have seen it. FYI the command cited was:
mmuserauth service create --type ad --data-access-method file --servers 192.168.88.3 --user-name administrator --netbios-name scale --idmap-role master --password ********* --idmap-range-size 1000000 --idmap-range 10000000-299999999 --enable-nfs-kerberos --unixmap-domains 'sirius(10000-20000)'
Change the parameters to cater to your environment and needs of course.
Richard
-----Original Message----- From: gpfsug-discuss-bounces@spectrumscale.org [mailto: gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Aidan Richmond Sent: 01 March 2017 11:36 To: gpfsug-discuss@spectrumscale.org Subject: Re: [gpfsug-discuss] Issues getting SMB shares working.
Hello
It returns the following:
FILE access configuration : USERDEFINED PARAMETERS VALUES -------------------------------------------------
On 01/03/17 11:33, Sobey, Richard A wrote:
Mmuserauth service list --data-access-method file
-- Aidan Richmond Apple/Unix Support Officer, IT Garstang 10.137 Faculty of Biological Sciences University of Leeds Clarendon Way LS2 9JT
Tel:0113 3434252 a.g.richmond@leeds.ac.uk _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
mmnfs export list Path Delegations Clients ------------------------------------- /absl/SCRATCH none * /absl/SCRATCH none fbscpcu097 mmnfs config list NFS Ganesha Configuration: ========================== NFS_PROTOCOLS: 3,4 NFS_PORT: 2049 MNT_PORT: 0 NLM_PORT: 0 RQUOTA_PORT: 0 SHORT_FILE_HANDLE: FALSE LEASE_LIFETIME: 60 DOMAINNAME: LEEDS.AC.UK DELEGATIONS: Disabled ========================== STATD Configuration ========================== STATD_PORT: 0 ========================== CacheInode Configuration ========================== ENTRIES_HWMARK: 1500000 ========================== Export Defaults ========================== ACCESS_TYPE: NONE PROTOCOLS: 3,4 TRANSPORTS: TCP ANONYMOUS_UID: -2 ANONYMOUS_GID: -2 SECTYPE: SYS PRIVILEGEDPORT: FALSE MANAGE_GIDS: FALSE SQUASH: ROOT_SQUASH NFS_COMMIT: FALSE ========================== Log Configuration ========================== LOG_LEVEL: EVENT ========================== Idmapd Configuration ========================== DOMAIN: DS.LEEDS.AC.UK ========================== On 01/03/17 14:12, Jan-Frode Myklebust wrote:
Lets figure out how your NFS is authenticating then. The userdefined authentication you have, could mean that your linux host is configured to authenticated towards AD --- or it could be that you're using simple sys-authentication for NFS.
Could you please post the output of:
mmnfs export list mmnfs config list
-jf
On Wed, Mar 1, 2017 at 1:07 PM, Aidan Richmond <a.g.richmond@leeds.ac.uk> wrote:
Hello
I'm a little hesitant to mess with the authentication as I we are wanting consistent UIDs across our systems and I know my predecessor struggled to get them consistent. Our AD environment stores the UID and GID settings in msSFU30uid and msSFU30gid.
I'm also concerned that the system is already in use with nfsv4 access and don't want to break existing access unless I have to.
On 01/03/17 11:42, Sobey, Richard A wrote:
That's probably the first thing you need to sort out then.
Check out the mmuserauth service create command.
There was an example on this list on Monday so depending when you subscribed you may not have seen it. FYI the command cited was:
mmuserauth service create --type ad --data-access-method file --servers 192.168.88.3 --user-name administrator --netbios-name scale --idmap-role master --password ********* --idmap-range-size 1000000 --idmap-range 10000000-299999999 --enable-nfs-kerberos --unixmap-domains 'sirius(10000-20000)'
Change the parameters to cater to your environment and needs of course.
Richard
-----Original Message----- From: gpfsug-discuss-bounces@spectrumscale.org [mailto: gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Aidan Richmond Sent: 01 March 2017 11:36 To: gpfsug-discuss@spectrumscale.org Subject: Re: [gpfsug-discuss] Issues getting SMB shares working.
Hello
It returns the following:
FILE access configuration : USERDEFINED PARAMETERS VALUES -------------------------------------------------
On 01/03/17 11:33, Sobey, Richard A wrote:
Mmuserauth service list --data-access-method file
-- Aidan Richmond Apple/Unix Support Officer, IT Garstang 10.137 Faculty of Biological Sciences University of Leeds Clarendon Way LS2 9JT
Tel:0113 3434252 a.g.richmond@leeds.ac.uk _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-- Aidan Richmond Apple/Unix Support Officer, IT Garstang 10.137 Faculty of Biological Sciences University of Leeds Clarendon Way LS2 9JT Tel:0113 3434252 a.g.richmond@leeds.ac.uk
I’m pretty noob still here but I think what may be going on in your situation is that since you are just now enabling SMB service you need to figure out how you want users to authenticate. If you want to stick with the way things are currently authenticating on your system that is to say, USERDEFINED that really just means it’s delegated to the underlying system for authentication. So, you can change your authentication strategy to use Active Directory (like was mentioned by Richard), or use the local SMB authentication which means you’ll have to add users manually with the /usr/lpp/mmfs/bin/smbpasswd command. This works if you just want a few users to get access to SMB shares but it becomes troublesome when you get loads of users. You can use LDAP or AD to make things more manageable. Mark On 3/1/17, 9:22 AM, "Aidan Richmond" <a.g.richmond@leeds.ac.uk> wrote: mmnfs export list Path Delegations Clients ------------------------------------- /absl/SCRATCH none * /absl/SCRATCH none fbscpcu097 mmnfs config list NFS Ganesha Configuration: ========================== NFS_PROTOCOLS: 3,4 NFS_PORT: 2049 MNT_PORT: 0 NLM_PORT: 0 RQUOTA_PORT: 0 SHORT_FILE_HANDLE: FALSE LEASE_LIFETIME: 60 DOMAINNAME: LEEDS.AC.UK DELEGATIONS: Disabled ========================== STATD Configuration ========================== STATD_PORT: 0 ========================== CacheInode Configuration ========================== ENTRIES_HWMARK: 1500000 ========================== Export Defaults ========================== ACCESS_TYPE: NONE PROTOCOLS: 3,4 TRANSPORTS: TCP ANONYMOUS_UID: -2 ANONYMOUS_GID: -2 SECTYPE: SYS PRIVILEGEDPORT: FALSE MANAGE_GIDS: FALSE SQUASH: ROOT_SQUASH NFS_COMMIT: FALSE ========================== Log Configuration ========================== LOG_LEVEL: EVENT ========================== Idmapd Configuration ========================== DOMAIN: DS.LEEDS.AC.UK ========================== On 01/03/17 14:12, Jan-Frode Myklebust wrote: > Lets figure out how your NFS is authenticating then. The userdefined > authentication you have, could mean that your linux host is configured to > authenticated towards AD --- or it could be that you're using simple > sys-authentication for NFS. > > Could you please post the output of: > > mmnfs export list > mmnfs config list > > > -jf > > > On Wed, Mar 1, 2017 at 1:07 PM, Aidan Richmond <a.g.richmond@leeds.ac.uk> > wrote: > >> Hello >> >> I'm a little hesitant to mess with the authentication as I we are wanting >> consistent UIDs across our systems and I know my predecessor struggled to >> get them consistent. Our AD environment stores the UID and GID settings in >> msSFU30uid and msSFU30gid. >> >> I'm also concerned that the system is already in use with nfsv4 access and >> don't want to break existing access unless I have to. >> >> >> >> On 01/03/17 11:42, Sobey, Richard A wrote: >> >>> That's probably the first thing you need to sort out then. >>> >>> Check out the mmuserauth service create command. >>> >>> There was an example on this list on Monday so depending when you >>> subscribed you may not have seen it. FYI the command cited was: >>> >>> mmuserauth service create --type ad --data-access-method file --servers >>> 192.168.88.3 --user-name administrator --netbios-name scale --idmap-role >>> master --password ********* --idmap-range-size 1000000 --idmap-range >>> 10000000-299999999 --enable-nfs-kerberos --unixmap-domains >>> 'sirius(10000-20000)' >>> >>> Change the parameters to cater to your environment and needs of course. >>> >>> Richard >>> >>> -----Original Message----- >>> From: gpfsug-discuss-bounces@spectrumscale.org [mailto: >>> gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Aidan Richmond >>> Sent: 01 March 2017 11:36 >>> To: gpfsug-discuss@spectrumscale.org >>> Subject: Re: [gpfsug-discuss] Issues getting SMB shares working. >>> >>> Hello >>> >>> It returns the following: >>> >>> FILE access configuration : USERDEFINED >>> PARAMETERS VALUES >>> ------------------------------------------------- >>> >>> On 01/03/17 11:33, Sobey, Richard A wrote: >>> >>>> Mmuserauth service list --data-access-method file >>>> >>> >>> >>> >> >> -- >> Aidan Richmond >> Apple/Unix Support Officer, IT >> Garstang 10.137 >> Faculty of Biological Sciences >> University of Leeds >> Clarendon Way >> LS2 9JT >> >> Tel:0113 3434252 >> a.g.richmond@leeds.ac.uk >> _______________________________________________ >> gpfsug-discuss mailing list >> gpfsug-discuss at spectrumscale.org >> http://gpfsug.org/mailman/listinfo/gpfsug-discuss >> > > > > _______________________________________________ > gpfsug-discuss mailing list > gpfsug-discuss at spectrumscale.org > http://gpfsug.org/mailman/listinfo/gpfsug-discuss > -- Aidan Richmond Apple/Unix Support Officer, IT Garstang 10.137 Faculty of Biological Sciences University of Leeds Clarendon Way LS2 9JT Tel:0113 3434252 a.g.richmond@leeds.ac.uk _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. This message may be viewed by parties at Sirius Computer Solutions other than those named in the message header. This message does not contain an official representation of Sirius Computer Solutions. If you have received this communication in error, notify Sirius Computer Solutions immediately and (i) destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication. Thank you. Sirius Computer Solutions<http://www.siriuscom.com>
This looks to me like a quite plain SYS authorized NFS, maybe also verify that the individual NFS shares has sec=sys with "mmnfs export list -n /absl/SCRATCH". If you check "man mmuserauth" there are quite clear examples for how to connect it to AD populated with unix id and gid. I don't think this will affect your NFS service, since there doesn't seem to be any kerberos involved. But, please beware that mmuserauth will overwrite any customized sssd.conf, krb5.conf, winbind, etc.. As it configures the authentication for the whole host, not just samba/nfs-services. -jf ons. 1. mar. 2017 kl. 16.22 skrev Aidan Richmond <a.g.richmond@leeds.ac.uk>:
mmnfs export list Path Delegations Clients ------------------------------------- /absl/SCRATCH none * /absl/SCRATCH none fbscpcu097
mmnfs config list
NFS Ganesha Configuration: ========================== NFS_PROTOCOLS: 3,4 NFS_PORT: 2049 MNT_PORT: 0 NLM_PORT: 0 RQUOTA_PORT: 0 SHORT_FILE_HANDLE: FALSE LEASE_LIFETIME: 60 DOMAINNAME: LEEDS.AC.UK DELEGATIONS: Disabled ==========================
STATD Configuration ========================== STATD_PORT: 0 ==========================
CacheInode Configuration ========================== ENTRIES_HWMARK: 1500000 ==========================
Export Defaults ========================== ACCESS_TYPE: NONE PROTOCOLS: 3,4 TRANSPORTS: TCP ANONYMOUS_UID: -2 ANONYMOUS_GID: -2 SECTYPE: SYS PRIVILEGEDPORT: FALSE MANAGE_GIDS: FALSE SQUASH: ROOT_SQUASH NFS_COMMIT: FALSE ==========================
Log Configuration ========================== LOG_LEVEL: EVENT ==========================
Idmapd Configuration ========================== DOMAIN: DS.LEEDS.AC.UK ==========================
On 01/03/17 14:12, Jan-Frode Myklebust wrote:
Lets figure out how your NFS is authenticating then. The userdefined authentication you have, could mean that your linux host is configured to authenticated towards AD --- or it could be that you're using simple sys-authentication for NFS.
Could you please post the output of:
mmnfs export list mmnfs config list
-jf
On Wed, Mar 1, 2017 at 1:07 PM, Aidan Richmond <a.g.richmond@leeds.ac.uk
wrote:
Hello
I'm a little hesitant to mess with the authentication as I we are wanting consistent UIDs across our systems and I know my predecessor struggled to get them consistent. Our AD environment stores the UID and GID settings in msSFU30uid and msSFU30gid.
I'm also concerned that the system is already in use with nfsv4 access and don't want to break existing access unless I have to.
On 01/03/17 11:42, Sobey, Richard A wrote:
That's probably the first thing you need to sort out then.
Check out the mmuserauth service create command.
There was an example on this list on Monday so depending when you subscribed you may not have seen it. FYI the command cited was:
mmuserauth service create --type ad --data-access-method file --servers 192.168.88.3 --user-name administrator --netbios-name scale --idmap-role master --password ********* --idmap-range-size 1000000 --idmap-range 10000000-299999999 --enable-nfs-kerberos --unixmap-domains 'sirius(10000-20000)'
Change the parameters to cater to your environment and needs of course.
Richard
-----Original Message----- From: gpfsug-discuss-bounces@spectrumscale.org [mailto: gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Aidan Richmond Sent: 01 March 2017 11:36 To: gpfsug-discuss@spectrumscale.org Subject: Re: [gpfsug-discuss] Issues getting SMB shares working.
Hello
It returns the following:
FILE access configuration : USERDEFINED PARAMETERS VALUES -------------------------------------------------
On 01/03/17 11:33, Sobey, Richard A wrote:
Mmuserauth service list --data-access-method file
-- Aidan Richmond Apple/Unix Support Officer, IT Garstang 10.137 Faculty of Biological Sciences University of Leeds Clarendon Way LS2 9JT
Tel:0113 3434252 a.g.richmond@leeds.ac.uk _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-- Aidan Richmond Apple/Unix Support Officer, IT Garstang 10.137 Faculty of Biological Sciences University of Leeds Clarendon Way LS2 9JT
Tel:0113 3434252 a.g.richmond@leeds.ac.uk _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
mmnfs export list -n /absl/SCRATCH Path Delegations Clients Access_Type Protocols Transports Squash Anonymous_uid Anonymous_gid SecType PrivilegedPort DefaultDelegations Manage_Gids NFS_Commit ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- /absl/SCRATCH none * RW 4 TCP ROOT_SQUASH -2 -2 KRB5I FALSE none FALSE FALSE /absl/SCRATCH none fbscpcu097 RW 3 TCP ROOT_SQUASH -2 -2 sys FALSE none FALSE FALSE Ignore the fbscpcu097 entry, I think my departed colleague was just using that for testing, the NFS clients all access it though nfsv4 which looks to be using kerberos from this. On 01/03/17 20:21, Jan-Frode Myklebust wrote:
This looks to me like a quite plain SYS authorized NFS, maybe also verify that the individual NFS shares has sec=sys with "mmnfs export list -n /absl/SCRATCH".
If you check "man mmuserauth" there are quite clear examples for how to connect it to AD populated with unix id and gid. I don't think this will affect your NFS service, since there doesn't seem to be any kerberos involved.
But, please beware that mmuserauth will overwrite any customized sssd.conf, krb5.conf, winbind, etc.. As it configures the authentication for the whole host, not just samba/nfs-services.
-jf
ons. 1. mar. 2017 kl. 16.22 skrev Aidan Richmond <a.g.richmond@leeds.ac.uk>:
mmnfs export list Path Delegations Clients ------------------------------------- /absl/SCRATCH none * /absl/SCRATCH none fbscpcu097
mmnfs config list
NFS Ganesha Configuration: ========================== NFS_PROTOCOLS: 3,4 NFS_PORT: 2049 MNT_PORT: 0 NLM_PORT: 0 RQUOTA_PORT: 0 SHORT_FILE_HANDLE: FALSE LEASE_LIFETIME: 60 DOMAINNAME: LEEDS.AC.UK DELEGATIONS: Disabled ==========================
STATD Configuration ========================== STATD_PORT: 0 ==========================
CacheInode Configuration ========================== ENTRIES_HWMARK: 1500000 ==========================
Export Defaults ========================== ACCESS_TYPE: NONE PROTOCOLS: 3,4 TRANSPORTS: TCP ANONYMOUS_UID: -2 ANONYMOUS_GID: -2 SECTYPE: SYS PRIVILEGEDPORT: FALSE MANAGE_GIDS: FALSE SQUASH: ROOT_SQUASH NFS_COMMIT: FALSE ==========================
Log Configuration ========================== LOG_LEVEL: EVENT ==========================
Idmapd Configuration ========================== DOMAIN: DS.LEEDS.AC.UK ==========================
-- Aidan Richmond Apple/Unix Support Officer, IT Garstang 10.137 Faculty of Biological Sciences University of Leeds Clarendon Way LS2 9JT Tel:0113 3434252 a.g.richmond@leeds.ac.uk
Ouch, yes.. Then the switch to mmuserauth is more difficult. I would recommend setting up a lab cluster (only need a single node), and use mmuserauth to connect it to AD and see that you get both kerberized NFS and SMB working by default there, before doing the same on your production cluster. -jf tor. 2. mar. 2017 kl. 16.42 skrev Aidan Richmond <a.g.richmond@leeds.ac.uk>:
mmnfs export list -n /absl/SCRATCH Path Delegations Clients Access_Type Protocols Transports Squash Anonymous_uid Anonymous_gid SecType PrivilegedPort DefaultDelegations Manage_Gids NFS_Commit
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- /absl/SCRATCH none * RW 4 TCP ROOT_SQUASH -2 -2 KRB5I FALSE none FALSE FALSE /absl/SCRATCH none fbscpcu097 RW 3 TCP ROOT_SQUASH -2 -2 sys FALSE none FALSE FALSE
Ignore the fbscpcu097 entry, I think my departed colleague was just using that for testing, the NFS clients all access it though nfsv4 which looks to be using kerberos from this.
On 01/03/17 20:21, Jan-Frode Myklebust wrote:
This looks to me like a quite plain SYS authorized NFS, maybe also verify that the individual NFS shares has sec=sys with "mmnfs export list -n /absl/SCRATCH".
If you check "man mmuserauth" there are quite clear examples for how to connect it to AD populated with unix id and gid. I don't think this will affect your NFS service, since there doesn't seem to be any kerberos involved.
But, please beware that mmuserauth will overwrite any customized sssd.conf, krb5.conf, winbind, etc.. As it configures the authentication for the whole host, not just samba/nfs-services.
-jf
ons. 1. mar. 2017 kl. 16.22 skrev Aidan Richmond < a.g.richmond@leeds.ac.uk>:
mmnfs export list Path Delegations Clients ------------------------------------- /absl/SCRATCH none * /absl/SCRATCH none fbscpcu097
mmnfs config list
NFS Ganesha Configuration: ========================== NFS_PROTOCOLS: 3,4 NFS_PORT: 2049 MNT_PORT: 0 NLM_PORT: 0 RQUOTA_PORT: 0 SHORT_FILE_HANDLE: FALSE LEASE_LIFETIME: 60 DOMAINNAME: LEEDS.AC.UK DELEGATIONS: Disabled ==========================
STATD Configuration ========================== STATD_PORT: 0 ==========================
CacheInode Configuration ========================== ENTRIES_HWMARK: 1500000 ==========================
Export Defaults ========================== ACCESS_TYPE: NONE PROTOCOLS: 3,4 TRANSPORTS: TCP ANONYMOUS_UID: -2 ANONYMOUS_GID: -2 SECTYPE: SYS PRIVILEGEDPORT: FALSE MANAGE_GIDS: FALSE SQUASH: ROOT_SQUASH NFS_COMMIT: FALSE ==========================
Log Configuration ========================== LOG_LEVEL: EVENT ==========================
Idmapd Configuration ========================== DOMAIN: DS.LEEDS.AC.UK ==========================
-- Aidan Richmond Apple/Unix Support Officer, IT Garstang 10.137 Faculty of Biological Sciences University of Leeds Clarendon Way LS2 9JT
Tel:0113 3434252 a.g.richmond@leeds.ac.uk _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
participants (4)
-
Aidan Richmond -
Jan-Frode Myklebust -
Mark.Bush@siriuscom.com -
Sobey, Richard A
