LDAP + Mail Server
Note
Clone 2 buah server , LDAP server dan Mail Server
Konfigurasi dasar LDAP Server
Konfigurasi IP Address dan Hostname
# The primary network interface
auto enp0s3
iface enp0s3 inet dhcp
auto enp0s8
iface enp0s8 inet static
address 192.168.10.1/24
Konfigurasi dasar Mail Server
Konfigurasi IP Address dan Hostname
Konfigurasi DNS (LDAP-Server)
Install Bind9
Konfigurasi zone
Konfigurasi file db
root@ldap-server:~# cp /etc/bind/db.local /etc/bind/db.ldap
root@ldap-server:~# nano /etc/bind/db.ldap
;
$TTL 604800
@ IN SOA localhost. root.localhost. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS int-srv.ldap.lan.
@ IN MX 10 mail.ldap.lan.
int-srv IN A 192.168.10.1
mail IN A 192.168.10.2
Konfigurasi LDAP Server
installasi slapd

Masukkan Password untuk admin LDAP, masukkan saja 1234. masukkan sebanyak 2 kali