Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  Openldap Package Change - ldapsearch command

    Posted yesterday

    Hi Team,

    Recently, we discovered a change in the /opt/freeware/bin/ldapsearch command on AIX.

    The command no longer accepts the -h option for specifying the hostname. Instead, it now requires the -H option with the LDAP protocol.

    Previous usage:

    /opt/freeware/bin/ldapsearch -h hostname

    Current required usage:

    /opt/freeware/bin/ldapsearch -H ldap://hostname

    If the old -h option is used, the command returns an "illegal option" error and fails with exit code -1.

    Can you please let me know from when this change has been done. From which version of Openldap this change has taken place.

    Regards,

    Manish Anand



    ------------------------------
    Manish Anand
    ------------------------------


  • 2.  RE: Openldap Package Change - ldapsearch command

    Posted yesterday

    This is changed from 2.5.X series onwards., 
    https://github.com/openldap/openldap/commit/66af4cfd5d3c559fcdf6d722b02fa66416b95f01



    ------------------------------
    Ayappan P
    ------------------------------



  • 3.  RE: Openldap Package Change - ldapsearch command

    Posted 3 hours ago

    This change was introduced starting from the OpenLDAP 2.5.x series.
    From this version onward, the -h option was deprecated and replaced by the -H option, which requires specifying the LDAP URI format (e.g., ldap://hostname).


    You can refer to the official OpenLDAP commit where this change was implemented here: OpenLDAP Commit – Removal of -h option



    ------------------------------
    DFL S.A.S.
    ------------------------------