CMDBuild+openldap实行验证数据库
PS:因为运维各类工具太多,帐号管理太过复杂,so,用ldap集中验证就好。这里讲解CMDBuildbash
cmdbbuild的具体功能不作具体讲解,这里直接讲解。运维
CMDBBuild端注意事项:ide
结合使用ldap的话,须要注意,cmdb端须要有相应的用户以及分组,固然,密码随意!工具
soui
配置信息以下:url
## Authentication method chain (the first match stops the auth chain) #auth.methods=HeaderAuthenticator,CasAuthenticator,LdapAuthenticator,DBAuthenticator #auth.methods=LdapAuthenticator,DBAuthenticator auth.methods=LdapAuthenticator #这里必须将(DBAuthenticator)去掉,DBAuthenticator做用是使用本地数据库信息验证登录。 #serviceusers=portlet #serviceusers.privileged=workflow #force.ws.password.digest=true ## ## HEADER ## #header.attribute.name=username ## ## CAS ## #cas.server.url=https://casserver/cas #cas.login.page=/login #cas.service.param=service #cas.ticket.param=ticket ## ## LDAP ## ldap.server.address=192.168.*.* #ldap地址,固然能够是域名之类的啦 ldap.server.port=389 ldap.use.ssl=false ldap.basedn=dc=***,dc=com ldap.bind.attribute=uid #本地用户名到ldap验证什么条目 #ldap.search.filter=(&(objectClass=myclass1)(objectClass=myclass2)) #search过滤 ##Accept only none (anonymous bind) and simple (simple bind) 仅支持简单认证和匿名认证 #ldap.search.auth.method=none ##This section is only for simple bind ldap.search.auth.method=simple #ldap.search.auth.principal=ou=People,dc=***,dc=com #ldap.search.auth.password=****