When I try to grant access to user on my HDD, I've got a decode error.
This error happend only when I try to grant access to my AD users. When the AD service is off, there is no problem, I can access to the screen for make my changes. But when the AD service is on, i can't, and most of the time, my windbind service stop too. I must reload it with the "windbindd restart" command. How can I do to make it work with my AD service on ?
Thanks to answer.
If you want more informations about my config or envirr, please just tell me I'll answer.
Regards.
Code:
Environment:
Request Method: GET
Request URL: http://172.16.200.219/storage/mountpoint/permission/1/
Django Version: 1.3
Python Version: 2.7.1
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.staticfiles',
'freeadmin',
'south',
'dojango',
'account',
'system',
'network',
'storage',
'sharing',
'services']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'freenasUI.freeadmin.middleware.LocaleMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'freenasUI.freeadmin.middleware.RequireLoginMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'dojango.middleware.DojoCollector')
Traceback:
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
105. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/usr/local/www/freenasUI/freeadmin/middleware.py" in process_view
49. return login_required(view_func)(request,*view_args,**view_kwargs)
File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
23. return view_func(request, *args, **kwargs)
File "/usr/local/www/freenasUI/storage/views.py" in mp_permission
413. form = forms.MountPointAccessForm(initial={'path':mp.mp_path})
File "/usr/local/www/freenasUI/storage/forms.py" in __init__
828. super(MountPointAccessForm, self).__init__(*args, **kwargs)
File "/usr/local/www/freenasUI/common/forms.py" in __init__
61. field._reroll()
File "/usr/local/www/freenasUI/freeadmin/forms.py" in _reroll
109. if len(FreeNAS_Groups()) > 500:
File "/usr/local/www/freenasUI/common/freenasldap.py" in __init__
1180. self.__groups = FreeNAS_ActiveDirectory_Groups()
File "/usr/local/www/freenasUI/common/freenasldap.py" in __init__
1107. self.__get_groups()
File "/usr/local/www/freenasUI/common/freenasldap.py" in __get_groups
1160. bg.bsdgrp_group = unicode(gr.gr_name)
Exception Type: UnicodeDecodeError at /storage/mountpoint/permission/1/
Exception Value: 'ascii' codec can't decode byte 0xc3 in position 22: ordinal not in range(128)This error happend only when I try to grant access to my AD users. When the AD service is off, there is no problem, I can access to the screen for make my changes. But when the AD service is on, i can't, and most of the time, my windbind service stop too. I must reload it with the "windbindd restart" command. How can I do to make it work with my AD service on ?
Thanks to answer.
If you want more informations about my config or envirr, please just tell me I'll answer.
Regards.