Skip to content

python-ldap declares ldap_init_fd #353

Closed
@encukou

Description

@encukou

Currently, python-ldap carries a declaration of OpenLDAP's ldap_init_fd:

extern int
ldap_init_fd(ber_socket_t fd, int proto, LDAP_CONST char *url, LDAP **ldp);

This function is documented and declared in in openldap.h, but apparently distros don't ship openldap.h.

Unless there is some complication that I don't see, we should not declare this function. Distros should either ship openldap.h, or they could patch python-ldap to provide the declaration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions