Eu segui o guia descrito aqui configure LDAP , mas eu continuo recebendo erro ao executar "getent passwd", há alguma razão para isso?
Erro:
Jul 16 15:58:33 wso2-VirtualBox getent: nss_ldap: could not search LDAP server - Server is unavailable
^[[AJul 16 15:59:34 wso2-VirtualBox getent: nss_ldap: failed to bind to LDAP server ldapi:///192.168.4.152/: Invalid credentials
Jul 16 15:59:34 wso2-VirtualBox getent: nss_ldap: could not search LDAP server - Server is unavailable
Arquivos de configuração:
vi /etc/ldap.conf
base dc=example,dc=com
uri ldapi:///192.168.4.152/
ldap_version 3
timelimit 4
bind_timelimit 4
bind_policy soft
pam_password md5
nss_initgroups_ignoreusers avahi,avahi-
autoipd,backup,bin,colord,daemon,games,gnats,hplip,irc,kernoops,libuuid,lightdm,list,lp,mail,man,messagebus,news,nslcd,openldap,proxy,pulse,root,rtkit,saned,speech-dispatcher,sshd,sync,sys,syslog,usbmux,uucp,whoopsie,www-data