Graylog2 + Crowd LDAP

时间:2015-06-18 15:13:51

标签: ldap graylog atlassian-crowd

我想将Graylog2(v1.1.2)与Atlassian Growd LDAP服务器(v2.8.3)集成。

现在所有用户都可以登录Graylog,但我想只允许拥有群组" graylog-users"的用户。

我的设置:

搜索基本DN: ou = users,dc = crowd

用户搜索模式:(&(objectClass = inetOrgPerson)(uid = {0}))

我的LDAP结构示例:

dc=crowd
   ou=groups
      dn=graylog-users
         objectClass=groupOfName
         objectClass=top
         cn=graylog-users
         member=dn=user1,ou=users,dc=crowd
         member=dn=user1,ou=users,dc=crowd
         businesCategory
         description
         anotherFiedls
      dn=jira-administrators
      dn=jira-developers
      dn=jira-users
   ou=users
      dn=user1
         objectClass=organizationalPerson
         objectClass=person
         objectClass=inetOrgPerson
         objectClass=top
         cn=Firstname Lastname
         sn=Lastname
         givenname=Firstname
         ou=users
         uid=user1    
      dn=user2
         objectClass=organizationalPerson
         objectClass=person
         objectClass=inetOrgPerson
         objectClass=top
         cn=Firstname Lastname
         sn=Lastname
         givenname=Firstname
         ou=users
         uid=user2
      dn=user3
         objectClass=organizationalPerson
         objectClass=person
         objectClass=inetOrgPerson
         objectClass=top
         cn=Firstname Lastname
         sn=Lastname
         givenname=Firstname
         ou=users
         uid=user3

我怎么做?

0 个答案:

没有答案