|
|
| Zeile 1: |
Zeile 1: |
| =/etc/network/interfaces=
| |
| auto lo
| |
| iface lo inet loopback
| |
|
| |
| auto eth0
| |
| iface eth0 inet static
| |
| address 192.168.240.199
| |
| netmask 255.255.248.0
| |
| gateway 192.168.240.100
| |
| dns-nameservers 192.168.240.21
| |
| dns-search simplex.local
| |
| =/etc/hosts=
| |
| 127.0.0.1 localhost
| |
| 127.0.1.1 fenetre
| |
| 192.160.240.199 fenetre fenetre.simplex.local
| |
| =installation= | | =installation= |
| sudo apt-get install samba4 samba4-clients
| |
| Momentan kommt es bei der Installation zu einem Fehler weshalb dpkg das Paket nicht fertig konfigurieren kann. Den Fehler kann man allerdings ignorieren und so reicht es aus, das Paket manuelle als installiert zu markieren. Dazu sucht man sich in der Datei /var/lib/dpkg/status das Paket samba4 und ersetzt den Wert half-configured durch installed.
| |
| =provision=
| |
| rm /etc/samba/smb.conf
| |
| samba-tool domain provision --realm=simplex.local --domain=simplex --adminpass='.Sysadm1' --server-role=dc --dns-backend=SAMBA_INTERNAL
| |
|
| |
| *http://ubuntuforums.org/showthread.php?t=2146198 | | *http://ubuntuforums.org/showthread.php?t=2146198 |
| | =pam ldap= |
| | *http://zachbethel.com/2013/04/10/linux-ldap-authentication-with-samba4/ |