LDIF解析器(C#) [英] LDIF Parser (C#)

查看:243
本文介绍了LDIF解析器(C#)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要寻找一个LDIF解析器为C#。我试图解析LDIF文件,以便我可以检查对象不添加它们之前就已存在。 。如果把它们当已经存在使用ntdsSchemaAdd)导致在错误日志条目

I am looking for an LDIF parser for C#. I am trying to parse an LDIF file so that I can check objects don't exist before adding them. Adding them when the already exist using ntdsSchemaAdd) causes an entry in the error logs.

推荐答案

一个快速网络搜索发现:的 http://wiki.github.com/skradel/Zetetic.Ldap/ 。他们提供了一个.NET API

A quick websearch revealed: http://wiki.github.com/skradel/Zetetic.Ldap/. They have provided a .net API.

从页面:

探究性.Ldap是
.NET 2以上,这使得它
更容易使用的目录服务器
的工作(如Active Directory,ADAM,红帽
目录服务器的.NET库, 和别的)。有些
Zetetic.Ldap的主要特点是:

Zetetic.Ldap is a .NET library for .NET 2 and above, which makes it easier to work with directory servers (like Active Directory, ADAM, Red Hat Directory Server, and others). Some of the key features of Zetetic.Ldap are:

1.LDIF文件的解析和生成 - 读写的文件格式中使用

目录系统之间走动的数据

1.LDIF file parsing and generation – Read and write the file format used for moving data around between directory systems

通过更改跟踪2.LDAP入门面向API - 创建并以更自然的方式修改目录
对象

2.LDAP Entry-oriented API with change tracking – Create and modify directory objects in a more natural way

3.LDAP模式审讯 - 快速编程访问种
的对象和领域目录
服务器理解。学如果
属性是一个字符串,数字,
日期,等,而不大量手工
研究和重新解析

3.LDAP Schema interrogation – Quick programmatic access to the kinds of objects and fields your directory server understands. Learn if an attribute is a string, a number, a date, etc., without lots of manual research and re-parsing

4.LDIF Pivoter - 将LDIF文件到(逗号或制表符分隔)进行分析,或加载到
系统不说话LDIF我们建立

档Zetetic.Ldap库,使
目录的项目和规划
更快,更容易,在这里释放
在其他人会发现,
也是有用的希望。据我们所知,这是
真的
理解LDIF规范的唯一.NET库。

4.LDIF Pivoter – Turn an LDIF file into a (comma or tab-delimited) flat file for analysis or loading into systems that don’t speak LDIF We built the Zetetic.Ldap library to make directory projects and programming faster and easier, and release it here in the hopes that others will find it useful too. As far as we know, this is the only .NET library that really understands the LDIF specification.

下载链接: http://github.com/downloads/skradel/Zetetic .Ldap / Zetetic.Ldap_20090831.zip

这篇关于LDIF解析器(C#)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆