Project

General

Profile

Anomalie #1834

diagnose "Partages" il y a 2 services à tester : SMBD et NMBD

Added by Klaas TJEBBES over 12 years ago. Updated about 12 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
06/07/2011
Due date:
% Done:

100%

Spent time:
Distribution:

Description

Samba est composé de 2 services : les service "smbd" et "nmbd". Il faut les tester séparément, il arrive que nmbd soit planté.
smbd écoute en TCP
nmbd écoute en UDP

Associated revisions

Revision 149a9334 (diff)
Added by Emmanuel Garette about 12 years ago

fichier/common/diagnose/151-fichier : test les services smbd et nmbd (fixes #1834)

Revision 45790168 (diff)
Added by Joël Cuissinat about 12 years ago

correction du nom de la variable dans le test sur nmbd (fixes #1834)

History

#1 Updated by Joël Cuissinat over 12 years ago

  • Target version set to Mises à jour 2.3 - 01 RC

#2 Updated by Emmanuel GARETTE about 12 years ago

test des services

smbd

Il est possible de tester smbd avec la commande suivante :

  1. smbclient -L localhost -U=admin%
    Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)
  2. echo $?
    1

Pour tester seulement le port 139 :

  1. smbclient -p 139 -L localhost -U=admin%

nmbd

En fonctionnement :

  1. nmblookup -U 127.0.0.1 dijon
    querying dijon on 127.0.0.1
    192.0.2.52 dijon<00>
    192.168.3.3 dijon<00>
  2. echo $?
    0

Arrêté :

  1. nmblookup -U 127.0.0.1 dijon
    querying dijon on 127.0.0.1
    name_query failed to find name dijon
  2. echo $?
    0

smbcontrol

Sinon il y a smbcontrol :

  1. smbcontrol nmbd ping
    PONG from pid 24825
  2. echo $?
    0
  1. smbcontrol nmbd ping
    Can't find pid for destination 'nmbd'
  2. echo $?
    1
  1. smbcontrol smbd ping

#3 Updated by Emmanuel GARETTE about 12 years ago

  • Target version changed from Mises à jour 2.3 - 01 RC to Mises à jour 2.3 - 02 RC

#4 Updated by Emmanuel GARETTE about 12 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

#5 Updated by Joël Cuissinat about 12 years ago

  • Assigned To set to Emmanuel GARETTE
  • Target version changed from Mises à jour 2.3 - 02 RC to Mises à jour 2.3 - 01 Stable

#7 Updated by Joël Cuissinat about 12 years ago

  • Status changed from Résolu to Fermé

OK avec conf-scribe-2.3-eole310

Also available in: Atom PDF