diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-09-09 12:57:45 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:18:06 -0500 |
commit | e91cee468eceb6ff8843bafc7fbb22a21b52a00c (patch) | |
tree | e187b289e0f4405465e742c940349c802013673d /source4/winbind | |
parent | 66c16b5143041a504afdc6a9041e4928e7cd9ba2 (diff) | |
download | samba-e91cee468eceb6ff8843bafc7fbb22a21b52a00c.tar.gz |
r18309: FreeBSD 6.1 has a symbol ldap_new_connection() in the system ldap
library. Even though we don't like to that library, it gets loaded via
nss-ldap, which means nss-ldap calls into the samba ldap lib with the
wrong parameters, and crashes.
We really need to use a completely different namespace in libcli/ldap/
(This used to be commit c440e0eed9afae5fe69995a7416971e7c8560779)
Diffstat (limited to 'source4/winbind')
-rw-r--r-- | source4/winbind/wb_init_domain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/winbind/wb_init_domain.c b/source4/winbind/wb_init_domain.c index a48fd8e7006..409f5f2b23f 100644 --- a/source4/winbind/wb_init_domain.c +++ b/source4/winbind/wb_init_domain.c @@ -293,7 +293,7 @@ static void init_domain_recv_queryinfo(struct rpc_request *req) } state->domain->ldap_conn = - ldap_new_connection(state->domain, state->ctx->event_ctx); + ldap4_new_connection(state->domain, state->ctx->event_ctx); composite_nomem(state->domain->ldap_conn, state->ctx); ldap_url = talloc_asprintf(state, "ldap://%s/", |