Brief description of the problem
Error message when I click on NFS shares from the Weu-UI when one is owned by a NIS group.
Detailed step by step instructions to reproduce the problem
I have activated NIS on the Web-UI. No problem with NIS groups on command line (ls, chgrp).
Web-UI screenshot
‘getgrgid(): gid not found: 203’
Error Traceback provided on the Web-UI
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/user.py", line 106, in get_queryset
return combined_users()
File "/opt/rockstor/src/rockstor/storageadmin/views/ug_helpers.py", line 36, in combined_users
gname = get_groups(uo.gid).keys()[0]
File "/opt/rockstor/src/rockstor/system/users.py", line 89, in get_groups
entry = grp.getgrgid(g)
KeyError: 'getgrgid(): gid not found: 203'