Linuxhotel Wiki

Wie ging das nochmal?

Benutzer-Werkzeuge

Webseiten-Werkzeuge


admin_grundlagen:samba

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen gezeigt.

Link zu der Vergleichsansicht

Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung
Nächste Überarbeitung
Vorherige Überarbeitung
Nächste Überarbeitung Beide Seiten, nächste Überarbeitung
admin_grundlagen:samba [2017/02/17 11:05]
stefan_miethke [Benötigte Pakete]
admin_grundlagen:samba [2019/11/06 09:35]
dhoppe [Windows Browsing]
Zeile 4: Zeile 4:
 ===== Benötigte Pakete ===== ===== Benötigte Pakete =====
 Debian, Ubuntu: ​ Debian, Ubuntu: ​
-  ​aptitude ​install samba smbclient samba-common-bin+  ​apt-get ​install samba smbclient samba-common-bin
 ((neuere Versionen manchmal in [[https://​packages.debian.org/​jessie/​samba|Backports]])) ((neuere Versionen manchmal in [[https://​packages.debian.org/​jessie/​samba|Backports]]))
  
Zeile 14: Zeile 14:
  
 Fedora / Centos :  Fedora / Centos : 
-  yum install samba+  yum install samba samba-client
  
 ===== Minimal-Konfiguration ===== ===== Minimal-Konfiguration =====
 <file txt /​etc/​samba/​smb.conf>​ <file txt /​etc/​samba/​smb.conf>​
 [global] [global]
 +
   workgroup = kurs   workgroup = kurs
 +
 [freigabe] [freigabe]
   path = /tmp   path = /tmp
   writable = yes   writable = yes
 +
 </​file>​ </​file>​
  
Zeile 38: Zeile 40:
 ))  ​ ))  ​
 ===== Samba starten ===== ===== Samba starten =====
-((Bug in openSuSE 11.4: https://​bugzilla.novell.com/​show_bug.cgi?​id=666450 http://​en.opensuse.org/​openSUSE:​Most_annoying_bugs_11.4 
-  /​etc/​init.d/​boot.apparmor stop 
-)) 
  
 SuSE, Centos (ab 6): SuSE, Centos (ab 6):
Zeile 51: Zeile 50:
   service samba restart   service samba restart
  
-Ubuntu (14.04), Debian (ab 8):+Ubuntu (ab 14.04), Debian (ab 8):
   service smbd restart   service smbd restart
   service nmbd restart   service nmbd restart
Zeile 81: Zeile 80:
 ==== Samba Freigabe mounten ====  ​ ==== Samba Freigabe mounten ====  ​
 Pakete: Pakete:
-''​cifs-utils''​ ( Debian 6.0 )+''​cifs-utils''​ ( Debian ​(ab 6.0), CentOS (ab 7) )
  
   mkdir /​mnt/​freigabe   mkdir /​mnt/​freigabe
   mount -t cifs -o username=xxx,​uid=localuser,​gid=localgroup //​notebook17/​freigabe /​mnt/​freigabe   mount -t cifs -o username=xxx,​uid=localuser,​gid=localgroup //​notebook17/​freigabe /​mnt/​freigabe
  
 +(( Warum sehen die Berechtigungen in der Freigabe anders als im lokalen Verzeichnis aus? https://​fosdem.org/​2019/​schedule/​event/​smb2_posix_extensions/​ ))
  
  
Zeile 109: Zeile 108:
   lsof -ai -c nmbd -P   lsof -ai -c nmbd -P
 ===== Windows Browsing ===== ===== Windows Browsing =====
-  nmblookup -M arbeitsgruppe+  nmblookup -M kurs
  
 ===== Existiert ein passender Unix-Account?​ ===== ===== Existiert ein passender Unix-Account?​ =====
admin_grundlagen/samba.txt · Zuletzt geändert: 2024/03/21 08:17 (Externe Bearbeitung)