Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • C cern-get-keytab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Jira
    • Jira
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • linuxsupportlinuxsupport
  • rpmsrpms
  • cern-get-keytab
  • Merge requests
  • !12

bugfix: do not attempt to parse a corrupt keytab

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Ben Morrice requested to merge corruptkeytab into master May 20, 2021
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 1
  • This commit avoids the following:
[root@teigiben99 ~]# touch /etc/httpd/conf//HTTP.keytab
[root@teigiben99 ~]# /usr/sbin/cern-get-keytab --isolate --keytab
/etc/httpd/conf//HTTP.keytab --service HTTP --force --verbose
Found KDC: cerndc44.cern.ch
Setting up temporary Kerberos config file
Initializing Kerberos client
Authenticating using keytab file.
using keytab file name: /etc/httpd/conf//HTTP.keytab
resolving credentials cache (MEMORY:cgkccache100611).
resolving keytab file /etc/httpd/conf//HTTP.keytab
scanning keytab file for principal name
cursor is not of type krb5_kt_cursorPtr at /usr/sbin/cern-get-keytab
line 362.
Edited May 20, 2021 by Ben Morrice
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: corruptkeytab