git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1463504
)
build with gridsite 1.5 (maybe even work :-)
author
Aleš Křenek
<ljocha@ics.muni.cz>
Tue, 25 Nov 2008 16:24:24 +0000
(16:24 +0000)
committer
Aleš Křenek
<ljocha@ics.muni.cz>
Tue, 25 Nov 2008 16:24:24 +0000
(16:24 +0000)
org.glite.lb.server/src/lb_authz.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.server/src/lb_authz.c
b/org.glite.lb.server/src/lb_authz.c
index
cc1b2f0
..
a0f9644
100644
(file)
--- a/
org.glite.lb.server/src/lb_authz.c
+++ b/
org.glite.lb.server/src/lb_authz.c
@@
-312,12
+312,8
@@
cmp_gacl_names(GRSTgaclNamevalue *n1, GRSTgaclNamevalue *n2)
static int
cmp_gacl_creds(GRSTgaclCred *c1, GRSTgaclCred *c2)
{
- if (strcmp(c1->type, c2->type) != 0)
- return 0;
-
- return cmp_gacl_names(c1->firstname, c2->firstname);
- /* we support only "simple" entries containing only one credential (DN or
- * VOMS group */
+ /* XXX the GRSTgaclCred contains a bit more information to handle */
+ return (strcmp(c1->auri, c2->auri) != 0);
}
static int