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 🙂

Tulisan Lain   E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

By alfach

One thought on “Troubleshoot smbldap-populate”

Leave a Reply

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