Commit e2f62c8e authored by Leigh Stoller's avatar Leigh Stoller

Okay, lets try that again only do it right this time?

parent 37a19abb
......@@ -167,6 +167,9 @@ class MyServer(SSL.ForkingSSLServer, SimpleXMLRPCDispatcher):
self.logit('No groups for user: "%s"' % self.user)
raise Exception('No groups for user: "%s"' % self.user)
self.logit("Connect from %s: %s %s" %
(client[0], self.user, str(self.glist)))
#
# Check the certificate serial number. At the moment, the serial
# must match a certificate that is in the DB for that user. This
......@@ -178,9 +181,6 @@ class MyServer(SSL.ForkingSSLServer, SimpleXMLRPCDispatcher):
self.logit('No such cert with serial "%s"' % serial)
raise Exception('No such cert with serial "%s"' % serial)
self.logit("Connect from %s: %s %s" %
(client[0], self.user, str(self.glist)))
try:
os.setgid(self.glist[0])
os.setgroups(self.glist)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment