}
}
- ret = samdb_connect_url(state, state->ev_ctx, state->lp,
- system_session(state->lp), 0,
+ ret = samdb_connect_url(state,
+ state->ev_ctx,
+ state->lp,
+ system_session(state->lp),
+ 0,
state->options.url,
- NULL, &state->samdb, &errstring);
+ NULL,
+ &state->samdb,
+ &errstring);
if (ret != LDB_SUCCESS) {
state->log(ISC_LOG_ERROR,
"samba_dlz: Failed to connect to %s: %s",