s4-dsdb: fixed crash bug in extended_dn_in
authorAndrew Tridgell <tridge@samba.org>
Mon, 11 Jul 2011 02:01:18 +0000 (12:01 +1000)
committerAndrew Tridgell <tridge@samba.org>
Mon, 11 Jul 2011 04:32:44 +0000 (14:32 +1000)
commitda75e031c3cff54d23d47f54459addf3d00236af
tree9117f964a0c14317cfbf830c654f335bb0b5638c
parentfaec2588f51e97e7421b9b092e53d88c88f6abd9
s4-dsdb: fixed crash bug in extended_dn_in

when extended_dn_in fails to resolve a GUID extended DN component, the
debug code assumed that it was a search operation, and accessed
ac->req->op.search.base, which is not valid for non-search DN
expansions.

Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
source4/dsdb/samdb/ldb_modules/extended_dn_in.c