SID-00342: Incorrect user META info when saving pages
I am upgrading from TWiki 4.1.2 to 4.3.1 and got most everything working except one problem that I cannot find a solution for. We are using Apache authentication with Kerberos. The REMOTE_USER variable contains something like
USER@DOMAINPLEASENOSPAM.COM. On the
TWikiUserAuthentication page, I am correctly identified with my TWiki userid. However, when I save a page, the META info contains author="USER_40DOMAIN_2eCOM" instead of the TWiki username as it was the case in 4.1.2. I also tried 4.2.4 with the same result. How can I fix this problem?
--
TWikiGuest - 2009-05-29
Discussion and Answer
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
PeterThoeny - 2009-07-05
I have the same problem like this question. Has anyone an idea or a fix for this ugly meta tag?
--
TWikiGuest - 2009-10-17
This
might work, is not tested: The
twiki/lib/LocalSite.cfg
is a config file that TWiki executes at the beginning as Perl. Try adding this at the top:
$ENV{REMOTE_USER} =~ s/\@.*//;
--
PeterThoeny - 2009-10-17
Hi Peter,
thx for your quick answer. After this little changes I could make one edit and it seem to be OK, but after I get new authentificat I was a unknown user like "Hello TWikiuest? ".
Something else what I can do?
--
TWikiGuest - 2009-10-19
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
PeterThoeny - 2009-12-03
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.