Skip to content

Commit

Permalink
secgsi: change server default for delegated proxy
Browse files Browse the repository at this point in the history
If not specified refuse any proxy delegation.
  • Loading branch information
gganis committed Jun 19, 2018
1 parent f223743 commit e7feb10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/XrdSecgsi/XrdSecProtocolgsi.cc
Expand Up @@ -2561,7 +2561,7 @@ char *XrdSecProtocolgsiInit(const char mode,
int ogmap = 1;
int gmapto = 600;
int authzto = -1;
int dlgpxy = 0;
int dlgpxy = -1;
int authzpxy = 0;
int vomsat = 1;
int moninfo = 0;
Expand Down Expand Up @@ -2648,7 +2648,7 @@ char *XrdSecProtocolgsiInit(const char mode,
opts.ogmap = ogmap;
opts.gmapto = gmapto;
opts.authzto = authzto;
opts.dlgpxy = dlgpxy;
opts.dlgpxy = (dlgpxy >= -1 && dlgpxy <= 1) ? dlgpxy : -1;
opts.authzpxy = authzpxy;
opts.vomsat = vomsat;
opts.moninfo = moninfo;
Expand Down

0 comments on commit e7feb10

Please sign in to comment.