<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:37:30 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-3855] GSS code cannot handle large Kerberos tickets</title>
                <link>https://jira.whamcloud.com/browse/LU-3855</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Some Kerberos implementations like Active Directory ny default include a PAC with authorization data in each ticket. This extra field inflates ticket sizes from a few hundred bytes to several kB. The current code in gss_cli_upcall.c::gss_do_ctx_init_rpc() limits GSSAPI tokens to 976 bytes. It triggers an LASSERT(size &amp;gt;= (sizeof(__u32) + token_size)) if larger tokens are passed down, ie. kerberized Lustre clients usually crash when used in an Active Directory (or similar) environment.&lt;/p&gt;

&lt;p&gt;There is a workaround to reconfigure the Lustre service accounts in Active Directory not to include a PAC in tickets. (The PAC is not evaluated by Lustre.) If Lustre should be able to work in Active Directory environments without requiring special settings, it needs to be able to handle larger ticket sizes. At least, it should handle this error gracefully without triggering an LASSERT/LBUG.&lt;/p&gt;</description>
                <environment></environment>
        <key id="20703">LU-3855</key>
            <summary>GSS code cannot handle large Kerberos tickets</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="2">Won&apos;t Fix</resolution>
                                        <assignee username="jhammond">John Hammond</assignee>
                                    <reporter username="kobras">Daniel Kobras</reporter>
                        <labels>
                    </labels>
                <created>Thu, 29 Aug 2013 09:14:32 +0000</created>
                <updated>Mon, 18 Sep 2023 13:16:27 +0000</updated>
                            <resolved>Fri, 11 Mar 2022 15:28:57 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                    <version>Lustre 2.4.1</version>
                    <version>Lustre 2.5.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="65449" author="adilger" created="Fri, 30 Aug 2013 16:45:13 +0000"  >&lt;p&gt;Daniel, are you planning to submit a patch for this?&lt;/p&gt;</comment>
                            <comment id="66039" author="kobras" created="Mon, 9 Sep 2013 08:06:02 +0000"  >&lt;p&gt;I&apos;m trying to. The cleanest solution would try to allocate a sufficiently large buffer, but none of the various &lt;em&gt;enlarge&lt;/em&gt; functions seem to work in this case. I hope I can come up with a sane patch.&lt;br/&gt;
Otherwise, there&apos;s also the easy way, of course: Just spit out an error message hinting to disable the PAC.&lt;/p&gt;</comment>
                            <comment id="127567" author="pjones" created="Wed, 16 Sep 2015 21:48:36 +0000"  >&lt;p&gt;John&lt;/p&gt;

&lt;p&gt;Do you have any comment here?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="127625" author="jfilizetti" created="Thu, 17 Sep 2015 14:19:29 +0000"  >&lt;p&gt;Outside of the limits discussed in the bug there are some other issues with token size which I didn&apos;t see a quick fix for as part of the shared key work.  Lustre makes use of the sunrpc_cache_* for all of the caching.  In sunrpc_cache_pipe_upcall which calls rsi_request (cache_request function pointer), several of the values are converted from binary to a hex ascii representation for the upcall.  sunrpc_cache_pipe_upcall has a limit of PAGE_SIZE for all of this to fit into and with the hex ascii conversion that means its less than PAGE_SIZE / 2 of space allowed without sunrpc_cache_pipe_upcall generating an error.  I had previously saw some documentation that said using pipefs had a PAGE_SIZE limit per request but can&apos;t remember what the specifics were.  In order to support much larger tokens that could handle a PAC Lustre would have to avoid sunrpc_cache_pipe_upcall.&lt;/p&gt;</comment>
                            <comment id="328927" author="jhammond" created="Fri, 11 Mar 2022 15:28:57 +0000"  >&lt;p&gt;Please reopen and reassign if needed.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="77324">LU-17015</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10490" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>End date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 17 Sep 2015 09:14:32 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzvzmn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>10005</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10493" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 29 Aug 2013 09:14:32 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>