[Date Prev][Date Next] [Chronological] [Thread] [Top]

help on crypted password



Hi,

I use openldap-2.0.11 on Windows NT with Berkeley DB 3.3.11.

I've got a trouble with crypted password.

When I insert the following person in my directory it works :

dn: CN=bil, O=ASC, C=FR
objectclass: top
objectclass: person
objectclass: mbtPerson
cptess: 0
categorie: utilisateur
rep1: Ceci est la reponse a la question une.
rep2: Cela est la reponse a la question 2.
userPassword: {crypt}LaO1VKZKzWpwk
cn: bil
sn: bil

but I see with LDAPBrowser that the password is not crypted ! In fact it's
always           {crypt}LaO1VKZKzWpwk

Here is my slapd.conf :

# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.6 2001/04/20 23:32:43
kurt Exp $
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#

include        c:/openldap/schema/core.schema
include        c:/openldap/schema/mbt.schema
include        c:/openldap/schema/cosine.schema
include        c:/openldap/schema/inetorgperson.schema

# Define global ACLs to disable default read access.

#defaultaccess read
#access to *
#    by dn="cn=admin,o=ASC,c=FR" write
#    by anonymous auth
#    by * read

# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral ldap://root.openldap.org

pidfile        c:/openldap/slapd.pid

argsfile  c:/openldap/slapd.args

# Load dynamic backend modules:
# modulepath   %MODULEDIR%
# moduleload   back_ldap.la
# moduleload   back_ldbm.la
# moduleload   back_passwd.la
# moduleload   back_shell.la

#######################################################################
# ldbm database definitions
#######################################################################

database  ldbm
suffix         "o=ASC,c=FR"
rootdn         "cn=root,o=ASC,c=FR"
rootpw         root
directory c:/openldap/openldap-ldbm

# Indices to maintain
index     objectClass    eq

Is there anything to add in this file to have crypted password ?

Furthermore here is the definition of the attribute userPassword in the
core.schema

attributetype ( 2.5.4.35 NAME 'userPassword'
     EQUALITY octetStringMatch
     SYNTAX 1.3.6.1.4.1.1466.115.121.1.40{128} )

Thank you for your help.
Regards.
Christophe Garrigue