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:
8e8a5e8
)
- do not end with strange edg_wll_gss_read() error when cert/key file is not
author
Miloš Mulač
<mulac@civ.zcu.cz>
Mon, 31 Jul 2006 12:34:53 +0000
(12:34 +0000)
committer
Miloš Mulač
<mulac@civ.zcu.cz>
Mon, 31 Jul 2006 12:34:53 +0000
(12:34 +0000)
owned by process owner
- print descriptive error message on server side
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
cd9920c
..
cd52c97
100644
(file)
--- a/
org.glite.lb.server/src/lb_authz.c
+++ b/
org.glite.lb.server/src/lb_authz.c
@@
-203,7
+203,10
@@
edg_wll_SetVomsGroups(edg_wll_Context ctx, edg_wll_GssConnection *gss, char *ser
ret = get_peer_cred(gss, server_cert, server_key, &p_chain, &cert);
if (ret) {
- ret = 0;
+// ret = 0;
+// XXX (MM): I do not know whether this error may be triggered by other
+// bugs too... The error message may be incomplete.
+ edg_wll_SetError(ctx, errno, "cert/key file not owned by process owner?");
goto end;
}