misc_scripts/ldap_basic/ldapmodify.sh

3 lines
210 B
Bash
Raw Normal View History

2024-10-28 05:23:24 +00:00
ldapmodify -D cn=ldapadmin,dc=example,dc=com -w Y0ur4dm!nPwd -H ldap://192.12.34.123/ -f $1
# This script takes one argument - the /path/filenam.ldif of an ldif file.
# Refer the documentations for ldif syntax.