none
当安装Exchange2010的信箱角色时的解析错误, 错在哪里? RRS feed

  • 问题

  • 信箱角色
    失敗

    錯誤:
    執行 "$error.Clear();
              $name = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxUniqueName;
              $dispname = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxDisplayName;
              $dismbx = get-mailbox -Filter {name -eq $name} -IgnoreDefaultScope -resultSize 1;
              if( $dismbx -ne $null)
              {
                $srvname = $dismbx.ServerName;
                if( $dismbx.Database -ne $null -and $RoleFqdnOrName -like "$srvname.*" )
                {
                  Write-ExchangeSetupLog -info "Setup DiscoverySearchMailbox Permission.";
                  $mountedMdb = get-mailboxdatabase $dismbx.Database -status | where { $_.Mounted -eq $true };
                  if( $mountedMdb -eq $null )
                  {
                    Write-ExchangeSetupLog -info "Mounting database before stamp DiscoverySearchMailbox Permission...";
                    mount-database $dismbx.Database;
                  }

                  $mountedMdb = get-mailboxdatabase $dismbx.Database -status | where { $_.Mounted -eq $true };
                  if( $mountedMdb -ne $null )
                  {
                    $dmRoleGroupGuid = [Microsoft.Exchange.Data.Directory.Management.RoleGroup]::DiscoveryManagementWkGuid;
                    $dmRoleGroup = Get-RoleGroup -Identity $dmRoleGroupGuid -DomainController $RoleDomainController -ErrorAction:SilentlyContinue;
                    if( $dmRoleGroup -ne $null )
                    {
                      Add-MailboxPermission $dismbx -User $dmRoleGroup.Identity -AccessRights FullAccess -DomainController $RoleDomainController -WarningAction SilentlyContinue;
                    }
                  }
                }
              }
            " 時,產生下列錯誤: "無法解析使用者或群組  mydomain.com/Microsoft Exchange Security Groups/Discovery Management。 如果使用者或群組是外部樹系主體,您就必須要有雙向信任或連出信任。"。

    無法解析使用者或群組 mydomian.com/Microsoft Exchange Security Groups/Discovery Management。 如果使用者或群組是外部樹系主體,您就必須要有雙向信任或連出信任。

    主要網域和受信任網域間的信任關係失敗。

    2015年9月10日 5:20

全部回复