Bonjour tout le monde,
merci pour les infos sur Mesa, depuis queje l'ai enlev�, je n'ai plus
les probl�mes de son !!
L� j'ai un autre probl�me (et oui encore, mais c'est comme ca qu'on
apprend !!) avec un logiciel denomm� Femfind, je ne sais pas si
quelqu'un connait, mais vous pourrez peut -etre m'aider quand m�me
Femfind est un esemble de petit programmes perl et script php qui permet
sur un reseau WINS/SAMBA (dans mon cas, le reseau de la residence des
eleves de mon ecole) de crawler les machines du reseau pour remplir une
base de donn�e mySQL avec tous les fichiers trouv�s, puis un script php,
via une interface Web, interroge la base, et permet de dire ou je peux
trouver le dernier film arriv� sur le reseau.
Tout �a marche tr�s bien ou presque ... parce que il a remplit la base
avec la majorit� des fichiers, mais pas ceux de quelques ordi, dont le
mien !!!!!
il m'affiche comme erreur :
"[1] smb_crawl: Fatal: could not retrieve share listing from
GROS-MARCEL. Probably wrong login/password."
Comme il arrive a scanner les autres ordi, je me dis que c'est une
erreur de conf de samba chez moi, mais pourtant, l'acc�s samba via
d'autres postes avec windows, ou sous linux avec xsmbrowser marche tres
bien.
Dans le fichier de script de femfind, on definit un utilisateur samba
"nobody", que j'ai defini egalement dans smb.conf. normalement il n'y a
pas de mot de passe, puisque je suis en mode SHARE (pour samba) ?
j'ai aussi cherch� dans var/log pour voir quelle etait l'erreur samba,
mais je n'ai rien trouv� de plus.
Je ne sais pas si �a va inspirer quelqu'un, je me permet de vous mettre
les 2 fichier de configuration (femfind et samba), si au moins vous
aviez une piste, je veux bien tout essayer (ya 10Go de musique sur mon
disque, c'est quand meme dommage).
merci beaucoup
julien
femfind.conf :
##
## Section 1
## These variables have to be defined. FemFind will not be able to work
without
## them. Syntax: var_name value (use tabs and/or whitespaces to seperate)
##
# if you want to use the only SMB or FTP crawling, disable the other
part here
disable_smb no
disable_ftp yes
# The browser in your network that maintains the browser lists
smb_masterbrowser ZULJIN
# The workgroup the masterbrowser is in
smb_mb_workgroup REZO
# The login the crawler will use for all smb servers (default is nobody)
smb_user nobody
# Password for smb_user (default is none)
# ATTENTION - please be aware that this password is readable by everyone
# via this file!
smb_password
# If you do not want logs, put /dev/null in here
logfile_path /opt/Femfind
# The path where your samba binaries are (find it out with 'which
smbclient')
# Both smbclient and nmblookup have to be installed and properly set up
smb_path /usr/bin
# The path where the file with any modifications (PreferedTime,...)
# is located
#
# This file is generated/can be edited with crawler.pl --modify, which
places it
# in the same directory
db_modfile_path /opt/Femfind
# The path to the file with all ftp servers that have to be crawled
(ftp_list)
# (Default: your/http/cgi-bin/femfind, make sure the httpd can write to
# this file!)
ftpfile /var/www/cgi-bin/femfind
# the path where the lockfile will be located
lockfile_path /opt/Femfind
# ATTENTION - The db_* configuration has changed.
# db_name has been split up into three parts
#
# The DBI:mysql: is constant, you shouldn't have to change it
db_base DBI:mysql:
# mysql access - name of the database (default: femfind)
db_name femfind
# Additional options (if you're running on a different host/nondefault
port...)
# If your database is on another host, append something like
';host=mysqlbox'
db_parameter
# MySQL login for the crawler (account with full rights)
db_crawler_login crawler
# Email adress the ftp crawler uses as password for anonymous logins
ftp_anon_pw [EMAIL PROTECTED]
# This must be atleast equal to the maximum time between two crawls
# in your crontab setup
time_window 5
# Should shares that end with a '$' be crawled? (yes/no)
# These are default shares of all drives and printers if you use SMB on NT.
# (Note: IPC$ will never be crawled, it is present on all SMB hosts
# and is specific to the protocol)
crawl_hidden no
##
## Section 2
## You can leave these variables untouched if you want, but finetuning them
## is worth the effort.
##
# Number of times a host can be unreachable before it is deleted (smb)
smb_expire 8
# Number of times a host can be unreachable before it is deleted (ftp)
ftp_expire 8
# Debuglevel:
# 3 debugging with SQL commands
# 2 debugging
# 1 troubleshooting
# 0 fatal errors only
debuglevel 2
# Backup URL - will be displayed if the script can't connect to the
MySQL server
# Default is none (no URL displayed)
#backup_url
fichier smb.conf :
# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2002/02/11 15:20:41
# Global parameters
[global]
workgroup = REZO
netbios name = GROS-MARCEL
server string = jtextori (jazz, realbook, mp3)
security = SHARE
guest account = nobody #c'est moi qui ai rajout� cette ligne, mais
�a n'a rien chang�.
log level = 3
log file = /var/log/samba/log.%m
max log size = 50
change notify timeout = 300
keepalive = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
lm interval = 300
preferred master = False
local master = No
domain master = False
dns proxy = No
wins server = 140.77.1.61
printing = cups
[homes]
comment = Home Directories
read only = No
[mp3]
comment = Tout le jazzzzzz
path = /mnt/windows/Mes_documents/Ma_musique/
guest ok = Yes
[Realbook]
comment = Realbook musical by NeKo
path = /mnt/windows/RealBook/
guest ok = Yes
[deedee]
path = /tmp
printer admin = ftp
guest ok = Yes
printable = Yes
postscript = Yes
lpq command = lpq
lprm command = lprm %j
printer name = HP Deskjet 930C
browseable = No
[Abersold]
comment = Extrait pdf des partochs abersold
path = /mnt/data/mp3/abersold/
guest ok = Yes
[realpartoch]
comment = Toutes les partitions des standarts de jazz !!! merci
julien ;-)
path = /home/jtextori/documents/jazz/RealBook-Partoch/
guest ok = Yes
Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur "http://www.mandrakestore.com"