X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Fbutc%2Ftcprocs.c;h=c51b1f14d2149c7b7680c76d8b75497f1c1166f8;hp=7f0e40c86e8d6b9d45f8dff546dd40e5bbf3da59;hb=736364f1e3426b7b15836cd95ce25f0e516ce3f2;hpb=c43169fd36348783b1a5a55c5bb05317e86eef82 diff --git a/src/butc/tcprocs.c b/src/butc/tcprocs.c index 7f0e40c..c51b1f1 100644 --- a/src/butc/tcprocs.c +++ b/src/butc/tcprocs.c @@ -62,12 +62,12 @@ int callPermitted(struct rx_call *call) { /* - * Before this code can be used, the rx connection, on the bucoord side, - * must be changed so that it will set up for token passing instead of - * using a simple rx connection that, below, returns a value of - * RX_SECIDX_NULL from rx_SecurityClassOf. + * If in backwards compat mode, allow anyone; otherwise, only + * superusers are allowed. */ - return 1; + if (allow_unauth) + return 1; + return afsconf_SuperIdentity(butc_confdir, call, NULL); } /* -----------------------------