All,
Hoping to get some input/ideas on this issue before diving in this weekend.
Background story: A few months ago, we completed a fileserver migration from Windows to FreeNAS+CIFS, no problem. After that, we migrated to a new domain (clean environment, yay!) using SetACL (https://helgeklein.com/setacl/) on the new fileserver. No real problems there.
Now for the issues: -Every Monday morning, members of one security group can't access one SMB share on the server. The other shares they have access to, including the public (open to domain users) and their home share work fine. -One user's home share (not associated with the other department's security group) won't map.
I believe something is timing out over the weekend, presumably between AD and FreeNAS. A reboot of the NAS fixes the problem until the next Monday.
NAS Setup: -The NAS is joined to the domain -AD service checking is enabled on the NAS, no issues reported there -AD timeout has been increased, no change in problem -I've adjusted the SMB minimum and maximum protocol on the NAS, no change in problem. Currently the minimum is SMB2 and max is SMB 3_11 -I've been through the syslog, Samba4, and Winbind logs. Logging level is turned up to full, one step below debug. Nothing apparent causing the issue there.
AD Setup: -The malfunctioning security group is identical to all the others. -The user with the home drive issue is identical to all the others. I have reset ACLs on her folder, deleted and recreated, and now let AD create a brand new folder. No change. Planning to delete and recreate her profile next. -The user with the home drive issue now has the wait for network at logon GPO enabled. No change.
Windows reported errors vary, but it usually reports a permissions issue.
Due to the intermittent nature and scale of the issue, troubleshooting it has been a pain in the ass. I'm coming in Sunday (hopefully the timeout occurs by then) so I can do some uninterrupted troubleshooting without the pressure of getting it online ASAP (the quick fix, a reboot). I'll edit with more details as I think about them.
I'm not a samba wizard, any ideas on samba config options that might help here? Any other ideas or suggestions?
Anything helps, thank you!