Problem
I want to run the net commands from the Unix prompt, but it complains with Error 53 Permission Denied.
# net logon
Type your user name, or press ENTER if it is ADMINISTRATOR:
Type your password:By default, when you log on as root you already have ADMINISTRATOR privilege and will be able to run NET commands. However, once you run the "net logoff" command you must use "net logon" to log in again.
When I try to run "net" commands to add users, I get Error 53
Permission Denied messages. During the logon process I received
this error message:You were logged on, but have not been validated by a server. Therefore, you may not have permission to use some network resources.
Cause
The password is incorrect for the ADMINISTRATOR.
Alternatively, AFPS may not be able to successfully resolve the name of your server by the PDC in the domain in which you wish to log on to, or on the PDC of the domain in which this server belongs.
This is normally a result of either a DNS naming problem or a Microsoft WINS name resolution problem.
Solution
If the "lmhosts" file is being used by the PDC in either an SCO AFPS or Microsoft NT environment, then check that the lmhosts file contains the name of this server. Also, if WINS is used, check that the LMHOSTS file has been imported into the WINS database.
Alternatively, there may be an issue with the distance between this
server and communicating with the nearest Domain Controller, which
is required for authentication. This can be caused by heavy
network or server load. Therefore, it is recommended to have no
more than 24 Domain Controllers in an NT Domain. See also
ta100037, "What is the 'lmhosts' facility and how is it used?"