summaryrefslogtreecommitdiffstats
path: root/apachekerbauth/var/www/cgi-bin/swift-auth
diff options
context:
space:
mode:
Diffstat (limited to 'apachekerbauth/var/www/cgi-bin/swift-auth')
-rwxr-xr-xapachekerbauth/var/www/cgi-bin/swift-auth1
1 files changed, 1 insertions, 0 deletions
diff --git a/apachekerbauth/var/www/cgi-bin/swift-auth b/apachekerbauth/var/www/cgi-bin/swift-auth
index 6173408..1d124c5 100755
--- a/apachekerbauth/var/www/cgi-bin/swift-auth
+++ b/apachekerbauth/var/www/cgi-bin/swift-auth
@@ -40,6 +40,7 @@ MEMCACHE_SERVERS = ['127.0.0.1:11211']
DEBUG_HEADERS = True
+
def main():
remote_user = os.environ['REMOTE_USER']
matches = re.match('([^@]+)@.*', remote_user)