`
lvhuiqing
  • 浏览: 244869 次
  • 性别: Icon_minigender_1
  • 来自: 沈阳
社区版块
存档分类
最新评论

LDAP SCHEMA DESIGN(二)

阅读更多

2 Requirements
When considering an LDAP deployment that is to serve more than one application, it is important to get the widest possible view of the host organisation and its future needs. This is because it is easy to change the shape of the DIT at the design stage but very hard once data has been loaded and applications are running.
一旦意识到一个LDAP部署将会为多个应用提供服务时,就必须从尽可能宽泛的视角来进行组织管理和特性需求。因为DIT的设计在设计阶段修改起来时很容易的,但是一旦数据已经导入进去或者应用已经启动的话,修改起来就会十分困难。
2.1 The Example Organisation
Consider a hypothetical organisation called The Example. It has a domain name example.org and wants to integrate several systems that handle data relating to people. The services required are:
假设有这样一个被称为The Example的组织,该组织的域名为example.org,该组织要求整合与人员信息相关的多个系统。该服务需求罗列如下:
White Pages searches for People and Roles, from several existing user interfaces?? Authentication - simple (e.g. web portal) and with extra data (e.g. Samba for Windows clients and Unix NSS/PAM)?? Authorisation - groups of various sorts, permissions, access-control for particular applications
?? Storage of application-specific data - config, personalisation, mapping tables
?? Integration of mail-system configuration with White Pages directory It is certainly possible to meet all these requirements with a single LDAP-based directory,
though it will need some careful thought about how the data is to be managed.
基于现有的用户接口,进行针对人员及角色信息的文本搜索。
授权,简单授权和带有附加数据的授权。
鉴权,不同组别对特定程序的访问控制。
保存应用程序相关数据:配置数据,个性化数据,表单映射。
将邮件系统配置与文本目录集成。
通过认证的规划数据,通过一个单独的LDAP目录满足以上需求是可能的。

3 LDAP issues and design principles
3.1 Avoid renaming things(避免重新命名)
Once an object has been created in an LDAP directory it is likely that the name of that object will get stored in other objects, or even outside the directory entirely. This suggests that objects should never be renamed, which in turn restricts the choice of how they should be named in the first place.
在LDAP目录中,对象一旦被创建,这就意味着这个对象被存储在其他对象的内部,或者是目录实体中。因此对象不应该被重新命名,换句话说如何为对象选择名称是首要问题。
Most of the examples in the X.500 and LDAP standards documents use “natural” names for objects. Thus the object representing a person is usually shown with an RDN based on the person's name. This leads to two problems: what to do if the person changes their name, and how to cope with several people who happen to share the same name. The “standard” approach to the name-clash problem is to use an extra attribute in the RDN to remove the ambiguity. Thus, multiple Fred Smiths end up with RDNs of the form “cn=Fred Smith + uid=67354”. This does not solve the name-change problem though, so I recommend that all entries representing people
or other entities that might change name should be given RDNs containing only the
uniqueIdentifier attribute: the value can be a simple serial number, which does not have to mean anything outside the directory.
在大多数X.500和LDAP标准文档中,都是采用对象的“自然”名称。比如代表人的对象的RDN通常就是此人的名字。这会导致两个问题:如果需要改名怎么办?重名怎么办?针对名字冲突的标准解决方案是加上附加属性以消除模糊性。因此,多个Fred Smith应该采用以类似于““cn=Fred Smith + uid=67354”结尾的RDN。但这仍然无法解决名称改变的问题,为了解决这一问题,我们可以提出这样一个原则:代表人员及其他可能改名的实体应该采用包含唯一标识的RDN。该唯一标识可能是一串数字,这串数字在目录之外毫无意义。
There is a potential problem with this approach too: some directory user interfaces use the RDN value to title the entry display. A meaningless serial number would look odd when used for that purpose. Fortunately this behaviour is now rare, and the standards provide an attribute that is explicitly intended for the job: displayName. It is thus a good idea to include displayName in every directory entry.
但是这种方法也有一个潜在的问题:一些目录使用接口使用RDN作为实体展示的title,毫无意义的数字序列看起来非常奇怪。幸运的是这种行为现在已经很少见了,展示用的title应该使用一个显式属性:displayname。因此最好在每个目录实体中都包含一个displayname。

0
1
分享到:
评论

相关推荐

    LDAP SCHEMA DESIGN

    ldap模式设计,介绍有关LDAP的模式设计的相关问题与算法,思路.

    LDAP_Schema的概念和基本要素

    Schema是LDAP的一个重要组成部分,类似于数据库的模式定义,LDAP的Schema定义了LDAP目录所应遵循的结构和规则,比如一个 objectclass会有哪些属性,这些属性又是什么结构等等,schema给LDAP服务器提供了LDAP目录中...

    owncloud-ldap-schema:OwnCloud配额的LDAP模式

    OwnCloud的LDAP架构参考: : ownCloud架构OwnCloud Inc.已注册 ,我们对其进行了扩展以定义所需的LDAP对象OID :1.3.6.1.4.1.39430.1.2.1 ObjectClass :ownCloud配额字段ownCloud可以读取LDAP属性并根据其值设置...

    openldap,ldapbrowser,mozillaOrgPerson.schema

    资源包括 LdapBrowser282 openldap2.2.29 thunderbird 用的schema mozillaOrgPerson.schema

    LDAP入門LDAP入門LDAP入門

    LDAP入門,LDAP入門LDAP入門LDAP入門LDAP入門LDAP入門LDAP入門LDAP入門LDAP入門LDAP入門LDAP入門LDAP入門

    LdapBrowser2.82版和LDAP使用手册

    LdapBrowser2.82版,能浏览服务器的ldap数据,还有一份word详细使用文档及ldap安装说明

    对LDAP的基本操作(Spring-ldap)+Ext实现显示LDAP的树状结构

    资源没有对LDAP创建的内容。 资源主要有: rar包:一个Web工程, 主要有,利用Spring-ldap对LDAP的基本操作(查询,增删改);Extjs实现的对Ldap的树状结构的显示,结构有点类似Softerra LDAP;一个测试类。 pdf:...

    ldap 浏览器 LdapBrowser282

    LdapBrowser282 ldap浏览器 LdapBrowser 查看openldap的好工具。 使用需要有JDK环境。

    LDAP服务器.pdf

    1 LDAP 基础 LDAP 的英文全称是 Lightweight Directory Access Protocol, 一般都简称为 LDAP。 它是基于 X.500 标准的,但是简单多了并且可以根据需要定制。与 X.500 不同,LDAP 支 持 TCP/IP,这对访问 Internet ...

    ldap安装与客户端ldapadmin windows

    ldap安装与客户端ldapadmin windows版本,

    LDAP使用手册.doc

    LDAP是轻量级目录访问协议的简称(Lightweight Directory Access Protocol).用于访问目录服务。它是X.500目录访问协议的移植,但是简化了实现方法。本文给大家带来LDAP使用手册,需要的可以来下载看看 LDAP的优点 1:...

    RuoYi前后端不分离项目整合LDAP

    基于RuoYi框架,使用的是ruoyi前后端不分离的版本,实现对LDAP的整合 基于RuoYi框架,使用的是ruoyi前后端不分离的版本,实现对LDAP的整合 基于RuoYi框架,使用的是ruoyi前后端不分离的版本,实现对LDAP的整合 基于...

    c操作ldap例子c操作ldap例

    c操作ldap例c操作ldap例c操作ldap例c操作ldap例c操作ldap例c操作ldap例c操作ldap例c操作ldap例c操作ldap例

    svn安装配置与ldap整合

    这是一遍比较完整的linux下svn+apche+ldap安装配置手册,根据本人实际安装整理后的文档,目前都算是最新版本。其中ldap使用sun的opends,个人感觉比openldap要方便,当然重点不是用什么ldap而是如何配置。 主要包括...

    spring boot集成ldap

    项目中使用spring boot框架集成了ldap协议的方法,调用了增删改查的API,基本实现了spring boot对于ldap的所有方法,只要搭建好了ldap服务器,改一下配置文件即可运行。

    LDAP客户端GitHub-Ldap.zip

    GitHub-Ldap 是 GitHub Enterprise 的一部分,是 LDAP 客户端。GitHub-Ldap 封装了 Net::LDAP,方便易用。 标签:GitHub

    java操作ldap类

    java操作ldap类java操作ldap类java操作ldap类

    jdbc-ldap spring

    class="org.springframework.jdbc.... ${ldap.datasource.driverClassName}" /> ${ldap.datasource.url}" /> ${ldap.datasource.username}" /> ${ldap.datasource.password}" /> </bean>

    什么是LDAP连接工具?如何利用好它.docx

    # LDAP连接工具 LDAP是一种轻量级目录访问协议,用于在网络中访问分布式目录服务。要连接到LDAP目录,需要一种LDAP连接工具。 以下是一些常用的LDAP连接工具: ## 1. Apache Directory Studio Apache Directory ...

    LDAPBrowser 4.5 x86 LDAP测试工具

    LDAPBrowser4.5 x86 32位系统使用的LDAP测试工具

Global site tag (gtag.js) - Google Analytics