Skip to content

IPC_GTIL_FLAG_DEFAULT_SERVER_ONLY value ProtectWithAdHocPolicy in AzureIP_test.Iprotect  #34

@mohanse

Description

@mohanse

For EU tenant when connectioninfo is provided to IpcGetTemplateIssuerList (line no 286 ) in ProtectWithAdHocPolicy, "thedefaultServer" flag server should be "false" as per https://docs.microsoft.com/en-us/previous-versions/windows/desktop/msipc/ipcgettemplateissuerlist. It should be:

                                             Collection<TemplateIssuer> templateIssuers = SafeNativeMethods
                                                .IpcGetTemplateIssuerList(
                                                    connectionInfo,
                                                    false,
                                                    true,
                                                    false, true, null, symmetricKeyCredential); 

In the sample, "thedefaultServer" flag server is set to "true", which throws invalid parameter exception

286 Collection templateIssuers = SafeNativeMethods
287 .IpcGetTemplateIssuerList(
288 connectionInfo,
289 true,
290 false,
291 false, true, null, symmetricKeyCredential);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions