[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: invalid credentials (49) for normal user
Hi,
This is the output after doing "-d 128"
http://pastebin.com/6Jb9j7F7
my latest slapd.conf is this:
###########################################################################
# # See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable. #
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/dyngroup.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/misc.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/openldap.schema
#######################################################################
# bdb database definitions
#######################################################################
database bdb
suffix "o=M1,c=GB"
rootdn "uid=root,ou=People,o=M1,c=GB"
rootpw test123
directory /var/lib/ldap
# Indices to maintain
index objectClass,uid,uidNumber,gidNumber eq
index cn,mail,surname,givenname eq,subinitial
## logging.
#loglevel acl
access to attrs=userPassword
by self write
by dn="uid=root,ou=People,o=M1,c=GB" write
by * auth
access to *
by self write
by users read
by anonymous auth
########################################################
Regards,
rui
On Wed, Dec 29, 2010 at 5:14 PM, Dieter Kluenter <dieter@dkluenter.de> wrote:
> Am Wed, 29 Dec 2010 16:32:52 +0000
> schrieb rui <guideveloper@gmail.com>:
>
>> Hi,
>>
>> I have changed the slapd.conf acl settings accordingly.
>>
>> Also i have switched to bdb through these two commands
>> slapcat -f /etc/openldap/slapd.conf -l dumps.ldif
>> slapadd -l dumps.ldif
>>
>> Still no luck, can't bind with
>> bindn=uid=rui,ou=People,o=m1,c=GB
>>
>> Regards,
>> rui
>
> If you run slapd in debugging mode 128 or 384 you should see something
> like
> http://pastebin.de/13398
>
> If not, please provide debugging output of a bind operation and
> your slapd.conf.
>
> -Dieter
>
> --
> Dieter Klünter | Systemberatung
> http://dkluenter.de
> GPG Key ID:DA147B05
> 53°37'09,95"N
> 10°08'02,42"E
>