You are created the admin entry under the LDAP tree?
What is your slapd.conf file?

Winanjaya wrote:

> Thanks for your reply.. I followed suggested command: 
> 
> 
>>ldapadd -x -D "cn=root,dc=LippoGeneral,dc=com" -w secret -f ld.txt
>>
> 
> but the "Invalid credentials" error message occurs.. any idea?
> have a good day
> Thanks
> Winan
> 
> ----- Original Message ----- 
> From: "David Rodriguez Fernandez" <[EMAIL PROTECTED]>
> To: "Winanjaya" <[EMAIL PROTECTED]>
> Sent: Thursday, September 12, 2002 10:08 PM
> Subject: Re: Please help .. Top urgent
> 
> 
> 
>>try with:
>>
>>ldapadd -x -D "cn=root,dc=LippoGeneral,dc=com" -w secret -f ld.txt
>>
>>NOTE -x
>>
>>
>>Winanjaya wrote:
>>
>>
>>>I followed step by step instruction of QMailLDAP Admin ver 
>>>QLDAPAdmin-1.0-RC1..to install on my RH7.2 with OpenLDAP-2.1.4 and 
>>>BerkeleyDB.4.0 installed, but I met problem when I run:
>>>
>>> 
>>>
>>>ldapadd -D "cn=root,dc=LippoGeneral,dc=com" -w secret -f ld.txt
>>>
>>> 
>>>
>>>it comes with below error message:
>>>
>>>ldap_sals_interactive_bind_s: No such object..
>>>
>>> 
>>>
>>>what should I do?  by the way my ld.txt file is contained as follow:
>>>
>>> 
>>>
>>>dn: dc=LippoGeneral,dc=com
>>>
>>>objectclass: top
>>>
>>> 
>>>
>>>and my qldapadmin.conf is contained as follow:
>>>
>>> 
>>>
>>>LDAP_USER="cn=root,dc=LippoGeneral,dc=com"
>>>
>>>LDAP_PASSWORD = secret
>>>
>>>LDAP_BASEDN="dc=LippoGeneral,dc=com"
>>>
>>>LDAP_SERVER=localhost
>>>
>>>LDAP_PORT=389
>>>
>>>MAILHOST="DNS.LippoGeneral.com"
>>>
>>>DEFAULT_QUOTA_SIZE="10000000"
>>>
>>>DEFAULT_QUOTA_COUNT="1000"
>>>
>>> 
>>>
>>>in my qconfig.h :
>>>
>>> 
>>>
>>>#define LINUX
>>>
>>>#define HARDQUOTA 1
>>>
>>>#define ENDERLDAP_VERSION "1.0-RC1"
>>>
>>>#define CONFIGFILE "/usr/local/etc/qldapadmin.conf"
>>>
>>>#define MAXBUFSIZ 1024
>>>
>>>#define MAXDNSIZE 512
>>>
>>>#define MAXDOMAINS 128
>>>
>>>#define MAXUSERS 8192
>>>
>>>#define MAXFORWARDS 3
>>>
>>>#define MAXALTERNATES 3
>>>
>>> 
>>>
>>>and also FYI, I also defined LDFLAGS = -L/usr/local/BerkeleyDB.4.0/lib 
>>>and CPPFLAGS = -I/usr/local/BerkeleyDB.4.0/include
>>>
>>> 
>>>
>>>any solutions would be greatly appreciated and thanks a lot in advance
>>>
>>> 
>>>
>>>Regards
>>>
>>>Winan
>>>
>>> 
>>>
>>> 
>>>
>>>
>>
>>
> 


Reply via email to