From fe81465d23b4213069989626caacde2e3b204ea7 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 10 Feb 2014 09:19:22 -0500 Subject: [PATCH] Fix super unix socket access to work When root or the process owner comes into unix socket, they should be treated as always authorized. --- confluent/sockapi.py | 1 + 1 file changed, 1 insertion(+) diff --git a/confluent/sockapi.py b/confluent/sockapi.py index 5eb1b429..f3436b1e 100644 --- a/confluent/sockapi.py +++ b/confluent/sockapi.py @@ -43,6 +43,7 @@ class ClientConsole(object): def sessionhdl(connection, authname): # For now, trying to test the console stuff, so let's just do n4. authenticated = False + authdata = None if authname and isinstance(authname, bool): authenticated = True cfm = configmanager.ConfigManager(tenant=None)