-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added embedded LDAP-server for testing
- Using Apache Directory Server
- Loading branch information
1 parent
aea434e
commit e4df4f0
Showing
3 changed files
with
174 additions
and
4 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
138 changes: 138 additions & 0 deletions
138
enterprise/security/src/test/resources/ldap_test_data.ldif
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,138 @@ | ||
# LDIF Export for dc=example,dc=com | ||
# Server: Neo4j Test LDAP Server (10.0.2.15) | ||
# Search Scope: sub | ||
# Search Filter: (objectClass=*) | ||
# Total Entries: 14 | ||
# | ||
# Generated by phpLDAPadmin (http://phpldapadmin.sourceforge.net) on June 20, 2016 8:43 am | ||
# Version: 1.2.2 | ||
|
||
version: 1 | ||
|
||
# Entry 1: dc=example,dc=com | ||
#dn: dc=example,dc=com | ||
#dc: example | ||
#o: example | ||
#objectclass: top | ||
#objectclass: dcObject | ||
#objectclass: organization | ||
|
||
# Entry 2: cn=admin,dc=example,dc=com | ||
dn: cn=admin,dc=example,dc=com | ||
cn: admin | ||
description: LDAP administrator | ||
objectclass: simpleSecurityObject | ||
objectclass: organizationalRole | ||
userpassword: {SSHA}szBKVyl4liWB/3FhbbpuYk1bf6dclbyD | ||
|
||
# Entry 3: ou=groups,dc=example,dc=com | ||
dn: ou=groups,dc=example,dc=com | ||
objectclass: organizationalUnit | ||
objectclass: top | ||
ou: groups | ||
|
||
# Entry 4: cn=admin,ou=groups,dc=example,dc=com | ||
dn: cn=admin,ou=groups,dc=example,dc=com | ||
cn: admin | ||
gidnumber: 503 | ||
objectclass: posixGroup | ||
objectclass: top | ||
|
||
# Entry 5: cn=agent,ou=groups,dc=example,dc=com | ||
dn: cn=agent,ou=groups,dc=example,dc=com | ||
cn: agent | ||
gidnumber: 504 | ||
objectclass: posixGroup | ||
objectclass: top | ||
|
||
# Entry 6: cn=architect,ou=groups,dc=example,dc=com | ||
dn: cn=architect,ou=groups,dc=example,dc=com | ||
cn: architect | ||
gidnumber: 502 | ||
objectclass: posixGroup | ||
objectclass: top | ||
|
||
# Entry 7: cn=publisher,ou=groups,dc=example,dc=com | ||
dn: cn=publisher,ou=groups,dc=example,dc=com | ||
cn: publisher | ||
gidnumber: 501 | ||
objectclass: posixGroup | ||
objectclass: top | ||
|
||
# Entry 8: cn=reader,ou=groups,dc=example,dc=com | ||
dn: cn=reader,ou=groups,dc=example,dc=com | ||
cn: reader | ||
gidnumber: 500 | ||
objectclass: posixGroup | ||
objectclass: top | ||
|
||
# Entry 9: ou=users,dc=example,dc=com | ||
dn: ou=users,dc=example,dc=com | ||
objectclass: organizationalUnit | ||
objectclass: top | ||
ou: users | ||
|
||
# Entry 10: cn=morpheus,ou=users,dc=example,dc=com | ||
dn: cn=morpheus,ou=users,dc=example,dc=com | ||
cn: morpheus | ||
gidnumber: 503 | ||
homedirectory: /home/users/morpheus | ||
objectclass: inetOrgPerson | ||
objectclass: posixAccount | ||
objectclass: top | ||
sn: morpheus | ||
uid: morpheus | ||
uidnumber: 1003 | ||
userpassword: {MD5}6ZoYxCjLONXyYIU2eJIuAw== | ||
|
||
# Entry 11: cn=neo,ou=users,dc=example,dc=com | ||
dn: cn=neo,ou=users,dc=example,dc=com | ||
cn: neo | ||
gidnumber: 500 | ||
homedirectory: /home/users/neo | ||
objectclass: inetOrgPerson | ||
objectclass: posixAccount | ||
objectclass: top | ||
sn: neo | ||
uid: neo | ||
uidnumber: 1000 | ||
userpassword: {MD5}6ZoYxCjLONXyYIU2eJIuAw== | ||
|
||
# Entry 12: cn=smith,ou=users,dc=example,dc=com | ||
dn: cn=smith,ou=users,dc=example,dc=com | ||
cn: smith | ||
gidnumber: 504 | ||
homedirectory: /home/users/smith | ||
objectclass: inetOrgPerson | ||
objectclass: posixAccount | ||
objectclass: top | ||
sn: smith | ||
uid: smith | ||
uidnumber: 1004 | ||
userpassword: {MD5}6ZoYxCjLONXyYIU2eJIuAw== | ||
|
||
# Entry 13: cn=tank,ou=users,dc=example,dc=com | ||
dn: cn=tank,ou=users,dc=example,dc=com | ||
cn: tank | ||
gidnumber: 501 | ||
homedirectory: /home/users/tank | ||
objectclass: inetOrgPerson | ||
objectclass: posixAccount | ||
objectclass: top | ||
sn: tank | ||
uid: tank | ||
uidnumber: 1001 | ||
userpassword: {MD5}6ZoYxCjLONXyYIU2eJIuAw== | ||
|
||
# Entry 14: cn=trinity,ou=users,dc=example,dc=com | ||
dn: cn=trinity,ou=users,dc=example,dc=com | ||
cn: trinity | ||
gidnumber: 502 | ||
homedirectory: /home/users/trinity | ||
objectclass: inetOrgPerson | ||
objectclass: posixAccount | ||
objectclass: top | ||
sn: trinity | ||
uid: trinity | ||
uidnumber: 1002 | ||
userpassword: {MD5}6ZoYxCjLONXyYIU2eJIuAw== |