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:
parent
1169dd3b50
commit
51a59e8f9e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user