wntAccessGet and 1332 Error: LookupAccountName
Keywords: wntAccessGet username
Question:
I tried to set Share level permissions and an error has occured.If the account name contains any spaces the function fails. I have already tried different combinations of quotes, but these doesn't seem to help.
Below is the contents of WWWBATCH.INI
[WWWNT34I] LastError=1332 (LookupAccountName)Answer:
How long is the failing user name? Our documentation for versions of WinBatch prior to 97D shows a 20 character limit.Thread (continued):
That's it.The 20 character limit is the problem. I'm user a 8 character domain name and the function fails when it gets to "Domain Admins". This puts it over the 20 character limit.
Please tell me there is a way around this.
Answer:
Download a copy of the latest version of WinBatch and be sure to check the Network Extenders option during installation.The username parameter has been increased to 256 bytes.
Article ID: W13572Filename: wntAccessGet and Username Parameter.txt