Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 368
  • Last Modified:

Looking for an easy way to display who is logged into eDirectory

I'm looking for a way to display a simple list that displays who is logged into edirectory and how long they've been logged in, for use by non-administrative users. The goal is for a non-privileged user to be able to see at a glance which users are logged into the network, as a way of determining whether someone has come into the office.

Is there some sort of existing utility that does something like this? Or, perhaps some sample source code that would help me roll my own?
0
billmercer
Asked:
billmercer
  • 3
  • 3
  • 3
  • +2
1 Solution
 
PsiCopCommented:
Most, if not all, of the tools of which I'm aware require administrative privilege. This functionality is in iManager, as I recall, but its not in an easy "one click and I'm there" place.

Your target audience doesn't just sound "non-privileged", it sounds like "management". They probably want a simple URL, don't they?

If you're comfortable coding Perl, and have a mod_perl-equipped Apache server on NetWare (and the default Apache on modern NetWare is so equipped), you can code up your own little applet to do this. This will have the bonus of you being able to present the information they want in the format they want it in. Let me know if this is a viable route for you, and I can go into more detail. Won't bore you if its not an approach you want to take.
0
 
ShineOnCommented:
Kinda like nlist user /a ?

Does AutoIT3 have any netware command functions like WinBatch does with its NetwareX extender?
0
 
ShineOnCommented:
Would VirtualOffice have something that shows who's on, if you set up a "meeting space" with everyone in it?
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
dotENGCommented:
To make sure a user is logged in, you should check the "Network Address" attribute of the user object, if it's null, the user is not logged in.

To get the info out you could use:
 a. ODBC for eDirectory - http://developer.novell.com/wiki/index.php/ODBC_Driver_for_eDirectory
 b. LDAP Query
       JAVA Example here - http://www.novell.com/coolsolutions/feature/16191.html
       JAVA Classes here - http://developer.novell.com/wiki/index.php/Jldap
       ActiveX - http://forge.novell.com/modules/xfmod/project/?activex_ldap
       PHP - http://forge.novell.com/modules/xfref_library/detail.php?reference_id=213

For an ordinary user to do that you should implement either
  1. Adding the Read & Compare for the "Network Address" attribute to the needed users. (usually assigned to [root] by default)
  2. Create a proxy user that has that right.
0
 
PsiCopCommented:
dotENG, I think he wants something for end-users.
0
 
billmercerAuthor Commented:
>Kinda like nlist user /a ?
Yes, exactly, only with a pretty GUI interface that updates in real time, something a non-technical user could grok easily.

>Does AutoIT3 have any netware command functions like WinBatch does with its NetwareX extender?
Unfortunately no. However, it does have a plugin API, so the potential is there. Maybe someone with stronger C++ kung fu than me could do this.
 
>dotENG, I think he wants something for end-users.
True. I was considering the ODBC approach, and creating an application that does ODBC queries, but I'd rather have something that doesn't require any configuration.

Maybe I could write something that runs NLIST, then parses and presents the output on screen.

0
 
dotENGCommented:
Check this one

nlist user /a /c | find /i "]["

usualy nlist with the "/N" gives only the the object names, that could have been perfect for you, but it does not seem to work on my test net, so the "][" is to filter only the lines where usernames exist.
0
 
PsiCopCommented:
You could use iManager. That's web-based.
0
 
dotENGCommented:
Check these two options

This one is from 1997, but it's great, a dos utility that gives you what you want  -
http://www.netwarefiles.com/utils/user15.zip

This one is an application, more info then you need.
http://www.novell.com/coolsolutions/tools/downloads/zedmon.zip
0
 
billmercerAuthor Commented:
I think iManager would be a bit overwhelming for a non-technical user, and there's still the question of refreshing the display.

Zedmon looks promising though...

0
 
Dark_KingCommented:
You cold test "user.exe" from jrbsoftware
http://www.jrbsoftware.com/04downloads/index.htm

Part A comprises 16 bit DOS utilities. They operate in bindery mode
only and are not NDS aware. But I use this to locate where users are login.
0
 
billmercerAuthor Commented:
Thanks dotENG, ZedMon is exactly the tool I needed. With its configurable options, it's a handy program for a helpdesk/admin user as well.

0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 3
  • 3
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now