@@ -401,6 +401,7 @@ var pluginPackageMap = map[string]string{
401401 "libXrdHTTPServer" : "xrootd-s3-http" ,
402402 "libXrdOssGlobus" : "xrootd-s3-http" ,
403403 "libXrdPurgeLotMan" : "xrootd-lotman" ,
404+ "libXrdN2NPrefix" : "xrdcl-pelican" ,
404405}
405406
406407// pluginBaseName strips the extension from a plugin filename (e.g. "libXrdS3.so" -> "libXrdS3").
@@ -424,10 +425,8 @@ func ValidateRequiredPlugins(isOrigin bool, xrdConfig *XrootdConfig) error {
424425 missingPlugins := []string {}
425426
426427 if isOrigin {
427- // libXrdHttpPelican is required when drop privileges is enabled
428- if xrdConfig .Server .DropPrivileges {
429- checkAndAppendMissing (& missingPlugins , "libXrdHttpPelican.so" , false )
430- }
428+ // libXrdHttpPelican is always required for origins
429+ checkAndAppendMissing (& missingPlugins , "libXrdHttpPelican.so" , false )
431430
432431 // libXrdMacaroons is needed when macaroons are enabled
433432 if xrdConfig .Origin .EnableMacaroons {
@@ -456,6 +455,8 @@ func ValidateRequiredPlugins(isOrigin bool, xrdConfig *XrootdConfig) error {
456455 case "globus" :
457456 checkAndAppendMissing (& missingPlugins , "libXrdHTTPServer.so" , false )
458457 checkAndAppendMissing (& missingPlugins , "libXrdOssGlobus.so" , false )
458+ case "xroot" :
459+ checkAndAppendMissing (& missingPlugins , "libXrdN2NPrefix.so" , false )
459460 }
460461 } else {
461462 // Cache-specific checks
0 commit comments