Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
— |
lpi2:samba-ldap-member [2008/05/07 09:46] (aktuell) |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== PDC ====== | ||
+ | Vorraussetzung: weiterer Rechner ist [[samba-ldap-pdc]] | ||
+ | |||
+ | |||
+ | ====== Winbind ldap Konfiguration ====== | ||
+ | ''/etc/samba/smb.conf'' : | ||
+ | <file> | ||
+ | [global] | ||
+ | workgroup = kurs | ||
+ | security = domain | ||
+ | idmap uid = 20000 - 30000 | ||
+ | idmap gid = 20000 - 30000 | ||
+ | template shell = /bin/bash | ||
+ | winbind use default domain = Yes | ||
+ | |||
+ | idmap backend = ldap:ldap://villa.local | ||
+ | ldap admin = cn=nssadmin,dc=villa,dc=local | ||
+ | ldap suffix = dc=villa,dc=local | ||
+ | ldap idmap suffix = ou=idmap | ||
+ | |||
+ | [freigabe] | ||
+ | path = /tmp | ||
+ | writable = yes | ||
+ | </file> | ||
+ | |||
+ | ====== Rechner in die Domäne aufnehmen ====== | ||
+ | net rpc join -U root | ||
+ | |||
+ | ===== Domänenaufname testen ===== | ||
+ | wbinfo -t | ||
+ | wbinfo -a kurs\\iw%villa | ||
+ | |||
+ | ====== Linux Benutzer über winbind beziehen ====== | ||
+ | ''/etc/nsswitch.conf'' : | ||
+ | <file> | ||
+ | passwd: compat winbind | ||
+ | group: compat winbind | ||
+ | shadow: compat winbind | ||
+ | </file> | ||
+ | |||
+ | ===== testen ===== | ||
+ | getent passwd iw | ||