wedged updates to changes to users' group memberships

Randy Rue <[email protected]> Thu, 19 Aug 2021 08:59:05 -0700
Newsgroups gmane.comp.hardware.netapp
Message-ID <[email protected]>
Hello All,

We recently cut over from a FAS to an AFF running 9.8P1. Serving CIFS 
and NFSv3 with authentication tied to openLDAP.

When we change group memberships in LDAP the filer fails to see the 
change in group memberships for some varying amount of time.

We had been able to use the flush command to force the filer to update 
it's user/group membership lists. This was changed in our current 
version, 9.8P1, and we have switched to using the replacement command.

This used to work:
set diag; diag nblade credentials flush -node $NODE -vserver $VSERVER 
-unix-user-name $USER

We think this should be the new command but does not seem to perform as 
expected:
set -privilege advanced -confirmations off; credentials flush -node 
$NODE -vserver $VSERVER -unix-user-name $USER

The new flush command does not seem to perform with any reliability. 
It's worth noting that we have many groups so have set the group limit 
to 512 as described here:
https://library.netapp.com/ecmdocs/ECMP1610208/html/GUID-1D3D018C-DF37-4C87-A789-58526A46B1A9.html

As of this writing, we have 2 users whose group memberships were updated 
over 24 hours ago and they are still unable to access the relevant files 
over CIFS. We were able to demonstrate that the user can in fact access 
those files over NFS using the `newgrp` command to select the new group 
and access the files however after dropping the `newgrp` identity, we 
were once again denied access to the location.

Are we missing something?

Grateful for any help...

Randy Rue in Seattle