Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung Nächste Überarbeitung | Vorherige Überarbeitung | ||
admin_grundlagen:samba [2017/11/17 09:50] ingo_wichmann [Samba Freigabe mounten] |
admin_grundlagen:samba [2023/01/13 14:08] ingo_wichmann [Samba starten] |
||
---|---|---|---|
Zeile 14: | Zeile 14: | ||
Fedora / Centos : | Fedora / Centos : | ||
- | yum install samba | + | yum install samba samba-client |
===== Minimal-Konfiguration ===== | ===== Minimal-Konfiguration ===== | ||
Zeile 41: | Zeile 41: | ||
===== Samba starten ===== | ===== Samba starten ===== | ||
- | SuSE, Centos (ab 6): | + | SuSE (ab 14), Centos (ab 7): |
- | chkconfig smb on | + | systemctl enable --now smb.service |
- | chkconfig nmb on | + | systemctl enable --now nmb.service |
- | service smb start | + | |
- | service nmb start | + | |
- | + | ||
- | Debian (bis 7): | + | |
- | service samba restart | + | |
Ubuntu (ab 14.04), Debian (ab 8): | Ubuntu (ab 14.04), Debian (ab 8): | ||
Zeile 85: | Zeile 80: | ||
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 108: | Zeile 103: | ||
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? ===== |