Pembahasan LKS ITNSA MAIL IMAP SMTP Authentication LDAP

Authentication has to be done through LDAP

  • Make sure that the corresponding local user do not exist and Make sure LDAP user cannot login locally

Untuk membuat SMTP authentication Postifix membutuhkan Cyrus-SASL atau Dovecot-SASL (http://www.postfix.org/SASL_README.html)

Ada beberapa cara untuk menjawab soal Authentication has to be done through LDAP  bisa dengan:

  1. SMTP Authentication (SASL Authentication dengan perantara cyrus/sasl2-bin kemudian libsasl2-modules-ldap)
  2. SMTP Authentication (SASL Authentication dengan perantara dovecot kemudian dovecot-ldap)
  3. SMTP Authentication dengan Courier
  4. SMTP Authentication (SASL Authentication dengan perantara dovecot kemudian libnss-ldap)

Berikut adalah langkah-langkah dengan cara 4. SMTP Authentication (SASL Authentication dengan perantara dovecot kemudian libnss-ldap).
Secara default dovecot menggunakan system users sehingga cukup menggunakan libnss-ldap untuk melakukan proses autentikasi ke ldap server, libnss-ldap dikonfigurasi di /etc/nsswitch.conf, dpkg-reconfigurasi libnss-ldap, dan ldap.conf. Untuk selengkapnya bisa diamati di video-video dibawah ini.


Authentication has to be done through LDAP
Menggunakan SMTP Auth
Berikut screencast nya




Make sure that the corresponding local user do not exist
Berikut screencast untuk solusi memakai dovecot dan libncss-ldap




Make sure LDAP user cannot login locally
Pada saat pembuatan user LDAP untuk shell isikan /sbin/nologin



Info tambahan:
https://www.linuxtopia.org/online_books/mail_systems/postfix_documentation/local.8.html
https://opensource.apple.com/source/postfix/postfix-259/postfix/proto/LOCAL_RECIPIENT_README.html
Berikut adalah bagaimana cara postfix melihat user
http://www.postfix.org/DATABASE_README.html
Berikut adalah bagaimana cara dovecot mengecek user
https://www.dovecot.org/doc/dovecot-example.conf







Komentar

Anonim mengatakan…
Kalau untuk multiple domain LDAP gimana?

Postingan populer dari blog ini

Cara memahami dan menghafal model OSI dengan analogi

Pembahasan IT Network Systems Administration Module A DNS (Forward Zone, Reverse Zone, CNAME, MX, Split View)

Table of Contents