Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipatests: add check for output contents of ipa-client-samba #4164

Closed
wants to merge 1 commit into from

Conversation

wladich
Copy link

@wladich wladich commented Jan 28, 2020

Check that ipa-client-samba tool reports specific properties of domains:
name, netbios name, sid and id range

Related to https://pagure.io/freeipa/issue/8149

domain_regexp_tpl = r'''
Domain\ name:\s*{domain}\n
\s*NetBIOS\ name:\s*{netbios}\n
\s*SID:\s+S-1-5-\d+-\d+-\d+-\d+\n
Copy link
Contributor

@abbra abbra Jan 28, 2020

Choose a reason for hiding this comment

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

Please check for S-1-5-21-<domain> here. (21 is important). See https://support.microsoft.com/en-us/help/243330/well-known-security-identifiers-in-windows-operating-systemsfor details.

Copy link
Author

Choose a reason for hiding this comment

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

fixed

@wladich wladich force-pushed the check-smb-output branch 6 times, most recently from 8c6a30f to 84c91f8 Compare January 29, 2020 10:54
Check that ipa-client-samba  tool reports specific properties of domains:
name, netbios name, sid and id range

Related to https://pagure.io/freeipa/issue/8149
@wladich wladich added needs review Pull Request is waiting for a review ipa-4-8 Mark for backport to ipa 4.8 labels Jan 29, 2020
@wladich
Copy link
Author

wladich commented Jan 29, 2020

@abbra Please review

@abbra
Copy link
Contributor

abbra commented Jan 29, 2020

LGTM. ACK.

@abbra abbra added ack Pull Request approved, can be merged and removed needs review Pull Request is waiting for a review labels Jan 29, 2020
@wladich
Copy link
Author

wladich commented Jan 30, 2020

Removed temp commit, waiting for tests

@flo-renaud flo-renaud added the pushed Pull Request has already been pushed label Jan 30, 2020
@flo-renaud
Copy link
Contributor

master:

  • 15fd366 ipatests: add check for output contents of ipa-client-samba

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged ipa-4-8 Mark for backport to ipa 4.8 pushed Pull Request has already been pushed
Projects
None yet
4 participants