server/test/data/ldap_test.ldif
author David Douard <david.douard@logilab.fr>
Thu, 24 Jan 2013 16:10:31 +0100
branchstable
changeset 8680 2bb3021f4ffe
parent 8146 67b9b273b70d
child 8904 030463e2b620
permissions -rw-r--r--
[ldap auth] make sure imported passwords from LDAP are encrypted (closes #2583994) When a user is imported from an LDAP source (in ldapfeed or when converting a user from an ldapsource to system one), we may import a clear-text password, which we do not want to do in our system database.
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
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    15
objectClass: inetOrgPerson
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
structuralObjectClass: inetOrgPerson
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    20
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
    21
sn: Thenault
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    22
shadowMax: 99999
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    23
gidNumber: 1004
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    24
uid: syt
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    25
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
    26
shadowFlag: 134538764
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    27
uidNumber: 1004
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    28
givenName: Sylvain
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    29
telephoneNumber: 106
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    30
displayName: sthenault
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    31
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
    32
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
    33
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
    34
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
    35
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    36
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
    37
loginShell: /bin/bash
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    38
objectClass: inetOrgPerson
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    39
objectClass: posixAccount
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    40
objectClass: top
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    41
objectClass: shadowAccount
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    42
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
    43
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
    44
shadowMax: 99999
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    45
gidNumber: 1006
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    46
uid: adim
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    47
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
    48
uidNumber: 1006
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    49
structuralObjectClass: inetOrgPerson
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    50
givenName: Adrien
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    51
telephoneNumber: 109
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    52
displayName: adimascio
72d7feeb071e [tests] make ldap source test run its own local (Open)LDAP server
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    53
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
    54
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
    55
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
    56
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
    57