From 3d4e3402827d9c3e526df51eb2b497c26e6e51b6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Kou=C5=99il?= Date: Mon, 21 Mar 2005 12:31:29 +0000 Subject: [PATCH] Proxies with VOMS attributes are always stored as a separate record in the DB --- org.glite.security.proxyrenewal/src/commands.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 && -- 1.8.2.3