Tool

ncisrael's picture
tool
Reads:

2839

Score:
0
0
 
Comments:

0

NWCollect

Author Info

22 June 2006 - 9:52am
Submitted by: ncisrael

license: 
Free

I was asked to determine how much free disk space was available on the NetWare servers so I wrote a few scripts that will anonymously poll our LDAP server and return all the NCP server objects, mount the servers on my Linux workstation and determine the drive space.

There are few items to modify in the mapdrive.sh script such as user name, password, domain name, volume you wish to retrieve.
Section 3 of this file can be modified anyway you like to do other things, such as copy files to the mounted server.

nwcollect.sh does the ldap lookups and creates a txt file with server names. and then calls mapdrives.sh

mapdrive.sh does the mounting and executes the data collection. If you already have a list of server names then all you need is mapdrive.

Since you are mounting, both scripts should be run as root

Things you will need:
ncpfs

ZałącznikWielkość
nwcollect.zip1.46 KB




User Comments

© 2013 Novell