我想将 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
我该怎么做?