Home / Linux / FOSS / Troubleshoot smbldap-populate

Troubleshoot smbldap-populate

Saya sempat menemukan masalah ketika menjalankan smbldap-populate, yaitu ia menampilkan error seperti ini :

Could not start_tls: unsupported extended operation at /usr/sbin//smbldap_tools.pm line 341

Tahukah anda dimana masalahnya?? :)

Itu karena menggunakan TLS, tapi belum di konfigurasi, jadi saya memilih mematikan saja konfigurasinya yang ada di file /etc/smb/smb.conf

seperti ini :

# Use TLS for LDAP
# If set to 1, this option will use start_tls for connection
# (you should also used the port 389)
# If not defined, parameter is set to “0?
# ldapTLS=”1?

# Use SSL for LDAP
# If set to 1, this option will use SSL for connection
# (standard port for ldaps is 636)
# If not defined, parameter is set to “0?
# ldapSSL=”0?

# How to verify the server’s certificate (none, optional or require)
# see “man Net::LDAP” in start_tls section for more details
# verify=”optional”

# CA certificate
# see “man Net::LDAP” in start_tls section for more details
# cafile=”/etc/smbldap-tools/ca.pem”

# certificate to use to connect to the ldap server
# see “man Net::LDAP” in start_tls section for more details
# clientcert=”/etc/smbldap-tools/smbldap-tools.iallanis.info.pem”

# key certificate to use to connect to the ldap server
# see “man Net::LDAP” in start_tls section for more details
# clientkey=”/etc/smbldap-tools/smbldap-tools.iallanis.info.key”

Kalau sudah di save, lalu di restart ldapnya. Dan jalankan lagi smbldap-populte :)

About alfach

Check Also

grep

Trik Beragam Penggunaan Perintah Grep di Linux

Grep pada dasarnya merupakan perintah sederhana namun powerfull dalam melakukan pencarian dalam lingkungan linux, ditambah ...

One comment

  1. populate la bro hehe

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>