產生ldif file
install opendj
copy schema file
dsconfig set-password-policy-prop --set allow-pre-encoded-passwords:true --policy-name "Default Password Policy" -p 4444 -j /tmp/pwd -X -n
dsconfig get-password-policy-prop --property "allow-pre-encoded-passwords" --policy-name "Default Password Policy" --advanced -p 4444 -j /tmp/pwd
dsconfig set-global-configuration-prop --set check-schema:false -p 4444 -j /tmp/pwd -X -n
dsconfig set-global-configuration-prop --set single-structural-objectclass-behavior:warn -p 4444 -j /tmp/pwd -X -n
create index
rebuild index
import file
留言