Hello,

I got most things working smoothly, but I cannot get trac to work with
user logins where NT domain is included.

Ie: I use mod_sspi and trac gets either just username (with
SSPIOmitDomain On) or DOMAIN\USERNAME (with SSPIOmitDomain Off).

With SSPIOmitDomain Off I cannot get permissions matching, it seems. The
user does not get authorized.

=== 1: Permissions for trac project:

C:\sourcedata\trac\datastore>C:\Python24\python.exe C:\Python24\Script
s\trac-admin . permission list
sys:1: DeprecationWarning: Non-ASCII character '\xf6' in file
C:\Python24\Script
s\trac-admin on line 5, but no encoding declared; see
http://www.python.org/peps
/pep-0263.html for details

User               Action
-----------------------------
SEWIDERBERGM       TRAC_ADMIN
TP1\\SEWIDERBERGM  TRAC_ADMIN


Available actions:
 BROWSER_VIEW, CHANGESET_VIEW, CONFIG_VIEW, FILE_VIEW, LOG_VIEW,
 MILESTONE_ADMIN, MILESTONE_CREATE, MILESTONE_DELETE, MILESTONE_MODIFY,
 MILESTONE_VIEW, REPORT_ADMIN, REPORT_CREATE, REPORT_DELETE,
REPORT_MODIFY,
 REPORT_SQL_VIEW, REPORT_VIEW, ROADMAP_ADMIN, ROADMAP_VIEW, SEARCH_VIEW,
 TICKET_ADMIN, TICKET_APPEND, TICKET_CHGPROP, TICKET_CREATE,
TICKET_MODIFY,
 TICKET_VIEW, TIMELINE_VIEW, TRAC_ADMIN, WIKI_ADMIN, WIKI_CREATE,
 WIKI_DELETE, WIKI_MODIFY, WIKI_VIEW


=== 2: httpd.conf:

<Location /trac/projectdatastore>
   SetHandler mod_python
   PythonHandler trac.web.modpython_frontend 
   PythonOption TracEnv C:\sourcedata\trac\projectdatastore
   PythonOption TracUriRoot /trac/projectdatastore
</Location>

<Location /trac/projectdatastore/login>
  #NT Domain auth config
  AuthType SSPI
  AuthAuthoritative Off
  
  SSPIAuth On
  SSPIAuthoritative On
  SSPIOfferBasic On
  SSPIDomain TP1 
  SSPIOmitDomain Off
  SSPIBasicPreferred On 
  AuthName "DataStore_Trac"
  Require valid-user
</Location>


I know this has been discussed and I have looked at a lot of old
threads, but I cannot find a solution. I do believe I got it working
before.

/mawi

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to