On 17Mar 2011, at 10:56 AM, [email protected] wrote:

> Hi,
> I have problem loading the sogo.ldif into the directory of LDAP server. I have
> copied and pasted here for your checking. Pls help. Thanks
> 
> 
> [root@testmailserver openldap]# ldapadd -x -D "ou=users,dc=mindmedia,dc=com" 
> -w
> qwerty -f sogo.ldif
> ldap_bind: Invalid credentials (49)

from the man page of ldapadd:

-D binddn
              Use the Distinguished Name binddn to bind to the LDAP directory.  
For SASL binds, the server is  expected
              to ignore this value.


> [root@testmailserver openldap]# ldapadd -x -D "cn=Manager,dc=mindmedia,dc=com"
> -w qwerty -f sogo.ldif
> ldap_bind: Invalid credentials (49)
> [root@testmailserver openldap]# ldapadd -x -D
> "uid=sogo,ou=users,dc=mindmedia,dc=com" -w qwerty -f sogo.ldif
> ldap_bind: Invalid credentials (49)

You might wat to try 

ldapadd -x -D cn=admin,dc=mindmedia,dc=com -w -f sogo.ldif 

hoping cn=admin,dc=mindmedia,dc=com is your admin user

No quotes around the binddn is necessary.

Bennie Kahler-Venter

Abrocha Engineering and Solutions
Tel:   +27 82 961 0270
http://www.abrocha.co.za


-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to