FreeRDP
dsparse.h File Reference
#include <winpr/crt.h>
#include <winpr/winpr.h>
#include <winpr/wtypes.h>
#include <winpr/error.h>
This graph shows which files directly or indirectly include this file:

Data Structures

struct  DS_NAME_RESULT_ITEM
 
struct  DS_NAME_RESULT
 

Macros

#define DsMakeSpn   DsMakeSpnA
 
#define DsMakeSpn   DsMakeSpnA
 

Typedefs

typedef struct DS_NAME_RESULT_ITEMPDS_NAME_RESULT_ITEM
 
typedef struct DS_NAME_RESULTPDS_NAME_RESULT
 

Enumerations

enum  DS_NAME_FLAGS {
  DS_NAME_NO_FLAGS = 0x0 , DS_NAME_FLAG_SYNTACTICAL_ONLY = 0x1 , DS_NAME_FLAG_EVAL_AT_DC = 0x2 , DS_NAME_FLAG_GCVERIFY = 0x4 ,
  DS_NAME_FLAG_TRUST_REFERRAL = 0x8
}
 
enum  DS_NAME_FORMAT {
  DS_UNKNOWN_NAME = 0 , DS_FQDN_1779_NAME = 1 , DS_NT4_ACCOUNT_NAME = 2 , DS_DISPLAY_NAME = 3 ,
  DS_UNIQUE_ID_NAME = 6 , DS_CANONICAL_NAME = 7 , DS_USER_PRINCIPAL_NAME = 8 , DS_CANONICAL_NAME_EX = 9 ,
  DS_SERVICE_PRINCIPAL_NAME = 10 , DS_SID_OR_SID_HISTORY_NAME = 11 , DS_DNS_DOMAIN_NAME = 12
}
 
enum  DS_NAME_ERROR {
  DS_NAME_NO_ERROR = 0 , DS_NAME_ERROR_RESOLVING = 1 , DS_NAME_ERROR_NOT_FOUND = 2 , DS_NAME_ERROR_NOT_UNIQUE = 3 ,
  DS_NAME_ERROR_NO_MAPPING = 4 , DS_NAME_ERROR_DOMAIN_ONLY = 5 , DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING = 6 , DS_NAME_ERROR_TRUST_REFERRAL = 7
}
 
enum  DS_SPN_NAME_TYPE {
  DS_SPN_DNS_HOST = 0 , DS_SPN_DN_HOST = 1 , DS_SPN_NB_HOST = 2 , DS_SPN_DOMAIN = 3 ,
  DS_SPN_NB_DOMAIN = 4 , DS_SPN_SERVICE = 5
}
 

Functions

WINPR_API DWORD DsMakeSpnW (LPCWSTR ServiceClass, LPCWSTR ServiceName, LPCWSTR InstanceName, USHORT InstancePort, LPCWSTR Referrer, DWORD *pcSpnLength, LPWSTR pszSpn)
 
WINPR_API DWORD DsMakeSpnA (LPCSTR ServiceClass, LPCSTR ServiceName, LPCSTR InstanceName, USHORT InstancePort, LPCSTR Referrer, DWORD *pcSpnLength, LPSTR pszSpn)
 

Macro Definition Documentation

◆ DsMakeSpn [1/2]

#define DsMakeSpn   DsMakeSpnA

◆ DsMakeSpn [2/2]

#define DsMakeSpn   DsMakeSpnA

Typedef Documentation

◆ PDS_NAME_RESULT

typedef struct DS_NAME_RESULT * PDS_NAME_RESULT

◆ PDS_NAME_RESULT_ITEM

Enumeration Type Documentation

◆ DS_NAME_ERROR

Enumerator
DS_NAME_NO_ERROR 
DS_NAME_ERROR_RESOLVING 
DS_NAME_ERROR_NOT_FOUND 
DS_NAME_ERROR_NOT_UNIQUE 
DS_NAME_ERROR_NO_MAPPING 
DS_NAME_ERROR_DOMAIN_ONLY 
DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING 
DS_NAME_ERROR_TRUST_REFERRAL 

◆ DS_NAME_FLAGS

WinPR: Windows Portable Runtime Active Directory Domain Services Parsing Functions

Copyright 2012 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Enumerator
DS_NAME_NO_FLAGS 
DS_NAME_FLAG_SYNTACTICAL_ONLY 
DS_NAME_FLAG_EVAL_AT_DC 
DS_NAME_FLAG_GCVERIFY 
DS_NAME_FLAG_TRUST_REFERRAL 

◆ DS_NAME_FORMAT

Enumerator
DS_UNKNOWN_NAME 
DS_FQDN_1779_NAME 
DS_NT4_ACCOUNT_NAME 
DS_DISPLAY_NAME 
DS_UNIQUE_ID_NAME 
DS_CANONICAL_NAME 
DS_USER_PRINCIPAL_NAME 
DS_CANONICAL_NAME_EX 
DS_SERVICE_PRINCIPAL_NAME 
DS_SID_OR_SID_HISTORY_NAME 
DS_DNS_DOMAIN_NAME 

◆ DS_SPN_NAME_TYPE

Enumerator
DS_SPN_DNS_HOST 
DS_SPN_DN_HOST 
DS_SPN_NB_HOST 
DS_SPN_DOMAIN 
DS_SPN_NB_DOMAIN 
DS_SPN_SERVICE 

Function Documentation

◆ DsMakeSpnA()

WINPR_API DWORD DsMakeSpnA ( LPCSTR  ServiceClass,
LPCSTR  ServiceName,
LPCSTR  InstanceName,
USHORT  InstancePort,
LPCSTR  Referrer,
DWORD *  pcSpnLength,
LPSTR  pszSpn 
)
Here is the caller graph for this function:

◆ DsMakeSpnW()

WINPR_API DWORD DsMakeSpnW ( LPCWSTR  ServiceClass,
LPCWSTR  ServiceName,
LPCWSTR  InstanceName,
USHORT  InstancePort,
LPCWSTR  Referrer,
DWORD *  pcSpnLength,
LPWSTR  pszSpn 
)

WinPR: Windows Portable Runtime Active Directory Domain Services Parsing Functions

Copyright 2012 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. dsparse.dll:

DsCrackSpnA DsCrackSpnW DsCrackUnquotedMangledRdnA DsCrackUnquotedMangledRdnW DsGetRdnW DsIsMangledDnA DsIsMangledDnW DsIsMangledRdnValueA DsIsMangledRdnValueW DsMakeSpnA DsMakeSpnW DsQuoteRdnValueA DsQuoteRdnValueW DsUnquoteRdnValueA DsUnquoteRdnValueW

Here is the call graph for this function:
Here is the caller graph for this function: