Traceback (most recent call last):
File "/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py", line 41, in _handle_exception
yield
File "/opt/rockstor/src/rockstor/storageadmin/views/samba.py", line 239, in put
self._set_admin_users(admin_users, smbo)
File "/opt/rockstor/src/rockstor/storageadmin/views/samba.py", line 141, in _set_admin_users
auo.smb_shares.add(smb_share)
UnboundLocalError: local variable 'auo' referenced before assignment
Thanks a lot for the report… I personally do not recall seeing this error so that is a bit curious. Just to make sure, could you let us know which version of Rockstor you are running? We have made some significant changes and fixes in AD and users info collection in the past few Rockstor releases so it would be worth making sure you’re using the latest code in this area before proceeding any further.
I’m honestly unsure as to why the upgrade fixed your issue, but I’m glad it’s sorted at least.
By curiosity, was there a system reboot (or restart of the rockstor.service) between the time you joined your AD and then tried to edit your Samba export?