Skip to content
This repository

User tools have buggy group-authz dir loading #44

Closed
labisso opened this Issue April 19, 2011 · 1 comment

2 participants

David LaBissoniere John Bresnahan
David LaBissoniere
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'
John Bresnahan
Collaborator

Fixed. Added a test.

John Bresnahan buzztroll closed this April 26, 2011
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.