Browse Source

pass -u to b10-auth

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac268@2526 e5f2f494-b856-4b98-b285-d166d9295462
JINMEI Tatuya 14 years ago
parent
commit
fdbb3b8307
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/bin/bind10/bind10.py.in

+ 2 - 0
src/bin/bind10/bind10.py.in

@@ -336,6 +336,8 @@ class BoB:
             authargs += ['-a', str(self.address)]
             authargs += ['-a', str(self.address)]
         if self.nocache:
         if self.nocache:
             authargs += ['-n']
             authargs += ['-n']
+        if self.uid:
+            authargs += ['-u', str(self.uid)]
         if self.verbose:
         if self.verbose:
             authargs += ['-v']
             authargs += ['-v']
             sys.stdout.write("Starting b10-auth using port %d" %
             sys.stdout.write("Starting b10-auth using port %d" %