大多数LDAP管理员是否手动创建LDIF?

时间:2022-06-23 02:59:27

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?

是否有工具使工作更轻松?如果存在仅命令行工具,那么任何人都可以推测是否存在GUI工具的市场?例如,您可以通过可视化建模来创建关系数据库。 LDAP应该存在相同的概念吗?

6 个解决方案

#1


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/

Apache Directory Studio包含一个ldif-Editor。它仍然是一个文本编辑器,但有ldif文件的语法高亮,自动完成和组折叠:http://directory.apache.org/studio/

#2


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. :)

如果您正在使用IPlanet LDAP,那么他们有一个很好的界面来创建和修改模式。 :)

I don't know if you would consider that to be by hand otherwise that is one tool to use.

我不知道你是否会认为这是一个可以使用的工具。

#3


I've done some LDIF handling using Perl and the Net::LDAP::LDIF module and it made scripting custom LDAP conversions very easy.

我已经使用Perl和Net :: LDAP :: LDIF模块完成了一些LDIF处理,它使脚本自定义LDAP转换非常容易。

#4


Have you looked at the command-line tool, LDIFDE.exe? Should be on your domain controller.

你看过命令行工具LDIFDE.exe吗?应该在您的域控制器上。

#5


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.

商务人士给我Excel电子表格,用户和组数据的格式不一致,并希望它立即加载(然后他们回来了新版本并告诉我他们只添加了一些新用户,但有些丢失,有些数据现在无效,缺少列等。)他们希望分配唯一密码,根据部门ID字段设置组成员资格,等等。

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.

我通常只使用一些手工制作的Python脚本来完成所有操作。

#6


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.

很多时候,您可能会将对象从一个树复制到另一个树。或支持他们。在这种情况下,大多数LDAP工具都有一些导出为LDIF的方法。然后,您可以根据需要轻松修改文件。

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.

我已经看到了许多工具可以完成任务并输出结果作为LDIF,这可以很方便,但它们基本上是点使用工具。

#1


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/

Apache Directory Studio包含一个ldif-Editor。它仍然是一个文本编辑器,但有ldif文件的语法高亮,自动完成和组折叠:http://directory.apache.org/studio/

#2


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. :)

如果您正在使用IPlanet LDAP,那么他们有一个很好的界面来创建和修改模式。 :)

I don't know if you would consider that to be by hand otherwise that is one tool to use.

我不知道你是否会认为这是一个可以使用的工具。

#3


I've done some LDIF handling using Perl and the Net::LDAP::LDIF module and it made scripting custom LDAP conversions very easy.

我已经使用Perl和Net :: LDAP :: LDIF模块完成了一些LDIF处理,它使脚本自定义LDAP转换非常容易。

#4


Have you looked at the command-line tool, LDIFDE.exe? Should be on your domain controller.

你看过命令行工具LDIFDE.exe吗?应该在您的域控制器上。

#5


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.

商务人士给我Excel电子表格,用户和组数据的格式不一致,并希望它立即加载(然后他们回来了新版本并告诉我他们只添加了一些新用户,但有些丢失,有些数据现在无效,缺少列等。)他们希望分配唯一密码,根据部门ID字段设置组成员资格,等等。

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.

我通常只使用一些手工制作的Python脚本来完成所有操作。

#6


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.

很多时候,您可能会将对象从一个树复制到另一个树。或支持他们。在这种情况下,大多数LDAP工具都有一些导出为LDIF的方法。然后,您可以根据需要轻松修改文件。

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.

我已经看到了许多工具可以完成任务并输出结果作为LDIF,这可以很方便,但它们基本上是点使用工具。