On Wed, 13 Nov 2024 08:10:52 -0700 Bill Stewart wrote: > On Wed, Nov 13, 2024 at 2:18 AM Takashi Yano via Cygwin wrote: > > I'm working on this, however, I stuck on setting the first parameter > > of AuthzInitializeRemoteResourceManager(). The most members of structure > > AUTHZ_RPC_INIT_INFO_CLIENT are PWSTR, and I have no idea what kind of > > string should be set to each member. Especially Endpoint and ServerSpn. > > > > typedef struct _AUTHZ_RPC_INIT_INFO_CLIENT { > > USHORT version; > > PWSTR ObjectUuid; > > PWSTR ProtSeq; > > PWSTR NetworkAddr; > > PWSTR Endpoint; > > PWSTR Options; > > PWSTR ServerSpn; > > } AUTHZ_RPC_INIT_INFO_CLIENT, *PAUTHZ_RPC_INIT_INFO_CLIENT; > > > > Do you have any idea? > > > > Does this help? > > https://learn.microsoft.com/en-us/windows/win32/api/authz/ns-authz-authz_rpc_init_info_client
Thanks. However, even after reading the document, I still didn't understand what strings I should set the members for auth for SMB... For example, as for Endpoint, the example for ncacn_np is mentioned, but not for ncacn_ip_tcp. -- Takashi Yano <takashi.y...@nifty.ne.jp> -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple