`
lvhuiqing
  • 浏览: 257193 次
  • 性别: 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 Schema Design详解 #### 一、概述 LDAP(Lightweight Directory Access Protocol)是一种用于访问目录服务的标准协议,被广泛应用于各种场景下的人、组织、角色和服务等实体的信息管理。由于其标准化特性...

    extman-1.0

    o LDAP/MySQL backend support, with extmail offical schema/SQL o Security enhanced via usertype permission check o Support Netdisk quota management o Support domain, user quota management, need ...

    LabVIEW控件设计与实现:媲美QT控件的高级UI开发技巧

    内容概要:本文详细介绍了LabVIEW控件的设计与实现,尤其是一些由经验丰富的老工程师精心打造的控件。LabVIEW是一款图形化编程语言,广泛应用于数据采集、仪器控制和工业自动化领域。文中通过具体实例展示了如何利用LabVIEW创建美观且功能强大的控件,如滑动条、波形图、金属质感旋钮、动态波形图表以及智能选项卡等。作者强调了LabVIEW控件在灵活性和美观度方面的优势,并分享了许多实用的技术细节和优化方法。 适合人群:具有一定编程基础并希望深入了解LabVIEW控件设计的开发者和技术爱好者。 使用场景及目标:适用于需要进行高效的数据展示和交互设计的应用场景,如工业控制系统、实验室设备操作界面等。目标是帮助用户掌握LabVIEW控件的高级特性,提高开发效率和用户体验。 其他说明:文章不仅提供了具体的代码示例,还探讨了控件美学背后的设计理念和技术实现,鼓励读者探索更多可能性。

    Delphi 12.3控件之unidac-10.4.0-d27pro.exe

    Delphi 12.3控件之unidac_10.4.0_d27pro.exe

    11.盛趣自闭面(还是自己太菜).txt

    11.盛趣自闭面(还是自己太菜).txt

    58面经面试过程和题目.txt

    58面经面试过程和题目.txt

    电大操作系统课后习题解答

    电大操作系统课后习题解答

    人工智能技术与应用演讲【61页PPT】.pptx

    人工智能技术与应用演讲【61页PPT】

    chromedriver-mac-arm64-135.0.7049.41.zip

    chromedriver-mac-arm64-135.0.7049.41.zip

    通信工程中QPSK调制及其在瑞利与高斯信道下的误码率对比研究

    内容概要:本文详细介绍了QPSK(四相移键控)调制方法及其在瑞利信道和高斯白噪声信道下的误码率(BER)性能分析。首先展示了QPSK星座图的绘制方法,接着构建了一个简化的QPSK发射机模型,用于将二进制比特流映射到相应的星座点。随后,分别实现了两种信道模型:高斯白噪声信道(AWGN)和瑞利信道,并解释了它们的工作原理以及如何向传输信号添加噪声。文中还提供了详细的误码率测试脚本,通过大量随机比特进行仿真,最终得到了不同信噪比条件下的误码率曲线。此外,作者还讨论了QPSK与其他调制方式如BPSK、16QAM之间的性能差异,强调了频谱效率与抗噪能力之间的权衡关系。 适合人群:对无线通信系统感兴趣的科研人员、研究生以及从事通信工程领域的工程师。 使用场景及目标:①帮助读者理解QPSK的基本原理及其在不同信道环境中的行为特性;②提供实用的Python代码片段,便于快速搭建仿真环境并验证理论结果;③探讨各种调制方式的选择依据,指导实际应用中的优化决策。 其他说明:文中多次提到‘骚操作’,意指一些巧妙但非传统的编程技巧,有助于提高代码执行效率或简化复杂度。同时提醒读者注意仿真过程中可能出现的问题,如

    新建 Microsoft Word 文档 (9).docx

    新建 Microsoft Word 文档 (9).docx

    计算机科学与技术- 软件开发工具 培训资料

    计算机科学与技术- 软件开发工具 培训资料

    每个元素中的设置位数 时间和内存效率高-Count the number of set bits in each element. Time and memory efficient

    bitcount统计每个元素中设置的位数 B = bitcount(A) Counts the number '1' bits in each element B = bitcount(A, bitValue) "bitValue" = 1 = default = counts the occurance of '1' if bitValue = 0; counts the number '0' The total bits to verify is [8,16,32,or 64] based on the maximal value of A B = bitcount(A, bitValue, maxBits) the total # of bits to examine

    MOM生产运营管理平台解决方案【35页PPT】.pptx

    MOM生产运营管理平台解决方案【35页PPT】

    deli-数码录音电话机-HCD6238(28)P-TSD-使用说明书

    deli-数码录音电话机-HCD6238(28)P-TSD-使用说明书

    ssm基于web的邮票鉴赏系统 LW PPT.zip

    Java项目基于ssm框架的课程设计,包含LW+ppt

    Delphi 12.3控件之Tsilang 7.5.0.0 D12.7z

    Delphi 12.3控件之Tsilang 7.5.0.0 D12.7z

    ios+UIButton分类+UIButton+UIButton图片文字位置

    ios+UIButton分类+UIButton+UIButton图片文字位置

    基于MATLAB设计的标志是识别系统(高分项目).zip

    项目已获导师指导并通过的高分毕业设计项目,可作为课程设计和期末大作业,下载即用无需修改,项目完整确保可以运行。 该系统功能完善、界面美观、操作简单、功能齐全、管理便捷,具有很高的实际应用价值。 项目都经过严格调试,确保可以运行!可以放心下载

Global site tag (gtag.js) - Google Analytics