Skip to content

fix trust relation for smb#510

Merged
mpgn merged 1 commit into
mainfrom
fix_kerberos_trust
Dec 19, 2024
Merged

fix trust relation for smb#510
mpgn merged 1 commit into
mainfrom
fix_kerberos_trust

Conversation

@mpgn

@mpgn mpgn commented Dec 18, 2024

Copy link
Copy Markdown
Collaborator

Description

This PR fix the trust relation between two AD (it was broken)

The fix is very simple, self.remoteName need to be equal to {self.hostname}.{self.targetDomain} and not {self.hostname}.{self.domain} as your domain is not the same as your target domain (since it's a trust)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Tested against GOAD lab

image

Checklist:

  • I have ran Ruff against my changes (via poetry: poetry run python -m ruff check . --preview, use --fix to automatically fix what it can)
  • My code follows the style guidelines of this project (should be covered by Ruff above)

@mpgn mpgn added the bug-fix This Pull Request fixes a bug label Dec 18, 2024

@NeffIsBack NeffIsBack left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mpgn mpgn merged commit d05aeb5 into main Dec 19, 2024
@mpgn mpgn deleted the fix_kerberos_trust branch December 19, 2024 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix This Pull Request fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants