Re: LookupAccountName fails with error 1332
From: Matt (anonmous_at_nospam.nospam)
Date: 08/08/05
- Previous message: Joe Richards [MVP]: "Re: LookupAccountName fails with error 1332"
- In reply to: Joe Richards [MVP]: "Re: LookupAccountName fails with error 1332"
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: LookupAccountName fails with error 1332"
- Reply: Joe Kaplan \(MVP - ADSI\): "Re: LookupAccountName fails with error 1332"
- Reply: Rhett Gong [MSFT]: "Re: LookupAccountName fails with error 1332"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 8 Aug 2005 14:55:35 -0700
Joe,
Thanks for your response. That was my initial thought as well. However,
the documentation for LookupAccountName states the following regarding the
lpSystemName parameter (which is NULL in my case):
If this string is NULL, the account name translation begins on the local
system. If the name cannot be resolved on the local system, this function
will try to resolve the name using domain controllers trusted by the local
system.
The way this reads to me is that if the local security authority cannot
resolve it, it will try the domain controller.
Matt
"Joe Richards [MVP]" wrote:
> I would guess that you aren't asking a machine that knows what server operators
> is. This name could only be resolved on a domain controller.
>
> --
> Joe Richards Microsoft MVP Windows Server Directory Services
> www.joeware.net
>
>
> Matt wrote:
> > Hello,
> > LookupAccountName fails with error '1332' whenever I use "Server
> > Operators" as the lpAccountName argument. This call fails on both Windows
> > 2000 Server SP2 and SP3 systems. The same code handles "Administrators" and
> > "System" for example with no problem.
> >
> > Thanks,
> >
> > Matt
>
- Previous message: Joe Richards [MVP]: "Re: LookupAccountName fails with error 1332"
- In reply to: Joe Richards [MVP]: "Re: LookupAccountName fails with error 1332"
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: LookupAccountName fails with error 1332"
- Reply: Joe Kaplan \(MVP - ADSI\): "Re: LookupAccountName fails with error 1332"
- Reply: Rhett Gong [MSFT]: "Re: LookupAccountName fails with error 1332"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|