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:
60e5f6d
)
Bugfix related to testing hrns with senslab authority. NT
author
Nicolas Turro
<Nicolas.Turro@inria.fr>
Thu, 27 Oct 2011 15:37:22 +0000
(17:37 +0200)
committer
Nicolas Turro
<Nicolas.Turro@inria.fr>
Thu, 27 Oct 2011 15:39:44 +0000
(17:39 +0200)
sfa/senslab/LDAPapi.py
patch
|
blob
|
history
diff --git
a/sfa/senslab/LDAPapi.py
b/sfa/senslab/LDAPapi.py
index
84528e7
..
044ecc4
100644
(file)
--- a/
sfa/senslab/LDAPapi.py
+++ b/
sfa/senslab/LDAPapi.py
@@
-47,7
+47,7
@@
class LDAPapi :
ldapfilter="(|"
for hrn in hrns:
splited_hrn=hrn.split(".")
- if splited_hrn[0] !=
"SFA_REGISTRY_ROOT_AUTH"
:
+ if splited_hrn[0] !=
self.authname
:
print >>sys.stderr,"i know nothing about",hrn
else :
login=splited_hrn[1]
@@
-87,4
+87,4
@@
class LDAPapi :
'date_created' : 'none',
'last_updated': 'none'
} )
- return results
\ No newline at end of file
+ return results