
September 23rd, 2004, 11:01 AM
|
|
Contributing User
|
|
Join Date: Sep 2003
Posts: 254

Time spent in forums: 1 Day 8 h 52 m 23 sec
Reputation Power: 10
|
|
|
failed to bind to ldap server
I have ldap installed and the ldap search commands work pretty good. But when trying to admin it through webmin i get this error.
Failed to bind to LDAP server as : No password, did you mean noauth or anonymous ?. Maybe your module configuration is incorrect.
Although all ldapsearches work , i can't adminstrate it with webmin
So i don't think it's my slap.conf, but still.
This is my slap.conf without some of the comments
# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.23.2.8 2003/05/24 23:19:14 kurt Exp $
#
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/redhat/autofs.schema
#include /etc/openldap/schema/mail-routing.schema
# Allow LDAPv2 client connections. This is NOT the default.
allow bind_v2
pidfile /var/run/slapd.pid
database ldbm
suffix "dc=bahadoer,dc=nl"
rootdn "cn=manager,dc=bahadoer,dc=nl"
HOST 192.168.1.1
BASE dc=bahadoer,dc=nl
# Cleartext passwords, especially for the rootdn, should
# be avoided. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw secret
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory /var/lib/ldap/bahadoer.nl
# Indices to maintain for this database
index objectClass eq,pres
index ou,cn,mail,surname,givenname eq,pres,sub
index uidNumber,gidNumber,loginShell eq,pres
index uid,memberUid eq,pres,sub
index nisMapName,nisMapEntry eq,pres,sub
# Replicas of this database
#replogfile /var/lib/ldap/openldap-master-replog
#replica host=ldap-1.example.com:389 tls=yes
# bindmethod=sasl saslmech=GSSAPI
# authcId=host/ldap-master.example.com@EXAMPLE.COM
__________________
Last edited by xyfix : September 23rd, 2004 at 01:02 PM.
|