List Users' Network Addresses
Novell Cool Solutions: Tip
By Jim Schnitter
Reader Rating
from 2 ratings
|
Digg This -
Slashdot This
Posted: 1 Jun 2004 |
Here's a nifty little freebie that can help you keep tabs on your network usage. Bet you'll think of some great ways to use it.
List all the network workstations from which the user has logged in. The user's id, full name and the IP addresses of the workstations are all printed. The administrator has to specify a server that has LDAP running. In addition, a container must be set to query for users.
Usage: listaddrs.pl prv-nds1 ou=nts_server,ou=prv,o=novell
Setup: The administrator needs to ensure that the [Public] user has Read and Compare rights to the Network Address attribute.
Platforms: Tested on SUSE Linux 9.0 Professional and WinXP with the Perl package from www.activestate.com. It should work on any platform that supports Perl.
Example Output
cn=JoSmith (John Smith) is logged in from these workstations: Address is 137.65.53.169 Address is 137.65.213.37 Address is 137.65.52.80 Address is 137.65.53.236 Address is 137.65.52.86 cn=KBieschke (Kenneth Bieschke) is logged in from these workstations: Address is 137.65.52.109 cn=JSchnitter (Jim Schnitter) is logged in from these workstations: Address is 164.99.192.74 cn=DLNeeley (Daron Neeley) is logged in from these workstations: Address is 137.65.212.143 cn=JMiller (Juston Miller) is logged in from these workstations: Address is 137.65.63.156 Address is 137.65.63.154 Address is 137.65.63.155 Address is 137.65.63.151 Address is 137.65.60.2
Download
Download List Address from here.
Reader Comments
- I'm sure this is useful but can't get it to work
- "Tested on SUSE 9.0 and WinXP..." What does it have to do with NetWare ? This is NetWare Cool Solutions site by the way...
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com
