diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-01-13 12:13:42 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-01-14 16:39:32 +1100 |
commit | 504a3cc6b36056f8240dae70a2445be1ad8cc6de (patch) | |
tree | f19086d16e075b6724152b85a3a64f9b683d214b /lib/zlib/compress.c | |
parent | 74493af86f953d209c57649178421929e8061c99 (diff) | |
download | samba-504a3cc6b36056f8240dae70a2445be1ad8cc6de.tar.gz samba-504a3cc6b36056f8240dae70a2445be1ad8cc6de.tar.bz2 samba-504a3cc6b36056f8240dae70a2445be1ad8cc6de.zip |
ldb: added ldb_dn_minimise()
this removes any extraneous components from a DN. For an extended DN,
this means removing the string DN and all but the first extended
component.
This is needed as AD returns "invalid syntax" if you don't use
a minimal DN as the base DN for a search. A non-minimal DN also
doesn't ever match in a search expression.
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib/zlib/compress.c')
0 files changed, 0 insertions, 0 deletions