TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: LDAPEnforcer, idempotent LDAP user and group management

2 点作者 mrled大约 2 个月前
In my homelab, I wanted LDAP users and groups, and especially changes to group membership, managed via files I checked in to Git. I didn&#x27;t find anything else that could do this for my use case - 389 Directory Server, not running nixOS - so I wrote it myself.<p>You give it some OUs for people, service accounts, and groups, and it modifies objects in those OUs to match the config files. The OUs may contain only a subset of your accounts, so you can still permit non-managed user and group creation if you need to in your directory.<p>It was my first project with Claude Code and I was blown away by how fast it went. I was using it on my LDAP server after just a couple of days. I was reading a config file and talking to LDAP within the first couple of hours, without ever having written LDAP client code in Go before. Without Claude the effort probably wouldn&#x27;t have been worth it, and I doubt I&#x27;d have gotten much further than a project skeleton.<p>Currently it assumes a 389 Directory Server laid out like mine happens to be, but it would be cool to support other LDAP servers and configurations.

暂无评论

暂无评论