git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
834c2d0
)
FIT IoT-Lab - create user on the fly if coming from trusted Federation
author
Loic Baron
<loic.baron@lip6.fr>
Mon, 22 May 2017 13:39:59 +0000
(15:39 +0200)
committer
Loic Baron
<loic.baron@lip6.fr>
Mon, 22 May 2017 13:39:59 +0000
(15:39 +0200)
sfa/iotlab/iotlabshell.py
patch
|
blob
|
history
diff --git
a/sfa/iotlab/iotlabshell.py
b/sfa/iotlab/iotlabshell.py
index
363e4b5
..
0b4a7c6
100644
(file)
--- a/
sfa/iotlab/iotlabshell.py
+++ b/
sfa/iotlab/iotlabshell.py
@@
-159,7
+159,7
@@
class IotLABShell(object):
user['email'] = email
user['sshPublicKey'] = slice_user['keys'][0]
# ex : onelab.inria
- user['structure'] = slice_user['
slice_record']['authority'
]
+ user['structure'] = slice_user['
urn'].split('+')[1
]
email = (email.split('@'))[0]
user['firstName'] = email.split('.')[0]
try: