Samba4: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 10: Zeile 10:
 
  dns-nameservers 192.168.240.21
 
  dns-nameservers 192.168.240.21
 
  dns-search simplex.local  
 
  dns-search simplex.local  
   
+
  =/etc/hosts=
=/etc/hosts=
 
 
  127.0.0.1 localhost
 
  127.0.0.1 localhost
 
  127.0.1.1 fenetre
 
  127.0.1.1 fenetre
 
  192.160.240.199 fenetre fenetre.simplex.local
 
  192.160.240.199 fenetre fenetre.simplex.local
 
+
=installation=
 
+
sudo apt-get install samba4 samba4-clients
  
  

Version vom 5. September 2013, 14:03 Uhr

/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

sudo apt-get install samba4 samba4-clients



samba-tool domain provision --realm=simplex.local --domain=simplex --adminpass='.Sysadm1' --server-role=dc --dns-backend=SAMBA_INTERNAL