Changeset edb8b23


Ignore:
Timestamp:
Mar 25, 2009, 9:00:01 PM (16 years ago)
Author:
root <root@…>
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)
Message:

Make krbname in config file.
Signed-off-by: root <root@…>

Location:
gutenbach-web
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gutenbach-web/SOURCES.txt

    r6ab0b45 redb8b23  
    8383sipbmp3web/public/jquery/theme/images/ui-icons_cd0a0a_256x240.png
    8484sipbmp3web/templates/__init__.py
    85 sipbmp3web/templates/__init__.pyc
    8685sipbmp3web/templates/about.html
    8786sipbmp3web/templates/debug.html
  • gutenbach-web/middleware.py

    rb748ed1 redb8b23  
    3030        try:
    3131            self.keytab = config["keytab"]
     32            self.krbname = config["krbname"]
    3233        except KeyError:
    3334            self.keytab = None
    3435    def __call__(self, environ, start_response):
    3536        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])
    3738        return self.app(environ, start_response)
    3839
Note: See TracChangeset for help on using the changeset viewer.