shamshu shaikh wrote:
Hi,
Thanks for ur suggestion but after using that command i am getting
another error now
[EMAIL PROTECTED] ~]# ldapadd -x -v -w admin -D
"cn=admin,o=localhost,c=com" -fldif
ldap_initialize( <DEFAULT> )
ldap_bind: Invalid credentials (49)
From: "shamshu shaikh" <[EMAIL PROTECTED]>
To: qmail-ldap@qmail-ldap.org
Subject: ldapadd error Date: Fri, 25 Nov 2005 11:51:15 +0000
hi all,
First thanks to Tomas his solution worked for my previous error . Now
when i am trying to add ldapentries from scratch i am getting this
error. My test server OS is of PCQuest2005
[EMAIL PROTECTED] ~]# cat /etc/redhat-release
PCQLinux 2005 (WhiteHope)
[EMAIL PROTECTED] ~]#ldapadd -acrv -h ldap.xyz.com -D
"cn=admin,o=localhost,c=com" -w admin -f ldif
ldap_initialize( ldap://ldap.vvdesign.com )
ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)
I have installed these rpm's in my test server
[EMAIL PROTECTED] ~]# rpm -qa |grep ldap
openldap-2.2.13-2
php-ldap-4.3.9-3
nss_ldap-220-3
mod_authz_ldap-0.26-2
openldap-servers-2.2.13-2
openldap-clients-2.2.13-2
openldap-devel-2.2.13-2
Please suggest me what has to be done to get rid of this error
Regards
shamshu
_________________________________________________________________
Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN
Search http://server1.msn.co.in/profile/shahrukh.asp
_________________________________________________________________
Tried the new MSN Messenger? It’s cool! Download now.
http://messenger.msn.com/Download/Default.aspx?mkt=en-in
Hi
It has of use ldapadd -x -v -w admin -D "cn=admin,o=localhost,c=com"
-fldif -z for connection with tls.
--
......................................
Eduardo Costa
Centro de Comunicações - Instituto Politécnico de Bragança
raposo at ipb.pt
http://www.ipb.pt/~raposo/
......................................