AIX Open Source

  • 1.  requests-kerberos for AIX

    IBM Select
    Posted Wed October 20, 2021 12:20 PM
    hi Team

    request-kerberos is the python module that is very widely used in in open source community.
    It can be installed from pip. but unfortunately, there is no working version for AIX.

    could IBM developer help port this module to AIX environment?

    ------------------------------
    Victor Liu
    ------------------------------


  • 2.  RE: requests-kerberos for AIX

    Posted Fri October 22, 2021 11:15 AM
    Hi Victor, 

    I looked at request-kerberos and it is failing because a dependency pykerberos needs some APIs (mempcpy and asprintf) those are not available on AIX.
    These APIs are part of gnu libc and not available in AIX libc. 
    To make request-kerberos available on AIX we will have to patch request-kerberos to either use alternate or make mempcpy and asprintf available.
    Is there any alternate you have for request-kerberos ? 


    ------------------------------
    SANKET RATHI
    ------------------------------



  • 3.  RE: requests-kerberos for AIX

    IBM Select
    Posted Mon October 25, 2021 01:11 PM
    hi Sanket

    Thank so much for look into this,
    That is exactly the block is.
    For the moment, I am using curl 7.13 as alternates, and I have to call curl from python code. and I am seeing some blocker from curl dependency that may not allowed to be installed in production... it could be a dead end eventually unless I got requests-kerberos.
    I would prefer IBM can port requests-kerberos to AIX by making mempcpy and asprintf available...
    With that, it will significantly help accelerate code development in AIX.
    from open source community, I found GSSAPI that seems the low lever API of requests-kerberos, but I am not able to figure out how to use it...
    in my scenario, I have a pushed credential file (Ticket Granting Ticket) on AIX box to use for authentication to get token.
    If there is any code sample regarding how to use GSSAPI based on my scenario, I may able to skip requests-kerberos. 
    But porting requests-kerberos still have huge value... highly recommend IBM developer engaged for it.

    Thanks
    Victor

    ------------------------------
    Victor Liu
    ------------------------------



  • 4.  RE: requests-kerberos for AIX

    Posted Tue October 26, 2021 02:51 PM
    Thank you Victor for other pointers.
    We will add this package into our future list of packages and try to make it available from AIX toolbox.

    ------------------------------
    SANKET RATHI
    ------------------------------



  • 5.  RE: requests-kerberos for AIX

    IBM Select
    Posted Thu October 28, 2021 11:05 AM
    Thank you so much Sanket
    that would great if IBM can make requests-kerberos available in AIX toolbox
    do you have any date for timeline to share?

    ------------------------------
    Victor Liu
    ------------------------------



  • 6.  RE: requests-kerberos for AIX

    Posted 27 days ago
    Hi Victor, 
    If we will be successful in port using workaround then by end of this quarter or early next year we should be able to publish.
    But if we will find non trivial issues then it may take more time.

    ------------------------------
    SANKET RATHI
    ------------------------------



  • 7.  RE: requests-kerberos for AIX

    IBM Select
    Posted 27 days ago
    Thanks Sanket, I will follow up in December

    ------------------------------
    Victor Liu
    ------------------------------