zulip/zerver/tests/fixtures/ldap/directory.json

82 lines
2.2 KiB
JSON
Raw Normal View History

{
"ou=users,dc=zulip,dc=com": {
"ou": "users"
},
"uid=hamlet,ou=users,dc=zulip,dc=com": {
"objectClass": ["user"],
"cn": ["King Hamlet"],
"uid": ["hamlet"],
"mail": ["hamlet@zulip.com"],
"userAccountControl": ["512"],
"sn": ["Hamlet"],
"homePhone": ["123456789"],
"birthDate": ["1900-09-08"],
"jpegPhoto": "file:static/images/team/tim.png"
},
"uid=cordelia,ou=users,dc=zulip,dc=com": {
"objectClass": ["user"],
"cn": ["Cordelia Lear"],
"uid": ["cordelia"],
"mail": ["cordelia@zulip.com"],
"sn": ["Cordelia"]
},
"uid=letham,ou=users,dc=zulip,dc=com": {
"objectClass": ["user"],
"cn": ["aaron"],
"uid": ["letham"],
"mail": ["aaron@zulip.com"],
"sn": ["aaron"]
},
"uid=newuser,ou=users,dc=zulip,dc=com": {
"objectClass": ["user"],
"cn": ["New LDAP fullname"],
"uid": ["newuser"],
"sn": ["shortname"],
"homePhone": ["a-new-number"],
"jpegPhoto": "file:static/images/team/tim.png"
},
"uid=newuser_splitname,ou=users,dc=zulip,dc=com": {
"objectClass": ["user"],
"cn": ["Last"],
"uid": ["newuser_splitname"],
"sn": ["First"]
},
"uid=newuser_with_email,ou=users,dc=zulip,dc=com": {
"objectClass": ["user"],
"cn": ["New LDAP fullname"],
"uid": ["newuser_with_email"],
"sn": ["shortname"],
"mail": ["newuser_email@zulip.com"]
},
"uid=newuser_email_as_uid@zulip.com,ou=users,dc=zulip,dc=com": {
"objectClass": ["user"],
"cn": ["New LDAP fullname"],
"uid": ["newuser_email_as_uid@zulip.com"],
"sn": ["shortname"]
},
"uid=user1_with_shared_email,ou=users,dc=zulip,dc=com": {
"objectClass": ["user"],
"cn": ["New LDAP fullname"],
"uid": ["user1_with_shared_email"],
"sn": ["shortname"],
"mail": ["shared_email@zulip.com"]
},
"uid=user2_with_shared_email,ou=users,dc=zulip,dc=com": {
"objectClass": ["user"],
"cn": ["New LDAP fullname"],
"uid": ["user2_with_shared_email"],
"sn": ["shortname"],
"mail": ["shared_email@zulip.com"]
}
}