From 769c8eaded6f8e09fc1402967849c6feb50779f2 Mon Sep 17 00:00:00 2001 From: Anil-Kumar Vengalil Date: Thu, 9 Jul 2009 17:16:26 +0000 Subject: [PATCH] more verbose on previous commit --- sfa/plc/slices.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sfa/plc/slices.py b/sfa/plc/slices.py index 20d88a45..59e8c559 100644 --- a/sfa/plc/slices.py +++ b/sfa/plc/slices.py @@ -187,6 +187,11 @@ class Slices(SimpleStorage): # Create the person record if not persons: person_id=self.api.plshell.AddPerson(self.api.plauth, person_dict) + + # The line below enables the user account on the remote aggregate soon after it is created. + # without this the user key is not transfered to the slice (as GetSlivers returns key of only enabled users), + # which prevents the user from login to the slice. We may do additional checks before enabling the user. + self.api.plshell.UpdatePerson(self.api.plauth, person_id, {'enabled' : True}) key_ids = [] else: -- 2.47.0