Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Feb 8, 2024
1 parent 0c6ddc9 commit 71318fb
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion lldap/.env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
UID=1000
GID=1000
TZ=America/Denver
LLDAP_LDAP_BASE_DN=dc=local,dc=lan
LLDAP_LDAP_BASE_DN=dc=example,dc=org
LLDAP_JWT_SECRET=xxxxxxxxxxxxxxxx
LLDAP_LDAP_USER_PASS=yyyyyyyyyyyyyyyy

Expand Down
2 changes: 1 addition & 1 deletion lldap/bootstrap/user-configs/bind.json.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "bind",
"email": "bind@local.lan",
"email": "bind@example.org",
"password": "xxxxxxxx",
"displayName": "LDAP Service Account",
"groups": [
Expand Down
2 changes: 1 addition & 1 deletion lldap/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: "3"

# LDAPTLS_REQCERT=never ldapsearch -LLL -H "ldaps://localhost:6360" -D "uid=admin,ou=people,dc=local,dc=lan" -w 'xxxxxxxxxxxxxxxx' -b "dc=local,dc=lan"
# LDAPTLS_REQCERT=never ldapsearch -LLL -H "ldaps://localhost:6360" -D "uid=admin,ou=people,dc=example,dc=org" -w 'xxxxxxxxxxxxxxxx' -b "dc=example,dc=org"
# docker compose exec lldap /bootstrap/bootstrap.sh

services:
Expand Down
14 changes: 7 additions & 7 deletions opensearch/security/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ config:
pemtrustedcas_filepath: /usr/share/opensearch/config/root-ca.pem
hosts:
- 192.168.10.123:6360
bind_dn: uid=bind,ou=people,dc=local,dc=lan
password: "r3@d0n!y"
userbase: ou=people,dc=local,dc=lan
bind_dn: uid=bind,ou=people,dc=example,dc=org
password: "p@55w0rd"
userbase: ou=people,dc=example,dc=org
usersearch: (uid={0})
username_attribute: uid
authz:
Expand All @@ -56,12 +56,12 @@ config:
pemtrustedcas_filepath: /usr/share/opensearch/config/root-ca.pem
hosts:
- 192.168.10.123:6360
bind_dn: uid=bind,ou=people,dc=local,dc=lan
password: "r3@d0n!y"
userbase: ou=people,dc=local,dc=lan
bind_dn: uid=bind,ou=people,dc=example,dc=org
password: "p@55w0rd"
userbase: ou=people,dc=example,dc=org
usersearch: (uid={0})
username_attribute: uid
rolebase: ou=groups,dc=local,dc=lan
rolebase: ou=groups,dc=example,dc=org
rolesearch: (member={0})
userroleattribute: null
userrolename: disabled
Expand Down

0 comments on commit 71318fb

Please sign in to comment.