You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024-08-08T14:31:24.380 SCHWERWIEGEND [https-openssl-apr-8444-exec-6780] org.apache.catalina.core.StandardHostValve.invoke Exception Processing [/app]
java.lang.IllegalArgumentException: SidCount is 0, but actual SidCount is 4
at net.sf.michaelo.tomcat.pac.KerbValidationInfo.<init>(KerbValidationInfo.java:233)
at net.sf.michaelo.tomcat.pac.Pac.<init>(Pac.java:147)
at net.sf.michaelo.tomcat.realm.PacDataActiveDirectoryRealm.getPrincipal(PacDataActiveDirectoryRealm.java:157)
at org.apache.catalina.realm.RealmBase.authenticate(RealmBase.java:495)
at net.sf.michaelo.tomcat.authenticator.SpnegoAuthenticator.doAuthenticate(SpnegoAuthenticator.java:158)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
In theory, this can only happen when ExtraSids pointer is not null, but SidCount is zero. Does this make sense? Do we need to change: if (extraSidsPointer != 0L) to if (extraSidsPointer != 0L && sidCount != 0L)?
This makes only sense that the ExtraSids set is empty and the actual SidCount isn't set in the buffer, thus the next unit32 is stolen from ResourceGroupDomainSid.
The text was updated successfully, but these errors were encountered:
Consider the following exception:
In theory, this can only happen when
ExtraSids
pointer is notnull
, butSidCount
is zero. Does this make sense? Do we need to change:if (extraSidsPointer != 0L)
toif (extraSidsPointer != 0L && sidCount != 0L)
?This makes only sense that the
ExtraSids
set is empty and the actualSidCount
isn't set in the buffer, thus the nextunit32
is stolen fromResourceGroupDomainSid
.The text was updated successfully, but these errors were encountered: