You might want to use JXplorer to add the ldif file too as it can do so too.
Bennie Kahler-Venter Abrocha Engineering and Solutions Tel: +27 82 961 0270 http://www.abrocha.co.za On 18Mar 2011, at 11:15 AM, ne...@mindmedia.com.sg wrote: > > 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 > Help.. > 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 > Maximum number of search results to return Default (500) > Maximum time for searches Default (3600 seconds) seconds > Encryption options > > > > > > Quoting Bennie Kahler-Venter <bven...@me.com>: > > > > > On 17Mar 2011, at 10:56 AM, ne...@mindmedia.com.sg 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 > > > > > > -- > > users@sogo.nu > > https://inverse.ca/sogo/lists > > -- users@sogo.nu https://inverse.ca/sogo/lists