[GH-ISSUE #1130] [FEATURE REQUEST]: Delete users from LDAP #403

Closed
opened 2026-02-27 08:17:06 +03:00 by kerem · 4 comments
Owner

Originally created by @freeeflyer on GitHub (Mar 24, 2025).
Original GitHub issue: https://github.com/lldap/lldap/issues/1130

Describe the bug
Cannot delete user from LDAP protocol

To Reproduce
Steps to reproduce the behavior:

$ ldapdelete -v -x -w XXXXX -D "cn=admin,ou=people,dc=example,dc=com" -H ldap://localhost:3890 "uid=billytk,ou=people,dc=example,dc=com"
ldap_initialize( ldap://localhost:3890/??base )
deleting entry "uid=billytk,ou=people,dc=example,dc=com"
ldap_delete: Server is unwilling to perform (53)
	additional info: Unsupported operation: DelRequest(
    "uid=billytk,ou=people,dc=example,dc=com,
)

Expected behavior
I'd expect the user to be deleted..

Originally created by @freeeflyer on GitHub (Mar 24, 2025). Original GitHub issue: https://github.com/lldap/lldap/issues/1130 **Describe the bug** Cannot delete user from LDAP protocol **To Reproduce** Steps to reproduce the behavior: ```bash $ ldapdelete -v -x -w XXXXX -D "cn=admin,ou=people,dc=example,dc=com" -H ldap://localhost:3890 "uid=billytk,ou=people,dc=example,dc=com" ldap_initialize( ldap://localhost:3890/??base ) deleting entry "uid=billytk,ou=people,dc=example,dc=com" ldap_delete: Server is unwilling to perform (53) additional info: Unsupported operation: DelRequest( "uid=billytk,ou=people,dc=example,dc=com, ) ``` **Expected behavior** I'd expect the user to be deleted..
kerem 2026-02-27 08:17:06 +03:00
Author
Owner

@nitnelave commented on GitHub (Mar 24, 2025):

Yep, write operations using the LDAP protocol are generally not supported, with some exceptions. I'm reclassifying this from a bug to a feature request.

<!-- gh-comment-id:2748671617 --> @nitnelave commented on GitHub (Mar 24, 2025): Yep, write operations using the LDAP protocol are generally not supported, with some exceptions. I'm reclassifying this from a bug to a feature request.
Author
Owner

@freeeflyer commented on GitHub (Mar 24, 2025):

Thanks.
Is there a document somewhere stating which operations are supported and which are not ?

<!-- gh-comment-id:2749541455 --> @freeeflyer commented on GitHub (Mar 24, 2025): Thanks. Is there a document somewhere stating which operations are supported and which are not ?
Author
Owner

@nitnelave commented on GitHub (Mar 24, 2025):

Yes. You can find that in https://github.com/lldap/lldap/blob/main/docs%2Fscripting.md along with documentation on the GraphQL API, the preferred way to communicate with LLDAP.

<!-- gh-comment-id:2749582417 --> @nitnelave commented on GitHub (Mar 24, 2025): Yes. You can find that in https://github.com/lldap/lldap/blob/main/docs%2Fscripting.md along with documentation on the GraphQL API, the preferred way to communicate with LLDAP.
Author
Owner

@nitnelave commented on GitHub (Apr 9, 2025):

I just implemented group/user deletion over LDAP! Have fun.

<!-- gh-comment-id:2787944101 --> @nitnelave commented on GitHub (Apr 9, 2025): I just implemented group/user deletion over LDAP! Have fun.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#403
No description provided.