AIX Open Source

power-server-operatingsystems.png

Operating Systems

The core of your mission-critical workloads: AIX, IBM i, and Enterprise Linux

power-ISV-Solutions1.png

ISV Solutions

Stay up to date with key capabilities running on POWER such as SAP

Business Continuity

Learn how to keep critical processes running and adapt quickly with PowerHA

power-infrastructure-security.png

Power Security

Protect your most sensitive data anywhere in your hybrid cloud

Virtualization

Check here for virtualization and management needs: HMC & CMC, PowerVC, and PowerVM

Open Source

Join our open source efforts within the IBM Power Systems portfolio

Enterprise Infrastructure as a Service

Achieve business growth with agility and flexibility with our enterprise IaaS in Power Virtual Server

Programming Languages

The hub for Programming Languages

Package request: mod_auth_gssapi (plus steps for compile it)

  • 1.  Package request: mod_auth_gssapi (plus steps for compile it)

    Posted 10 days ago
    I found mod_auth_gssapi httpd module very useful in enterprise environment - especially for Kerberos authentication (using keytab). Could you please add it to repository?

    Source: gssapi/mod_auth_gssapi


    I have successfully compiled it by myself using tools provided in AIX Toolbox and AIX.

    Below I provide steps for getting it works - maybe it will be helpful for other and speed-up process of providing this package in AIX Toolbox :)

    Preparation

    yum install make.ppc autoconf libtool m4 gcc gawk bison flex tar.ppc httpd-devel krb5-devel krb5-pkinit-openssl -y
    
    ln -s /opt/freeware/bin/gcc /usr/bin/gcc

    There is also needed package from PIP repository:
    pip install gssapi

    Get sources of module from GIT repository:
    wget 
    https://github.com/gssapi/mod_auth_gssapi/archive/refs/heads/master.zip
    Unzip it in separate directory:
    mkdir /tmp/gssapi
    cd /tmp/gssapi
    unzip master.zip

    Compilation

    export PATH=$PATH:/opt/freeware/bin
    export M4=/opt/freeware/bin/m4

    autoreconf -fi
    OPENSSL_LIBS="-L/usr/lib -lssl -lcrypt" OPENSSL_CFLAGS="-I/usr/include/openssl" ./configure

    Edit (or use sed) below files and change text lib64 to lib:
    Makefile
    config.status
    

    Final compilation:
    make

    Installation

    Simply place output module into httpd module's directory:

    cp ./src/.libs/mod_auth_gssapi.so /opt/freeware/lib/httpd/modules/

    Then you can use module in httpd Apache configuration as on any Linux platform:

    LoadModule auth_gssapi_module /opt/freeware/lib/httpd/modules/mod_auth_gssapi.so




    ------------------------------
    Grzegorz
    ------------------------------