Modify

Opened 13 years ago

Last modified 5 years ago

#8622 new enhancement

Kerberos / NTLM / Windows authentication in urllib2

Reported by: charlie@… 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 13 years ago by Álvaro Iradier

Probably, but I don't have a similar scenario to try it... Could you provide details on how it works?

comment:2 Changed 13 years ago by charlie@…

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:3 Changed 12 years ago by Álvaro Iradier

Status: newassigned

Related to #9777

comment:4 Changed 5 years ago by Ryan J Ollos

Owner: Álvaro Iradier deleted
Status: assignednew

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.