同时UserGroup 和 Authentication接口的shark实现中,提供了两个LDAP结构的类型。第一个结构被打上标记为类型0,第二个为类型1。LDAP结构在shark的LDAP结构文档中被仔细地讲解。你可以通过一下代码来设置shark的LDAP属性:######################### LDAP SETTINGS# Shark can use LDAP implementation of Authentication and UserGroup interfaces,# and these are settings required by these implementations to Access and# browse the LDAP serverLDAPHost=localhostLDAPPort=389# possible values for LDAPStructureType parameter are 0 and 1# 0 is simple structure, the possibility that one group or user belongs to more# than one group is not supported# 1 is more complex structure that supports the possibility that one group or# user belongs to more than one group is not supportedLDAPStructureType=1LDAPSearchBase=LDAPGroupObjectClasses=organizationalUnitLDAPUserObjectClasses=inetOrgPerson
文章整理:西部数码--专业提供域名注册、虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!




