From: Daniel KouĊ™il Date: Mon, 21 Mar 2005 12:31:29 +0000 (+0000) Subject: Proxies with VOMS attributes are always stored as a separate record in the DB X-Git-Tag: glite-security-proxyrenewal_R_1_0_10~7 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=3d4e3402827d9c3e526df51eb2b497c26e6e51b6;p=jra1mw.git Proxies with VOMS attributes are always stored as a separate record in the DB --- diff --git a/org.glite.security.proxyrenewal/src/commands.c b/org.glite.security.proxyrenewal/src/commands.c index 074d734..538f27c 100644 --- a/org.glite.security.proxyrenewal/src/commands.c +++ b/org.glite.security.proxyrenewal/src/commands.c @@ -570,8 +570,14 @@ get_record_ext(FILE *fd, proxy_record *record, int *last_used_suffix) return 0; } + /* Proxies with VOMS attributes require a separate record, which is not + * shared with another proxies. The same applies it the unique flag was + * set by the caller */ + if (record->voms_exts || record->unique) + continue; + if (tmp_record.jobids.len > 0 && record->myproxy_server && - strcmp(record->myproxy_server, tmp_record.myproxy_server) != 0) + strcmp(record->myproxy_server, tmp_record.myproxy_server) != 0 && continue; if (tmp_record.jobids.len > 0 &&