This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dsconfig --hostname localhost --port 4444 -X create-local-db-index --element-name userRoot --index-name membernisnetgroup \ | |
--set index-type:presence \ | |
--set index-type:equality \ | |
--set index-type:substring \ | |
--set index-entry-limit:8000 \ | |
--bindDN cn=Directory\ Manager \ | |
--bindPasswordFile /oud/certs/pw.txt \ | |
--trustAll --no-prompt | |
dsconfig --hostname localhost --port 4444 -X create-local-db-index --element-name userRoot --index-name sn \ | |
--set index-type:presence \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python | |
import os | |
import sys | |
import time | |
import datetime | |
import subprocess | |
import smtplib | |
from email.mime.text import MIMEText |