summaryrefslogtreecommitdiff
path: root/source4/dsdb/common/util_groups.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-01-13 12:13:42 +1100
committerAndrew Tridgell <tridge@samba.org>2011-01-14 16:39:32 +1100
commit504a3cc6b36056f8240dae70a2445be1ad8cc6de (patch)
treef19086d16e075b6724152b85a3a64f9b683d214b /source4/dsdb/common/util_groups.c
parent74493af86f953d209c57649178421929e8061c99 (diff)
downloadsamba-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 'source4/dsdb/common/util_groups.c')
0 files changed, 0 insertions, 0 deletions