大多数 LDAP 管理员是否手动创建 LDIF?
有没有可以让工作变得更轻松的工具? 如果存在仅命令行工具,那么任何人都可以推测 GUI 工具是否有市场? 例如,您可以通过可视化建模来创建关系数据库。 LDAP 是否应该存在相同的概念?
Are there tools that make the job easier? If command-line only tools exist, then can anyone speculate if there is a market for a GUI tool? For example, you can create a relational database by modeling visually. Should the same notion exist for LDAP?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
Apache Directory Studio 包含一个 ldif 编辑器。 它仍然是一个文本编辑器,但具有语法突出显示、自动完成和 ldif 文件的组折叠功能:
http://directory.apache.org/studio/
Apache Directory Studio includes an ldif-Editor. It is still a text editor but with syntax highlighting, autocompletion and group collapsing for ldif files:
http://directory.apache.org/studio/
我不知道是否有任何工具,但手工创建它们并不难。
如果您使用 IPlanet LDAP,那么他们有一个很好的界面来创建和修改模式。 :)
我不知道您是否会认为这是手动的,否则这是一种可以使用的工具。
I don't know if there are any tools but it isn't that hard to create them by hand.
If you are using IPlanet LDAP then they had a nice interface for creating and modifying schemas though. :)
I don't know if you would consider that to be by hand otherwise that is one tool to use.
我已经使用 Perl 和 完成了一些 LDIF 处理Net::LDAP::LDIF 模块,它使编写自定义 LDAP 转换脚本变得非常容易。
I've done some LDIF handling using Perl and the Net::LDAP::LDIF module and it made scripting custom LDAP conversions very easy.
您是否查看过命令行工具LDIFDE.exe? 应该在您的域控制器上。
Have you looked at the command-line tool, LDIFDE.exe? Should be on your domain controller.
业务人员向我提供了用户和组数据格式不一致的 Excel 电子表格,并希望立即加载它(然后他们返回新版本并告诉我他们只添加了一些新用户,但有些丢失了,有些数据现在已丢失)无效,缺少一列等。)他们希望分配唯一的密码,根据部门 ID 字段设置组成员资格,等等。
两周后他们回来,想了解该电子表格与六个月前的电子表格之间的差异。 叹。
我通常只是使用一些手工编写的 Python 脚本来完成这一切。
Business people give me Excel spreadsheets with inconsistent formatting of user and group data and want it loaded right away (then they come back with a new version and tell me they've only added some new users, but some are missing, some data is now invalid, there's a missing column etc.) They want unique passwords assigned, group memberships set up based on department id fields, and so forth.
Then they come back two weeks later and want to know about the differences between that spreadsheet and one from six months ago. Sigh.
I generally just do it all with a few hand-crafted Python scripts.
很多时候,您可能会将对象从一棵树复制到另一棵树。 或者支持它们。 在这种情况下,大多数 LDAP 工具都有某种导出为 LDIF 的方法。 然后您可以根据需要轻松修改文件。
或者复制示例以重复使用。
我见过许多工具可以执行任务并将结果输出为 LDIF,这很方便,但它们基本上都是点使用工具。
A lot of times you may be copying objects from one tree to another. Or backing them up. In that case, most LDAP tools have some way of exporting as LDIF. Then you can easily modify the files as needed.
Or copy examples to reuse.
I have seen a number of tools that will do tasks and output the results as LDIF, which can be handy, but they are basically point usage tools.