Bug 5385 - LogonUser with LOGON32_LOGON_NETWORK fails with Windows Vista SP1
Summary: LogonUser with LOGON32_LOGON_NETWORK fails with Windows Vista SP1
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Domain Control (show other bugs)
Version: 3.0.28a
Hardware: x64 Other
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2008-04-10 08:31 UTC by abpoplin (dead mail address)
Modified: 2021-01-04 16:07 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description abpoplin (dead mail address) 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) ?
Comment 2 Björn Jacke 2021-01-04 16:07:00 UTC
closing, no feedback