users and groups after joining Active Directory DC

union

Dabbler
Joined
Apr 10, 2019
Messages
13
Hello,

I have recently installed FreeNAS and am using it for the first time.
I currently have installed FreeNAS-11.2-U2.1

I am having an issue when joining the FreeNAS device to our Samba 4 (4.6.12) domain controller with SSSD (1.15.2). I have got the device to join the domain but I cannot seem to get the users and groups to show up on the web GUI.

If I run wbinfo -u and wbinfo -g I get the users and groups listed. I can edit permissions manually in the CLI but it would be good to be able to do it through the GUI as well.

Any help would be appreciated

Thanks
 

union

Dabbler
Joined
Apr 10, 2019
Messages
13
I am trying to join using LDAP to see if that makes a difference.

When I save my settings I keep getting a milldeware error.

Code:
Apr 11 17:03:07 kessel LDAP: /usr/sbin/service ix-ldap quietstart
Apr 11 17:03:08 kessel LDAP: /usr/sbin/service ix-nsswitch quietstart
Apr 11 17:03:09 kessel LDAP: /usr/sbin/service ix-sssd start
Apr 11 17:03:09 kessel LDAP: /usr/sbin/service sssd onestop
Apr 11 17:03:09 kessel LDAP: /usr/sbin/service sssd onestart
Apr 11 17:03:10 kessel LDAP: /usr/sbin/service ix-ldap status
Apr 11 17:03:10 kessel LDAP: /usr/sbin/service ix-pre-samba start
Apr 11 17:03:15 kessel LDAP: /usr/local/bin/python /usr/local/bin/midclt call notifier.stop cifs
Apr 11 17:03:17 kessel LDAP: /usr/local/bin/python /usr/local/bin/midclt call notifier.start cifs
Apr 11 17:03:23 kessel uwsgi: [middleware.exceptions:36] [MiddlewareError: LDAP failed to reload.]


What could this middleware error be?
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
You should use the AD form to join Active Directory. Although you can bind to AD as an LDAP server (with a lot of manual configuration through SSSD auxiliary parameters), you will not have a working Samba server. Update to 11.2-U3 and fill out the form for AD. Try using the legacy UI. Some users have reported that the drop-downs may not be populating correctly with AD users. This is does not indicate a failure of the AD service and you will still be able to manually type in AD users and groups in the format "DOMAIN\User" in the UI fields for storage permissions.
 

union

Dabbler
Joined
Apr 10, 2019
Messages
13
Thank you for your reply.

I have done as suggested, updated to 11.2-U3 and am using the legacy UI. My freenas has joined the domain but I still cannot set users or group permissions. I tried entering manually but I get the error "The group UNIONVFX\dev is not vaild."

Here is an extract from /var/log/debug.log after I enterd the group UNIONVFX\dev and clicked the change button:

Code:
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:307] FreeNAS_LDAP_QueryCache.__init__: enter
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.query
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.query/.cache.db
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:315] FreeNAS_LDAP_QueryCache.__init__: leave
Apr 12 12:57:13 kessel uwsgi: [common.freenasldap:351] FreeNAS_LDAP_Directory.open: connection open
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:307] FreeNAS_LDAP_QueryCache.__init__: enter
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.query
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.query/.cache.db
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:315] FreeNAS_LDAP_QueryCache.__init__: leave
Apr 12 12:57:13 kessel uwsgi: [common.freenasldap:351] FreeNAS_LDAP_Directory.open: connection open
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:508] FreeNAS_UserCache.__new__: enter
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:466] FreeNAS_Directory_LocalUserCache.__new__: enter
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:281] FreeNAS_ActiveDirectory_LocalUserCache.__init__: enter
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.ldap/.activedirectory/.local/.users/UNIONVFX
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.ldap/.activedirectory/.local/.users/UNIONVFX/.cache.db
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:289] FreeNAS_ActiveDirectory_LocalUserCache.__init__: leave
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:481] FreeNAS_Directory_LocalUserCache.__new__: leave
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:519] FreeNAS_UserCache.__new__: leave
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:424] FreeNAS_Directory_UserCache.__new__: enter
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:255] FreeNAS_ActiveDirectory_UserCache.__init__: enter
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.ldap/.activedirectory/.users/UNIONVFX
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.ldap/.activedirectory/.users/UNIONVFX/.cache.db
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:263] FreeNAS_ActiveDirectory_UserCache.__init__: leave
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:439] FreeNAS_Directory_UserCache.__new__: leave
Apr 12 12:57:13 kessel uwsgi: [common.freenasldap:2591] FreeNAS_ActiveDirectory_Users.__get_users: users in cache
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:307] FreeNAS_LDAP_QueryCache.__init__: enter
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.query
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.query/.cache.db
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:315] FreeNAS_LDAP_QueryCache.__init__: leave
Apr 12 12:57:14 kessel uwsgi: [common.freenasldap:351] FreeNAS_LDAP_Directory.open: connection open
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:307] FreeNAS_LDAP_QueryCache.__init__: enter
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.query
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.query/.cache.db
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:315] FreeNAS_LDAP_QueryCache.__init__: leave
Apr 12 12:57:14 kessel uwsgi: [common.freenasldap:351] FreeNAS_LDAP_Directory.open: connection open
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:525] FreeNAS_GroupCache.__new__: enter
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:487] FreeNAS_Directory_LocalGroupCache.__new__: enter
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:294] FreeNAS_ActiveDirectory_LocalGroupCache.__init__: enter
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.ldap/.activedirectory/.local/.groups/UNIONVFX
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.ldap/.activedirectory/.local/.groups/UNIONVFX/.cache.db
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:302] FreeNAS_ActiveDirectory_LocalGroupCache.__init__: leave
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:502] FreeNAS_Directory_LocalGroupCache.__new__: leave
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:536] FreeNAS_GroupCache.__new__: leave
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:445] FreeNAS_Directory_GroupCache.__new__: enter
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:268] FreeNAS_ActiveDirectory_GroupCache.__init__: enter
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.ldap/.activedirectory/.groups/UNIONVFX
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.ldap/.activedirectory/.groups/UNIONVFX/.cache.db
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:276] FreeNAS_ActiveDirectory_GroupCache.__init__: leave
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:460] FreeNAS_Directory_GroupCache.__new__: leave
Apr 12 12:57:14 kessel uwsgi: [common.freenasldap:2906] FreeNAS_ActiveDirectory_Groups.__get_groups: AD [UNIONVFX] groups in cache
Apr 12 12:57:14 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\Allowed RODC Password Replication Group'
Apr 12 12:57:15 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\Cert Publishers'
Apr 12 12:57:15 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\Denied RODC Password Replication Group'
Apr 12 12:57:15 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\DnsAdmins'
Apr 12 12:57:16 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\DnsUpdateProxy'
Apr 12 12:57:16 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\Domain Admins'
Apr 12 12:57:16 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\Domain Computers'
Apr 12 12:57:17 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\Domain Controllers'
Apr 12 12:57:17 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\Domain Guests'
Apr 12 12:57:17 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\Domain Users'
Apr 12 12:57:18 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\Enterprise Admins'
Apr 12 12:57:18 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\Enterprise Read-Only Domain Controllers'
Apr 12 12:57:18 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\Group Policy Creator Owners'
Apr 12 12:57:19 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\RAS and IAS Servers'
Apr 12 12:57:19 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\Read-Only Domain Controllers'
Apr 12 12:57:19 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\Schema Admins'
Apr 12 12:57:20 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\bidding'
Apr 12 12:57:20 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\dataio'
Apr 12 12:57:20 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\dev'
Apr 12 12:57:21 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\gidtest2'
Apr 12 12:57:21 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\productn'
Apr 12 12:57:21 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\sudoadmin'
Apr 12 12:57:22 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\sups'
Apr 12 12:57:22 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\vcenter65-admins'
Apr 12 12:57:22 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\wrangler'
Apr 12 12:57:22 kessel uwsgi: [common.freenasldap:3294] FreeNAS_ActiveDirectory_User.__new__: user = bin
Apr 12 12:57:22 kessel uwsgi: [common.freenasldap:3303] FreeNAS_ActiveDirectory_User.__init__: user = bin
Apr 12 12:57:23 kessel uwsgi: [common.frenascache:307] FreeNAS_LDAP_QueryCache.__init__: enter
Apr 12 12:57:23 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:23 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.query
Apr 12 12:57:23 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.query/.cache.db
Apr 12 12:57:23 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:23 kessel uwsgi: [common.frenascache:315] FreeNAS_LDAP_QueryCache.__init__: leave
Apr 12 12:57:23 kessel uwsgi: [common.freenasldap:351] FreeNAS_LDAP_Directory.open: connection open
Apr 12 12:57:23 kessel uwsgi: [common.frenascache:307] FreeNAS_LDAP_QueryCache.__init__: enter
Apr 12 12:57:23 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:23 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.query
Apr 12 12:57:23 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.query/.cache.db
Apr 12 12:57:23 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:23 kessel uwsgi: [common.frenascache:315] FreeNAS_LDAP_QueryCache.__init__: leave
Apr 12 12:57:23 kessel uwsgi: [common.freenasldap:351] FreeNAS_LDAP_Directory.open: connection open
Apr 12 12:57:23 kessel uwsgi: [common.freenasldap:3331] FreeNAS_ActiveDirectory_User.__get_user: user = bin
Apr 12 12:57:23 kessel uwsgi: [common.freenasldap:3334] FreeNAS_ActiveDirectory_User.__get_user: netbiosname = UNIONVFX
Apr 12 12:57:23 kessel uwsgi: [common.freenasldap:3372] FreeNAS_ActiveDirectory_User.__get_user: AD user not in cache
Apr 12 12:57:23 kessel uwsgi: [common.freenasldap:2118] FreeNAS_ActiveDirectory_Base.get_user: user = bin
Apr 12 12:57:23 kessel uwsgi: [common.freenasldap:3052] FreeNAS_ActiveDirectory_Group.__new__: group = UNIONVFX\dev
Apr 12 12:57:23 kessel uwsgi: [common.freenasldap:3061] FreeNAS_ActiveDirectory_Group.__init__: group = UNIONVFX\dev
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:307] FreeNAS_LDAP_QueryCache.__init__: enter
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.query
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.query/.cache.db
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:315] FreeNAS_LDAP_QueryCache.__init__: leave
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:351] FreeNAS_LDAP_Directory.open: connection open
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:307] FreeNAS_LDAP_QueryCache.__init__: enter
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.query
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.query/.cache.db
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:315] FreeNAS_LDAP_QueryCache.__init__: leave
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:351] FreeNAS_LDAP_Directory.open: connection open
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:3091] FreeNAS_ActiveDirectory_Group.__get_group: group = dev
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:3095] FreeNAS_ActiveDirectory_Group.__get_group: netbiosname = UNIONVFX
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:3154] FreeNAS_ActiveDirectory_Group.__get_group: AD group not in cache
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:2190] FreeNAS_ActiveDirectory_Base.get_group: group = dev
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:3294] FreeNAS_ActiveDirectory_User.__new__: user = bin
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:3303] FreeNAS_ActiveDirectory_User.__init__: user = bin
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:307] FreeNAS_LDAP_QueryCache.__init__: enter
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.query
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.query/.cache.db
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:315] FreeNAS_LDAP_QueryCache.__init__: leave
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:351] FreeNAS_LDAP_Directory.open: connection open
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:307] FreeNAS_LDAP_QueryCache.__init__: enter
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.query
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.query/.cache.db
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:315] FreeNAS_LDAP_QueryCache.__init__: leave
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:351] FreeNAS_LDAP_Directory.open: connection open
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:3331] FreeNAS_ActiveDirectory_User.__get_user: user = bin
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:3334] FreeNAS_ActiveDirectory_User.__get_user: netbiosname = UNIONVFX
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:3372] FreeNAS_ActiveDirectory_User.__get_user: AD user not in cache
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:2118] FreeNAS_ActiveDirectory_Base.get_user: user = bin
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:3052] FreeNAS_ActiveDirectory_Group.__new__: group = UNIONVFX\dev
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:3061] FreeNAS_ActiveDirectory_Group.__init__: group = UNIONVFX\dev
Apr 12 12:57:25 kessel uwsgi: [common.frenascache:307] FreeNAS_LDAP_QueryCache.__init__: enter
Apr 12 12:57:25 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:25 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.query
Apr 12 12:57:25 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.query/.cache.db
Apr 12 12:57:25 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:25 kessel uwsgi: [common.frenascache:315] FreeNAS_LDAP_QueryCache.__init__: leave
Apr 12 12:57:25 kessel uwsgi: [common.freenasldap:351] FreeNAS_LDAP_Directory.open: connection open
Apr 12 12:57:25 kessel uwsgi: [common.frenascache:307] FreeNAS_LDAP_QueryCache.__init__: enter
Apr 12 12:57:25 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:25 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.query
Apr 12 12:57:25 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.query/.cache.db
Apr 12 12:57:25 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:25 kessel uwsgi: [common.frenascache:315] FreeNAS_LDAP_QueryCache.__init__: leave
Apr 12 12:57:25 kessel uwsgi: [common.freenasldap:351] FreeNAS_LDAP_Directory.open: connection open
Apr 12 12:57:25 kessel uwsgi: [common.freenasldap:3091] FreeNAS_ActiveDirectory_Group.__get_group: group = dev
Apr 12 12:57:25 kessel uwsgi: [common.freenasldap:3095] FreeNAS_ActiveDirectory_Group.__get_group: netbiosname = UNIONVFX
Apr 12 12:57:25 kessel uwsgi: [common.freenasldap:3154] FreeNAS_ActiveDirectory_Group.__get_group: AD group not in cache
Apr 12 12:57:25 kessel uwsgi: [common.freenasldap:2190] FreeNAS_ActiveDirectory_Base.get_group: group = dev


There are a lot of error name not founds but all of the groups are listed.

Are there any specific Active directory settings I need to set?

Thank you
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
Thank you for your reply.

I have done as suggested, updated to 11.2-U3 and am using the legacy UI. My freenas has joined the domain but I still cannot set users or group permissions. I tried entering manually but I get the error "The group UNIONVFX\dev is not vaild."

Here is an extract from /var/log/debug.log after I enterd the group UNIONVFX\dev and clicked the change button:

Code:
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:307] FreeNAS_LDAP_QueryCache.__init__: enter
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.query
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.query/.cache.db
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:315] FreeNAS_LDAP_QueryCache.__init__: leave
Apr 12 12:57:13 kessel uwsgi: [common.freenasldap:351] FreeNAS_LDAP_Directory.open: connection open
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:307] FreeNAS_LDAP_QueryCache.__init__: enter
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.query
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.query/.cache.db
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:315] FreeNAS_LDAP_QueryCache.__init__: leave
Apr 12 12:57:13 kessel uwsgi: [common.freenasldap:351] FreeNAS_LDAP_Directory.open: connection open
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:508] FreeNAS_UserCache.__new__: enter
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:466] FreeNAS_Directory_LocalUserCache.__new__: enter
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:281] FreeNAS_ActiveDirectory_LocalUserCache.__init__: enter
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.ldap/.activedirectory/.local/.users/UNIONVFX
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.ldap/.activedirectory/.local/.users/UNIONVFX/.cache.db
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:289] FreeNAS_ActiveDirectory_LocalUserCache.__init__: leave
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:481] FreeNAS_Directory_LocalUserCache.__new__: leave
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:519] FreeNAS_UserCache.__new__: leave
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:424] FreeNAS_Directory_UserCache.__new__: enter
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:255] FreeNAS_ActiveDirectory_UserCache.__init__: enter
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.ldap/.activedirectory/.users/UNIONVFX
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.ldap/.activedirectory/.users/UNIONVFX/.cache.db
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:263] FreeNAS_ActiveDirectory_UserCache.__init__: leave
Apr 12 12:57:13 kessel uwsgi: [common.frenascache:439] FreeNAS_Directory_UserCache.__new__: leave
Apr 12 12:57:13 kessel uwsgi: [common.freenasldap:2591] FreeNAS_ActiveDirectory_Users.__get_users: users in cache
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:307] FreeNAS_LDAP_QueryCache.__init__: enter
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.query
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.query/.cache.db
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:315] FreeNAS_LDAP_QueryCache.__init__: leave
Apr 12 12:57:14 kessel uwsgi: [common.freenasldap:351] FreeNAS_LDAP_Directory.open: connection open
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:307] FreeNAS_LDAP_QueryCache.__init__: enter
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.query
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.query/.cache.db
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:315] FreeNAS_LDAP_QueryCache.__init__: leave
Apr 12 12:57:14 kessel uwsgi: [common.freenasldap:351] FreeNAS_LDAP_Directory.open: connection open
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:525] FreeNAS_GroupCache.__new__: enter
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:487] FreeNAS_Directory_LocalGroupCache.__new__: enter
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:294] FreeNAS_ActiveDirectory_LocalGroupCache.__init__: enter
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.ldap/.activedirectory/.local/.groups/UNIONVFX
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.ldap/.activedirectory/.local/.groups/UNIONVFX/.cache.db
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:302] FreeNAS_ActiveDirectory_LocalGroupCache.__init__: leave
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:502] FreeNAS_Directory_LocalGroupCache.__new__: leave
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:536] FreeNAS_GroupCache.__new__: leave
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:445] FreeNAS_Directory_GroupCache.__new__: enter
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:268] FreeNAS_ActiveDirectory_GroupCache.__init__: enter
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.ldap/.activedirectory/.groups/UNIONVFX
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.ldap/.activedirectory/.groups/UNIONVFX/.cache.db
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:276] FreeNAS_ActiveDirectory_GroupCache.__init__: leave
Apr 12 12:57:14 kessel uwsgi: [common.frenascache:460] FreeNAS_Directory_GroupCache.__new__: leave
Apr 12 12:57:14 kessel uwsgi: [common.freenasldap:2906] FreeNAS_ActiveDirectory_Groups.__get_groups: AD [UNIONVFX] groups in cache
Apr 12 12:57:14 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\Allowed RODC Password Replication Group'
Apr 12 12:57:15 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\Cert Publishers'
Apr 12 12:57:15 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\Denied RODC Password Replication Group'
Apr 12 12:57:15 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\DnsAdmins'
Apr 12 12:57:16 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\DnsUpdateProxy'
Apr 12 12:57:16 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\Domain Admins'
Apr 12 12:57:16 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\Domain Computers'
Apr 12 12:57:17 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\Domain Controllers'
Apr 12 12:57:17 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\Domain Guests'
Apr 12 12:57:17 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\Domain Users'
Apr 12 12:57:18 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\Enterprise Admins'
Apr 12 12:57:18 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\Enterprise Read-Only Domain Controllers'
Apr 12 12:57:18 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\Group Policy Creator Owners'
Apr 12 12:57:19 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\RAS and IAS Servers'
Apr 12 12:57:19 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\Read-Only Domain Controllers'
Apr 12 12:57:19 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\Schema Admins'
Apr 12 12:57:20 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\bidding'
Apr 12 12:57:20 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\dataio'
Apr 12 12:57:20 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\dev'
Apr 12 12:57:21 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\gidtest2'
Apr 12 12:57:21 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\productn'
Apr 12 12:57:21 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\sudoadmin'
Apr 12 12:57:22 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\sups'
Apr 12 12:57:22 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\vcenter65-admins'
Apr 12 12:57:22 kessel uwsgi: [common.freenasldap:2939] Error on getgrnam: 'getgrnam(): name not found: UNIONVFX\\wrangler'
Apr 12 12:57:22 kessel uwsgi: [common.freenasldap:3294] FreeNAS_ActiveDirectory_User.__new__: user = bin
Apr 12 12:57:22 kessel uwsgi: [common.freenasldap:3303] FreeNAS_ActiveDirectory_User.__init__: user = bin
Apr 12 12:57:23 kessel uwsgi: [common.frenascache:307] FreeNAS_LDAP_QueryCache.__init__: enter
Apr 12 12:57:23 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:23 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.query
Apr 12 12:57:23 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.query/.cache.db
Apr 12 12:57:23 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:23 kessel uwsgi: [common.frenascache:315] FreeNAS_LDAP_QueryCache.__init__: leave
Apr 12 12:57:23 kessel uwsgi: [common.freenasldap:351] FreeNAS_LDAP_Directory.open: connection open
Apr 12 12:57:23 kessel uwsgi: [common.frenascache:307] FreeNAS_LDAP_QueryCache.__init__: enter
Apr 12 12:57:23 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:23 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.query
Apr 12 12:57:23 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.query/.cache.db
Apr 12 12:57:23 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:23 kessel uwsgi: [common.frenascache:315] FreeNAS_LDAP_QueryCache.__init__: leave
Apr 12 12:57:23 kessel uwsgi: [common.freenasldap:351] FreeNAS_LDAP_Directory.open: connection open
Apr 12 12:57:23 kessel uwsgi: [common.freenasldap:3331] FreeNAS_ActiveDirectory_User.__get_user: user = bin
Apr 12 12:57:23 kessel uwsgi: [common.freenasldap:3334] FreeNAS_ActiveDirectory_User.__get_user: netbiosname = UNIONVFX
Apr 12 12:57:23 kessel uwsgi: [common.freenasldap:3372] FreeNAS_ActiveDirectory_User.__get_user: AD user not in cache
Apr 12 12:57:23 kessel uwsgi: [common.freenasldap:2118] FreeNAS_ActiveDirectory_Base.get_user: user = bin
Apr 12 12:57:23 kessel uwsgi: [common.freenasldap:3052] FreeNAS_ActiveDirectory_Group.__new__: group = UNIONVFX\dev
Apr 12 12:57:23 kessel uwsgi: [common.freenasldap:3061] FreeNAS_ActiveDirectory_Group.__init__: group = UNIONVFX\dev
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:307] FreeNAS_LDAP_QueryCache.__init__: enter
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.query
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.query/.cache.db
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:315] FreeNAS_LDAP_QueryCache.__init__: leave
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:351] FreeNAS_LDAP_Directory.open: connection open
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:307] FreeNAS_LDAP_QueryCache.__init__: enter
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.query
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.query/.cache.db
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:315] FreeNAS_LDAP_QueryCache.__init__: leave
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:351] FreeNAS_LDAP_Directory.open: connection open
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:3091] FreeNAS_ActiveDirectory_Group.__get_group: group = dev
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:3095] FreeNAS_ActiveDirectory_Group.__get_group: netbiosname = UNIONVFX
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:3154] FreeNAS_ActiveDirectory_Group.__get_group: AD group not in cache
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:2190] FreeNAS_ActiveDirectory_Base.get_group: group = dev
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:3294] FreeNAS_ActiveDirectory_User.__new__: user = bin
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:3303] FreeNAS_ActiveDirectory_User.__init__: user = bin
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:307] FreeNAS_LDAP_QueryCache.__init__: enter
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.query
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.query/.cache.db
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:315] FreeNAS_LDAP_QueryCache.__init__: leave
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:351] FreeNAS_LDAP_Directory.open: connection open
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:307] FreeNAS_LDAP_QueryCache.__init__: enter
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.query
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.query/.cache.db
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:24 kessel uwsgi: [common.frenascache:315] FreeNAS_LDAP_QueryCache.__init__: leave
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:351] FreeNAS_LDAP_Directory.open: connection open
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:3331] FreeNAS_ActiveDirectory_User.__get_user: user = bin
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:3334] FreeNAS_ActiveDirectory_User.__get_user: netbiosname = UNIONVFX
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:3372] FreeNAS_ActiveDirectory_User.__get_user: AD user not in cache
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:2118] FreeNAS_ActiveDirectory_Base.get_user: user = bin
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:3052] FreeNAS_ActiveDirectory_Group.__new__: group = UNIONVFX\dev
Apr 12 12:57:24 kessel uwsgi: [common.freenasldap:3061] FreeNAS_ActiveDirectory_Group.__init__: group = UNIONVFX\dev
Apr 12 12:57:25 kessel uwsgi: [common.frenascache:307] FreeNAS_LDAP_QueryCache.__init__: enter
Apr 12 12:57:25 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:25 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.query
Apr 12 12:57:25 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.query/.cache.db
Apr 12 12:57:25 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:25 kessel uwsgi: [common.frenascache:315] FreeNAS_LDAP_QueryCache.__init__: leave
Apr 12 12:57:25 kessel uwsgi: [common.freenasldap:351] FreeNAS_LDAP_Directory.open: connection open
Apr 12 12:57:25 kessel uwsgi: [common.frenascache:307] FreeNAS_LDAP_QueryCache.__init__: enter
Apr 12 12:57:25 kessel uwsgi: [common.frenascache:89] FreeNAS_BaseCache._init__: enter
Apr 12 12:57:25 kessel uwsgi: [common.frenascache:110] FreeNAS_BaseCache._init__: cachedir = /var/tmp/.cache/.query
Apr 12 12:57:25 kessel uwsgi: [common.frenascache:113] FreeNAS_BaseCache._init__: cachefile = /var/tmp/.cache/.query/.cache.db
Apr 12 12:57:25 kessel uwsgi: [common.frenascache:115] FreeNAS_BaseCache._init__: leave
Apr 12 12:57:25 kessel uwsgi: [common.frenascache:315] FreeNAS_LDAP_QueryCache.__init__: leave
Apr 12 12:57:25 kessel uwsgi: [common.freenasldap:351] FreeNAS_LDAP_Directory.open: connection open
Apr 12 12:57:25 kessel uwsgi: [common.freenasldap:3091] FreeNAS_ActiveDirectory_Group.__get_group: group = dev
Apr 12 12:57:25 kessel uwsgi: [common.freenasldap:3095] FreeNAS_ActiveDirectory_Group.__get_group: netbiosname = UNIONVFX
Apr 12 12:57:25 kessel uwsgi: [common.freenasldap:3154] FreeNAS_ActiveDirectory_Group.__get_group: AD group not in cache
Apr 12 12:57:25 kessel uwsgi: [common.freenasldap:2190] FreeNAS_ActiveDirectory_Base.get_group: group = dev


There are a lot of error name not founds but all of the groups are listed.

Are there any specific Active directory settings I need to set?

Thank you
Post output of wbinfo -m and getent group UNIONVFX\dev
 

union

Dabbler
Joined
Apr 10, 2019
Messages
13
root@kessel:/var/log # wbinfo -m
BUILTIN
KESSEL
UNIONVFX

root@kessel:/var/log # getent group UNIONVFX\dev
^ The above returns nothing
 

union

Dabbler
Joined
Apr 10, 2019
Messages
13
getent group UNIONVFX\\dev
also returns nothing
 

union

Dabbler
Joined
Apr 10, 2019
Messages
13
I seem to have resolved the issue by testing different idmap backend settings. I assumed I would have to set it to rfc2307 as that is what the backend is set to on the AD, but reading another forum post I found that I should use ad instead, using the rfc2307 as the schema instead. Now I get the correct user and group UID and GID mappings.

I do have one further issue though. I am mounting freenas storage on a workstation with a local root account and when I try and do anything in the mounted folder as root I get permission denied. Is this unavoidable as the user is not part of the domain?

Thank you
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
I seem to have resolved the issue by testing different idmap backend settings. I assumed I would have to set it to rfc2307 as that is what the backend is set to on the AD, but reading another forum post I found that I should use ad instead, using the rfc2307 as the schema instead. Now I get the correct user and group UID and GID mappings.

I do have one further issue though. I am mounting freenas storage on a workstation with a local root account and when I try and do anything in the mounted folder as root I get permission denied. Is this unavoidable as the user is not part of the domain?

Thank you
You need to prefix local users with the netbios name of the server <netbios__name___of__server>\<username> just like you would with a windows server.
 

union

Dabbler
Joined
Apr 10, 2019
Messages
13
I can't prefix the local root users on my linux workstations with the netbios name. The UID and GID are the same for the root user on both the freeNAS and the workstation but when using it to write to the mounted freeNAS storage the UID is 4294967294. Could this be changed within the AD settings?

Thanks
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
I can't prefix the local root users on my linux workstations with the netbios name. The UID and GID are the same for the root user on both the freeNAS and the workstation but when using it to write to the mounted freeNAS storage the UID is 4294967294. Could this be changed within the AD settings?

Thanks
Why are you trying to use root?
 

union

Dabbler
Joined
Apr 10, 2019
Messages
13
We have processes that might need to run as root on workstations that have this storage mounted
 

union

Dabbler
Joined
Apr 10, 2019
Messages
13
Is this because I can't set root_no_squash in /etc/exports in freeNAS? It doesn't seem to persist after reboot and I can't find a way to set it in the UI?
 

union

Dabbler
Joined
Apr 10, 2019
Messages
13
I can't find a way to set it in the UI?
I take that back, it was a case of RTFM, I have set the map root user to root in the export settings and now the UIDs are mapping as I would like across the NFS and the workstation.

I think everything is working correctly now.

Thank you anodos
 
Top