server/test/data/ldap_test.ldif
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Tue, 23 Apr 2013 16:50:18 +0200
changeset 8904 030463e2b620
parent 8680 2bb3021f4ffe
child 8922 715b9eec6da9
permissions -rw-r--r--
[ldap] Major test refactoring Mostly fix tests (previous refactoring), but also refactor a bit the base class to have better/simpler interaction with the slapd server.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6887
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     1
dn: dc=cubicweb,dc=test
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     2
structuralObjectClass: organization
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     3
objectClass: dcObject
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     4
objectClass: organization
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     5
o: cubicweb
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     6
dc: cubicweb
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     7
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     8
dn: ou=People,dc=cubicweb,dc=test
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     9
objectClass: organizationalUnit
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    10
ou: People
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    11
structuralObjectClass: organizationalUnit
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    12
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    13
dn: uid=syt,ou=People,dc=cubicweb,dc=test
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    14
loginShell: /bin/bash
8904
030463e2b620 [ldap] Major test refactoring
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 8680
diff changeset
    15
objectClass: OpenLDAPperson
6887
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    16
objectClass: posixAccount
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    17
objectClass: top
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    18
objectClass: shadowAccount
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    19
cn: Sylvain Thenault
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    20
sn: Thenault
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    21
shadowMax: 99999
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    22
gidNumber: 1004
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    23
uid: syt
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    24
homeDirectory: /home/syt
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    25
shadowFlag: 134538764
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    26
uidNumber: 1004
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    27
givenName: Sylvain
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    28
telephoneNumber: 106
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    29
displayName: sthenault
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    30
gecos: Sylvain Thenault
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    31
mail: sylvain.thenault@logilab.fr
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    32
mail: syt@logilab.fr
8680
2bb3021f4ffe [ldap auth] make sure imported passwords from LDAP are encrypted (closes #2583994)
David Douard <david.douard@logilab.fr>
parents: 8146
diff changeset
    33
userPassword: syt
6887
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    34
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    35
dn: uid=adim,ou=People,dc=cubicweb,dc=test
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    36
loginShell: /bin/bash
8904
030463e2b620 [ldap] Major test refactoring
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 8680
diff changeset
    37
objectClass: OpenLDAPperson
6887
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    38
objectClass: posixAccount
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    39
objectClass: top
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    40
objectClass: shadowAccount
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    41
cn: Adrien Di Mascio
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    42
sn: Di Mascio
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    43
shadowMax: 99999
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    44
gidNumber: 1006
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    45
uid: adim
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    46
homeDirectory: /home/adim
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    47
uidNumber: 1006
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    48
givenName: Adrien
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    49
telephoneNumber: 109
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    50
displayName: adimascio
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    51
gecos: Adrien Di Mascio
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    52
mail: adim@logilab.fr
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    53
mail: adrien.dimascio@logilab.fr
8680
2bb3021f4ffe [ldap auth] make sure imported passwords from LDAP are encrypted (closes #2583994)
David Douard <david.douard@logilab.fr>
parents: 8146
diff changeset
    54
userPassword: adim
6887
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    55