Bug 5385 - LogonUser with LOGON32_LOGON_NETWORK fails with Windows Vista SP1
LogonUser with LOGON32_LOGON_NETWORK fails with Windows Vista SP1
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: Domain Control
3.0.28a
x64 Other
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-10 08:31 UTC by abpoplin
Modified: 2008-04-10 08:38 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description abpoplin 2008-04-10 08:31:07 UTC
The following code fails after Windows Vista SP1 is applied. This has been tested under Windows Vista Business 64-bit with Samba version 3.0.23a and Samba version 3.0.28a.

BOOL bRet = LogonUser(TEXT("username"), TEXT("DOMAIN"), pwd, LOGON32_LOGON_NETWORK, LOGON32_PROVIDER_DEFAULT, &hToken);

GetLastError() returns 1326, ERROR_LOGON_FAILURE.

If LOGON32_LOGON_INTERACTIVE is used, LogonUser succeeds. It also works fine without SP1.

I have not tested with the computer joined to a regular Windows domain.
Comment 1 Guenther Deschner 2008-04-10 08:36:08 UTC
Can you please provide a network trace of the failing action (and samba logs as well) ?