Opened 14 years ago
Last modified 5 years ago
#8622 new enhancement
Kerberos / NTLM / Windows authentication in urllib2
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Component: | TracWikiPrintPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
Is there any way to get working the Windows Authentication (Kerberos/NTML) in TracWikiPrintPlugin (through the used urllib2), please?
Attachments (0)
Change History (4)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
The trac is implemented on IIS so the IIS is the "last" provider for the web content. This means, that your plugin is connecting to IIS and IIS has the NTLM authentication (in order to be able to do SSON). The trac app is using impersonalization to retrieve the proper content. I think that it might be possible not to use the urllib2 but the API of trac to retrieve WIKI images. What we do need is just only the retrieval of WIKI images. I placed the fonts on a different URL, where is no authentication required. This allows us to use UTF-8 encoding.. So it's just only about images..
Meanwhile I also changed the tempfile.mktemp as our TRAC is using impersonalization and the default TEMP is in Windows\Temp directory which is not accesible by the user and it should not be acessible by the user..
row 96 : path = tempfile.mktemp(prefix="pisa-", suffix = suffix, dir=self.env.config.get('wikiprint', 'tempdir'))
There is also a issue with the temp folders - I don't know how to get this working without having the rights to WIKIPRINT_FILESYSTEM. But this should be another Ticket then..
comment:4 Changed 5 years ago by
Owner: | Álvaro Iradier deleted |
---|---|
Status: | assigned → new |
Probably, but I don't have a similar scenario to try it... Could you provide details on how it works?