Bug 56402 - synchronizing user photo to Azure fails with unexpected format type
synchronizing user photo to Azure fails with unexpected format type
Status: NEW
Product: UCS
Classification: Unclassified
Component: Office 365
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Mail maintainers
Mail maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-08-04 12:46 CEST by Christina Scheinig
Modified: 2023-08-04 13:36 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2023080121000151
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christina Scheinig univentionstaff 2023-08-04 12:46:44 CEST
The customer wants and tries to synchronize the user photo to azure.
He adjusted 

ucr set office365/attributes/mapping/jpegPhoto=photo
ucr set office365/attributes/sync="$(ucr get office365/attributes/sync),jpegPhoto"
systemctl restart univention-directory-listener

After that this traceback occurs in the listener logfile:

02.08.23 15:42:36.928  LISTENER    ( PROCESS ) : updating 'uid=siedl-support,cn=users,dc=ldap,dc=schein,dc=me' command m
02.08.23 15:42:36.929  LISTENER    ( PROCESS ) : office365-user: modify dn: 'uid=siedl-support,cn=users,dc=ldap,dc=schein,dc=me'
02.08.23 15:42:37.120  LISTENER    ( ERROR   ) : o365(W): Warning not same type photo: /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAAQABADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD1vxtqQs9AltUdluLtTGmFyNvG/OenBx688eoTwTqn2/QY7dzma0Aib3X+E9PQY/D3rk7i11Hxl4oW+js5ZNHWZIw5OxWhDEEgnaTn5jxkjOPSnWdle+DfFj389pNBozyyRmSMCUCIn5N2CSOdh55OO/SvT9hD2Psr+/v8+x431mp9Y9tb3Nvl39PM/9k= not is a typing.Dict. Taken /
02.08.23 15:42:37.121  LISTENER    ( ERROR   ) : office365-user: dn='uid=siedl-support,cn=users,dc=ldap,dc=schein,dc=me' command='m'
    old={'uid': [b'siedl-support'], 'uidNumber': [b'1841'], 'krb5MaxLife': [b'86400'], 'sambaMungedDial': [b'bQAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIABkAAEAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAUAAFABoACAABAEMAdAB4AEMAZgBnAFAAcgBlAHMAZQBuAHQANTUxZTBiYjAYAAgAAQBDAHQAeABDAGYAZwBGAGwAYQBnAHMAMQAwMDAwMDEwMA=='], 'krb5MaxRenew': [b'604800'], 'mail': [b'siedl-support@schein.at'], 'loginShell': [b'/bin/bash'], 'univentionObjectType': [b'users/user'], 'mailPrimaryAddress': [b'siedl-support@schein.at'], 'homeDirectory': [b'/home/siedl-support'], 'givenName': [b'Siedl'], 'structuralObjectClass': [b'inetOrgPerson'], 'entryUUID': [b'0e6c3498-3373-1035-9bb9-4db7987e65e7'], 'creatorsName': [b'uid=Administrator,cn=users,dc=ldap,dc=schein,dc=me'], 'createTimestamp': [b'20151210101809Z'], 'nextcloudEnabled': [b'1'], 'sambaSID': [b'S-1-5-21-242793100-2478034077-512010624-1113'], 'sn': [b'Support'], 'cn': [b'Support Siedl'], 'gecos': [b'Siedl Support'], 'krb5PrincipalName': [b'siedl-support@ldap.schein.at'], 'krb5Key': [b'0R\xa1+0)\xa0\x03\x02\x01\x12\xa1"\x04 Dq\x91#\xc6\x1d\x16\xf9I\xc3\xd2\xa2*\xbf\xe9\xefR\xaf\xb0\r\xf9\xdf\x127\x9c\xb88\x8c\x9e\x9e\xcb\xaa\xa2#0!\xa0\x03\x02\x01\x03\xa1\x1a\x04\x18LDAP.SCHEIN.MEsiedl-support', b'0B\xa1\x1b0\x19\xa0\x03\x02\x01\x11\xa1\x12\x04\x10O\xe2\x9c\x8ci\xa2\xe1\xa0h\x04\xa1\x91\xe3\xfd\x7f\xc0\xa2#0!\xa0\x03\x02\x01\x03\xa1\x1a\x04\x18LDAP.SCHEIN.MEsiedl-support', b'0B\xa1\x1b0\x19\xa0\x03\x02\x01\x17\xa1\x12\x04\x10oo\xbf\x129\x97b\xad4\xe4::zy&5\xa2#0!\xa0\x03\x02\x01\x03\xa1\x1a\x04\x18LDAP.SCHEIN.MEsiedl-support', b'0:\xa1\x130\x11\xa0\x03\x02\x01\x01\xa1\n\x04\x08\x91;Qm\x914\x92\x02\xa2#0!\xa0\x03\x02\x01\x03\xa1\x1a\x04\x18LDAP.SCHEIN.MEsiedl-support', b'0:\xa1\x130\x11\xa0\x03\x02\x01\x03\xa1\n\x04\x08\x91;Qm\x914\x92\x02\xa2#0!\xa0\x03\x02\x01\x03\xa1\x1a\x04\x18LDAP.SCHEIN.MEsiedl-support', b'0:\xa1\x130\x11\xa0\x03\x02\x01\x02\xa1\n\x04\x08\x91;Qm\x914\x92\x02\xa2#0!\xa0\x03\x02\x01\x03\xa1\x1a\x04\x18LDAP.SCHEIN.MEsiedl-support', b'0J\xa1#0!\xa0\x03\x02\x01\x10\xa1\x1a\x04\x18I\xea\xc8\x8a8\xa4@\xe5\xa7;\x15\xd9\xa1\xf4\x97\xb0\xdf\xb0\xceJ@\xc7L\xe5\xa2#0!\xa0\x03\x02\x01\x03\xa1\x1a\x04\x18LDAP.SCHEIN.MEsiedl-support'], 'krb5KeyVersionNumber': [b'3'], 'pwhistory': [b'$6$aV9A8BU2BP68AgkP$5Aw45H0WLwbBPaXsc2Uj/ASMr8EnBrkbzndrF3DJK6HIYy6hNl13jg6FruvrccBUO.sdfStqsZC98VOxFArBb. $6$Sx7PZ9J3W5jyLW1r$1nL8b/ys3XGkonxXkr3N8A8B8tJiU9IVKqb/UXfIIKG2w5fWsjvnYCuo4FMXs0WRJVKusbzG2Xego5yAnNcVA1 $6$GOAA.2VwAwryoGfn$Kfpg/Zm2ZpxT/oMFcWWfyb6v0zh2GBseZlHzp7NaISVzj6AOOFjV7dbfEdc0k.xbQi2ue2e8bizKSJZvGheZq/'], 'sambaNTPassword': [b'6F6FBF12399762AD34E43A3A7A792635'], 'sambaPasswordHistory': [b'DD4A72DE195F835095D6701ED74C63E7EF4169C9D4932DC712FCA0D944216BC8313051880D2A1F7EC4DFE5FBDA4877B7B03E39661C0975E6E383FFAF112B0B717CCA0A334AC9427BE88108BDD6B45D08FCF80E4A1D81F3DB4341D89A187D2AAD'], 'sambaPwdLastSet': [b'1637580767'], 'shadowLastChange': [b'18953'], 'univentionOffice365ADConnectionAlias': [b'defaultADconnection'], 'univentionOffice365Enabled': [b'1'], 'objectClass': [b'automount', b'inetOrgPerson', b'krb5KDCEntry', b'krb5Principal', b'nextcloudUser', b'organizationalPerson', b'person', b'posixAccount', b'sambaSamAccount', b'shadowAccount', b'top', b'univentionMail', b'univentionObject', b'univentionOffice365', b'univentionPWHistory'], 'memberOf': [b'cn=edv,cn=groups,dc=ldap,dc=schein,dc=me', b'cn=Domain Users,cn=groups,dc=ldap,dc=schein,dc=me'], 'gidNumber': [b'1115'], 'sambaPrimaryGroupSID': [b'S-1-5-21-242793100-2478034077-512010624-1132'], 'univentionOffice365TokenResetDate': [b'20230904'], 'authTimestamp': [b'20230802062636Z'], 'description': [b'test'], 'displayName': [b'Support Siedl test'], 'univentionOffice365Data': [b'eJwVyzsOwjAMANCrVJ5JVfpRKRNILCyIKySOjYKaOMpnqnp3yviGt4El1nUt9wdKCITFSYBrs4GY76GnPQBzN10szqT0yIsaDfdKL7NRRGyYp/7cDQOcGqiZ0ju5gC7q9aU9/XN2ZFeVa4ySyu3DfpxaCd5hkixcWhQP+/4DDMQt1w=='], 'jpegPhoto': [b'\xff\xd8\xff\xe0\x00\x10JFIF\x00\x01\x01\x00\x00\x01\x00\x01\x00\x00\xff\xdb\x00C\x00\x08\x06\x06\x07\x06\x05\x08\x07\x07\x07\t\t\x08\n\x0c\x14\r\x0c\x0b\x0b\x0c\x19\x12\x13\x0f\x14\x1d\x1a\x1f\x1e\x1d\x1a\x1c\x1c $.\' ",#\x1c\x1c(7),01444\x1f\'9=82<.342\xff\xdb\x00C\x01\t\t\t\x0c\x0b\x0c\x18\r\r\x182!\x1c!22222222222222222222222222222222222222222222222222\xff\xc0\x00\x11\x08\x00\x10\x00\x10\x03\x01"\x00\x02\x11\x01\x03\x11\x01\xff\xc4\x00\x1f\x00\x00\x01\x05\x01\x01\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\xff\xc4\x00\xb5\x10\x00\x02\x01\x03\x03\x02\x04\x03\x05\x05\x04\x04\x00\x00\x01}\x01\x02\x03\x00\x04\x11\x05\x12!1A\x06\x13Qa\x07"q\x142\x81\x91\xa1\x08#B\xb1\xc1\x15R\xd1\xf0$3br\x82\t\n\x16\x17\x18\x19\x1a%&\'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xc4\x00\x1f\x01\x00\x03\x01\x01\x01\x01\x01\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\xff\xc4\x00\xb5\x11\x00\x02\x01\x02\x04\x04\x03\x04\x07\x05\x04\x04\x00\x01\x02w\x00\x01\x02\x03\x11\x04\x05!1\x06\x12AQ\x07aq\x13"2\x81\x08\x14B\x91\xa1\xb1\xc1\t#3R\xf0\x15br\xd1\n\x16$4\xe1%\xf1\x17\x18\x19\x1a&\'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xf5\xbf\x1bjB\xcf@\x96\xd5\x1d\x96\xe2\xedLi\x85\xc8\xdb\xc6\xfc\xe7\xa7\x07\x1e\xbc\xf1\xea\x13\xc1:\xa7\xdb\xf4\x18\xed\xdc\xe6k@"ou\xfe\x13\xd3\xd0c\xf0\xf7\xaeN\xe2\xd7Q\xf1\x97\x8a\x16\xfa;9d\xd1\xd6d\x8c9;\x15\xa1\x0cA \x9d\xa4\xe7\xe6<d\x8c\xe3\xd2\x9dge{\xe0\xdf\x16=\xfc\xf6\x93A\xa3<\xb2Fd\x8c\t@\x88\x9f\x93v\t#\x9d\x87\x9eN;\xf4\xafO\xd8C\xd8\xfb+\xfb\xfb\xfc\xfb\x1e7\xd6j}c\xdb[\xdc\xdb\xe5\xdf\xd3\xcc\xff\xd9'], 'krb5KDCFlags': [b'254'], 'userPassword': [b'{crypt}!$6$UTgvFP/Boqv5j1ra$O8jE6LxaLbbIQmGoYrKUUJLg9KtfM/JtuXjSQRPtVlxAW.t3.qPdwnHfr6vte1C.gZuRKgka5Ol5foZKy0j1b/'], 'sambaAcctFlags': [b'[UD         ]'], 'shadowExpire': [b'1'], 'entryCSN': [b'20230802134229.155051Z#000000#000#000000'], 'modifiersName': [b'uid=administrator,cn=users,dc=ldap,dc=schein,dc=me'], 'modifyTimestamp': [b'20230802134229Z'], 'entryDN': [b'uid=siedl-support,cn=users,dc=ldap,dc=gfm,dc=me'], 'subschemaSubentry': [b'cn=Subschema'], 'hasSubordinates': [b'FALSE']}
    new={'uid': [b'siedl-support'], 'uidNumber': [b'1841'], 'krb5MaxLife': [b'86400'], 'sambaMungedDial': [b'bQAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIABkAAEAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAUAAFABoACAABAEMAdAB4AEMAZgBnAFAAcgBlAHMAZQBuAHQANTUxZTBiYjAYAAgAAQBDAHQAeABDAGYAZwBGAGwAYQBnAHMAMQAwMDAwMDEwMA=='], 'krb5MaxRenew': [b'604800'], 'mail': [b'siedl-support@schein.at'], 'loginShell': [b'/bin/bash'], 'univentionObjectType': [b'users/user'], 'mailPrimaryAddress': [b'siedl-support@schein.at'], 'homeDirectory': [b'/home/siedl-support'], 'givenName': [b'Siedl'], 'structuralObjectClass': [b'inetOrgPerson'], 'entryUUID': [b'0e6c3498-3373-1035-9bb9-4db7987e65e7'], 'creatorsName': [b'uid=Administrator,cn=users,dc=ldap,dc=schein,dc=me'], 'createTimestamp': [b'20151210101809Z'], 'nextcloudEnabled': [b'1'], 'sambaSID': [b'S-1-5-21-242793100-2478034077-512010624-1113'], 'sn': [b'Support'], 'cn': [b'Support Siedl'], 'gecos': [b'Siedl Support'], 'krb5PrincipalName': [b'siedl-support@ldap.schein.at'], 'krb5Key': [b'0R\xa1+0)\xa0\x03\x02\x01\x12\xa1"\x04 Dq\x91#\xc6\x1d\x16\xf9I\xc3\xd2\xa2*\xbf\xe9\xefR\xaf\xb0\r\xf9\xdf\x127\x9c\xb88\x8c\x9e\x9e\xcb\xaa\xa2#0!\xa0\x03\x02\x01\x03\xa1\x1a\x04\x18LDAP.SCHEIN.MEsiedl-support', b'0B\xa1\x1b0\x19\xa0\x03\x02\x01\x11\xa1\x12\x04\x10O\xe2\x9c\x8ci\xa2\xe1\xa0h\x04\xa1\x91\xe3\xfd\x7f\xc0\xa2#0!\xa0\x03\x02\x01\x03\xa1\x1a\x04\x18LDAP.SCHEIN.MEsiedl-support', b'0B\xa1\x1b0\x19\xa0\x03\x02\x01\x17\xa1\x12\x04\x10oo\xbf\x129\x97b\xad4\xe4::zy&5\xa2#0!\xa0\x03\x02\x01\x03\xa1\x1a\x04\x18LDAP.SCHEIN.MEsiedl-support', b'0:\xa1\x130\x11\xa0\x03\x02\x01\x01\xa1\n\x04\x08\x91;Qm\x914\x92\x02\xa2#0!\xa0\x03\x02\x01\x03\xa1\x1a\x04\x18LDAP.SCHEIN.MEsiedl-support', b'0:\xa1\x130\x11\xa0\x03\x02\x01\x03\xa1\n\x04\x08\x91;Qm\x914\x92\x02\xa2#0!\xa0\x03\x02\x01\x03\xa1\x1a\x04\x18LDAP.SCHEIN.MEsiedl-support', b'0:\xa1\x130\x11\xa0\x03\x02\x01\x02\xa1\n\x04\x08\x91;Qm\x914\x92\x02\xa2#0!\xa0\x03\x02\x01\x03\xa1\x1a\x04\x18LDAP.SCHEIN.MEsiedl-support', b'0J\xa1#0!\xa0\x03\x02\x01\x10\xa1\x1a\x04\x18I\xea\xc8\x8a8\xa4@\xe5\xa7;\x15\xd9\xa1\xf4\x97\xb0\xdf\xb0\xceJ@\xc7L\xe5\xa2#0!\xa0\x03\x02\x01\x03\xa1\x1a\x04\x18LDAP.SCHEIN.MEsiedl-support'], 'krb5KeyVersionNumber': [b'3'], 'pwhistory': [b'$6$aV9A8BU2BP68AgkP$5Aw45H0WLwbBPaXsc2Uj/ASMr8EnBrkbzndrF3DJK6HIYy6hNl13jg6FruvrccBUO.sdfStqsZC98VOxFArBb. $6$Sx7PZ9J3W5jyLW1r$1nL8b/ys3XGkonxXkr3N8A8B8tJiU9IVKqb/UXfIIKG2w5fWsjvnYCuo4FMXs0WRJVKusbzG2Xego5yAnNcVA1 $6$GOAA.2VwAwryoGfn$Kfpg/Zm2ZpxT/oMFcWWfyb6v0zh2GBseZlHzp7NaISVzj6AOOFjV7dbfEdc0k.xbQi2ue2e8bizKSJZvGheZq/'], 'sambaNTPassword': [b'6F6FBF12399762AD34E43A3A7A792635'], 'sambaPasswordHistory': [b'DD4A72DE195F835095D6701ED74C63E7EF4169C9D4932DC712FCA0D944216BC8313051880D2A1F7EC4DFE5FBDA4877B7B03E39661C0975E6E383FFAF112B0B717CCA0A334AC9427BE88108BDD6B45D08FCF80E4A1D81F3DB4341D89A187D2AAD'], 'sambaPwdLastSet': [b'1637580767'], 'shadowLastChange': [b'18953'], 'univentionOffice365ADConnectionAlias': [b'defaultADconnection'], 'univentionOffice365Enabled': [b'1'], 'objectClass': [b'automount', b'inetOrgPerson', b'krb5KDCEntry', b'krb5Principal', b'nextcloudUser', b'organizationalPerson', b'person', b'posixAccount', b'sambaSamAccount', b'shadowAccount', b'top', b'univentionMail', b'univentionObject', b'univentionOffice365', b'univentionPWHistory'], 'memberOf': [b'cn=edv,cn=groups,dc=ldap,dc=schein,dc=me', b'cn=Domain Users,cn=groups,dc=ldap,dc=schein,dc=me'], 'gidNumber': [b'1115'], 'sambaPrimaryGroupSID': [b'S-1-5-21-242793100-2478034077-512010624-1132'], 'univentionOffice365TokenResetDate': [b'20230904'], 'authTimestamp': [b'20230802062636Z'], 'description': [b'test'], 'displayName': [b'Support Siedl test'], 'univentionOffice365Data': [b'eJwVyzsOwjAMANCrVJ5JVfpRKRNILCyIKySOjYKaOMpnqnp3yviGt4El1nUt9wdKCITFSYBrs4GY76GnPQBzN10szqT0yIsaDfdKL7NRRGyYp/7cDQOcGqiZ0ju5gC7q9aU9/XN2ZFeVa4ySyu3DfpxaCd5hkixcWhQP+/4DDMQt1w=='], 'jpegPhoto': [b'\xff\xd8\xff\xe0\x00\x10JFIF\x00\x01\x01\x00\x00\x01\x00\x01\x00\x00\xff\xdb\x00C\x00\x08\x06\x06\x07\x06\x05\x08\x07\x07\x07\t\t\x08\n\x0c\x14\r\x0c\x0b\x0b\x0c\x19\x12\x13\x0f\x14\x1d\x1a\x1f\x1e\x1d\x1a\x1c\x1c $.\' ",#\x1c\x1c(7),01444\x1f\'9=82<.342\xff\xdb\x00C\x01\t\t\t\x0c\x0b\x0c\x18\r\r\x182!\x1c!22222222222222222222222222222222222222222222222222\xff\xc0\x00\x11\x08\x00\x10\x00\x10\x03\x01"\x00\x02\x11\x01\x03\x11\x01\xff\xc4\x00\x1f\x00\x00\x01\x05\x01\x01\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\xff\xc4\x00\xb5\x10\x00\x02\x01\x03\x03\x02\x04\x03\x05\x05\x04\x04\x00\x00\x01}\x01\x02\x03\x00\x04\x11\x05\x12!1A\x06\x13Qa\x07"q\x142\x81\x91\xa1\x08#B\xb1\xc1\x15R\xd1\xf0$3br\x82\t\n\x16\x17\x18\x19\x1a%&\'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xc4\x00\x1f\x01\x00\x03\x01\x01\x01\x01\x01\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\xff\xc4\x00\xb5\x11\x00\x02\x01\x02\x04\x04\x03\x04\x07\x05\x04\x04\x00\x01\x02w\x00\x01\x02\x03\x11\x04\x05!1\x06\x12AQ\x07aq\x13"2\x81\x08\x14B\x91\xa1\xb1\xc1\t#3R\xf0\x15br\xd1\n\x16$4\xe1%\xf1\x17\x18\x19\x1a&\'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x92\x93\x94\x95\x96\x97\x98\x99\x9a\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xf5\xbf\x1bjB\xcf@\x96\xd5\x1d\x96\xe2\xedLi\x85\xc8\xdb\xc6\xfc\xe7\xa7\x07\x1e\xbc\xf1\xea\x13\xc1:\xa7\xdb\xf4\x18\xed\xdc\xe6k@"ou\xfe\x13\xd3\xd0c\xf0\xf7\xaeN\xe2\xd7Q\xf1\x97\x8a\x16\xfa;9d\xd1\xd6d\x8c9;\x15\xa1\x0cA \x9d\xa4\xe7\xe6<d\x8c\xe3\xd2\x9dge{\xe0\xdf\x16=\xfc\xf6\x93A\xa3<\xb2Fd\x8c\t@\x88\x9f\x93v\t#\x9d\x87\x9eN;\xf4\xafO\xd8C\xd8\xfb+\xfb\xfb\xfc\xfb\x1e7\xd6j}c\xdb[\xdc\xdb\xe5\xdf\xd3\xcc\xff\xd9'], 'krb5KDCFlags': [b'126'], 'userPassword': [b'{crypt}$6$UTgvFP/Boqv5j1ra$O8jE6LxaLbbIQmGoYrKUUJLg9KtfM/JtuXjSQRPtVlxAW.t3.qPdwnHfr6vte1C.gZuRKgka5Ol5foZKy0j1b/'], 'sambaAcctFlags': [b'[U          ]'], 'entryCSN': [b'20230802134236.890337Z#000000#000#000000'], 'modifiersName': [b'uid=administrator,cn=users,dc=ldap,dc=schein,dc=me'], 'modifyTimestamp': [b'20230802134236Z'], 'entryDN': [b'uid=siedl-support,cn=users,dc=ldap,dc=schein,dc=me'], 'subschemaSubentry': [b'cn=Subschema'], 'hasSubordinates': [b'FALSE']}
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/univention/listener/api_adapter.py", line 165, in _handler
    self._module_handler.modify(dn, old, new, self._saved_old_dn if self._rename else None)
  File "/usr/lib/univention-directory-listener/system/office365-user.py", line 76, in modify
    self.connector.modify(new_udm_user=new_udm_user, old_udm_user=old_udm_user)
  File "/usr/lib/python3/dist-packages/univention/office365/connector/connector.py", line 581, in modify
    self.new_or_reactivate_user(new_udm_user, core)
  File "/usr/lib/python3/dist-packages/univention/office365/connector/connector.py", line 480, in new_or_reactivate_user
    user_azure = self.parse(udm_object, core)
  File "/usr/lib/python3/dist-packages/univention/office365/connector/connector.py", line 759, in parse
    user_azure = UserAzure(**data)
  File "<attrs generated init a691e255d6719038d46fc67899ebcaf3a310b17f>", line 107, in __init__
    __attr_validator_photo(self, __attr_photo, self.photo)
  File "/usr/lib/python3/dist-packages/attr/validators.py", line 32, in __call__
    value,
TypeError: ("'photo' must be (typing.Dict, <class 'NoneType'>) (got '/' that is a <class 'str'>).", Attribute(name='photo', default=None, validator=<instance_of validator for type (typing.Dict, <class 'NoneType'>)>, repr=True, cmp=True, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False), (typing.Dict, <class 'NoneType'>), '/')
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/univention/listener/api_adapter.py", line 173, in _handler
    self._module_handler.error_handler(dn, old, new, command, exc_type, exc_value, exc_traceback)
  File "/usr/lib/python3/dist-packages/univention/listener/handler.py", line 263, in error_handler
    reraise(exc_type, exc_value, exc_traceback)
  File "/usr/lib/python3/dist-packages/six.py", line 693, in reraise
    raise value
  File "/usr/lib/python3/dist-packages/univention/listener/api_adapter.py", line 165, in _handler
    self._module_handler.modify(dn, old, new, self._saved_old_dn if self._rename else None)
  File "/usr/lib/univention-directory-listener/system/office365-user.py", line 76, in modify
    self.connector.modify(new_udm_user=new_udm_user, old_udm_user=old_udm_user)
  File "/usr/lib/python3/dist-packages/univention/office365/connector/connector.py", line 581, in modify
    self.new_or_reactivate_user(new_udm_user, core)
  File "/usr/lib/python3/dist-packages/univention/office365/connector/connector.py", line 480, in new_or_reactivate_user
    user_azure = self.parse(udm_object, core)
  File "/usr/lib/python3/dist-packages/univention/office365/connector/connector.py", line 759, in parse
    user_azure = UserAzure(**data)
  File "<attrs generated init a691e255d6719038d46fc67899ebcaf3a310b17f>", line 107, in __init__
  File "/usr/lib/python3/dist-packages/attr/validators.py", line 32, in __call__
    value,
TypeError: ("'photo' must be (typing.Dict, <class 'NoneType'>) (got '/' that is a <class 'str'>).", Attribute(name='photo', default=None, validator=<instance_of validator for type (typing.Dict, <class 'NoneType'>)>, repr=True, cmp=True, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False), (typing.Dict, <class 'NoneType'>), '/')
02.08.23 15:42:37.123  LISTENER    ( WARN    ) : handler: office365-user (failed)