Linuxhotel Wiki

Wie ging das nochmal?

Benutzer-Werkzeuge

Webseiten-Werkzeuge


fortgeschrittene:samba-member

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen gezeigt.

Link zu der Vergleichsansicht

Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung
Nächste Überarbeitung
Vorherige Überarbeitung
fortgeschrittene:samba-member [2011/07/22 13:39]
ingo_wichmann [Winbind tdb Konfiguration]
fortgeschrittene:samba-member [2014/02/20 19:28] (aktuell)
ingo_wichmann
Zeile 3: Zeile 3:
  
 ====== Domänen-Mitglied ohne Winbind ====== ====== Domänen-Mitglied ohne Winbind ======
 +(nicht empfohlen)
 ===== Pakete ===== ===== Pakete =====
 samba samba
Zeile 25: Zeile 26:
 CentOS: samba samba-common CentOS: samba samba-common
  
 +openSuSE ab 11.4: samba-winbind ​
 ===== Winbind tdb Konfiguration ===== ===== Winbind tdb Konfiguration =====
 ''/​etc/​samba/​smb.conf''​ : ''/​etc/​samba/​smb.conf''​ :
Zeile 37: Zeile 39:
  
   # ab samba 3.4 notwendig: ( gibts da noch ne andere Lösung? )   # ab samba 3.4 notwendig: ( gibts da noch ne andere Lösung? )
-  map untrusted to domain = no+  map untrusted to domain = yes
  
 [freigabe] [freigabe]
Zeile 44: Zeile 46:
 </​file>​ </​file>​
  
-====== Rechner in die Domäne aufnehmen ====== +openSuSE ab 11.4: 
-  /​etc/​init.d/​winbind restart +  /​etc/​init.d/​smb stop 
 +  /​etc/​init.d/​nmb stop
 CentOS 5: CentOS 5:
   /​etc/​init.d/​smb stop   /​etc/​init.d/​smb stop
 Debian 5: Debian 5:
   /​etc/​init.d/​samba stop   /​etc/​init.d/​samba stop
 +
 +
 +====== Rechner in die Domäne aufnehmen ======
 +Bug in openSuSE 13.1 (PDC): AppArmor verhindert, dass auf dem PDC ein Benutzer angelegt werden kann. Lösung: auf dem PDC
 +  systemctl stop apparmor.service
 +
  
   net rpc join -U smbadmin   net rpc join -U smbadmin
 +
 +openSuSE ab 11.4:
 +  /​etc/​init.d/​winbind restart
 +  /​etc/​init.d/​smb start
 +  /​etc/​init.d/​nmb start
 CentOS 5: CentOS 5:
   /​etc/​init.d/​smb start   /​etc/​init.d/​smb start
Zeile 58: Zeile 71:
   /​etc/​init.d/​winbind restart   /​etc/​init.d/​winbind restart
   /​etc/​init.d/​samba start   /​etc/​init.d/​samba start
- 
  
 ===== Domänenaufname testen ===== ===== Domänenaufname testen =====
Zeile 69: Zeile 81:
 ''/​etc/​nsswitch.conf''​ : ''/​etc/​nsswitch.conf''​ :
 <​file>​ <​file>​
-passwd: ​        compat ​winbind +passwd: ​        files winbind 
-group: ​         ​compat ​winbind +group: ​         ​files winbind 
-shadow: ​        compat ​winbind+shadow: ​        files winbind
 </​file>​ </​file>​
  
 +oder
 +
 +''/​etc/​nsswitch.conf''​ :
 +<​file>​
 +passwd: ​        ​compat
 +group: ​         compat
 +shadow: ​        ​compat
 +passwd_compat: ​ winbind
 +group_compat: ​  ​winbind
 +shadow_compat: ​ winbind
 +</​file>​
 +
 +  echo '​+::::​Samba User::'​ >> /etc/passwd
 +  echo '​+:::'​ >> /etc/group
 +  echo '​+::::::::'​ >> /etc/shadow
  
  
Zeile 79: Zeile 106:
   getent passwd iw   getent passwd iw
  
 +
 +====== Checkliste ======
 +===== Ist Samba Domänenmitglied?​ =====
 +  net rpc testjoin -U smbadmin
fortgeschrittene/samba-member.1311341952.txt.gz · Zuletzt geändert: 2011/07/22 13:39 von ingo_wichmann