DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Thu, 9 Aug 2007 07:54:01 -0700,    posted on: microsoft.public.dotnet.framework        back       

Thread Index
  1    Vizia


LogOnUser API issue - Windows workgroup   
Hi,

We are using LogOnuser API to authenticate users in windows workgroup 
environment and AD/Domain environment. The API works fine in AD/Domain 
environment, but we found an issue in Workgroup environment.

Following is the API we are using:

auth = LogonUser(userName, Server_Domain_Name, decryptedPassWord,
                            LOGON32_LOGON_INTERACTIVE, 
LOGON32_PROVIDER_DEFAULT,
                                ref pExistingTokenHandle);

No matter what the Server_Domain_Name argument is passed to the API, for a 
valid userName/Password on the Log on Computer/Server, the user is getting 
authenticated ( I believe the API is internally using the local Computer 
Name, if the supplied argument is invalid).

Just I was wondering whether this is an issue with this API (for invalid 
computer/Server name, the API is defaulting it to Local computer) or is there 
any setting in my computer is causing this behavior.

Thanks
Vizai
Date:Thu, 9 Aug 2007 07:54:01 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us