Suse Samba: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „=Installation= *zypper -y install samba =Dienste Aktivieren= *systemctl enable smb --now *systemctl enable nmb --now“)
 
Zeile 4: Zeile 4:
 
*systemctl enable smb --now
 
*systemctl enable smb --now
 
*systemctl enable nmb --now
 
*systemctl enable nmb --now
 +
=Checken ob die Dienste laufen
 +
*ss -lnutp | grep mbd
 +
<pre>
 +
udp  UNCONN 0      0      172.28.6.255:137      0.0.0.0:*    users:(("nmbd",pid=3396,fd=17)) 
 +
udp  UNCONN 0      0      172.28.6.100:137      0.0.0.0:*    users:(("nmbd",pid=3396,fd=16)) 
 +
udp  UNCONN 0      0            0.0.0.0:137      0.0.0.0:*    users:(("nmbd",pid=3396,fd=14)) 
 +
udp  UNCONN 0      0      172.28.6.255:138      0.0.0.0:*    users:(("nmbd",pid=3396,fd=19)) 
 +
udp  UNCONN 0      0      172.28.6.100:138      0.0.0.0:*    users:(("nmbd",pid=3396,fd=18)) 
 +
udp  UNCONN 0      0            0.0.0.0:138      0.0.0.0:*    users:(("nmbd",pid=3396,fd=15)) 
 +
tcp  LISTEN 0      50          0.0.0.0:139      0.0.0.0:*    users:(("smbd",pid=3375,fd=32)) 
 +
tcp  LISTEN 0      50          0.0.0.0:445      0.0.0.0:*    users:(("smbd",pid=3375,fd=31)) 
 +
tcp  LISTEN 0      50              [::]:139          [::]:*    users:(("smbd",pid=3375,fd=30)) 
 +
tcp  LISTEN 0      50              [::]:445          [::]:*    users:(("smbd",pid=3375,fd=29))
 +
</pre>

Version vom 16. November 2022, 16:21 Uhr

Installation

  • zypper -y install samba

Dienste Aktivieren

  • systemctl enable smb --now
  • systemctl enable nmb --now

=Checken ob die Dienste laufen

  • ss -lnutp | grep mbd
udp   UNCONN 0      0       172.28.6.255:137       0.0.0.0:*    users:(("nmbd",pid=3396,fd=17))  
udp   UNCONN 0      0       172.28.6.100:137       0.0.0.0:*    users:(("nmbd",pid=3396,fd=16))  
udp   UNCONN 0      0            0.0.0.0:137       0.0.0.0:*    users:(("nmbd",pid=3396,fd=14))  
udp   UNCONN 0      0       172.28.6.255:138       0.0.0.0:*    users:(("nmbd",pid=3396,fd=19))  
udp   UNCONN 0      0       172.28.6.100:138       0.0.0.0:*    users:(("nmbd",pid=3396,fd=18))  
udp   UNCONN 0      0            0.0.0.0:138       0.0.0.0:*    users:(("nmbd",pid=3396,fd=15))  
tcp   LISTEN 0      50           0.0.0.0:139       0.0.0.0:*    users:(("smbd",pid=3375,fd=32))  
tcp   LISTEN 0      50           0.0.0.0:445       0.0.0.0:*    users:(("smbd",pid=3375,fd=31))  
tcp   LISTEN 0      50              [::]:139          [::]:*    users:(("smbd",pid=3375,fd=30))  
tcp   LISTEN 0      50              [::]:445          [::]:*    users:(("smbd",pid=3375,fd=29))