Net use on Windows fails with System error 59
for some users
This topic describes how to resolve a System error 59
when some users attempt to
access /usr/lpp/mmfs/bin/net use on Windows.
Description:
Additional symptoms include
NT_STATUS_INVALID_PARAMETERerrors in the log.smbd file when net use command was invoked on the Windows client for the user with this problem.
Solution:
Invalid idmapping entries in gencache might be the cause. To resolve the error, delete these
entries in gencache on all nodes. Run the following commands: /usr/lpp/mmfs/bin/net cache
del IDMAP/UID2SID/<UID> and net cache del
IDMAP/SID2XID/<SID>. You can run the mmadquery command to know
the <UID> and the <SID>. Alternatively, you can
find the <SID> from the log.smbd file. See the
following message
Could not convert sid <SID>: NT_STATUS_INVALID_PARAMETERin the log.smbd file. Here, <SID> is the SID of the user.