Sha256: b31c171207f4e77533639e0085ca0784ea4329f3fd1c50a74c74f1ee946f5a66

Contents?: true

Size: 1.78 KB

Versions: 2

Compression:

Stored size: 1.78 KB

Contents

# ldapadd -x -h localhost -p 3389 -D "cn=admin,dc=test,dc=com" -w secret -f base.ldif

dn: dc=test,dc=com
objectClass: dcObject
objectClass: organizationalUnit
dc: test
ou: Test

dn: ou=people,dc=test,dc=com
objectClass: organizationalUnit
ou: people

dn: ou=others,dc=test,dc=com
objectClass: organizationalUnit
ou: others

dn: ou=groups,dc=test,dc=com
objectClass: organizationalUnit
ou: groups

# example.user@test.com, people, test.com
dn: cn=example.user@test.com,ou=people,dc=test,dc=com
objectClass: inetOrgPerson
objectClass: authorizations
sn: User
uid: example_user
mail: example.user@test.com
cn: example.user@test.com
authorizationRole: blogUser
userPassword:: e1NTSEF9ZXRYaE9NcjRjOGFiTjlqYUxyczZKSll5MFlaZUF1NURCVWhhY0E9PQ=
 =

# other.user@test.com
dn: cn=other.user@test.com,ou=others,dc=test,dc=com
objectClass: inetOrgPerson
objectClass: authorizations
objectClass: organizationalPerson
objectClass: person
objectClass: top
sn: Other
uid: other_user
cn: other.user@test.com
authorizationRole: blogUser
userPassword:: e1NIQX1IQXdtdk13RGF1ZUpyZDhwakxXMzZ6Yi9jTUU9

# example.admin@test.com, people, test.com
dn: cn=example.admin@test.com,ou=people,dc=test,dc=com
objectClass: inetOrgPerson
objectClass: authorizations
objectClass: organizationalPerson
objectClass: person
objectClass: top
sn: Admin
uid: example_admin
cn: example.admin@test.com
authorizationRole: blogAdmin
userPassword:: e1NIQX0wcUNXaERISGFwWmc3ekJxZWRRanBzNW1EUDA9

# users, groups, test.com
dn: cn=users,ou=groups,dc=test,dc=com
objectClass: groupOfUniqueNames
objectClass: top
uniqueMember: cn=example.user@test.com,ou=people,dc=test,dc=com
cn: users

# users, groups, test.com
dn: cn=admins,ou=groups,dc=test,dc=com
objectClass: groupOfUniqueNames
objectClass: top
uniqueMember: cn=example.admin@test.com,ou=people,dc=test,dc=com
cn: admins

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
devise_ldap_authenticatable-0.4.5 test/ldap/base.ldif
devise_ldap_authenticatable-0.4.4 test/ldap/base.ldif