Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
lpi2:samba-ldap-bdc [2007/05/07 20:15] |
lpi2:samba-ldap-bdc [2007/05/07 20:15] (aktuell) |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== BDC mit LDAP Backend ====== | ||
+ | Vorraussetzung: [[samba-ldap]] und ein weiterer Server [[samba-ldap-pdc]] | ||
+ | |||
+ | Dieses Beispiel beschreibt eine minimale Konfiguration. | ||
+ | |||
+ | ''/etc/samba/smb.conf'' : | ||
+ | <file> | ||
+ | [global] | ||
+ | workgroup = kurs | ||
+ | interfaces = eth0 | ||
+ | |||
+ | #Samba als "BDC": | ||
+ | os level = 34 | ||
+ | domain logons = yes | ||
+ | domain master = no | ||
+ | logon home = | ||
+ | logon path = | ||
+ | |||
+ | #LDAP Anbindung: | ||
+ | passdb backend = ldapsam:ldap://ldap1.villa.local | ||
+ | ldap suffix = dc=villa,dc=local | ||
+ | ldap admin dn = "cn=admin,dc=villa,dc=local" | ||
+ | ldap user suffix = ou=people | ||
+ | ldap group suffix = ou=groups | ||
+ | ldap machine suffix = ou=computers | ||
+ | ldap ssl = off | ||
+ | |||
+ | [daten] | ||
+ | path = /tmp | ||
+ | writable = yes | ||
+ | </file> | ||
+ | |||
+ | net rpc getsid | ||
+ | smbpasswd -W | ||
+ | |||