Mostrando postagens com marcador Lync. Mostrar todas as postagens
Mostrando postagens com marcador Lync. Mostrar todas as postagens

quarta-feira, 29 de outubro de 2014

Usefull tools: Err.exe (Microsoft Exchange Server Error Code Look-up)

The tool "Microsoft Exchange Server Error Code Look-up" to the contrary to what the name suggests serves to decipher almost any error code.



Here as an example the utilization of the tool deciphering the classic COM error 0x80070005 (Access is denied):

c:\err.exe 0x80070005
# for hex 0x80070005 / decimal -2147024891 :
  COR_E_UNAUTHORIZEDACCESS              corerror.h
# MessageText:
# Access is denied.
  DIERR_OTHERAPPHASPRIO                        dinput.h
  DIERR_READONLY                                          dinput.h
  DIERR_HANDLEEXISTS                                 dinput.h
  DSERR_ACCESSDENIED                             dsound.h
  ecAccessDenied                                               ec.h
  ecPropSecurityViolation                                    ec.h
  MAPI_E_NO_ACCESS                                    mapicode.h
  STIERR_READONLY                                        stierr.h
  STIERR_NOTINITIALIZED                                 stierr.h
  E_ACCESSDENIED                                         winerror.h
# General access denied error
# 11 matches found for "0x80070005"

It returns codes from 172 sources such as SQL, AD, Exchange and so on.

Code sources

Description:



Use the Error Code Lookup tool to determine error values from decimal and hexadecimal error codes in Microsoft Windows® operating systems. The tool can look up one or more values at a time. All values on the command line will be looked up in Exchange’s internal tables and presented to you. If available, informational data associated with the value or values will also be shown.

Microsoft Exchange Server Error Code Look-up
Original Post

terça-feira, 20 de maio de 2014

Ferramentas úteis: Err.exe (Microsoft Exchange Server Error Code Look-up)

A ferramenta "Microsoft Exchange Server Error Code Look-up" em contrário do que o nome sugere serve para decifrar praticamente qualquer código de erro.



Aqui como exemplo a utilização da ferramenta para decifrar o código de erro clássico COM 0x80070005 (Access is denied):

c:\err.exe 0x80070005
# for hex 0x80070005 / decimal -2147024891 :
  COR_E_UNAUTHORIZEDACCESS              corerror.h
# MessageText:
# Access is denied.
  DIERR_OTHERAPPHASPRIO                        dinput.h
  DIERR_READONLY                                          dinput.h
  DIERR_HANDLEEXISTS                                 dinput.h
  DSERR_ACCESSDENIED                             dsound.h
  ecAccessDenied                                               ec.h
  ecPropSecurityViolation                                    ec.h
  MAPI_E_NO_ACCESS                                    mapicode.h
  STIERR_READONLY                                        stierr.h
  STIERR_NOTINITIALIZED                                 stierr.h
  E_ACCESSDENIED                                         winerror.h
# General access denied error
# 11 matches found for "0x80070005"

Microsoft Exchange Server Error Code Look-up

segunda-feira, 3 de março de 2014

SharePoint 2013 e OAuth - Uma visão geral

OAuth é um standard web para gerenciar permissões e configurações de segurança 

OAuth é um standard web para gerenciar permissões e configurações de segurança na comunicação interna e para módulos como Apps e serviços. O standard também é usado pela Google, Facebook e Twitter.
O uso da encriptação SSL é altamente recomendado para um ambiente de produção.

Simplificando: O protocolo OAuth é utilizado no SharePoint para autenticar e autorizar Apps e Serviços.

OAuth em implementações "on-premises"

SharePoint 2013, Exchange 2013,  e Lync Server 2013 não necessitam de um servidor de autenticação em uma implementação "on-premises" para emitir tokens. Cada uma destas aplicações gera tokens auto-assinados para acessar os recursos fornecidos por outras aplicações.

A aplicação que fornece acesso aos recursos, como por exemplo SharePoint 2013, precisa confiar nos tokens auto-assinados apresentados pelo aplicativo que fez a chamada. O SharePoint 2013, Exchange 2013 e o Lync Server 2013 publicam o xml de metadados de autorização nos seguintes URLs.



SharePoint 2013 - https://<serverfqdn>/_layouts/15/metadata/json/1
Exchange 2013 - https://<serverfqdn>/autodiscover/metadata/json/1
Lync Server 2013 - https://<serverfqdn>/metadata/json/1

[MS-XOAUTH]: OAuth 2.0 Authorization Protocol Extensions
OAuth.net and Web Authorization Protocol (oauth).
Authorization and authentication for apps in SharePoint 2013
Setting Up an oAuth Trust Between Farms in SharePoint 2013
OAuth authentication and authorization flow for apps that ask for access permissions on the fly in SharePoint 2013 (advanced topic)