Hi Bennie,
OpenLdap is quite new to me. Need your confirmation whether the
entries in the LDAP screen are correct. If not, pls kindly indicate
your correct entries so that your suggested command can be run.

Thanks

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

        Module Index[1]
Help..[2]
OpenLDAP Server Configuration           

         GLOBAL LDAP SERVER OPTIONS  

        ROOT DN FOR LDAP DATABASE               
        ADMINISTRATION LOGIN DN         
        ADMINISTRATION PASSWORD         Unix encrypted 11x1BzjhHv8MA
        NEW ADMINISTRATION PASSWORD              Don't change  Set to  
        INDEXES TO CACHE                 Default     
        DATABASE ENTRIES TO CACHE                Default     
        ACCESS CONTROL OPTIONS           Allow LDAP v2 clients Allow anonymous 
login with credentials Allow anonymous login with DN Allow updates by anonymous 
logins  
        MAXIMUM NUMBER OF SEARCH RESULTS TO RETURN               Default (500)  
   
        MAXIMUM TIME FOR SEARCHES                Default (3600 seconds)     
seconds 

         ENCRYPTION OPTIONS  

        LDAP CONNECTIONS TO ACCEPT               LDAP over network Unix socket 
file LDAP over SSL  
        TLS CERTIFICATE FILE             None      
        TLS PRIVATE KEY FILE             None      
        TLS CA CERTIFICATE FILE          None       

Quoting Bennie Kahler-Venter <[email protected]>:

>
> 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



Links:
------
[1] https://localhost.localdomain:10000/ldap-server/index.cgi
[2] https://localhost.localdomain:10000/help.cgi/ldap-server/slapd
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to