-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some additional configs for easier testing
- Loading branch information
1 parent
2f6ecc6
commit adf460c
Showing
5 changed files
with
71 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# LDIF Export for cn=Users,dc=example,dc=org | ||
# Server: ldap (ldap) | ||
# Search Scope: sub | ||
# Search Filter: (objectClass=*) | ||
# Total Entries: 2 | ||
# | ||
# Generated by phpLDAPadmin (http://phpldapadmin.sourceforge.net) on May 4, 2021 6:06 pm | ||
# Version: 1.2.5 | ||
|
||
version: 1 | ||
|
||
# Entry 1: cn=Users,dc=example,dc=org | ||
dn: cn=Users,dc=example,dc=org | ||
cn: Users | ||
gidnumber: 500 | ||
objectclass: posixGroup | ||
objectclass: top | ||
|
||
# Entry 2: cn=Someone,cn=Users,dc=example,dc=org | ||
dn: cn=Someone,cn=Users,dc=example,dc=org | ||
cn: Someone | ||
gidnumber: 500 | ||
homedirectory: /home/users/someone | ||
mail: test@example.com | ||
objectclass: inetOrgPerson | ||
objectclass: posixAccount | ||
objectclass: top | ||
sn: Someone | ||
uid: someone | ||
uidnumber: 1000 | ||
|
||
# Entry 3: cn=SomeoneNoEmail,cn=Users,dc=example,dc=org | ||
dn: cn=SomeoneNoEmail,cn=Users,dc=example,dc=org | ||
cn: SomeoneNoEmail | ||
gidnumber: 500 | ||
homedirectory: /home/users/someonenoemail | ||
objectclass: inetOrgPerson | ||
objectclass: posixAccount | ||
objectclass: top | ||
sn: SomeoneNoEmail | ||
uid: someonenoemail | ||
uidnumber: 1001 | ||
|
||
# Entry 4: cn=SomeoneNoEmailNoUid,cn=Users,dc=example,dc=org | ||
# dn: cn=SomeoneNoEmailNoUid,cn=Users,dc=example,dc=org | ||
# cn: SomeoneNoEmailNoUid | ||
# gidnumber: 500 | ||
# homedirectory: /home/users/someonenoemailnoUid | ||
# objectclass: inetOrgPerson | ||
# objectclass: posixAccount | ||
# objectclass: top | ||
# sn: SomeoneNoEmail | ||
# uidnumber: 1002 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
version: '3' | ||
services: | ||
ldap_sync: | ||
|
||
vaultwarden: | ||
|
||
ldap: | ||
command: ["--copy-service"] | ||
volumes: | ||
- ./itest/50-seed-user.ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom/50-seed-user.ldif |