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:
2a00383
)
FIT IoT-Lab - fixed create user on the fly if coming from trusted Federation
author
Loic Baron
<loic.baron@lip6.fr>
Mon, 22 May 2017 14:17:26 +0000
(16:17 +0200)
committer
Loic Baron
<loic.baron@lip6.fr>
Mon, 22 May 2017 14:17:26 +0000
(16:17 +0200)
sfa/iotlab/iotlabshell.py
patch
|
blob
|
history
diff --git
a/sfa/iotlab/iotlabshell.py
b/sfa/iotlab/iotlabshell.py
index
363e4b5
..
ac60097
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].replace(':','.')
email = (email.split('@'))[0]
user['firstName'] = email.split('.')[0]
try: