summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/libads/ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index 3307ad83fe..bac85f3222 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -541,7 +541,7 @@ ADS_STATUS ads_do_paged_search_args(ADS_STRUCT *ads, const char *bind_path,
} else {
ExtendedDn.ldctl_value.bv_len = 0;
- ExtendedDn.ldctl_value.bv_val = CONST_DISCARD(char *, "");
+ ExtendedDn.ldctl_value.bv_val = NULL;
}
controls[0] = &NoReferrals;