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: