With a little side of applesauce...

Sunday, January 28, 2007

ldapadd - upload objects from and LDIF file

Here is the way to upload objects into your LDAP tree using an LDIF file (on localhost):

ldapadd -x -D ‘cn=admin,dc=erikin,dc=com’ -W -f original_schema.ldif

-x Simple authentication
-D binddn bind DN
-W prompt for bind password
-f file read operations from `file’

No comments: