2.2.5.2 GETWINDOWSCREDSFROMUNIXUSERNAME_PROC (PROC 1)
A request to fetch the mapped Windows user account name for a specified UNIX user name and/or UNIX user.
-
windows_creds GETWINDOWSCREDSFROMUNIXUSERNAME_PROC( unix_account UnixUser );
UnixUser: The UNIX user to search for, using the account name and/or UID as the search criteria, as specified by the value for SearchOption.
Return Value: A windows_creds record that contains the mapped Windows user account details for the specified UNIX user. Whenever the lookup request for a specified UNIX account succeeds or fails to find a corresponding Windows account map, the User Name Mapping Protocol server MUST return a SUNRPC status of MSG_ACCEPTED with an accept status of SUCCESS. The actual success or failure of the request MUST be set in the Status member of the returned structure. Status is a Boolean value, with 0 indicating a successful lookup request and 1 indicating a failed lookup request.