Skip to content

slapd fails to start when SASL support is missing #189

@gabrielbriones

Description

@gabrielbriones

If you found a bug in python-ldap, or would request a new feature,
this is the place to let us know.

Please describe the issue and your environment here.


Issue description:
I'm working in packaging python ldap for Clear Lunix but slapd tests fails when starting slapd due to not compiled with SASL support.
This is the line which raises the RuntimeException: https://github.com/python-ldap/python-ldap/blob/master/Lib/slapdtest/_slapdtest.py#L407
The exception message looks like this:

*** RuntimeError: ['/usr/bin/ldapwhoami', '-H', 'ldapi://%2Fhome%2Fgbriones%2Fgithub%2Fpython-ldap%2Fpython-ldap-test-56615%2Fldapi', '-Y', 'EXTERNAL', '-Q'] process failed:
b''
b'ldapwhoami: not compiled with SASL support\n'

Steps to reproduce:

  1. Build with not SASL support
  2. Run tests

Operating system: Clear Linux 21060

Python version: 3.6.4

python-ldap version: 3.0.0

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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy