-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure GPO URLs contain the FQDN of the controller
This is the main driver for the changes in the previous commits. The way this behavior worked in the past is that we would use the URL returned in the gPCFileSysPath field without any changes. This introduced an inconsistency that went unobserved until recently. Namely, we would get the list of GPOs using the FQDN of the domain controller (e.g. adc.example.com), whereas the list of GPO URLs only included the domain name (e.g. example.com). This meant that when downloading the actual GPO data, libsmbclient would try to autodiscover a domain controller from which to perform the download, given only the domain name. In some cases, especially complicated AD deployments with lots of DCs, libsmbclient could autoresolve to an unhealthy DC (we take unhealthy to mean any DC from which GPO files cannot be downloaded, regardless of reason). This would fail the GPO download with a cryptic "invalid argument" error. Besides the chance of the above happening, autodiscovery also takes longer as opposed to passing a valid DC FQDN to libsmbclient from the start. To fix this, we rewrite the GPO URL in the gPCFileSysPath field to include the FQDN of the domain controller which essentially ensures the DC we get the GPO list from, and the DC we download the GPO data from are the same, minimizing the chance of mismatches like this occurring. This has some drawbacks in the integration tests where we set up a real SMB share and download from it, so we need to ensure the mocked server URL is the actual SMB server. Fixes #733 / UDENG-843
- Loading branch information
1 parent
190c447
commit b2bc50e
Showing
40 changed files
with
76 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
internal/ad/backends/winbind/testdata/TestWinbind/golden/error_when_domain_is_offline
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
internal/ad/backends/winbind/testdata/TestWinbind/golden/error_when_getting_online_status
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
internal/ad/backends/winbind/testdata/TestWinbind/golden/error_when_requesting_krb5cc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
internal/ad/backends/winbind/testdata/TestWinbind/golden/lookup_is_successful
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...backends/winbind/testdata/TestWinbind/golden/lookup_with_different_hostname_is_successful
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
internal/ad/backends/winbind/testdata/TestWinbind/golden/lookup_with_overridden_ad_domain
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
RnDDepBlockInheritance GPO smb://localhost:1445/SYSVOL/gpoonly.com/Policies/RnDDepBlockInheritance_GPO | ||
RnDDepBlockInheritance GPO smb://ldap_url/SYSVOL/gpoonly.com/Policies/RnDDepBlockInheritance_GPO |
6 changes: 3 additions & 3 deletions
6
internal/ad/testdata/TestAdsysGPOList/golden/computers_truncated_at_15_characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Searching for account failed with: Failed to find account hostnameWithTruncatedLongName | ||
ITDep1 GPO smb://localhost:1445/SYSVOL/gpoonly.com/Policies/ITDep1_GPO | ||
IT GPO smb://localhost:1445/SYSVOL/gpoonly.com/Policies/IT_GPO | ||
Default Domain Policy smb://localhost:1445/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} | ||
ITDep1 GPO smb://ldap_url/SYSVOL/gpoonly.com/Policies/ITDep1_GPO | ||
IT GPO smb://ldap_url/SYSVOL/gpoonly.com/Policies/IT_GPO | ||
Default Domain Policy smb://ldap_url/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
RnDDep3 GPO smb://localhost:1445/SYSVOL/gpoonly.com/Policies/RnDDep3_GPO | ||
RnD GPO smb://localhost:1445/SYSVOL/gpoonly.com/Policies/RnD_GPO | ||
Default Domain Policy smb://localhost:1445/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} | ||
RnDDep3 GPO smb://ldap_url/SYSVOL/gpoonly.com/Policies/RnDDep3_GPO | ||
RnD GPO smb://ldap_url/SYSVOL/gpoonly.com/Policies/RnD_GPO | ||
Default Domain Policy smb://ldap_url/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} |
4 changes: 2 additions & 2 deletions
4
internal/ad/testdata/TestAdsysGPOList/golden/filter_machine_only_gpos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
RnD GPO smb://localhost:1445/SYSVOL/gpoonly.com/Policies/RnD_GPO | ||
Default Domain Policy smb://localhost:1445/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} | ||
RnD GPO smb://ldap_url/SYSVOL/gpoonly.com/Policies/RnD_GPO | ||
Default Domain Policy smb://ldap_url/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} |
4 changes: 2 additions & 2 deletions
4
internal/ad/testdata/TestAdsysGPOList/golden/filter_user_only_gpos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
IT GPO smb://localhost:1445/SYSVOL/gpoonly.com/Policies/IT_GPO | ||
Default Domain Policy smb://localhost:1445/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} | ||
IT GPO smb://ldap_url/SYSVOL/gpoonly.com/Policies/IT_GPO | ||
Default Domain Policy smb://ldap_url/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} |
6 changes: 3 additions & 3 deletions
6
internal/ad/testdata/TestAdsysGPOList/golden/forced_gpo_and_blocked_inheritance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
RnDDep2 Forced GPO smb://localhost:1445/SYSVOL/gpoonly.com/Policies/RnDDep2_Forced_GPO | ||
SubBlocked GPO smb://localhost:1445/SYSVOL/gpoonly.com/Policies/SubBlocked_GPO | ||
SubDep2BlockInheritance GPO smb://localhost:1445/SYSVOL/gpoonly.com/Policies/SubDep2BlockInheritance_GPO | ||
RnDDep2 Forced GPO smb://ldap_url/SYSVOL/gpoonly.com/Policies/RnDDep2_Forced_GPO | ||
SubBlocked GPO smb://ldap_url/SYSVOL/gpoonly.com/Policies/SubBlocked_GPO | ||
SubDep2BlockInheritance GPO smb://ldap_url/SYSVOL/gpoonly.com/Policies/SubDep2BlockInheritance_GPO |
10 changes: 5 additions & 5 deletions
10
internal/ad/testdata/TestAdsysGPOList/golden/forced_gpo_are_first_by_reverse_order
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
RnDDep2 Forced GPO smb://localhost:1445/SYSVOL/gpoonly.com/Policies/RnDDep2_Forced_GPO | ||
SubDep2ForcedPolicy Forced GPO smb://localhost:1445/SYSVOL/gpoonly.com/Policies/SubDep2ForcedPolicy_Forced_GPO | ||
RnDDep2 GPO smb://localhost:1445/SYSVOL/gpoonly.com/Policies/RnDDep2_GPO | ||
RnD GPO smb://localhost:1445/SYSVOL/gpoonly.com/Policies/RnD_GPO | ||
Default Domain Policy smb://localhost:1445/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} | ||
RnDDep2 Forced GPO smb://ldap_url/SYSVOL/gpoonly.com/Policies/RnDDep2_Forced_GPO | ||
SubDep2ForcedPolicy Forced GPO smb://ldap_url/SYSVOL/gpoonly.com/Policies/SubDep2ForcedPolicy_Forced_GPO | ||
RnDDep2 GPO smb://ldap_url/SYSVOL/gpoonly.com/Policies/RnDDep2_GPO | ||
RnD GPO smb://ldap_url/SYSVOL/gpoonly.com/Policies/RnD_GPO | ||
Default Domain Policy smb://ldap_url/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} |
2 changes: 1 addition & 1 deletion
2
...stdata/TestAdsysGPOList/golden/krb5ccname_without_file_is_supported_by_the_samba_bindings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Default Domain Policy smb://localhost:1445/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} | ||
Default Domain Policy smb://ldap_url/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} |
6 changes: 3 additions & 3 deletions
6
internal/ad/testdata/TestAdsysGPOList/golden/long_computer_name,_not_truncated
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
ITDep1 GPO smb://localhost:1445/SYSVOL/gpoonly.com/Policies/ITDep1_GPO | ||
IT GPO smb://localhost:1445/SYSVOL/gpoonly.com/Policies/IT_GPO | ||
Default Domain Policy smb://localhost:1445/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} | ||
ITDep1 GPO smb://ldap_url/SYSVOL/gpoonly.com/Policies/ITDep1_GPO | ||
IT GPO smb://ldap_url/SYSVOL/gpoonly.com/Policies/IT_GPO | ||
Default Domain Policy smb://ldap_url/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
ITDep1 GPO smb://localhost:1445/SYSVOL/gpoonly.com/Policies/ITDep1_GPO | ||
IT GPO smb://localhost:1445/SYSVOL/gpoonly.com/Policies/IT_GPO | ||
Default Domain Policy smb://localhost:1445/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} | ||
ITDep1 GPO smb://ldap_url/SYSVOL/gpoonly.com/Policies/ITDep1_GPO | ||
IT GPO smb://ldap_url/SYSVOL/gpoonly.com/Policies/IT_GPO | ||
Default Domain Policy smb://ldap_url/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} |
8 changes: 4 additions & 4 deletions
8
internal/ad/testdata/TestAdsysGPOList/golden/multiple_gpos_in_same_ou
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
RnDDep1 GPO1 smb://localhost:1445/SYSVOL/gpoonly.com/Policies/RnDDep1_GPO1 | ||
RnDDep1 GPO2 smb://localhost:1445/SYSVOL/gpoonly.com/Policies/RnDDep1_GPO2 | ||
RnD GPO smb://localhost:1445/SYSVOL/gpoonly.com/Policies/RnD_GPO | ||
Default Domain Policy smb://localhost:1445/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} | ||
RnDDep1 GPO1 smb://ldap_url/SYSVOL/gpoonly.com/Policies/RnDDep1_GPO1 | ||
RnDDep1 GPO2 smb://ldap_url/SYSVOL/gpoonly.com/Policies/RnDDep1_GPO2 | ||
RnD GPO smb://ldap_url/SYSVOL/gpoonly.com/Policies/RnD_GPO | ||
Default Domain Policy smb://ldap_url/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} |
2 changes: 1 addition & 1 deletion
2
internal/ad/testdata/TestAdsysGPOList/golden/no_@_in_user_name_returns_the_same_thing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Default Domain Policy smb://localhost:1445/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} | ||
Default Domain Policy smb://ldap_url/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} |
2 changes: 1 addition & 1 deletion
2
internal/ad/testdata/TestAdsysGPOList/golden/no_gpo_on_ou_-_bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Default Domain Policy smb://localhost:1445/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} | ||
Default Domain Policy smb://ldap_url/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} |
2 changes: 1 addition & 1 deletion
2
internal/ad/testdata/TestAdsysGPOList/golden/no_gpo_on_ou_-_string
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Default Domain Policy smb://localhost:1445/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} | ||
Default Domain Policy smb://ldap_url/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} |
4 changes: 2 additions & 2 deletions
4
internal/ad/testdata/TestAdsysGPOList/golden/no_gpoptions_fallbacks_to_0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
NogPOptions GPO smb://localhost:1445/SYSVOL/gpoonly.com/Policies/NogPOptions_GPO | ||
Default Domain Policy smb://localhost:1445/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} | ||
NogPOptions GPO smb://ldap_url/SYSVOL/gpoonly.com/Policies/NogPOptions_GPO | ||
Default Domain Policy smb://ldap_url/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} |
4 changes: 2 additions & 2 deletions
4
internal/ad/testdata/TestAdsysGPOList/golden/return_hierarchy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
RnD GPO smb://localhost:1445/SYSVOL/gpoonly.com/Policies/RnD_GPO | ||
Default Domain Policy smb://localhost:1445/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} | ||
RnD GPO smb://ldap_url/SYSVOL/gpoonly.com/Policies/RnD_GPO | ||
Default Domain Policy smb://ldap_url/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Default Domain Policy smb://localhost:1445/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} | ||
Default Domain Policy smb://ldap_url/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} |
4 changes: 2 additions & 2 deletions
4
...rnal/ad/testdata/TestAdsysGPOList/golden/security_descriptor_accepted_is_for_another_user
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
RnD GPO smb://localhost:1445/SYSVOL/gpoonly.com/Policies/RnD_GPO | ||
Default Domain Policy smb://localhost:1445/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} | ||
RnD GPO smb://ldap_url/SYSVOL/gpoonly.com/Policies/RnD_GPO | ||
Default Domain Policy smb://ldap_url/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} |
4 changes: 2 additions & 2 deletions
4
internal/ad/testdata/TestAdsysGPOList/golden/security_descriptor_access_denied_ignores_gpo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
RnD GPO smb://localhost:1445/SYSVOL/gpoonly.com/Policies/RnD_GPO | ||
Default Domain Policy smb://localhost:1445/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} | ||
RnD GPO smb://ldap_url/SYSVOL/gpoonly.com/Policies/RnD_GPO | ||
Default Domain Policy smb://ldap_url/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} |
4 changes: 2 additions & 2 deletions
4
internal/ad/testdata/TestAdsysGPOList/golden/security_descriptor_missing_ignores_gpo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Failed to fetch gpo object with nTSecurityDescriptor RnDDep4_Security_descriptor_missing_GPO | ||
|
||
RnD GPO smb://localhost:1445/SYSVOL/gpoonly.com/Policies/RnD_GPO | ||
Default Domain Policy smb://localhost:1445/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} | ||
RnD GPO smb://ldap_url/SYSVOL/gpoonly.com/Policies/RnD_GPO | ||
Default Domain Policy smb://ldap_url/SYSVOL/gpoonly.com/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9} |