FreeNAS+Active Directory

Status
Not open for further replies.

vononka

Cadet
Joined
Jun 10, 2013
Messages
3
Hello,

I've installed FreeNAS and Active Directory (AD).
My FreeNAS is connected into the AD's host.
I can see the list of my user in the console by using "wbinfo -u" and the group by using "wbinfo -g".
My problem is that using the FreeNAS web GUI, I can't see the list of the users and the group.

Someone has an idea?

Thanks.
vononka​
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
Is there any error or message shown in /var/log/messages?

Also, where are you expecting to see the list of users and groups in the GUI?
 

vononka

Cadet
Joined
Jun 10, 2013
Messages
3
[root@freenas] ~# tail -f /var/log/messages
Jun 10 18:37:49 freenas ActiveDirectory: generate_smb_config: testparm: (by default Samba will discover the correct DC to contact automatically).
Jun 10 18:37:49 freenas ActiveDirectory: generate_smb_config: testparm: Server role: ROLE_DOMAIN_MEMBER
Jun 10 18:37:49 freenas ActiveDirectory: generate_smb_config: testparm: Press enter to see a dump of your service definitions
Jun 10 18:37:49 freenas ActiveDirectory: AD_init: config exists, loading values from /etc/ActiveDirectory/config
Jun 10 18:37:49 freenas ActiveDirectory: kerberos_start: kinit --password-file=/tmp/tmp.olkJQ1sZ administrator@SETEX.MG
Jun 10 18:37:49 freenas ActiveDirectory: kerberos_start: Successful
Jun 10 18:37:59 freenas ActiveDirectory: AD_init: config exists, loading values from /etc/ActiveDirectory/config
Jun 10 18:38:00 freenas ActiveDirectory: activedirectory_start: trying to join domain
Jun 10 18:38:00 freenas ActiveDirectory: AD_join_domain: net ads join -U administrator
Jun 10 18:38:04 freenas ActiveDirectory: AD_join_domain: Successful
====================================================
when I run the command "wbinfo -u", I see my list of the users. But, when I share an a partition in the GUI Web, I can't see the user specified in my Active Directory.
Thanks
 

Doward

Cadet
Joined
Oct 17, 2013
Messages
1
Did you get anywhere with this? Freenas 9.1 here, and I'm trying to have my CIFS shares' permissions set to the groups used in AD.
 

Idiotzoo

Explorer
Joined
Mar 11, 2013
Messages
55
Initially I couldn't get the freenas directory services to stay running, nor would it properly connect to the active directory. In my case I hadn't actually named the freenas host. Everything else was right, but quite rightly it all needs to match up. So check your freenas hostname, your cif settings and your active directory settings first.

Then there's a bug present in 9.1.1 that means the AD permissions chosen through the gui are not applied. I found a few posts about this, that I can't be bothered to reference here... use google. If you set the permissions for the dataset to Windows rather than unix, then set the permissions in the shell. Something like: chown -R username:groupname /mnt/Tank/datasetname
Then do a chmod -R 770 /mnt/Tank/datasetname

I've setup my owner as administrator and group as domain admins then I've done the rest of the permissions in windows.
 
Joined
Oct 28, 2013
Messages
3
Im having a similar issue.

This is what I get.

[root@JRNAS01 ~]# tail -f /var/log/messages Oct 28 12:02:34 JRNAS01 kernel: done. Oct 28 12:02:50 JRNAS01 kernel: re0: link state changed to UP Oct 28 12:08:01 JRNAS01 manage.py: [common.pipesubr:57] Popen()ing: /usr/local/bin/warden list -v Oct 28 12:08:02 JRNAS01 last message repeated 2 times Oct 28 12:08:05 JRNAS01 manage.py: [py.warnings:193] /usr/local/lib/python2.7/site-packages/django/http/request.py:193: DeprecationW arning: HttpRequest.raw_post_data has been deprecated. Use HttpRequest.body instead. warnings.warn('HttpRequest.raw_post_data has been deprecated. Use HttpRequest.body instead.', DeprecationWarning) Oct 28 12:08:05 JRNAS01 manage.py: [common.pipesubr:57] Popen()ing: /usr/local/bin/warden list -v Oct 28 12:08:14 JRNAS01 manage.py: [py.warnings:744] /usr/local/www/freenasUI/../freenasUI/common/freenasldap.py:744: DeprecationWar ning: object() takes no parameters obj = super(FreeNAS_ActiveDirectory_Base, cls).__new__(cls, **kwargs) Oct 28 12:08:14 JRNAS01 manage.py: [common.freenasusers:396] Directory Users could not be retrieved: 'NoneType' object has no attrib ute '__getitem__' Oct 28 12:08:14 JRNAS01 manage.py: [common.freenasusers:261] Directory Groups could not be retrieved: 'NoneType' object has no attri bute '__getitem__' Oct 28 12:21:50 JRNAS01 manage.py: [common.pipesubr:57] Popen()ing: /usr/local/bin/warden list -v Oct 28 12:21:51 JRNAS01 last message repeated 3 times ^C [root@JRNAS01 ~]#
any thoughts?
 
Joined
Oct 28, 2013
Messages
3
[root@JRNAS01 ~]# tail -f /var/log/messages

Oct 28 12:02:34 JRNAS01 kernel: done.

Oct 28 12:02:50 JRNAS01 kernel: re0: link state changed to UP

Oct 28 12:08:01 JRNAS01 manage.py: [common.pipesubr:57] Popen()ing: /usr/local/bin/warden list -v

Oct 28 12:08:02 JRNAS01 last message repeated 2 times

Oct 28 12:08:05 JRNAS01 manage.py: [py.warnings:193] /usr/local/lib/python2.7/site-packages/django/http/request.py:193: DeprecationW

arning: HttpRequest.raw_post_data has been deprecated. Use HttpRequest.body instead. warnings.warn('HttpRequest.raw_post_data has

been deprecated. Use HttpRequest.body instead.', DeprecationWarning)

Oct 28 12:08:05 JRNAS01 manage.py: [common.pipesubr:57] Popen()ing: /usr/local/bin/warden list -v

Oct 28 12:08:14 JRNAS01 manage.py: [py.warnings:744] /usr/local/www/freenasUI/../freenasUI/common/freenasldap.py:744: DeprecationWar

ning: object() takes no parameters obj = super(FreeNAS_ActiveDirectory_Base, cls).__new__(cls, **kwargs)

Oct 28 12:08:14 JRNAS01 manage.py: [common.freenasusers:396] Directory Users could not be retrieved: 'NoneType' object has no attrib

ute '__getitem__'

Oct 28 12:08:14 JRNAS01 manage.py: [common.freenasusers:261] Directory Groups could not be retrieved: 'NoneType' object has no attri

bute '__getitem__'

Oct 28 12:21:50 JRNAS01 manage.py: [common.pipesubr:57] Popen()ing: /usr/local/bin/warden list -v

Oct 28 12:21:51 JRNAS01 last message repeated 3 times

^C

[root@JRNAS01 ~]#
 
Status
Not open for further replies.
Top