Beispiel #1
0
 def mkcred(self):
     import random
     import libs.rpc as rpc
     self.cred = rpc.AUTH_UNIX, rpc.make_auth_unix(random.randint(1,99999),\
                                                   "localhost", 0, 0, [])
     return self.cred
Beispiel #2
0
 def mkcred(self):
     self.cred = rpc.AUTH_UNIX, rpc.make_auth_unix(random.randint(1,99999),\
                                                   "localhost", 0, 0, [])
     return self.cred