SOLVED Another idiot baffled by permissions

Status
Not open for further replies.

Idiotzoo

Explorer
Joined
Mar 11, 2013
Messages
55
So as far as I can tell I have AD working nicely. I've setup windows ACL and set permissions and just as I thought all was working, most of my users don't have permission to connect.

I've been through the docs but can't find anything that explains how CIFS permissions are set when using AD.

The CIFS shared dataset is owned by Administrator and the group is Domain Admins. I've used a windows client to set permissions on the share contents, which all looks fine, but any user that isn't a member of domain admins can't access the share at all.

So I changed the group to Domain Users and.... no change. I can't find any way of granting access to my users.

I presume I've missed something simple, but the docs are pretty vague on this.
 
D

dlavigne

Guest
Did you restart the CIFS and AD services after changing to Domain Users? On the test client, are you logging out in between connection attempts to make sure you're not getting any cached login info? Anything related in /var/log/messages on the FreeNAS system? Can you see the imported users on the FreeNAS system in the permissions of the volume/dataset being shared?
 

Idiotzoo

Explorer
Joined
Mar 11, 2013
Messages
55
Ok, so after some delay to solve other unrelated problems....
Did you restart the CIFS and AD services after changing to Domain Users?

Yes. I've restarted the freenas box entirely as well.

On the test client, are you logging out in between connection attempts to make sure you're not getting any cached login info?

Yes. I've tried difference clients too.

Anything related in /var/log/messages on the FreeNAS system?

Not that I can see. All I seem to have in there are the powerd errors (it's an AMD system) and info messages about snapshot replication.

Can you see the imported users on the FreeNAS system in the permissions of the volume/dataset being shared?

Yes. I get my AD groups and users in the drop down. Freenas also lets me set AD groups and users from the command line.

Any other ideas how I can go about diagnosing this?
 

Idiotzoo

Explorer
Joined
Mar 11, 2013
Messages
55
Ok... I think I have this working. As ever, it's a configuration issue. I suspect the problem is a lack of clear information in the freenas docs, coupled with the known bug with setting permissions in the web ui.

I ended up reading some samba docs, which give far more insight into how to set this up than the freenas docs on cifs.

Essentially I did all the permissions setting following the samba docs and setup cifs as per the samba instructions. It seems to work.

What's really weird is I initially had two shares, both with the same permissions. One worked, one didn't.
 
Status
Not open for further replies.
Top