Skip to content

Commit d0ae9d1

Browse files
Haaroleangitbook-bot
authored andcommitted
GITBOOK-43: Update RBAC with LDAP
1 parent 2440834 commit d0ae9d1

File tree

3 files changed

+23
-9
lines changed

3 files changed

+23
-9
lines changed

SUMMARY.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* [Without Docker](development/building/without-docker.md)
2222
* [WIP: Testing](development/wip-testing.md)
2323

24-
## 👷♂ Configuration
24+
## 👷♂ 👷♂ Configuration
2525

2626
* [Quick Start](configuration/quick-start/README.md)
2727
* [via AWS Marketplace](configuration/quick-start/via-aws-marketplace.md)
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# LDAP / Active Directory
22

3-
See this:
4-
5-
[https://github.com/provectus/kafka-ui/blob/master/documentation/compose/auth-ldap.yaml](https://github.com/provectus/kafka-ui/blob/master/documentation/compose/auth-ldap.yaml)
3+
```
4+
auth:
5+
type: LDAP
6+
spring:
7+
ldap:
8+
urls: ldap://localhost:10389
9+
base: "cn={0},ou=people,dc=planetexpress,dc=com"
10+
admin-user: "cn=admin,dc=planetexpress,dc=com"
11+
admin-password: "GoodNewsEveryone"
12+
user-filter-search-base: "dc=planetexpress,dc=com"
13+
user-filter-search-filter: "(&(uid={0})(objectClass=inetOrgPerson))"
14+
group-filter-search-base: "ou=people,dc=planetexpress,dc=com" # required for RBAC
15+
oauth2:
16+
ldap:
17+
activeDirectory: false
18+
aсtiveDirectory:
19+
domain: memelord.lol
20+
```

configuration/rbac-role-based-access-control.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ In this article we'll guide how to setup Kafka-UI with role-based access control
66

77
### Authentication methods
88

9-
First of all, you'd need to setup authentication method(s). Refer to [this](https://github.com/provectus/kafka-ui/wiki/OAuth-Configuration) article for OAuth2 setup.\
10-
LDAP: TBD
9+
First of all, you'd need to setup authentication method(s). Refer to [this](https://github.com/provectus/kafka-ui/wiki/OAuth-Configuration) article for OAuth2 setup.
1110

1211
### Config placement
1312

@@ -138,11 +137,11 @@ rbac:
138137
type: group
139138
value: "memelords"
140139
141-
# LDAP NOT IMPLEMENTED YET
142140
- provider: ldap
143141
type: group
144-
value: "ou=devs,dc=planetexpress,dc=com"
145-
- provider: ldap_ad
142+
value: "admin_staff"
143+
144+
- provider: ldap_ad # NOT YET SUPPORTED, SEE ISSUE 3741
146145
type: user
147146
value: "cn=germanosin,dc=planetexpress,dc=com"
148147

0 commit comments

Comments
 (0)