Import Ldif In Ldap
in directory.ldif
dn: ou=Contactlist,dc=domain,dc=com
objectClass: top
objectClass: organizationalUnit
ou: Contactlist
add to ldap server
ldapadd -D "dc=domain,dc=com" -f directory.ldif -W -x
add data to ldap server from convert csv to ldif
ldapadd -x -D "cn=Manager,dc=domain,dc=com" -W -f example.ldif
test with
ldapsearch -x -b "ou=Contactlist,dc=domain,dc=com" "objectclass=*"
sources:
http://wiki.tryphon.org/configure_openldap
http://www.openldap.org/doc/admin23/quickstart.html
page_revision: 6, last_edited: 1177406369|%e %b %Y, %H:%M %Z (%O ago)





