pyldb: return a copy of key constant DNs via python interface
authorAndrew Tridgell <tridge@samba.org>
Mon, 1 Aug 2011 02:39:48 +0000 (12:39 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 3 Aug 2011 04:25:38 +0000 (14:25 +1000)
commita7f3545b825de86f7b551d8b517031998327a92d
tree03a74f574f0f51f1d79a627b6c31be903458cf65
parent785c65e875a58707dacadd493ec26665467d9259
pyldb: return a copy of key constant DNs via python interface

this prevents an easy coding error where the caller modifies one of
the key DNs for the database, by using an add_child function or
similar

Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/pyldb.c