Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
58e4344c
Commit
58e4344c
authored
19 years ago
by
Benjamin Couturier
Committed by
Steven Murray
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Added security errors
parent
24966580
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
mediachanger/castorrmc/common/serror.c
+11
-9
11 additions, 9 deletions
mediachanger/castorrmc/common/serror.c
mediachanger/castorrmc/h/serrno.h
+3
-2
3 additions, 2 deletions
mediachanger/castorrmc/h/serrno.h
with
14 additions
and
11 deletions
mediachanger/castorrmc/common/serror.c
+
11
−
9
View file @
58e4344c
...
...
@@ -447,18 +447,20 @@ char *sys_monerrlist[EMONMAXERR - EMONBASEOFF +2] =
char
*
sys_secerrlist
[
ESECMAXERR
-
ESECBASEOFF
+
2
]
=
{
"Error 0"
,
"System error"
,
"Bad credentials"
,
"Could not establish context"
,
"Bad magic number"
,
"Could not map username to uid/gid"
,
"Could not map principal to username"
,
"Could not load security mechanism"
,
"Context not initialized"
,
"Security protocol not supported"
,
"Bad credentials"
,
"Could not establish context"
,
"Bad magic number"
,
"Could not map username to uid/gid"
,
"Could not map principal to username"
,
"Could not load security mechanism"
,
"Context not initialized"
,
"Security protocol not supported"
,
"Could not set service name"
,
"Service type not set"
,
"Could not lookup security protocol"
,
"BAD ERROR NUMBER"
"Csec incompatibility"
,
"Unexpected response from peer"
,
"BAD ERROR NUMBER"
};
...
...
This diff is collapsed.
Click to expand it.
mediachanger/castorrmc/h/serrno.h
+
3
−
2
View file @
58e4344c
...
...
@@ -440,8 +440,9 @@
#define ESEC_NO_SVC_NAME ESECBASEOFF + 10
/* Service name not set */
#define ESEC_NO_SVC_TYPE ESECBASEOFF + 11
/* Service type not set */
#define ESEC_NO_SECPROT ESECBASEOFF + 12
/* Could not lookup security protocol */
#define ESECMAXERR ESECBASEOFF + 12
#define ESEC_BAD_CSEC_VERSION ESECBASEOFF + 13
/* Csec incompatability */
#define ESEC_BAD_PEER_RESP ESECBASEOFF + 14
/* Unexpected response from peer */
#define ESECMAXERR ESECBASEOFF + 14
/*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment