|
|
| (16 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt) |
| Zeile 1: |
Zeile 1: |
| =preparation=
| | *[[Sernet Ubuntu]] |
| ==/etc/resolv.conf==
| | *[[Sernet Suse]] |
| nameserver 192.168.240.200
| |
| search xinux.org
| |
| ==/etc/hostname==
| |
| gondor.xinux.org
| |
| ==/etc/hosts==
| |
| 127.0.0.1 localhost
| |
| 192.168.240.200 gondor gondor.xinux.org
| |
| ==/etc/network/interfaces==
| |
| <pre>
| |
| auto lo
| |
| iface lo inet loopback
| |
| | |
| auto eth0
| |
| iface eth0 inet static
| |
| address 192.168.240.200
| |
| netmask 255.255.248.0
| |
| gateway 192.168.240.100
| |
| dns-nameservers 192.168.240.200
| |
| dns-search xinux.org
| |
| </pre>
| |
| =create an account=
| |
| https://portal.enterprisesamba.com/
| |
| =add this to /etc/apt/source.list=
| |
| change USERNAME and ACCESSKEY
| |
| deb http://USERNAME:ACCESSKEY@download.sernet.de/packages/samba/4.1/debian squeeze main
| |
| deb-src http://USERNAME:ACCESSKEY@download.sernet.de/packages/samba/4.1/debian squeeze main
| |
| =The SerNet build key=
| |
| wget http://ftp.sernet.de/pub/sernet-samba-keyring_1.4_all.deb
| |
| dpkg -i sernet-samba-keyring_1.4_all.deb
| |
| =update=
| |
| apt-get update
| |
| =install=
| |
| apt-get install sernet-samba-ad
| |
| =clean=
| |
| rm /etc/samba/smb.conf /var/lib/samba/private/sam.ldb
| |
| =provision=
| |
| samba-tool domain provision
| |
| =change in /etc/default/sernet-samba=
| |
| SAMBA_START_MODE="ad"
| |
| =start samba ad=
| |
| service sernet-samba-ad start
| |
| Starting SAMBA AD services : *
| |
| =test share=
| |
| smbclient -L localhost -U%
| |
| | |
| =test the serverports=
| |
| <pre>
| |
| netstat -ltp
| |
| | |
| Aktive Internetverbindungen (Nur Server)
| |
| Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
| |
| tcp 0 0 *:domain *:* LISTEN 2579/samba
| |
| tcp 0 0 *:kerberos *:* LISTEN 2573/samba
| |
| tcp 0 0 *:8472 *:* LISTEN 790/sshd
| |
| tcp 0 0 *:ldaps *:* LISTEN 2571/samba
| |
| tcp 0 0 *:microsoft-ds *:* LISTEN 2570/smbd
| |
| tcp 0 0 *:1024 *:* LISTEN 2567/samba
| |
| tcp 0 0 *:3268 *:* LISTEN 2571/samba
| |
| tcp 0 0 *:3269 *:* LISTEN 2571/samba
| |
| tcp 0 0 *:ldap *:* LISTEN 2571/samba
| |
| tcp 0 0 *:loc-srv *:* LISTEN 2567/samba
| |
| tcp 0 0 *:netbios-ssn *:* LISTEN 2570/smbd
| |
| tcp 0 0 *:kpasswd *:* LISTEN 2573/samba
| |
| tcp6 0 0 [::]:domain [::]:* LISTEN 2579/samba
| |
| tcp6 0 0 [::]:kerberos [::]:* LISTEN 2573/samba
| |
| tcp6 0 0 [::]:8472 [::]:* LISTEN 790/sshd
| |
| tcp6 0 0 [::]:ldaps [::]:* LISTEN 2571/samba
| |
| tcp6 0 0 [::]:microsoft-ds [::]:* LISTEN 2570/smbd
| |
| tcp6 0 0 [::]:1024 [::]:* LISTEN 2567/samba
| |
| tcp6 0 0 [::]:3268 [::]:* LISTEN 2571/samba
| |
| tcp6 0 0 [::]:3269 [::]:* LISTEN 2571/samba
| |
| tcp6 0 0 [::]:ldap [::]:* LISTEN 2571/samba
| |
| tcp6 0 0 [::]:loc-srv [::]:* LISTEN 2567/samba
| |
| tcp6 0 0 [::]:netbios-ssn [::]:* LISTEN 2570/smbd
| |
| tcp6 0 0 [::]:kpasswd [::]:* LISTEN 2573/samba
| |
| </pre>
| |