mirror of
https://github.com/ViViDboarder/bitwarden_rs_ldap.git
synced 2024-11-21 18:56:27 +00:00
Add itest for users with + in email address
This commit is contained in:
parent
ef0c962946
commit
36a4f46b92
@ -1,22 +1,16 @@
|
|||||||
# LDIF Export for cn=Users,dc=example,dc=org
|
|
||||||
# Server: ldap (ldap)
|
|
||||||
# Search Scope: sub
|
|
||||||
# Search Filter: (objectClass=*)
|
|
||||||
# Total Entries: 2
|
|
||||||
#
|
|
||||||
# Generated by phpLDAPadmin (http://phpldapadmin.sourceforge.net) on May 4, 2021 6:06 pm
|
# Generated by phpLDAPadmin (http://phpldapadmin.sourceforge.net) on May 4, 2021 6:06 pm
|
||||||
# Version: 1.2.5
|
# Version: 1.2.5
|
||||||
|
|
||||||
version: 1
|
version: 1
|
||||||
|
|
||||||
# Entry 1: cn=Users,dc=example,dc=org
|
# Entry 1: Users group
|
||||||
dn: cn=Users,dc=example,dc=org
|
dn: cn=Users,dc=example,dc=org
|
||||||
cn: Users
|
cn: Users
|
||||||
gidnumber: 500
|
gidnumber: 500
|
||||||
objectclass: posixGroup
|
objectclass: posixGroup
|
||||||
objectclass: top
|
objectclass: top
|
||||||
|
|
||||||
# Entry 2: cn=Someone,cn=Users,dc=example,dc=org
|
# Entry 2: User with email
|
||||||
dn: cn=Someone,cn=Users,dc=example,dc=org
|
dn: cn=Someone,cn=Users,dc=example,dc=org
|
||||||
cn: Someone
|
cn: Someone
|
||||||
gidnumber: 500
|
gidnumber: 500
|
||||||
@ -29,7 +23,7 @@ sn: Someone
|
|||||||
uid: someone
|
uid: someone
|
||||||
uidnumber: 1000
|
uidnumber: 1000
|
||||||
|
|
||||||
# Entry 3: cn=SomeoneNoEmail,cn=Users,dc=example,dc=org
|
# Entry 3: User with no email
|
||||||
dn: cn=SomeoneNoEmail,cn=Users,dc=example,dc=org
|
dn: cn=SomeoneNoEmail,cn=Users,dc=example,dc=org
|
||||||
cn: SomeoneNoEmail
|
cn: SomeoneNoEmail
|
||||||
gidnumber: 500
|
gidnumber: 500
|
||||||
@ -41,13 +35,15 @@ sn: SomeoneNoEmail
|
|||||||
uid: someonenoemail
|
uid: someonenoemail
|
||||||
uidnumber: 1001
|
uidnumber: 1001
|
||||||
|
|
||||||
# Entry 4: cn=SomeoneNoEmailNoUid,cn=Users,dc=example,dc=org
|
# Entry 4: User with email containing +
|
||||||
# dn: cn=SomeoneNoEmailNoUid,cn=Users,dc=example,dc=org
|
dn: cn=SomeonePlus,cn=Users,dc=example,dc=org
|
||||||
# cn: SomeoneNoEmailNoUid
|
cn: SomeonePlus
|
||||||
# gidnumber: 500
|
gidnumber: 500
|
||||||
# homedirectory: /home/users/someonenoemailnoUid
|
homedirectory: /home/users/someoneplus
|
||||||
# objectclass: inetOrgPerson
|
mail: test+plus@example.com
|
||||||
# objectclass: posixAccount
|
objectclass: inetOrgPerson
|
||||||
# objectclass: top
|
objectclass: posixAccount
|
||||||
# sn: SomeoneNoEmail
|
objectclass: top
|
||||||
# uidnumber: 1002
|
sn: SomeonePlus
|
||||||
|
uid: someoneplus
|
||||||
|
uidnumber: 1002
|
||||||
|
Loading…
Reference in New Issue
Block a user