Adding LDAP record


You want to add an LDAP record. Effectively create a record.



To add a record to LDAP, you simply run an ldapmodify with the -a flag.



ldapmodify -x -a -v-D”cn=Manager,dc=demo,dc=net”-w secret < ldifFile

Where ldifFile is a file either hand crafted or generated with ldapsearch -L.



[tags]ldapadd, ldapmodify, LDAP Training School[/tags]


If you have found my website useful, please consider buying me a coffee below 😉

Leave a Reply

Your email address will not be published. Required fields are marked *