r22799: Fix the build.
authorGünther Deschner <gd@samba.org>
Fri, 11 May 2007 13:19:49 +0000 (13:19 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:21:59 +0000 (12:21 -0500)
Guenther
(This used to be commit 6e911c442bf9b076f43f99576f9b588df2c39233)

source3/libads/ldap.c

index ff416b0085fde6da0e0afaa01c3119c643f00527..48be73230e7bc11e174402106d2a6dae5c50ba93 100644 (file)
@@ -650,7 +650,7 @@ static ADS_STATUS ads_do_paged_search_args(ADS_STRUCT *ads,
                                rc = LDAP_NO_MEMORY;
                                goto done;
                        }
-                       if ((ber_flatten(ext_be, &extdn_bv)) == -1) {
+                       if ((ber_flatten(ext_be, &ext_bv)) == -1) {
                                rc = LDAP_NO_MEMORY;
                                goto done;
                        }