LDAP扫盲.ppt

  1. 1、本文档共42页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
LDAP扫盲.ppt

2.2 数据操作格式 Ldap的全部操作只能使用LDIF(LDAP Data Interchange Format )格式来实现。 LDIF 由两部分组成,第一部分是前两行,版本和 dn ,后面是属性和值 2.2 数据操作格式 LDIF 由两部分组成,第一部分是前两行,版本和 dn ,后面是属性和值 LDIF文件实例: version: 1 dn: uid=bjensen, ou=people, dc=example, dc=com objectclass: top objectclass: person objectclass: organizationalPerson objectclass: inetOrgPerson cn: Barbara Jensen cn: Babs Jensen givenName: Barbara sn: Jensen uid: bjensen mail: bjensen@ telephoneNumber: +1 408 555 1212 description: Manager, Switching Products Division 2 LDAP用户指南 常用命令ldapadd,ldapsearch,ldapmodify Ldapdelete etc 数据操作格式:LDIF文件 安全控制:ACL 2.3 安全控制:ACL 语法: access directive ::= access to what [by who [access] [control] ]+ What:指定的是需要访问的entries and attributes 2.3 安全控制:ACL 语法: access directive ::= access to what [by who [access] [control] ]+ who: 2.3 安全控制:ACL 语法: access directive ::= access to what [by who [access] [control] ]+ access: 2.3 安全控制:ACL 语法: access directive ::= access to what [by who [access] [control] ]+ control ::= [stop | continue | break] 这里的control的含义是,who不满足条件时候的行为就执行,control的行为,否则不执行。 2.3 安全控制:ACL access to directives work by first matching the what condition. If that evaluates to a match then processing continues with each by who element. If any of these conditions match the optional control part is executed (defaults to stop) and the access control result is success. If at the end of the access to directive none of the by who conditions has been met then an implicit control of stop is assumed and the access control result is fail. If access to what fails to match then control is passed to the next ACL and the process repeats. If no more ACLs exist then an implicit control of stop is assumed and the access control result is fail 。 2.3 安全控制:ACL # mail: self may write, authenticated users may read access to attrs=mail by self write by users read by * none # cn, sn: self my write, all may read access to attrs=cn,sn by self write by * read # immediate children: only self can add/d

文档评论(0)

gshbzl + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档