Changeset edb8b23
- Timestamp:
- Mar 25, 2009, 9:00:01 PM (16 years ago)
- Branches:
- master, debian, mac, no-cups, web
- Children:
- 57262ce
- Parents:
- 407f6f1
- git-author:
- root <root@…> (03/25/09 21:00:01)
- git-committer:
- root <root@…> (03/25/09 21:00:01)
- Location:
- gutenbach-web
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gutenbach-web/SOURCES.txt
r6ab0b45 redb8b23 83 83 sipbmp3web/public/jquery/theme/images/ui-icons_cd0a0a_256x240.png 84 84 sipbmp3web/templates/__init__.py 85 sipbmp3web/templates/__init__.pyc86 85 sipbmp3web/templates/about.html 87 86 sipbmp3web/templates/debug.html -
gutenbach-web/middleware.py
rb748ed1 redb8b23 30 30 try: 31 31 self.keytab = config["keytab"] 32 self.krbname = config["krbname"] 32 33 except KeyError: 33 34 self.keytab = None 34 35 def __call__(self, environ, start_response): 35 36 if self.keytab: 36 subprocess.call([" /usr/kerberos/bin/kinit", "ezyang/extra", "-k", "-t", self.keytab])37 subprocess.call(["kinit", self.krbname, "-k", "-t", self.keytab]) 37 38 return self.app(environ, start_response) 38 39
Note: See TracChangeset
for help on using the changeset viewer.