summaryrefslogtreecommitdiff
path: root/lib/ldb/common/ldb_dn.c
AgeCommit message (Collapse)AuthorFilesLines
2013-02-08ldb: use strncmp instead of strcmp when comparing the val partMatthieu Patou1-2/+2
val part of a DN's component is DATA_BLOB and nothing insure that it will be finished by a '\0' Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2011-08-04ldb: added ldb_dn_replace_components()Andrew Tridgell1-0/+56
this allows you to replace the string part of a DN with the string part from another DN. This is useful when you want to fix a DN that has the right GUID but the wrong string part, because the target object has moved. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-07-13ldb: don't shortcut dn comparison for mismatched special DNsAndrew Tridgell1-1/+1
DNs that start with @ can't be compared via string comparison with normal DNs Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-05ldb: make ldb a top level library for Samba 4.0Andrew Bartlett1-0/+2101
Signed-off-by: Andrew Tridgell <tridge@samba.org>