[GH-ISSUE #702] [Feature Request] sudoers support #252

Closed
opened 2026-02-27 08:16:09 +03:00 by kerem · 2 comments
Owner

Originally created by @SingingFrog7 on GitHub (Oct 8, 2023).
Original GitHub issue: https://github.com/lldap/lldap/issues/702

Hey guys,

Is there any plan to support sudoers in the future?

I'd be migrating from my current LDAP server if it was supported as I use it to give sudo access to users on all my vms and containers

Thanks

Originally created by @SingingFrog7 on GitHub (Oct 8, 2023). Original GitHub issue: https://github.com/lldap/lldap/issues/702 Hey guys, Is there any plan to support sudoers in the future? I'd be migrating from my current LDAP server if it was supported as I use it to give sudo access to users on all my vms and containers Thanks
kerem closed this issue 2026-02-27 08:16:09 +03:00
Author
Owner

@nitnelave commented on GitHub (Oct 8, 2023):

Hi! I had a look at the sudoers LDAP configuration, and it seems that it won't be compatible with LLDAP's simple structure of just groups and users.

However, once #67 is implemented, we'll have support for PAM authentication so you can assign Unix groups with LDAP. If you configure your sudoers the old fashioned way (with visudo) based on groups, you can then assign permissions to people by adding them to LLDAP's groups.

<!-- gh-comment-id:1751969724 --> @nitnelave commented on GitHub (Oct 8, 2023): Hi! I had a look at the sudoers LDAP configuration, and it seems that it won't be compatible with LLDAP's simple structure of just groups and users. However, once #67 is implemented, we'll have support for PAM authentication so you can assign Unix groups with LDAP. If you configure your sudoers the old fashioned way (with visudo) based on groups, you can then assign permissions to people by adding them to LLDAP's groups.
Author
Owner

@SingingFrog7 commented on GitHub (Oct 13, 2023):

Hello,
Sorry for my late reply and thanks for looking at it. It definitively could work for me, in fact I tried to switch from OpenLDAP to different other LDAP servers and I always came back to OpenLDAP because I use the sudoers (which I could change to having a sudoer group but I would have to add that group to all machines, which is doable) and I also use Samba, which I know is another complicated beast

I'll keep an eye on #67 and test it in my environment once it's implemented

Thanks for your time!

<!-- gh-comment-id:1761952413 --> @SingingFrog7 commented on GitHub (Oct 13, 2023): Hello, Sorry for my late reply and thanks for looking at it. It definitively could work for me, in fact I tried to switch from OpenLDAP to different other LDAP servers and I always came back to OpenLDAP because I use the sudoers (which I could change to having a sudoer group but I would have to add that group to all machines, which is doable) and I also use Samba, which I know is another complicated beast I'll keep an eye on #67 and test it in my environment once it's implemented Thanks for your time!
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#252
No description provided.