bonsai icon indicating copy to clipboard operation
bonsai copied to clipboard

Simple Python 3 module for LDAP, using libldap2 and winldap C libraries.

Results 10 bonsai issues
Sort by recently updated
recently updated
newest added

I don't think persistent search is implemented in this library, nor a generic way to expose calling an arbitrary extended operation from python - would you be open to a...

bonsai appears to be missing [PEP 561](https://peps.python.org/pep-0561/) type information, even though bonsai itself has type annotations. This is preventing mypy from type checking when the library is used in other...

It looks like there are currently no wheels available on Linux, no clue about other platforms. This means that every install has to build bonsai from source. Are there plans...

Hello, I have and issue with `LDIFReader` It throws an error in case of `postaladdress`. As it can be seen it contains colon in `P.O.Box: ` This causes ldif.py to...

I've been working on code to solve #25 and #41 by moving the `.connect()` into a separate thread via the Executor capabilities of `asyncio`. I've got this working, but have...

Hi, I have an AD multi-domain forest where I rely on LDAP referral search result such as the following: ```bash # ldapsearch -H "ldap://███████.███████.███████.local" -s base -b "" SASL/GSS-SPNEGO authentication...

I'm using AIOConnectionPool and try to check its behavior if LDAP server become unavailable. Initial setup - I've started LDAP server on localhost, and try to search for a specific...

I have created an async connection and am doing the following: ```py new_student = LDAPEntry( f"CN={user.first_name} {last_name},OU=Students,OU=Users,OU=School District,DC=example,DC=k12DC=us", ) new_student["objectClass"] = ["top", "person", "organizationalPerson", "user"] new_student["cn"] = f"{user.first_name} {last_name}" new_student["sn"]...

In [ldap-xplat.c#L714](https://github.com/noirello/bonsai/blob/74ce8f8548a04ab763a21ffaf4bef3ef529ced18/src/_bonsai/ldap-xplat.c#L714) you allocate `LDAP`. 0. before [`ldap_initialize` call](https://github.com/noirello/bonsai/blob/74ce8f8548a04ab763a21ffaf4bef3ef529ced18/src/_bonsai/ldap-xplat.c#L714) just null `LDAP*`: ```c data->ld = NULL; ```` 2. `ldap_set_option` also calls can return other than `LDAP_SUCCESS` result, so we need...

Hi, I run in import errors when trying to use bonsai lib on MacBookPro M2 (arm9). Tested with 3.9,3.10 and 3.11 Trackback is pasted below. If I run the same...