]> git.sur5r.net Git - openldap/commit
ITS#5408 part 4 - preparing for entry creation. More error handling.
authorHallvard Furuseth <hallvard@openldap.org>
Tue, 11 Nov 2008 23:16:22 +0000 (23:16 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Tue, 11 Nov 2008 23:16:22 +0000 (23:16 +0000)
commita9481e437c0119a6bde7bdf2d5b4a2d4e5a4cf60
treed982b87b42990cd063884c7da68828d55fbe27ec
parentddc061392063ef8f25d9b5a16c4974ef5595b8aa
ITS#5408 part 4 - preparing for entry creation.  More error handling.
- Move mkdir() into ldif_write_entry().  Modrdn lacked this.
- Factor tests for whether to create entry & dir out to ldif_prepare_create().
- Ensure an entry always exists if the corresponding subtree directory does.
- Move get_parent_path() up, accept NULL output param and malloc errors.
servers/slapd/back-ldif/ldif.c