Function | setup_path | Return an absolute path to the provision tempate file specified by file |
Function | setup_add_ldif | Setup a ldb in the private dir. |
Function | setup_modify_ldif | Modify a ldb in the private dir. |
Function | setup_ldb | Import a LDIF a file into a LDB handle, optionally substituting variables. |
Parameters | ldb | LDB file to import data into |
ldif_path | Path of the LDIF file to load | |
subst_vars | Optional variables to subsitute in LDIF. | |
nocontrols | Optional list of controls, can be None for no controls |
Parameters | ldb | LDB object. |
ldif_path | LDIF file path. | |
subst_vars | Optional dictionary with substitution variables. |
Parameters | ldb | LDB file to import into. |
ldif_path | Path to the LDIF file. | |
subst_vars | Dictionary with substitution variables. | |
Note | Either all LDIF data will be added or none (using transactions). |