Problem with LDAP client?

Hello,

I chose LDAP as a base for the users in my system. I installed the necessary software and configured it as it is described in: http://www.virtualmin.com/documentation/id,combining_virtualmin_and_ldap/

In Webmin -> System, I don`t have: 'LDAP Client module', but I have 'LDAP Users and Groups'. I configured the module according to the documentation.

But when i reboot the server and my LDAP server: 'slapd' works, in Virtualmin I got always this error information:

Failed to bind to LDAP server as cn=Manager,dc=foo,dc=pl : unauthenticated bind (DN with no password) disallowed

System: FreeBSD 8.2 amd64 Virtualmin: Virtualmin-Pro v. 3.83 Wemin: v. 1.500

pkg_info| grep ldap

nss_ldap-1.265_6 RFC 2307 NSS module openldap-client-2.4.24 Open source LDAP client implementation openldap-server-2.4.24 Open source LDAP server implementation p5-perl-ldap-0.4001 A Client interface to LDAP (includes Net::LDAP) pam_ldap-1.8.6_1 A pam module for authenticating with LDAP

pkg_info| grep nss

nss_ldap-1.265_6 RFC 2307 NSS module

ps -auxw | grep slap

ldap 37523 0.0 0.3 189792 12728 ?? Ss 12:31PM 0:00.38 /usr/local/libexec/slapd -u ldap -g ldap

sockstat -4 | grep ldap

ldap slapd 37523 7 tcp4 :389 *:

Status: 
Closed (fixed)

Comments

I solve this problem! And now LDAP in Virtualmin works great!

I discovered that webmin didn`t write to file: '/usr/local/etc/webmin/ldap-useradmin/config' variable: 'pass ='

I don`t know why?

I added it manually and now everything is working.

Normally you would set that in the "LDAP Client" module. If it isn't appearing, click the "Refresh Modules" link on the left (after installing LDAP support), and it should show up.

Automatically closed -- issue fixed for 2 weeks with no activity.