[JBoss JIRA] (ELY-1472) [native kerberos] setting channelBinding of gssContext when not used
by Jan Kalina (JIRA)
[ https://issues.jboss.org/browse/ELY-1472?page=com.atlassian.jira.plugin.s... ]
Jan Kalina commented on ELY-1472:
---------------------------------
Following path of OpenJDK fixes the issue:
{code}
src/java.security.jgss/share/native/libj2gss/GSSLibStub.c:
// initialize addrtype in CB first
cb->initiator_addrtype = GSS_C_AF_NULLADDR;
cb->acceptor_addrtype = GSS_C_AF_NULLADDR;
+ // addresses needs to be initialized to empty
+ cb->initiator_address.length = 0;
+ cb->initiator_address.value = NULL;
+ cb->acceptor_address.length = 0;
+ cb->acceptor_address.value = NULL;
{code}
> [native kerberos] setting channelBinding of gssContext when not used
> --------------------------------------------------------------------
>
> Key: ELY-1472
> URL: https://issues.jboss.org/browse/ELY-1472
> Project: WildFly Elytron
> Issue Type: Bug
> Components: SASL
> Affects Versions: 1.2.0.Beta11
> Reporter: Jan Kalina
> Assignee: Jan Kalina
> Labels: kerberos
>
> Gs2SaslServer: gssContext's channelBinding setting leads to error when native Kerberos is used.
> This lead to following error when using native Kerberos library:
> {code}
> [GSSLibStub_acceptContext] before2: pCred=35810112, pContext=0
> [GSSLibStub_acceptContext] before3: inToken.length=515
> [GSSLibStub_acceptContext] after: pCred=35810112, pContext=0, pDelegCred=0
> [GSSLibStub_acceptContext] after2: major=262144, GSS_ERROR(major)=262144 minor=12
> [GSSLibStub_acceptContext] acceptSecContext JK Status major/minor = 40000/12
> c/r/s = 0/4/0
> {code}
> Which mean routine error 4 has occurred, which is GSS_S_BAD_BINDINGS - Incorrect channel bindings were supplied.
> This is fixed when I change cb (in native) to GSS_C_NO_CHANNEL_BINDINGS - equivalent of setting null into channelBinding in gssContext.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 9 months
[JBoss JIRA] (WFCORE-3480) ls output is unfriendly if any element in return contents is longer than terminal width
by Jean-Francois Denise (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3480?page=com.atlassian.jira.plugi... ]
Jean-Francois Denise commented on WFCORE-3480:
----------------------------------------------
Good catch! The fix for AESH-435 was not applied to aesh-readline, I fixed it and opened a PR. We will need to upgrade to aesh-readline 1.3
> ls output is unfriendly if any element in return contents is longer than terminal width
> ---------------------------------------------------------------------------------------
>
> Key: WFCORE-3480
> URL: https://issues.jboss.org/browse/WFCORE-3480
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Affects Versions: 4.0.0.Alpha5
> Reporter: Marek Kopecký
> Assignee: Jean-Francois Denise
> Priority: Blocker
>
> When 'ls' operation is performed over 'provider-loader' element, the output is very ugly - I get many empty lines with one very long attribute value and few more attributes with simple values.
> Expected: no empty lines between printed attributes so the output does not take like 4 screen size.
> *Steps to reproduce:*
> # prepare WF based on wf-core
> # start WF
> # ls /subsystem=elytron/provider-loader=elytron
> # see very long output with many empty lines between particular attribute records printed
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 9 months
[JBoss JIRA] (WFCORE-3480) ls output is unfriendly if any element in return contents is longer than terminal width
by Marek Kopecký (JIRA)
Marek Kopecký created WFCORE-3480:
-------------------------------------
Summary: ls output is unfriendly if any element in return contents is longer than terminal width
Key: WFCORE-3480
URL: https://issues.jboss.org/browse/WFCORE-3480
Project: WildFly Core
Issue Type: Bug
Components: CLI
Affects Versions: 4.0.0.Alpha5
Reporter: Marek Kopecký
Assignee: Jean-Francois Denise
Priority: Blocker
When 'ls' operation is performed over 'provider-loader' element, the output is very ugly - I get many empty lines with one very long attribute value and few more attributes with simple values.
Expected: no empty lines between printed attributes so the output does not take like 4 screen size.
*Steps to reproduce:*
# prepare WF based on wf-core
# start WF
# ls /subsystem=elytron/provider-loader=elytron
# see very long output with many empty lines between particular attribute records printed
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 9 months