Samba installé mais pas de service nmbd! [Réglé]
Samba installé mais pas de service nmbd!
Système et matériels / Réseau Internet Wi-Fi

jeanchristophe Membre non connecté
-
- Voir le profil du membre jeanchristophe
- Inscrit le : 15/04/2013
- Site internet
- Groupes :
Je me gratte la tête sans comprendre, mais sans trouver la solution non plus.
Le serveur samba est installé, smbd tourne comme il faut mais nmbd est absent.
Il n'est même pas listé dans le mcc!
Est ce que je dois désinstaller samba et le réinstaller aprés ou est ce qu'il y a moyen de résoudre le probléme autrement?
Best Regards/Sincérement
Jean-Christophe
Jean-Christophe

Adrien.D Membre non connecté
-
- Voir le profil du membre Adrien.D
- Inscrit le : 30/05/2011
- Site internet
- Groupes :
Code BASH :
service smb status smb.service - LSB: Samba servers (nmbd and smbd) Loaded: loaded (/etc/rc.d/init.d/smb) Active: active (running) since Wed, 2013-06-19 17:45:22 CEST; 50min ago CGroup: name=systemd:/system/smb.service ├ 3324 smbd -D ├ 3339 smbd -D └ 3386 nmbd -D Jun 19 17:45:22 superlinux systemd[1]: Starting LSB: Samba servers (nmbd and smbd)... Jun 19 17:45:22 superlinux smb[3254]: Lancement du service SaMBa : [ OK ] Jun 19 17:45:22 superlinux smb[3254]: Lancement du service NMB : [ OK ] Jun 19 17:45:22 superlinux systemd[1]: Started LSB: Samba servers (nmbd and smbd). smb.service - LSB: Samba servers (nmbd and smbd) Loaded: loaded (/etc/rc.d/init.d/smb) Active: active (running) since Wed, 2013-06-19 17:45:22 CEST; 50min ago CGroup: name=systemd:/system/smb.service ├ 3324 smbd -D ├ 3339 smbd -D └ 3386 nmbd -D Jun 19 17:45:22 superlinux systemd[1]: Starting LSB: Samba servers (nmbd and smbd)... Jun 19 17:45:22 superlinux smb[3254]: Lancement du service SaMBa : [ OK ] Jun 19 17:45:22 superlinux smb[3254]: Lancement du service NMB : [ OK ] Jun 19 17:45:22 superlinux systemd[1]: Started LSB: Samba servers (nmbd and smbd).
Le service smb inclus le redémarrage nmbd et smbd sous Mageia.
Pour t'en convaincre ou vérifier :
Code BASH :
netstat -anp | grep nmbd udp 0 0 192.168.1.255:137 0.0.0.0:* 3386/nmbd udp 0 0 192.168.1.100:137 0.0.0.0:* 3386/nmbd udp 0 0 192.168.1.255:137 0.0.0.0:* 3386/nmbd udp 0 0 192.168.1.108:137 0.0.0.0:* 3386/nmbd udp 0 0 0.0.0.0:137 0.0.0.0:* 3386/nmbd udp 0 0 192.168.1.255:138 0.0.0.0:* 3386/nmbd udp 0 0 192.168.1.100:138 0.0.0.0:* 3386/nmbd udp 0 0 192.168.1.255:138 0.0.0.0:* 3386/nmbd udp 0 0 192.168.1.108:138 0.0.0.0:* 3386/nmbd udp 0 0 0.0.0.0:138 0.0.0.0:* 3386/nmbd unix 2 [ ACC ] STREAM LISTENING 21283 3386/nmbd /var/nmbd/unexpected
Config : PC Fixe : X470 GAMING PRO- AMD Ryzen 5 2600X - 16Go RAM - Radeon RX 560 (Pilote libre) - Gentoo Linux - GNOME Desktop - Kernel 5.10 LTS
Ancien Webmaster de MageiaLinuxOnline. Les remplaçants assurent !
Ancien Webmaster de MageiaLinuxOnline. Les remplaçants assurent !


jeanchristophe Membre non connecté
-
- Voir le profil du membre jeanchristophe
- Inscrit le : 15/04/2013
- Site internet
- Groupes :
Tu as raison, ca fonctionne.
Citation :
[root@localhost ~]# netstat -anp | grep nmbd
udp 0 0 192.168.1.255:137 0.0.0.0:* 1635/nmbd
udp 0 0 192.168.1.2:137 0.0.0.0:* 1635/nmbd
udp 0 0 0.0.0.0:137 0.0.0.0:* 1635/nmbd
udp 0 0 192.168.1.255:138 0.0.0.0:* 1635/nmbd
udp 0 0 192.168.1.2:138 0.0.0.0:* 1635/nmbd
udp 0 0 0.0.0.0:138 0.0.0.0:* 1635/nmbd
unix 2 [ ACC ] STREAM LISTENING 15370 1635/nmbd /var/nmbd/unexpected
[root@localhost ~]# netstat -anp | grep nmbd
udp 0 0 192.168.1.255:137 0.0.0.0:* 1635/nmbd
udp 0 0 192.168.1.2:137 0.0.0.0:* 1635/nmbd
udp 0 0 0.0.0.0:137 0.0.0.0:* 1635/nmbd
udp 0 0 192.168.1.255:138 0.0.0.0:* 1635/nmbd
udp 0 0 192.168.1.2:138 0.0.0.0:* 1635/nmbd
udp 0 0 0.0.0.0:138 0.0.0.0:* 1635/nmbd
unix 2 [ ACC ] STREAM LISTENING 15370 1635/nmbd /var/nmbd/unexpected
Mais je ne comprends pas pourquoi mon serveur ne fonctionne pas!
Citation :
[global]
workgroup = MAGEIA
server string = Samba %h
netbios name = gandalf
security = user
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writable = yes
[Server]
path = /UN_NOM
comment = Server
browseable = yes
guest ok = no
writable = yes
[global]
workgroup = MAGEIA
server string = Samba %h
netbios name = gandalf
security = user
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writable = yes
[Server]
path = /UN_NOM
comment = Server
browseable = yes
guest ok = no
writable = yes
Citation :
[jean-christophe@localhost ~]$ smbclient -L MAGEIA
Enter jean-christophe's password:
Connection to MAGEIA failed (Error NT_STATUS_BAD_NETWORK_NAME)
[jean-christophe@localhost ~]$ smbclient -L mageia -N
Connection to mageia failed (Error NT_STATUS_BAD_NETWORK_NAME)
[jean-christophe@localhost ~]$ smbclient -L MAGEIA
Enter jean-christophe's password:
Connection to MAGEIA failed (Error NT_STATUS_BAD_NETWORK_NAME)
[jean-christophe@localhost ~]$ smbclient -L mageia -N
Connection to mageia failed (Error NT_STATUS_BAD_NETWORK_NAME)
Best Regards/Sincérement
Jean-Christophe
Jean-Christophe

Adrien.D Membre non connecté
-
- Voir le profil du membre Adrien.D
- Inscrit le : 30/05/2011
- Site internet
- Groupes :
Citation :
netbios name = gandalf
le nom netbios semble être celui à utiliser

P.S. : J'ai mis en forme ton sujet, c'est quote qu'il faut écrire, et non QUOTE

Attention à la casse !

Config : PC Fixe : X470 GAMING PRO- AMD Ryzen 5 2600X - 16Go RAM - Radeon RX 560 (Pilote libre) - Gentoo Linux - GNOME Desktop - Kernel 5.10 LTS
Ancien Webmaster de MageiaLinuxOnline. Les remplaçants assurent !
Ancien Webmaster de MageiaLinuxOnline. Les remplaçants assurent !


jeanchristophe Membre non connecté
-
- Voir le profil du membre jeanchristophe
- Inscrit le : 15/04/2013
- Site internet
- Groupes :
Sinon non, ca ne fonctionne pas!
Citation :
[jean-christophe@localhost ~]$ smbclient -L gandalf
Enter jean-christophe's password:
Connection to gandalf failed (Error NT_STATUS_BAD_NETWORK_NAME)
[jean-christophe@localhost ~]$ smbclient -L gandalf -N
Connection to gandalf failed (Error NT_STATUS_BAD_NETWORK_NAME)
[jean-christophe@localhost ~]$ smbclient -L gandalf
Enter jean-christophe's password:
Connection to gandalf failed (Error NT_STATUS_BAD_NETWORK_NAME)
[jean-christophe@localhost ~]$ smbclient -L gandalf -N
Connection to gandalf failed (Error NT_STATUS_BAD_NETWORK_NAME)
Je ne comprends pas vraiment. J'ai eu un petit probléme sur la version 2 qui s'était réglé trés vite: http://www.mageialinux-online.org/forum/topic-15181+probleme-de-connection-avec-serveur-samba.php#m146953
Mais lá....
Best Regards/Sincérement
Jean-Christophe
Jean-Christophe

Adrien.D Membre non connecté
-
- Voir le profil du membre Adrien.D
- Inscrit le : 30/05/2011
- Site internet
- Groupes :
Dans Nautilus , tu peux tester smb://127.0.0.1 ?
Le parefeu est ouvert ?
La commande testparm ne te renvoie pas d'erreur ?
Config : PC Fixe : X470 GAMING PRO- AMD Ryzen 5 2600X - 16Go RAM - Radeon RX 560 (Pilote libre) - Gentoo Linux - GNOME Desktop - Kernel 5.10 LTS
Ancien Webmaster de MageiaLinuxOnline. Les remplaçants assurent !
Ancien Webmaster de MageiaLinuxOnline. Les remplaçants assurent !


jeanchristophe Membre non connecté
-
- Voir le profil du membre jeanchristophe
- Inscrit le : 15/04/2013
- Site internet
- Groupes :
Citation :
[root@localhost ~]# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[printers]"
Processing section "[print$]"
Processing section "[pdf-gen]"
...
Processing section "[Server-Files]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[root@localhost ~]# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[printers]"
Processing section "[print$]"
Processing section "[pdf-gen]"
...
Processing section "[Server-Files]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
Oui le pare-feu est ouvert.
J'ai essayé avec nautilus en utilisant la commande de connection á un serveur, mais il dit qu'il ne connait pas le service. Je tourne sous KDE. Je ne sais pas comment faire!

Best Regards/Sincérement
Jean-Christophe
Jean-Christophe

Adrien.D Membre non connecté
-
- Voir le profil du membre Adrien.D
- Inscrit le : 30/05/2011
- Site internet
- Groupes :
Je vois dans ton profil GNOME d'où le fait que je te propose Nautilus.
Tester avec Dolphin alors smb://127.0.0.1
Config : PC Fixe : X470 GAMING PRO- AMD Ryzen 5 2600X - 16Go RAM - Radeon RX 560 (Pilote libre) - Gentoo Linux - GNOME Desktop - Kernel 5.10 LTS
Ancien Webmaster de MageiaLinuxOnline. Les remplaçants assurent !
Ancien Webmaster de MageiaLinuxOnline. Les remplaçants assurent !


jeanchristophe Membre non connecté
-
- Voir le profil du membre jeanchristophe
- Inscrit le : 15/04/2013
- Site internet
- Groupes :
Lá j'ai vu que le nom de mon bios était en majuscule. J'ai donc réessayé la commande:
Citation :
[jean-christophe@localhost ~]$ smbclient -L GANDALF
Enter jean-christophe's password:
Domain=[MAGEIA] OS=[Unix] Server=[Samba 3.6.15]
Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (Samba xxx)
Server-Files Disk xxx..................
pdf-gen Printer PDF Generator (only valid users)
print$ Disk
HP-Photosmart-c5100 Printer HP Photosmart c5100
........................
Domain=[MAGEIA] OS=[Unix] Server=[Samba 3.6.15]
Server Comment
--------- -------
GANDALF Samba xxxxxx
Workgroup Master
--------- -------
MAGEIA GANDALF
[jean-christophe@localhost ~]$ smbclient -L GANDALF
Enter jean-christophe's password:
Domain=[MAGEIA] OS=[Unix] Server=[Samba 3.6.15]
Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (Samba xxx)
Server-Files Disk xxx..................
pdf-gen Printer PDF Generator (only valid users)
print$ Disk
HP-Photosmart-c5100 Printer HP Photosmart c5100
........................
Domain=[MAGEIA] OS=[Unix] Server=[Samba 3.6.15]
Server Comment
--------- -------
GANDALF Samba xxxxxx
Workgroup Master
--------- -------
MAGEIA GANDALF
Et voila, grace á toi je vais me coucher moins c... ce soir!

Merci pour le coup de main.
Bonne soirée
Best Regards/Sincérement
Jean-Christophe
Jean-Christophe

Adrien.D Membre non connecté
-
- Voir le profil du membre Adrien.D
- Inscrit le : 30/05/2011
- Site internet
- Groupes :

Longue route avec Mageia

Config : PC Fixe : X470 GAMING PRO- AMD Ryzen 5 2600X - 16Go RAM - Radeon RX 560 (Pilote libre) - Gentoo Linux - GNOME Desktop - Kernel 5.10 LTS
Ancien Webmaster de MageiaLinuxOnline. Les remplaçants assurent !
Ancien Webmaster de MageiaLinuxOnline. Les remplaçants assurent !

Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie