rpcrt4: Add stub implementations for RPC authentication functions.
This commit is contained in:
parent
c1dce86f1f
commit
4e49c380c4
|
@ -939,3 +939,104 @@ RPC_STATUS WINAPI RpcRevertToSelfEx(RPC_BINDING_HANDLE BindingHandle)
|
||||||
FIXME("(%p): stub\n", BindingHandle);
|
FIXME("(%p): stub\n", BindingHandle);
|
||||||
return RPC_S_OK;
|
return RPC_S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* RpcBindingInqAuthInfoExA (RPCRT4.@)
|
||||||
|
*/
|
||||||
|
RPCRTAPI RPC_STATUS RPC_ENTRY
|
||||||
|
RpcBindingInqAuthInfoExA( RPC_BINDING_HANDLE Binding, unsigned char ** ServerPrincName, unsigned long *AuthnLevel,
|
||||||
|
unsigned long *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, unsigned long *AuthzSvc,
|
||||||
|
unsigned long RpcQosVersion, RPC_SECURITY_QOS *SecurityQOS )
|
||||||
|
{
|
||||||
|
FIXME("%p %p %p %p %p %p %lu %p\n", Binding, ServerPrincName, AuthnLevel,
|
||||||
|
AuthnSvc, AuthIdentity, AuthzSvc, RpcQosVersion, SecurityQOS);
|
||||||
|
return RPC_S_INVALID_BINDING;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* RpcBindingInqAuthInfoExW (RPCRT4.@)
|
||||||
|
*/
|
||||||
|
RPCRTAPI RPC_STATUS RPC_ENTRY
|
||||||
|
RpcBindingInqAuthInfoExW( RPC_BINDING_HANDLE Binding, unsigned short ** ServerPrincName, unsigned long *AuthnLevel,
|
||||||
|
unsigned long *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, unsigned long *AuthzSvc,
|
||||||
|
unsigned long RpcQosVersion, RPC_SECURITY_QOS *SecurityQOS )
|
||||||
|
{
|
||||||
|
FIXME("%p %p %p %p %p %p %lu %p\n", Binding, ServerPrincName, AuthnLevel,
|
||||||
|
AuthnSvc, AuthIdentity, AuthzSvc, RpcQosVersion, SecurityQOS);
|
||||||
|
return RPC_S_INVALID_BINDING;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* RpcBindingInqAuthInfoA (RPCRT4.@)
|
||||||
|
*/
|
||||||
|
RPCRTAPI RPC_STATUS RPC_ENTRY
|
||||||
|
RpcBindingInqAuthInfoA( RPC_BINDING_HANDLE Binding, unsigned char ** ServerPrincName, unsigned long *AuthnLevel,
|
||||||
|
unsigned long *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, unsigned long *AuthzSvc )
|
||||||
|
{
|
||||||
|
FIXME("%p %p %p %p %p %p\n", Binding, ServerPrincName, AuthnLevel,
|
||||||
|
AuthnSvc, AuthIdentity, AuthzSvc);
|
||||||
|
return RPC_S_INVALID_BINDING;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* RpcBindingInqAuthInfoW (RPCRT4.@)
|
||||||
|
*/
|
||||||
|
RPCRTAPI RPC_STATUS RPC_ENTRY
|
||||||
|
RpcBindingInqAuthInfoW( RPC_BINDING_HANDLE Binding, unsigned short ** ServerPrincName, unsigned long *AuthnLevel,
|
||||||
|
unsigned long *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, unsigned long *AuthzSvc )
|
||||||
|
{
|
||||||
|
FIXME("%p %p %p %p %p %p\n", Binding, ServerPrincName, AuthnLevel,
|
||||||
|
AuthnSvc, AuthIdentity, AuthzSvc);
|
||||||
|
return RPC_S_INVALID_BINDING;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* RpcBindingSetAuthInfoExA (RPCRT4.@)
|
||||||
|
*/
|
||||||
|
RPCRTAPI RPC_STATUS RPC_ENTRY
|
||||||
|
RpcBindingSetAuthInfoExA( RPC_BINDING_HANDLE Binding, unsigned char *ServerPrincName,
|
||||||
|
unsigned long AuthnLevel, unsigned long AuthnSvc,
|
||||||
|
RPC_AUTH_IDENTITY_HANDLE AuthIdentity, unsigned long AuthzSvr,
|
||||||
|
RPC_SECURITY_QOS *SecurityQos )
|
||||||
|
{
|
||||||
|
FIXME("%p %s %lu %lu %p %lu %p\n", Binding, debugstr_a((const char*)ServerPrincName),
|
||||||
|
AuthnLevel, AuthnSvc, AuthIdentity, AuthzSvr, SecurityQos);
|
||||||
|
return RPC_S_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* RpcBindingSetAuthInfoExW (RPCRT4.@)
|
||||||
|
*/
|
||||||
|
RPCRTAPI RPC_STATUS RPC_ENTRY
|
||||||
|
RpcBindingSetAuthInfoExW( RPC_BINDING_HANDLE Binding, unsigned short *ServerPrincName, unsigned long AuthnLevel,
|
||||||
|
unsigned long AuthnSvc, RPC_AUTH_IDENTITY_HANDLE AuthIdentity, unsigned long AuthzSvr,
|
||||||
|
RPC_SECURITY_QOS *SecurityQos )
|
||||||
|
{
|
||||||
|
FIXME("%p %s %lu %lu %p %lu %p\n", Binding, debugstr_w((const WCHAR*)ServerPrincName),
|
||||||
|
AuthnLevel, AuthnSvc, AuthIdentity, AuthzSvr, SecurityQos);
|
||||||
|
return RPC_S_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* RpcBindingSetAuthInfoA (RPCRT4.@)
|
||||||
|
*/
|
||||||
|
RPCRTAPI RPC_STATUS RPC_ENTRY
|
||||||
|
RpcBindingSetAuthInfoA( RPC_BINDING_HANDLE Binding, unsigned char *ServerPrincName, unsigned long AuthnLevel,
|
||||||
|
unsigned long AuthnSvc, RPC_AUTH_IDENTITY_HANDLE AuthIdentity, unsigned long AuthzSvr )
|
||||||
|
{
|
||||||
|
FIXME("%p %s %lu %lu %p %lu\n", Binding, debugstr_a((const char*)ServerPrincName),
|
||||||
|
AuthnLevel, AuthnSvc, AuthIdentity, AuthzSvr);
|
||||||
|
return RPC_S_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* RpcBindingSetAuthInfoW (RPCRT4.@)
|
||||||
|
*/
|
||||||
|
RPCRTAPI RPC_STATUS RPC_ENTRY
|
||||||
|
RpcBindingSetAuthInfoW( RPC_BINDING_HANDLE Binding, unsigned short *ServerPrincName, unsigned long AuthnLevel,
|
||||||
|
unsigned long AuthnSvc, RPC_AUTH_IDENTITY_HANDLE AuthIdentity, unsigned long AuthzSvr )
|
||||||
|
{
|
||||||
|
FIXME("%p %s %lu %lu %p %lu\n", Binding, debugstr_w((const WCHAR*)ServerPrincName),
|
||||||
|
AuthnLevel, AuthnSvc, AuthIdentity, AuthzSvr);
|
||||||
|
return RPC_S_OK;
|
||||||
|
}
|
||||||
|
|
|
@ -377,18 +377,18 @@
|
||||||
@ stub RpcBindingInqAuthClientExA
|
@ stub RpcBindingInqAuthClientExA
|
||||||
@ stub RpcBindingInqAuthClientExW
|
@ stub RpcBindingInqAuthClientExW
|
||||||
@ stub RpcBindingInqAuthClientW
|
@ stub RpcBindingInqAuthClientW
|
||||||
@ stub RpcBindingInqAuthInfoA
|
@ stdcall RpcBindingInqAuthInfoA(ptr ptr ptr ptr ptr ptr)
|
||||||
@ stub RpcBindingInqAuthInfoExA
|
@ stdcall RpcBindingInqAuthInfoExA(ptr ptr ptr ptr ptr ptr long ptr)
|
||||||
@ stub RpcBindingInqAuthInfoExW
|
@ stdcall RpcBindingInqAuthInfoExW(ptr ptr ptr ptr ptr ptr long ptr)
|
||||||
@ stub RpcBindingInqAuthInfoW
|
@ stdcall RpcBindingInqAuthInfoW(ptr ptr ptr ptr ptr ptr)
|
||||||
@ stdcall RpcBindingInqObject(ptr ptr)
|
@ stdcall RpcBindingInqObject(ptr ptr)
|
||||||
@ stub RpcBindingInqOption
|
@ stub RpcBindingInqOption
|
||||||
@ stub RpcBindingReset
|
@ stub RpcBindingReset
|
||||||
@ stub RpcBindingServerFromClient
|
@ stub RpcBindingServerFromClient
|
||||||
@ stub RpcBindingSetAuthInfoA
|
@ stdcall RpcBindingSetAuthInfoA(ptr str long long ptr long)
|
||||||
@ stub RpcBindingSetAuthInfoExA
|
@ stdcall RpcBindingSetAuthInfoExA(ptr str long long ptr long ptr)
|
||||||
@ stub RpcBindingSetAuthInfoExW
|
@ stdcall RpcBindingSetAuthInfoExW(ptr wstr long long ptr long ptr)
|
||||||
@ stub RpcBindingSetAuthInfoW
|
@ stdcall RpcBindingSetAuthInfoW(ptr wstr long long ptr long)
|
||||||
@ stdcall RpcBindingSetObject(ptr ptr)
|
@ stdcall RpcBindingSetObject(ptr ptr)
|
||||||
@ stub RpcBindingSetOption
|
@ stub RpcBindingSetOption
|
||||||
@ stdcall RpcBindingToStringBindingA(ptr ptr)
|
@ stdcall RpcBindingToStringBindingA(ptr ptr)
|
||||||
|
|
|
@ -148,6 +148,13 @@ typedef struct _SEC_WINNT_AUTH_IDENTITY_A
|
||||||
unsigned long Flags;
|
unsigned long Flags;
|
||||||
} SEC_WINNT_AUTH_IDENTITY_A, *PSEC_WINNT_AUTH_IDENTITY_A;
|
} SEC_WINNT_AUTH_IDENTITY_A, *PSEC_WINNT_AUTH_IDENTITY_A;
|
||||||
|
|
||||||
|
typedef struct _RPC_SECURITY_QOS {
|
||||||
|
unsigned long Version;
|
||||||
|
unsigned long Capabilities;
|
||||||
|
unsigned long IdentityTracking;
|
||||||
|
unsigned long ImpersonationType;
|
||||||
|
} RPC_SECURITY_QOS, *PRPC_SECURITY_QOS;
|
||||||
|
|
||||||
#define _SEC_WINNT_AUTH_IDENTITY WINELIB_NAME_AW(_SEC_WINNT_AUTH_IDENTITY_)
|
#define _SEC_WINNT_AUTH_IDENTITY WINELIB_NAME_AW(_SEC_WINNT_AUTH_IDENTITY_)
|
||||||
#define SEC_WINNT_AUTH_IDENTITY WINELIB_NAME_AW(SEC_WINNT_AUTH_IDENTITY_)
|
#define SEC_WINNT_AUTH_IDENTITY WINELIB_NAME_AW(SEC_WINNT_AUTH_IDENTITY_)
|
||||||
#define PSEC_WINNT_AUTH_IDENTITY WINELIB_NAME_AW(PSEC_WINNT_AUTH_IDENTITY_)
|
#define PSEC_WINNT_AUTH_IDENTITY WINELIB_NAME_AW(PSEC_WINNT_AUTH_IDENTITY_)
|
||||||
|
@ -303,6 +310,46 @@ RPCRTAPI RPC_STATUS RPC_ENTRY
|
||||||
void *Arg );
|
void *Arg );
|
||||||
#define RpcServerRegisterAuthInfo WINELIB_NAME_AW(RpcServerRegisterAuthInfo)
|
#define RpcServerRegisterAuthInfo WINELIB_NAME_AW(RpcServerRegisterAuthInfo)
|
||||||
|
|
||||||
|
RPCRTAPI RPC_STATUS RPC_ENTRY
|
||||||
|
RpcBindingSetAuthInfoExA( RPC_BINDING_HANDLE Binding, unsigned char *ServerPrincName, unsigned long AuthnLevel,
|
||||||
|
unsigned long AuthnSvc, RPC_AUTH_IDENTITY_HANDLE AuthIdentity, unsigned long AuthzSvr,
|
||||||
|
RPC_SECURITY_QOS *SecurityQos );
|
||||||
|
|
||||||
|
RPCRTAPI RPC_STATUS RPC_ENTRY
|
||||||
|
RpcBindingSetAuthInfoExW( RPC_BINDING_HANDLE Binding, unsigned short *ServerPrincName, unsigned long AuthnLevel,
|
||||||
|
unsigned long AuthnSvc, RPC_AUTH_IDENTITY_HANDLE AuthIdentity, unsigned long AuthzSvr,
|
||||||
|
RPC_SECURITY_QOS *SecurityQos );
|
||||||
|
#define RpcBindingSetAuthInfoEx WINELIB_NAME_AW(RpcBindingSetAuthInfoEx)
|
||||||
|
|
||||||
|
RPCRTAPI RPC_STATUS RPC_ENTRY
|
||||||
|
RpcBindingSetAuthInfoA( RPC_BINDING_HANDLE Binding, unsigned char *ServerPrincName, unsigned long AuthnLevel,
|
||||||
|
unsigned long AuthnSvc, RPC_AUTH_IDENTITY_HANDLE AuthIdentity, unsigned long AuthzSvr );
|
||||||
|
|
||||||
|
RPCRTAPI RPC_STATUS RPC_ENTRY
|
||||||
|
RpcBindingSetAuthInfoW( RPC_BINDING_HANDLE Binding, unsigned short *ServerPrincName, unsigned long AuthnLevel,
|
||||||
|
unsigned long AuthnSvc, RPC_AUTH_IDENTITY_HANDLE AuthIdentity, unsigned long AuthzSvr );
|
||||||
|
#define RpcBindingSetAuthInfo WINELIB_NAME_AW(RpcBindingSetAuthInfo)
|
||||||
|
|
||||||
|
RPCRTAPI RPC_STATUS RPC_ENTRY
|
||||||
|
RpcBindingInqAuthInfoExA( RPC_BINDING_HANDLE Binding, unsigned char ** ServerPrincName, unsigned long *AuthnLevel,
|
||||||
|
unsigned long *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, unsigned long *AuthzSvc,
|
||||||
|
unsigned long RpcQosVersion, RPC_SECURITY_QOS *SecurityQOS );
|
||||||
|
|
||||||
|
RPCRTAPI RPC_STATUS RPC_ENTRY
|
||||||
|
RpcBindingInqAuthInfoExW( RPC_BINDING_HANDLE Binding, unsigned short ** ServerPrincName, unsigned long *AuthnLevel,
|
||||||
|
unsigned long *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, unsigned long *AuthzSvc,
|
||||||
|
unsigned long RpcQosVersion, RPC_SECURITY_QOS *SecurityQOS );
|
||||||
|
#define RpcBindingInqAuthInfoEx WINELIB_NAME_AW(RpcBindingInqAuthInfoEx)
|
||||||
|
|
||||||
|
RPCRTAPI RPC_STATUS RPC_ENTRY
|
||||||
|
RpcBindingInqAuthInfoA( RPC_BINDING_HANDLE Binding, unsigned char ** ServerPrincName, unsigned long *AuthnLevel,
|
||||||
|
unsigned long *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, unsigned long *AuthzSvc );
|
||||||
|
|
||||||
|
RPCRTAPI RPC_STATUS RPC_ENTRY
|
||||||
|
RpcBindingInqAuthInfoW( RPC_BINDING_HANDLE Binding, unsigned short ** ServerPrincName, unsigned long *AuthnLevel,
|
||||||
|
unsigned long *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, unsigned long *AuthzSvc );
|
||||||
|
#define RpcBindingInqAuthInfo WINELIB_NAME_AW(RpcBindingInqAuthInfo)
|
||||||
|
|
||||||
RPCRTAPI RPC_STATUS RPC_ENTRY
|
RPCRTAPI RPC_STATUS RPC_ENTRY
|
||||||
RpcNetworkIsProtseqValidA( unsigned char *protseq );
|
RpcNetworkIsProtseqValidA( unsigned char *protseq );
|
||||||
RPCRTAPI RPC_STATUS RPC_ENTRY
|
RPCRTAPI RPC_STATUS RPC_ENTRY
|
||||||
|
|
Loading…
Reference in New Issue