Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
A
adcli
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 10
    • Issues 10
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • realmd
  • adcli
  • Issues
  • #22

Closed
Open
Created Sep 16, 2020 by Luiz Angelo Daros de Luca@luizluca

adcli update adding FQDN entries to keytab from not joined domain

Hello,

I migrate a machine from domain subdomain.example.com to example.com. Both trust each other but they do not belong to the same forest. I'm using adcli-0.9.0+git.0.1b152803

As long as mymachine entry exists inside subdomain.example.com AD, adcli is adding host\mymachine.subdomain.example.com to my keytab (although those entries are not really valid and colide with subdomain.example.com REALM).

# adcli update --domain=subdomain.example.com

I needed to remove mymachine object from subdomain.example.com AD in order to adcli correctly fail to update keytab.

Also, it seems that testjoin does not check if the machine is really joined to the target domain or if it is from a trusted domain. Both are sucessfully validated joins:

# adcli testjoin --domain=example.com
# adcli testjoin --domain=subdomain.example.com

Even after I removed the machine account. It should have failed even before I removed the object.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None