Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
76012
Engaged Sweeper II
We are still not running AD...

Any advice on how I can search on a username for last x logons? I used to hack the code that searched users, but can't really do that with the new version since it only has 1 search box for everything.

This SQL will do what I want, but not sure the best way to pass the username:

select TOP 40 C.Computer, L.Username, L.logontime, L.Ipaddress from tblCPlogoninfo L join tblcomputers C on L.computername = C.computername
where L.Username like 'cr%'
order by L.logontime desc

One thought I had.... create a report listing unique username, and create a link from there to call a stored procedure. But, not sure how to create a link in a report to pass the parameter.

19 REPLIES 19
Hemoco
Lansweeper Alumni
Could you try the update of today (service 4.0.0.24) this fixes the problem.
76012
Engaged Sweeper II
Lansweeper wrote:
Could you try the update of today (service 4.0.0.24) this fixes the problem.


Works like a champ! Thanks for the quick fix.
Hemoco
Lansweeper Alumni
Is there any error in your errorlog regarding user lookup?
76012
Engaged Sweeper II
Lansweeper wrote:
Is there any error in your errorlog regarding user lookup?


Lots of them.... 2 for every scan - 1 for computer & 1 for user

This is the test user..I changed the names of these:
domain\computer$
computer
domain\userid


4/28/2010 9:46:25 AM: Unknown error (0x80005000)

4/28/2010 9:51:51 AM: domain\computer$ Active directory computer lookup Unknown error (0x80005000)
4/28/2010 9:52:37 AM: computer User lookup Unknown error (0x80005000) domain\userid
Hemoco
Lansweeper Alumni
Which is your service version?
76012
Engaged Sweeper II
Lansweeper wrote:
Which is your service version?


4.0.0.21

I ran the upgrade you suggested above.
Hemoco
Lansweeper Alumni
The users need to be rescanned, next time a user is found it will be added to the table.
76012
Engaged Sweeper II
Lansweeper wrote:
The users need to be rescanned, next time a user is found it will be added to the table.


How do I scan the users?
Hemoco
Lansweeper Alumni
76012 wrote:
How do I scan the users?

Just wait until news scans are done.

Archive

This board contains archived posts from the retired Lansweeper Forum and Insiders Community.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now