2.2.5.18 GETUNIXCREDSFROMNTUSERSIDW_PROC (PROC 17)
This procedure is the wide character counterpart to GETUNIXCREDSFROMNTUSERSID_PROC. The request and response packets are identical to GETUNIXCREDSFROMNTUSERSID_PROC, except that the MapSvrMBCSNameString data type is replaced with a MapSvrUnicodeNameString type in the byte stream.
-
unix_credsW GETUNIXCREDSFROMNTUSERSIDW_PROC( sid SID );
SID: A Windows SID to use as the search criteria.
Return Value: A unix_credsW record that contains the mapped UNIX account details for the specified Windows SID. Whenever the lookup request for a specified Windows SID fails to find a corresponding UNIX account map, the User Name Mapping Protocol server MUST return a SUNRPC status of MSG_ACCEPTED with an accept status of SUCCESS. It MUST also return a zero-length string in the UnixAccountName member of the returned structure.