Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

User tools have buggy group-authz dir loading #44

Closed
labisso opened this Issue · 1 comment

2 participants

@labisso
Collaborator

A file in the group-authz dir named group01.properties.orig breaks user tools ability to load the directory.

Traceback (most recent call last):
  File "/opt/nimbus/libexec//nimbus_list_users.py", line 122, in <module>
    rc = main()
  File "/opt/nimbus/libexec//nimbus_list_users.py", line 112, in main
    report_results(db, u, o)
  File "/opt/nimbus/libexec//nimbus_list_users.py", line 81, in report_results
    group = find_member(groupauthz_dir, o.dn)
  File "/opt/nimbus/web/src/python/nimbusweb/setup/groupauthz.py", line 57, in find_member
    for group in all_groups(groupauthz_dir):
  File "/opt/nimbus/web/src/python/nimbusweb/setup/groupauthz.py", line 31, in all_groups
    group_id = int(name[len(_GROUP_FILE_PREFIX):])
ValueError: invalid literal for int() with base 10: '01.properties'
@buzztroll
Collaborator

Fixed. Added a test.

@buzztroll buzztroll closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.