From 36a4f46b920fa6b4781bef1857cd44b0b513b533 Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Mon, 23 Sep 2024 17:08:50 -0700 Subject: [PATCH] Add itest for users with + in email address --- itest/50-seed-user.ldif | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/itest/50-seed-user.ldif b/itest/50-seed-user.ldif index 24f3a8e..0fa5ae8 100644 --- a/itest/50-seed-user.ldif +++ b/itest/50-seed-user.ldif @@ -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 # Version: 1.2.5 version: 1 -# Entry 1: cn=Users,dc=example,dc=org +# Entry 1: Users group dn: cn=Users,dc=example,dc=org cn: Users gidnumber: 500 objectclass: posixGroup 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 cn: Someone gidnumber: 500 @@ -29,7 +23,7 @@ sn: Someone uid: someone 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 cn: SomeoneNoEmail gidnumber: 500 @@ -41,13 +35,15 @@ sn: SomeoneNoEmail uid: someonenoemail uidnumber: 1001 -# Entry 4: cn=SomeoneNoEmailNoUid,cn=Users,dc=example,dc=org -# dn: cn=SomeoneNoEmailNoUid,cn=Users,dc=example,dc=org -# cn: SomeoneNoEmailNoUid -# gidnumber: 500 -# homedirectory: /home/users/someonenoemailnoUid -# objectclass: inetOrgPerson -# objectclass: posixAccount -# objectclass: top -# sn: SomeoneNoEmail -# uidnumber: 1002 +# Entry 4: User with email containing + +dn: cn=SomeonePlus,cn=Users,dc=example,dc=org +cn: SomeonePlus +gidnumber: 500 +homedirectory: /home/users/someoneplus +mail: test+plus@example.com +objectclass: inetOrgPerson +objectclass: posixAccount +objectclass: top +sn: SomeonePlus +uid: someoneplus +uidnumber: 1002