Full_Name: Geert Hendrickx
Submission from: (NULL) (220.127.116.11)
mdb_copy creates a copy using the default umask. This usually leads to insecure
(world readable) copies, as typically an LDAP databse is 600 owned by some
unprivileged ldap user.
I suggest to copy the behaviour of cp, scp, rsync etc: preserve mode by default,
preserve all metadata (uid:gid, mode, mtime, atime ...) when invoked with -p ?