Re: Is there a way to identify all of a user's logins?

From: Alexander Nickolov (agnickolov_at_mvps.org)
Date: 10/27/04


Date: Wed, 27 Oct 2004 16:16:46 -0700

Will WNetAddConnection2() do the job for you?

-- 
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@mvps.org
MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================
"rhnewbie" <rhnewbie@discussions.microsoft.com> wrote in message 
news:C19C0D44-4B6E-42E7-8FDC-CCEE24417F52@microsoft.com...
> What I'm trying to accomplish is this:
>
> We have an in-house, enterprise application which, for years, has run with
> it's data hosted on a Novell file server.  Our users log in to their
> workstations as local users and into Novell.  When they launch our app, we
> use a 3rd party utility to query Novell for the username with which they
> logged into Novell.  Our app uses that user name to look up their 
> permissions
> within the app ... which keeps our users from having to "log in" to our
> application.
>
> Our system administrators are now trying to get rid of Novell and move us 
> to
> a Windows server.  We really do not want to begin making our users log in 
> to
> our application but would prefer to use their domain userid much like we 
> do
> with Novell.  However, we don't know of any way to find out what userid 
> was
> used to log into the Windows file server (as part of the domain).
>
> Actually, if the user logs into the local workstation and the domain (i.e.
> the file server in a domain) with the same userid, we could handle that 
> ...
> however, we can't guarantee that this would be the case.
>
> Any ideas?
>
> "Eugene Gershnik" wrote:
>
>> rhnewbie wrote:
>> > Okay, lets try this again.
>> >
>> > If a user logs into a local machine with one username & password,
>> > then logs into a server as a domain user using a different username &
>> > password (while still logged into the local machine)), is there any
>> > way to find out all the different machines the user is logged into,
>> > what username they used to log in with and which logins are local and
>> > which are part of a domain?
>>
>> Not easily. You can instrument all domain controllers to track logon 
>> request
>> from the domain. Then you will have a nasty problem to know when the user 
>> is
>> no longer there (logoff won't help you there, on a dc it happens 
>> regardless
>> of whether the user actually logged off)
>> Alternatively you can put a small agent on all machines in the domain to
>> intercept all logons at their source.
>>
>> Maybe you should explain what do you need this information for. 9 times 
>> out
>> of 10 the real goal can be accomplished by other means.
>>
>> --
>> Eugene
>>
>>
>>
>> 


Relevant Pages

  • Re: Is there a way to identify all of a users logins?
    ... What I'm trying to accomplish is this: ... workstations as local users and into Novell. ... We really do not want to begin making our users log in to ... used to log into the Windows file server. ...
    (microsoft.public.win32.programmer.networks)
  • Re: How to change username?
    ... I'm reading that erick is storing the username with the data that 'belongs' to that user. ... So you'll need to delete all the users (no you can't change the existing usernames), recreate them, and then run a bunch of update queries to update the existing data to the new username. ... then have the users log in using ... The database control expenses for around 30+ ...
    (microsoft.public.access.security)
  • Re: Query to show last time someone logged in.
    ... >When my users log into my database a query automatically runs and creates a ... >new record in a table called tblUsageStats. ... >Username and the Current date & time ). ...
    (microsoft.public.access.queries)
  • REPOST: bug in Forms Authentication
    ... i have a minor problem where some users log in with capital letters ... for their username, which looks bad when displayed on screen and also ... // find the Membership User ... // use the correct username case (from the aspnetdb database) ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Integrated Windows authentication - off site
    ... This would be possible if you selected Basic Authentication and ... protect the data (username and password) exchanged between client and ... > I've set up IIS on a Windows 2003 server to use Integrated Windows ... > the users log on using IE6 without typing in the domainname\ part? ...
    (microsoft.public.inetserver.iis.security)

Loading