#1418 pki group-member-find Administrators --start=-1 throws an exception
Closed: migrated by dmoluguw. Opened by mharmsen.

pki group-member-find Administrators --start=-1 throws an exception

Steps to Reproduce:

# pki -d /opt/rhqa_pki/certs_db -n CA_adminV -c redhat123
group-member-find group1 --start=-1
PKIException: Server Internal Error

Actual results:

PKIException: Server Internal Error

Expected results:

Meaningful error message

Additional info:

[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: CertUserDBAuth: started
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: CertUserDBAuth: Retrieving
client certificate
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: CertUserDBAuth: Got client
certificate
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: In
LdapBoundConnFactory::getConn()
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: masterConn is connected: true
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: getConn: conn is connected true
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: getConn: mNumConns now 2
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: returnConn: mNumConns now 3
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: Authentication: client
certificate found
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: In
LdapBoundConnFactory::getConn()
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: masterConn is connected: true
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: getConn: conn is connected true
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: getConn: mNumConns now 2
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: returnConn: mNumConns now 3
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: Authentication: mapped
certificate to user
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: authenticated
uid=CA_adminV,ou=people,o=pki-tomcat-CA
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: In
LdapBoundConnFactory::getConn()
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: masterConn is connected: true
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: getConn: conn is connected true
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: getConn: mNumConns now 2
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: returnConn: mNumConns now 3
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: In
LdapBoundConnFactory::getConn()
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: masterConn is connected: true
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: getConn: conn is connected true
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: getConn: mNumConns now 2
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: returnConn: mNumConns now 3
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: AuthMethodInterceptor?:
AccountResource?.login()
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: AuthMethodInterceptor?: mapping:
account
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: AuthMethodInterceptor?: required
auth methods: [passwdUserDBAuthMgr, certUserDBAuthMgr]
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: AuthMethodInterceptor?:
authentication manager: certUserDBAuthMgr
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: AuthMethodInterceptor?: access
granted
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: ACLInterceptor:
AccountResource?.login()
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: ACLInterceptor: mapping:
account.login
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: ACLInterceptor: principal:
CA_adminV
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: ACLInterceptor: ACL:
certServer.ca.account,login
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: checkACLS(): ACLEntry
expressions= user="anybody"
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: evaluating expressions:
user="anybody"
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: evaluated expression:
user="anybody" to be true
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: DirAclAuthz?: authorization
passed
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: ACLInterceptor: access granted
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: MessageFormatInterceptor?:
AccountResource?.login()
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: MessageFormatInterceptor?:
content-type: null
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: MessageFormatInterceptor?:
accept: [application/xml]
[08/Jul/2014:11:14:20][http-bio-8443-exec-23]: MessageFormatInterceptor?:
response format: application/xml
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: AuthMethodInterceptor?:
GroupResource?.findGroupMembers()
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: AuthMethodInterceptor?: mapping:
groups
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: AuthMethodInterceptor?: required
auth methods: [certUserDBAuthMgr]
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: AuthMethodInterceptor?:
authentication manager: certUserDBAuthMgr
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: AuthMethodInterceptor?: access
granted
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: ACLInterceptor:
GroupResource?.findGroupMembers()
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: ACLInterceptor: mapping: groups
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: ACLInterceptor: principal:
CA_adminV
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: ACLInterceptor: ACL:
certServer.ca.groups,execute
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: checkACLS(): ACLEntry
expressions= group="Administrators"
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: evaluating expressions:
group="Administrators"
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: GroupAccessEvaluator?: evaluate:
uid=CA_adminV value="Administrators"
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: GroupAccessEvaluator?: evaluate:
no gid in authToken
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: In
LdapBoundConnFactory::getConn()
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: masterConn is connected: true
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: getConn: conn is connected true
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: getConn: mNumConns now 2
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: returnConn: mNumConns now 3
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: UGSubsystem.isMemberOf() using
new lookup code
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: In
LdapBoundConnFactory::getConn()
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: masterConn is connected: true
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: getConn: conn is connected true
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: getConn: mNumConns now 2
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: authorization search base:
cn=Administrators,ou=groups,o=pki-tomcat-CA
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: authorization search filter:
(uniquemember=uid=CA_adminV,ou=people,o=pki-tomcat-CA)
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: authorization result: true
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: returnConn: mNumConns now 3
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: evaluated expression:
group="Administrators" to be true
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: DirAclAuthz?: authorization
passed
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: ACLInterceptor: access granted
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: MessageFormatInterceptor?:
GroupResource?.findGroupMembers()
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: MessageFormatInterceptor?:
content-type: null
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: MessageFormatInterceptor?:
accept: [application/xml]
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: MessageFormatInterceptor?:
response format: application/xml
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]:
GroupService?.findGroupMembers(group1, null)
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: In
LdapBoundConnFactory::getConn()
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: masterConn is connected: true
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: getConn: conn is connected true
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: getConn: mNumConns now 2
[08/Jul/2014:11:14:21][http-bio-8443-exec-6]: returnConn: mNumConns now 3
java.lang.ArrayIndexOutOfBoundsException?
[08/Jul/2014:11:14:21][http-bio-8443-exec-13]: AuthMethodInterceptor?:
AccountResource?.logout()
[08/Jul/2014:11:14:21][http-bio-8443-exec-13]: AuthMethodInterceptor?: mapping:
account
[08/Jul/2014:11:14:21][http-bio-8443-exec-13]: AuthMethodInterceptor?: required
auth methods: [passwdUserDBAuthMgr, certUserDBAuthMgr]
[08/Jul/2014:11:14:21][http-bio-8443-exec-13]: AuthMethodInterceptor?:
authentication manager: certUserDBAuthMgr
[08/Jul/2014:11:14:21][http-bio-8443-exec-13]: AuthMethodInterceptor?: access
granted
[08/Jul/2014:11:14:21][http-bio-8443-exec-13]: ACLInterceptor:
AccountResource?.logout()
[08/Jul/2014:11:14:21][http-bio-8443-exec-13]: ACLInterceptor: mapping:
account.logout
[08/Jul/2014:11:14:21][http-bio-8443-exec-13]: ACLInterceptor: principal:
CA_adminV
[08/Jul/2014:11:14:21][http-bio-8443-exec-13]: ACLInterceptor: ACL:
certServer.ca.account,logout
[08/Jul/2014:11:14:21][http-bio-8443-exec-13]: checkACLS(): ACLEntry
expressions= user="anybody"
[08/Jul/2014:11:14:21][http-bio-8443-exec-13]: evaluating expressions:
user="anybody"
[08/Jul/2014:11:14:21][http-bio-8443-exec-13]: evaluated expression:
user="anybody" to be true
[08/Jul/2014:11:14:21][http-bio-8443-exec-13]: DirAclAuthz?: authorization
passed
[08/Jul/2014:11:14:21][http-bio-8443-exec-13]: ACLInterceptor: access granted
[08/Jul/2014:11:14:21][http-bio-8443-exec-13]: MessageFormatInterceptor?:
AccountResource?.logout()
[08/Jul/2014:11:14:21][http-bio-8443-exec-13]: MessageFormatInterceptor?:
content-type: null
[08/Jul/2014:11:14:21][http-bio-8443-exec-13]: MessageFormatInterceptor?:
accept: [application/xml]
[08/Jul/2014:11:14:21][http-bio-8443-exec-13]: MessageFormatInterceptor?:
response format: application/xml

Per CS/DS meeting of 06/15/2015: 10.3

Per Bug Triage of 05/03/2016: 10.4

Metadata Update from @mharmsen:
- Issue set to the milestone: UNTRIAGED

https://pagure.io/dogtagpki/issue/1068 was closed as a duplicate of this issue.

Metadata Update from @mharmsen:
- Custom field feature adjusted to ''
- Custom field proposedmilestone adjusted to ''
- Custom field proposedpriority adjusted to ''
- Custom field reviewer adjusted to ''
- Custom field version adjusted to ''
- Issue close_status updated to: None

Metadata Update from @mharmsen:
- Custom field lowhangingfruit adjusted to vakwetu: X
- Issue set to the milestone: FUTURE (was: UNTRIAGED)

Per 10.5.x/10.6 Triage: FUTURE

edewata: negative case

Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new
issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.

This issue has been cloned to GitHub and is available here:
https://github.com/dogtagpki/pki/issues/1979

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Metadata Update from @dmoluguw:
- Issue close_status updated to: migrated
- Issue status updated to: Closed (was: Open)

Metadata