[Please complete the below template with details of the problem reported on your Web-UI. Be as detailed as possible. Community members, including developers, shall try and help. Thanks for your time in reporting this issue! We recommend purchasing commercial support for expedited support directly from the developers.]
Brief description of the problem
Trying to turn on active directory after configuring it.
Detailed step by step instructions to reproduce the problem
populate all the active directory settings, flip the switch to turn it on.
Web-UI screenshot
Error Traceback provided on the Web-UI
Traceback (most recent call last):
File "/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py", line 40, in _handle_exception
yield
File "/opt/rockstor/src/rockstor/smart_manager/views/active_directory.py", line 198, in post
smb_config = self._get_config(smbo)
File "/opt/rockstor/src/rockstor/smart_manager/views/base_service.py", line 40, in _get_config
return json.loads(service.config)
File "/usr/lib64/python2.7/json/__init__.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python2.7/json/decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer
Same here.
Detailed step by step instructions to reproduce the problem
Tried to join an existing Windows2008 AD (settings see screenshot). Doesnt matter if it try to join with IP or Server DNS or AD name, it doesnt work.
System is running the latest Rockstor version: 3.8.16-6
Web-UI screenshot
[
Bildschirmfoto vom 2017-01-11 19-33-00.png1920x1080 271 KB
Bildschirmfoto vom 2017-01-11 19-37-22.png1920x1080 192 KB
Error Traceback provided on the Web-UI
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py”, line 40, in handleexception
yield
File “/opt/rockstor/src/rockstor/smart_manager/views/active_directory.py”, line 198, in post
smb_config = self.getconfig(smbo)
File “/opt/rockstor/src/rockstor/smart_manager/views/base_service.py”, line 40, in getconfig
return json.loads(service.config)
File “/usr/lib64/python2.7/json/init.py”, line 338, in loads
return defaultdecoder.decode(s)
File “/usr/lib64/python2.7/json/decoder.py”, line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer
Pls update Rockstor, that’s a really old one: services configuration run over a modal window and meanwhile we had some major Rockstor samba code updates
Samba was disabled, after enableing samba and adding the right woukgroup AD connects und pulls userdata.
So there should be an errormessage when samba needs to be enabled first (dont know if its nessesary by vendor to start samba even if you only nee the winbind suff…?! but anyway so it be!), like it is with NTP .