summaryrefslogtreecommitdiffstats
path: root/src/test/resources/ldap
diff options
context:
space:
mode:
authorAlfred Schmid <A.Schmid@ff-muenchen.de>2014-01-31 13:36:53 +0100
committerJames Moger <james.moger@gitblit.com>2014-02-19 11:04:16 -0500
commitafe3f1fd5ba22bd8b5ae017db5f61982726b656c (patch)
treed501344fd0e798cfb5b0eb09711d14800a2fc6a7 /src/test/resources/ldap
parenteb1264b0944cfc0ac951c62239cc5a85428088e0 (diff)
downloadgitblit-afe3f1fd5ba22bd8b5ae017db5f61982726b656c.tar.gz
gitblit-afe3f1fd5ba22bd8b5ae017db5f61982726b656c.zip
Fixed Tests, use local copy of users.conf. Initialize reset ldap before
every test.
Diffstat (limited to 'src/test/resources/ldap')
-rw-r--r--src/test/resources/ldap/adduser.ldif12
-rw-r--r--src/test/resources/ldap/sampledata.ldif12
2 files changed, 18 insertions, 6 deletions
diff --git a/src/test/resources/ldap/adduser.ldif b/src/test/resources/ldap/adduser.ldif
index e7e3520b..b007a940 100644
--- a/src/test/resources/ldap/adduser.ldif
+++ b/src/test/resources/ldap/adduser.ldif
@@ -1,11 +1,11 @@
-dn: CN=UserFive,OU=Canada,OU=Users,OU=UserControl,OU=MyOrganization,DC=MyDomain
+dn: CN=UserSix,OU=Canada,OU=Users,OU=UserControl,OU=MyOrganization,DC=MyDomain
objectClass: user
objectClass: person
-sAMAccountName: UserFive
-userPassword: userFivePassword
-displayName: User Five
+sAMAccountName: UserSix
+userPassword: userSixPassword
+displayName: User Six
givenName: User
-surname: Five
+surname: Six
personalTitle: Miss
-email: userfive@gitblit.com
+email: usersix@gitblit.com
memberOf: CN=Git_Users,OU=Groups,OU=UserControl,OU=MyOrganization,DC=MyDomain \ No newline at end of file
diff --git a/src/test/resources/ldap/sampledata.ldif b/src/test/resources/ldap/sampledata.ldif
index df79333e..6254f19c 100644
--- a/src/test/resources/ldap/sampledata.ldif
+++ b/src/test/resources/ldap/sampledata.ldif
@@ -105,4 +105,16 @@ givenName: User
surname: Four
personalTitle: Miss
email: userfour@gitblit.com
+memberOf: CN=Git_Users,OU=Groups,OU=UserControl,OU=MyOrganization,DC=MyDomain
+
+dn: CN=UserFive,OU=Canada,OU=Users,OU=UserControl,OU=MyOrganization,DC=MyDomain
+objectClass: user
+objectClass: person
+sAMAccountName: UserFive
+userPassword: userFivePassword
+displayName: User Five
+givenName: User
+surname: Five
+personalTitle: Miss
+email: userfive@gitblit.com
memberOf: CN=Git_Users,OU=Groups,OU=UserControl,OU=MyOrganization,DC=MyDomain \ No newline at end of file