WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

wNT
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

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:   W13572
Filename:   wntAccessGet and Username Parameter.txt
File Created: 2001:03:01:14:18:34
Last Updated: 2001:03:01:14:18:34