This question about Authentication or Authorisation: Asked
Error when uploading an attachment
Hello,
i´m getting the following error when uploading an attachment.
<pre style="word-wrap: break-word; white-space: pre-wrap;">ERROR:
OopsException (attention/save_error web=>TD/RZ topic=>LinuxIuclid params=>[Operation save failed with an internal error])</pre>
the Foswiki log always shows the same error when i try to upload something.
2021-08-19T16:20:11+02:00 error |
ci -m%COMMENT&vbar;U% -t-none -w%USERNAME&vbar;S% -u %FILENAME&vbar;F% of .../ManualUserPSR/test.txt failed: 1 |
|
2021-08-19T16:20:38+02:00 error |
ci -m%COMMENT&vbar;U% -t-none -w%USERNAME&vbar;S% -u %FILENAME&vbar;F% of .../ManualUserPSR/test.txt failed: 1 |
|
2021-08-19T16:59:27+02:00 error |
ci -m%COMMENT&vbar;U% -t-none -w%USERNAME&vbar;S% -u %FILENAME&vbar;F% of .../Trash/TrashAttachment.txt failed: 1 |
|
2021-08-19T17:00:54+02:00 error |
ci -m%COMMENT&vbar;U% -t-none -w%USERNAME&vbar;S% -u %FILENAME&vbar;F% of .../ManualUserPSR/test.txt failed: 1 |
|
2021-08-20T13:08:52+02:00 error |
ci -m%COMMENT&vbar;U% -t-none -w%USERNAME&vbar;S% -u %FILENAME&vbar;F% of .../RZ/ManualUserPSR.txt failed: 1 |
The error only occurs when logged into an AD-User. If i try to upload an attachment with the local Admin it works fine.
While troubleshooting the problem i found out that the Option: {Ldap}{RewriteWikiNames}
:{'^(.*)@.*$' => '$1'} seems not to work as intended, because currently our wikinames are ScholzEXAMPLE.COM but it should only be Scholz.
If i understand the rewriteoption correct the the mail
Scholz@EXAMPLE.COM should be splitted on the @ character an only the first half should be used.
--
PatrickScholz - 31 Aug 2021