[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
error loading ucdata (error -127) (ITS#2295)
Full_Name: Waqar Amin
Version: openldap-stable-20030107
OS: win2000
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (192.169.41.46)
Dear All,
I have compiled openldap-stable-20030107 version using db-4.0.14 DB.
While compiling i have 10 warnings, but program link successfully.
But when i use slapadd it gives me following error.
D:\LDAP>slapadd -d 1 -l test.ldif -f slapd.conf
slapadd init: initiated tool.
bdb_initialize: initialize BDB backend
bdb_initialize: Sleepycat Software: Berkeley DB 4.0.14: (November 18, 2001)
>>> dnNormalize: <cn=Subschema>
<<< dnNormalize: <cn=subschema>
error loading ucdata (error -127)
slapadd: bad configuration file!
Please help me.
For your reference i am attaching warning message, ldif and slapd.conf file.
/***Slapd.conf***/
include D:/LDAP/schema/core.schema
pidfile D:/LDAP/slapd.pid
argsfile D:/LDAP/slapd.args
#######################################################################
# ldbm database definitions
#######################################################################
database ldbm
suffix "c=FR"
rootdn "cn=Manager,c=FR"
rootpw secret
directory D:/LDAP/db
index objectClass eq
/***test.ldif***/
dn: c=FR
c: FR
objectclass: country
creatorsname: cn=Manager,c=FR
/***warnings***/
--------------------Configuration: ucgendat - Win32 Debug--------------------
Compiling...
ucgendat.c
\openldap-stable-20030107\openldap-2.1.12\libraries\liblunicode\ucdata\ucgendat.c(497)
: warning C4244: '=' : conversion from 'unsigned long ' to 'unsigned short ',
possible loss of data
\openldap-stable-20030107\openldap-2.1.12\libraries\liblunicode\ucdata\ucgendat.c(504)
: warning C4244: '=' : conversion from 'unsigned long ' to 'unsigned short ',
possible loss of data
\openldap-stable-20030107\openldap-2.1.12\libraries\liblunicode\ucdata\ucgendat.c(1247)
: warning C4244: '=' : conversion from 'const unsigned long ' to 'unsigned short
', possible loss of data
\openldap-stable-20030107\openldap-2.1.12\libraries\liblunicode\ucdata\ucgendat.c(1255)
: warning C4244: '=' : conversion from 'unsigned long ' to 'unsigned short ',
possible loss of data
\openldap-stable-20030107\openldap-2.1.12\libraries\liblunicode\ucdata\ucgendat.c(1315)
: warning C4244: '=' : conversion from 'unsigned long ' to 'unsigned short ',
possible loss of data
\openldap-stable-20030107\openldap-2.1.12\libraries\liblunicode\ucdata\ucgendat.c(1316)
: warning C4244: '=' : conversion from 'unsigned long ' to 'unsigned short ',
possible loss of data
\openldap-stable-20030107\openldap-2.1.12\libraries\liblunicode\ucdata\ucgendat.c(1317)
: warning C4244: '=' : conversion from 'unsigned long ' to 'unsigned short ',
possible loss of data
\openldap-stable-20030107\openldap-2.1.12\libraries\liblunicode\ucdata\ucgendat.c(1405)
: warning C4244: '=' : conversion from 'unsigned long ' to 'unsigned short ',
possible loss of data
\openldap-stable-20030107\openldap-2.1.12\libraries\liblunicode\ucdata\ucgendat.c(1459)
: warning C4244: '=' : conversion from 'unsigned long ' to 'unsigned short ',
possible loss of data
\openldap-stable-20030107\openldap-2.1.12\libraries\liblunicode\ucdata\ucgendat.c(1523)
: warning C4244: '=' : conversion from 'unsigned long ' to 'unsigned short ',
possible loss of data
----------------------------------------------------------------------------------
When i use slapadd i have error