Account Unknown(SID) showing in Windows Security tab
I just installed FreeNAS-9.3-STABLE-201506042008 two days ago. I created several groups in FreeNAS and applied those groups to volumes/dataset groups. At first the group name was resolved in Windows 7 and 8.1. Today, after a FreeNAS reboot, the group names no longer resolve and it shows Account Unknown(SID). I tried to create a new group and dataset but the same thing happens. I also can't search for groups in Windows anymore. No FreeNAS groups or users show in Windows search. It's also worth noting that the SID does not match the Group ID...not sure if that's an issue.
#5 Updated by John Hixson over 5 years ago
- Status changed from 15 to Investigation
Matt D wrote:
This was a fresh install on new hardware. I still have my other box that is running 9.1. Did not import disks.
I've gotten a couple of other reports of the same thing. I think there is a regression here and I'm going to track it down this week.
#9 Updated by John Hixson over 5 years ago
Matt D wrote:
Just want to add, that after a server reboot, if you turn CIFS off and back on it resolves the issues. But it's a manual process. And happens everytime.
I've identified the issue already. I'm sorting out the how/why, at which point I will develop a fix for it.
#12 Updated by John Hixson about 5 years ago
- Status changed from Investigation to 15
I believe I have fixed this. Can you confirm? See ef24f8bd6c8b60ffbd1d16c378cc2b38bee3a209. You can manually path your system running the following commands from the command line as root:
fetch https://raw.githubusercontent.com/freenas/freenas/master/src/freenas/usr/local/libexec/nas/generate_smb4_conf.py -o /root/generate_smb4_conf.py
cp /usr/local/libexec/nas/generate_smb4_conf.py /usr/local/libexec/nas/generate_smb4_conf.py.bak
cp /root/generate_smb4_conf.py /usr/local/libexec/nas/generate_smb4_conf.py
#13 Updated by Matt D about 5 years ago
John, I backed up the original and replaced with the fix but now I can't login to any of my CIFS shares. I tried resetting passwords and reapplying permissions to a dataset but still wasn't able to authenticate to the CIFS share. Any thoughts? Was there something else I needed to do?