1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

s4-ldb: added a warning about ldb_msg_add_dn

ldb_msg_add_dn does not copy the dn linearized string
This commit is contained in:
Andrew Tridgell 2009-11-19 16:03:59 -02:00
parent 1169dd3b50
commit 51a59e8f9e

View File

@ -260,6 +260,8 @@ int ldb_msg_add_steal_string(struct ldb_message *msg,
/*
add a DN element to a message
WARNING: this uses the linearized string from the dn, and does not
copy the string.
*/
int ldb_msg_add_dn(struct ldb_message *msg, const char *attr_name,
struct ldb_dn *dn)