Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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 \
--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 telephonenumber \
--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 nisnetgrouptriple \
--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 objectclass \
--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 o \
--set index-type:presence \
--set index-type:equality \
--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 memberUid \
--set index-type:presence \
--set index-type:equality \
--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 oncrpcnumber \
--set index-type:presence \
--set index-type:equality \
--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 ref \
--set index-type:presence \
--set index-type:equality \
--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 sambaDomainName \
--set index-type:presence \
--set index-type:equality \
--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 uidNumber \
--set index-type:presence \
--set index-type:equality \
--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 sambaPrimaryGroupSID \
--set index-type:presence \
--set index-type:equality \
--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 sambaSID \
--set index-type:presence \
--set index-type:equality \
--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 orclmttenantuname \
--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 numsubordinates \
--set index-type:presence \
--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 pwdaccountlockedtime \
--set index-type:presence \
--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 pwdfailuretime \
--set index-type:presence \
--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 pwdgraceusetime \
--set index-type:presence \
--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 orclmtuid \
--set index-type:equality \
--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 orclmttenantguid \
--set index-type:equality \
--set index-entry-limit:8000 \
--bindDN cn=Directory\ Manager \
--bindPasswordFile /oud/certs/pw.txt \
dsconfig --hostname localhost --port 4444 -X create-local-db-index --element-name userRoot --index-name owner \
--set index-type:equality \
--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 uniquemember \
--set index-type:equality \
--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 seeAlso \
--set index-type:equality \
--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 uid \
--set index-type:approximate \
--set index-type:presence \
--set index-type:equality \
--set index-entry-limit:8000 \
--bindDN cn=Directory\ Manager \
--bindPasswordFile /oud/certs/pw.txt \
--trustAll --no-prompt
set -x
dsconfig -h localhost -p 4444 \
-X create-local-db-vlv-index \
--element-name userRoot --index-name domain.com.getauduent \
--set sort-order:"cn uid" \
--set base-dn:ou=people,o=org.com,dc=bnh,dc=com \
--set filter:"(objectClass=SolarisAuditUser)" \
--set scope:whole-subtree \
--bindDN cn=Directory\ Manager \
--bindPasswordFile /oud/certs/pw.txt \
--trustAll --no-prompt
dsconfig -h localhost -p 4444 \
-X create-local-db-vlv-index \
--element-name userRoot --index-name domain.com.getauhoent \
--set sort-order:"cn uid" \
--set base-dn:automountmapname=auto_home,o=org.com,dc=bnh,dc=com \
--set filter:"(objectClass=automount)" \
--set scope:whole-subtree \
--bindDN cn=Directory\ Manager \
--bindPasswordFile /oud/certs/pw.txt \
--trustAll --no-prompt
dsconfig -h localhost -p 4444 \
-X create-local-db-vlv-index \
--element-name userRoot --index-name domain.com.getauthent \
--set sort-order:"cn uid" \
--set base-dn:ou=SolarisAuthAttr,o=org.com,dc=bnh,dc=com \
--set filter:"(objectClass=SolarisAuthAttr)" \
--set scope:whole-subtree \
--bindDN cn=Directory\ Manager \
--bindPasswordFile /oud/certs/pw.txt \
--trustAll --no-prompt
dsconfig -h localhost -p 4444 \
-X create-local-db-vlv-index \
--element-name userRoot --index-name domain.com.getbootent \
--set sort-order:"cn uid" \
--set base-dn:ou=ethers,o=org.com,dc=bnh,dc=com \
--set filter:"(&(objectClass=bootableDevice)(bootParameter=*))" \
--set scope:whole-subtree \
--bindDN cn=Directory\ Manager \
--bindPasswordFile /oud/certs/pw.txt \
--trustAll --no-prompt
dsconfig -h localhost -p 4444 \
-X create-local-db-vlv-index \
--element-name userRoot --index-name domain.com.getethent \
--set sort-order:"cn uid" \
--set base-dn:ou=ethers,o=org.com,dc=bnh,dc=com \
--set filter:"(&(objectClass=ieee802Device)(macAddress=*))" \
--set scope:whole-subtree \
--bindDN cn=Directory\ Manager \
--bindPasswordFile /oud/certs/pw.txt \
--trustAll --no-prompt
dsconfig -h localhost -p 4444 \
-X create-local-db-vlv-index \
--element-name userRoot --index-name domain.com.getexecent \
--set sort-order:"cn uid" \
--set base-dn:ou=SolarisProfAttr,o=org.com,dc=bnh,dc=com \
--set filter:"(&(objectClass=SolarisExecAttr)(SolarisKernelSecurityPolicy=*))" \
--set scope:whole-subtree \
--bindDN cn=Directory\ Manager \
--bindPasswordFile /oud/certs/pw.txt \
--trustAll --no-prompt
dsconfig -h localhost -p 4444 \
-X create-local-db-vlv-index \
--element-name userRoot --index-name domain.com.getgrent \
--set sort-order:"cn uid" \
--set base-dn:ou=group,o=org.com,dc=bnh,dc=com \
--set filter:"(objectClass=posixGroup)" \
--set scope:whole-subtree \
--bindDN cn=Directory\ Manager \
--bindPasswordFile /oud/certs/pw.txt \
--trustAll --no-prompt
dsconfig -h localhost -p 4444 \
-X create-local-db-vlv-index \
--element-name userRoot --index-name domain.com.gethostent \
--set sort-order:"cn uid" \
--set base-dn:ou=hosts,o=org.com,dc=bnh,dc=com \
--set filter:"(objectClass=ipHost)" \
--set scope:whole-subtree \
--bindDN cn=Directory\ Manager \
--bindPasswordFile /oud/certs/pw.txt \
--trustAll --no-prompt
dsconfig -h localhost -p 4444 \
-X create-local-db-vlv-index \
--element-name userRoot --index-name domain.com.getip4ent \
--set sort-order:"cn uid" \
--set base-dn:ou=hosts,o=org.com,dc=bnh,dc=com \
--set filter:"(&(objectClass=ipHost)(ipHostNumber=*.*))" \
--set scope:whole-subtree \
--bindDN cn=Directory\ Manager \
--bindPasswordFile /oud/certs/pw.txt \
--trustAll --no-prompt
dsconfig -h localhost -p 4444 \
-X create-local-db-vlv-index \
--element-name userRoot --index-name domain.com.getip6ent \
--set sort-order:"cn uid" \
--set base-dn:ou=hosts,o=org.com,dc=bnh,dc=com \
--set filter:"(&(objectClass=ipHost)(ipHostNumber=*:*))" \
--set scope:whole-subtree \
--bindDN cn=Directory\ Manager \
--bindPasswordFile /oud/certs/pw.txt \
--trustAll --no-prompt
dsconfig -h localhost -p 4444 \
-X create-local-db-vlv-index \
--element-name userRoot --index-name domain.com.getipnent \
--set sort-order:"cn uid" \
--set base-dn:ou=networks,o=org.com,dc=bnh,dc=com \
--set filter:"(&(objectClass=ipNetwork)(cn=*))" \
--set scope:whole-subtree \
--bindDN cn=Directory\ Manager \
--bindPasswordFile /oud/certs/pw.txt \
--trustAll --no-prompt
dsconfig -h localhost -p 4444 \
-X create-local-db-vlv-index \
--element-name userRoot --index-name domain.com.getmailent \
--set sort-order:"cn uid" \
--set base-dn:ou=aliases,o=org.com,dc=bnh,dc=com \
--set filter:"(objectClass=mailGroup)" \
--set scope:whole-subtree \
--bindDN cn=Directory\ Manager \
--bindPasswordFile /oud/certs/pw.txt \
--trustAll --no-prompt
dsconfig -h localhost -p 4444 \
-X create-local-db-vlv-index \
--element-name userRoot --index-name domain.com.getmaskent \
--set sort-order:"cn uid" \
--set base-dn:ou=networks,o=org.com,dc=bnh,dc=com \
--set filter:"(&(objectClass=ipNetwork)(ipNetmaskNumber=*))" \
--set scope:whole-subtree \
--bindDN cn=Directory\ Manager \
--bindPasswordFile /oud/certs/pw.txt \
--trustAll --no-prompt
dsconfig -h localhost -p 4444 \
-X create-local-db-vlv-index \
--element-name userRoot --index-name domain.com.getnetent \
--set sort-order:"cn uid" \
--set base-dn:ou=networks,o=org.com,dc=bnh,dc=com \
--set filter:"(objectClass=ipNetwork)" \
--set scope:whole-subtree \
--bindDN cn=Directory\ Manager \
--bindPasswordFile /oud/certs/pw.txt \
--trustAll --no-prompt
dsconfig -h localhost -p 4444 \
-X create-local-db-vlv-index \
--element-name userRoot --index-name domain.com.getngrpent \
--set sort-order:"cn uid" \
--set base-dn:ou=netgroup,o=org.com,dc=bnh,dc=com \
--set filter:'(objectClass=nisNetgroup)' \
--set scope:whole-subtree \
--bindDN cn=Directory\ Manager \
--bindPasswordFile /oud/certs/pw.txt \
--trustAll --no-prompt
dsconfig -h localhost -p 4444 \
-X create-local-db-vlv-index \
--element-name userRoot --index-name domain.com.getprent \
--set sort-order:"cn uid" \
--set base-dn:ou=printers,o=org.com,dc=bnh,dc=com \
--set filter:"(objectClass=printerService)" \
--set scope:whole-subtree \
--bindDN cn=Directory\ Manager \
--bindPasswordFile /oud/certs/pw.txt \
--trustAll --no-prompt
dsconfig -h localhost -p 4444 \
-X create-local-db-vlv-index \
--element-name userRoot --index-name domain.com.getprofent \
--set sort-order:"cn uid" \
--set base-dn:ou=SolarisProfAttr,o=org.com,dc=bnh,dc=com \
--set filter:'(&(objectClass=SolarisProfAttr)(SolarisAttrLongDesc=*))' \
--set scope:whole-subtree \
--bindDN cn=Directory\ Manager \
--bindPasswordFile /oud/certs/pw.txt \
--trustAll --no-prompt
dsconfig -h localhost -p 4444 \
-X create-local-db-vlv-index \
--element-name userRoot --index-name domain.com.getpwent \
--set sort-order:"cn uid" \
--set base-dn:ou=people,o=org.com,dc=bnh,dc=com \
--set filter:'(objectClass=posixAccount)' \
--set scope:whole-subtree \
--bindDN cn=Directory\ Manager \
--bindPasswordFile /oud/certs/pw.txt \
--trustAll --no-prompt
dsconfig -h localhost -p 4444 \
-X create-local-db-vlv-index \
--element-name userRoot --index-name domain.com.getrpcent \
--set sort-order:"cn uid" \
--set base-dn:ou=rpc,o=org.com,dc=bnh,dc=com \
--set filter:"(objectClass=oncRpc)" \
--set scope:whole-subtree \
--bindDN cn=Directory\ Manager \
--bindPasswordFile /oud/certs/pw.txt \
--trustAll --no-prompt
dsconfig -h localhost -p 4444 \
-X create-local-db-vlv-index \
--element-name userRoot --index-name domain.com.getsoluent \
--set sort-order:"cn uid" \
--set base-dn:ou=people,o=org.com,dc=bnh,dc=com \
--set filter:"(objectClass=SolarisUserAttr)" \
--set scope:whole-subtree \
--bindDN cn=Directory\ Manager \
--bindPasswordFile /oud/certs/pw.txt \
--trustAll --no-prompt
dsconfig -h localhost -p 4444 \
-X create-local-db-vlv-index \
--element-name userRoot --index-name domain.com.getspent \
--set sort-order:"cn uid" \
--set base-dn:ou=people,o=org.com,dc=bnh,dc=com \
--set filter:"(objectClass=shadowAccount)" \
--set scope:whole-subtree \
--bindDN cn=Directory\ Manager \
--bindPasswordFile /oud/certs/pw.txt \
--trustAll --no-prompt
rebuild-index --baseDN userRoot --index domain.com.getauduent
rebuild-index --baseDN userRoot --index domain.com.getauhoent
rebuild-index --baseDN userRoot --index domain.com.getauthent
rebuild-index --baseDN userRoot --index domain.com.getbootent
rebuild-index --baseDN userRoot --index domain.com.getethent
rebuild-index --baseDN userRoot --index domain.com.getexecent
rebuild-index --baseDN userRoot --index domain.com.getgrent
rebuild-index --baseDN userRoot --index domain.com.gethostent
rebuild-index --baseDN userRoot --index domain.com.getip4ent
rebuild-index --baseDN userRoot --index domain.com.getip6ent
rebuild-index --baseDN userRoot --index domain.com.getipnent
rebuild-index --baseDN userRoot --index domain.com.getmailent
rebuild-index --baseDN userRoot --index domain.com.getmaskent
rebuild-index --baseDN userRoot --index domain.com.getnetent
rebuild-index --baseDN userRoot --index domain.com.getngrpent
rebuild-index --baseDN userRoot --index domain.com.getprent
rebuild-index --baseDN userRoot --index domain.com.getprofent
rebuild-index --baseDN userRoot --index domain.com.getpwent
rebuild-index --baseDN userRoot --index domain.com.getrpcent
rebuild-index --baseDN userRoot --index domain.com.getsoluent
rebuild-index --baseDN userRoot --index domain.com.getspent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment