A.smb 

Allsmb est un logiciel permettant de parcourir le reseau Samba.

Disponible en telechargement :

Code source (c++)

Moteur de recherche en php

Browser en php

C'est un programme en C++ qui tourne sous unix (et aussi sous windows) 
qui inventorie la liste des fichiers qu'il y a sur le reseau samba.
Il utilise les librairies libsmbclient et libmysqlclient
On peut lui passer en parametre le nom DNS d'une machine, une adresse ip
d'une machine ou l'adresse d'un sous-reseau.

./allsmb --help
Command line options:
--help display parameters description
--fromIP arg (=0.0.0.0) First IP address to be scanned. --toIP must be
defined too
--toIP arg (=255.255.255.255) Last IP address to be scanned
-R [ --forceFileListRefresh ] If set, the program will refresh the file list
of each computer found.
-D [ --forceDatabaseScan ] If set, the program will only update computers
already in the database and in the specified
IP range
-S [ --forceFullIPScan ] If set, the program will test every IP address
in the range, insert computers not already in
the database, and update every computers'
files if necessary

Contenu du fichier de config :
cat config.cfg
# server
# MySQL server address (DNS or IP)
server = localhost

# port
# MySQL server port

# databaseName
# Name of the database used by this program
databaseName = baseName

# login
# Account login used by the program to access MySQL server
login = login

# password
# Password used by the program to log under the specified MySQL account
password = passwd

# fileTableName
# Name of the table which will contain information on files and directory

# computerTableName
# Name of the table which will contain information on computers

# fileMaxAge
# Maximum time before files are removed if the computer has not be seen during this period

# computerMaxAge
# Maximum time before computer is removed if it has not be seen during this period

# refreshFrequency
# Frequency at which the program should refresh file list for computers already in the database
refreshFrequency = 6

# prospectionFrequency
# Frequency at which the program should scan the whole network in search of new computers

# excludeEmptyFiles
# If set, this option prevent the empty files to be added in the database

# bannedComputers
# List of computers excluded from the browsing process

# displayErrors
# If set, the program displays errors on stderr
displayErrors = true

# logErrors
# If set, the program record errors in a log file
logErrors = false

# logFilePath
# Path of the file where errors are recorded (if enabled)
logFilePath = log.txt

# connectionTestThreadCount
# Number of thread to use to simultaneously test if file sharing is enabled on multiple network computers
connectionTestThreadCount = 8
Dernière modification : 28/07/2006.