
Step 1 - Prerequisites
----------------------
1) Samba version 1.9.18p4 [http://samba.anu.edu.au/samba/]
2) UCD SNMP v. 3.3.1      [http://www.ece.ucdavis.edu/ucd-snmp/]

NOTE: UCD SNMP is based on CMU SNMP [http://www.gaertner.de/snmp/]. Hence if you have CMUP SNMP installed please download the UCD package, unpack it and read the file "REAME.cmu".



Step 2 - Patch
--------------
The directories samba-1.9.18p4/ and ucd-snmp-3.3.1/ contain *some* files (not the 
full distribution) that replace some files that come with the Samba and UCD distributions. 
Please copy these files into the Samba and UCD distributions.



Step 3 - Build
--------------
Build both Samba and UCD (the full versions that you have downloaded) following 
the instructions contained into the packages. 



Step 4 - Installation
---------------------

1) Install both Samba and UCD following the instructions contained in the packages. Note: 
   SMB_SNMP assumes that the UCD snmp* tools are installed udner /usr/local/bin/ If you
   decide to use a different directory please modify the file samba-1.9.18p4/source/smb.h.

2) cd <ucd distribution>/apps

3) ./snmptree

4) snmptree generates a directory named SNMP under <ucd distribution>/apps.

5) Edit the Samba configuration file smb.conf you are using, and modify it according
   to the hints contained in samba-1.9.18p4/smb.conf.smb_snmp. Please make sure
   that the path you have defined for [SNMP] (have a look at smb.conf.smb_snmp)
   has the path set to the directory generated at the previous step [4)].



Step 5 - Run
------------  

Start Samba (please have a look the Samba documentation if you don't
know how to do this). From a PC (or by using smbclient) you should see
the SNMP directory. If you want to know more about SMB_SNMP have a look 
at the CONFIGURATION file.



Problems with SMB_SNMP? Email me (deri@unipi.it).

--------------------------------------
Luca Deri (deri@unipi.it) - April 1998