Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • O OpenLDAP
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Bugzilla
    • Bugzilla
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • openldap
  • OpenLDAP
  • Merge requests
  • !55

Short-circuit MIT setup if krb5kdc not installed

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Ryan Tandy requested to merge ryan/openldap:skip_missing_kdc into master Apr 26, 2020
  • Overview 2
  • Commits 1
  • Pipelines 5
  • Changes 1

On a system with some MIT utils installed but no KDC, the script went all the way down the MIT branch and only failed at kinit, by which time KDCPROC had been initialized to something invalid.

Let's short-circuit before it gets that far.

@iboukris please sanity check... is noting the Heimdal version valuable or was that there just for testing whether kdc is executable?

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: skip_missing_kdc