summaryrefslogtreecommitdiff
path: root/source3/passdb/pdb_nds.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/passdb/pdb_nds.c')
-rw-r--r--source3/passdb/pdb_nds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_nds.c b/source3/passdb/pdb_nds.c
index 1ec9693223..cf2d1d7c8a 100644
--- a/source3/passdb/pdb_nds.c
+++ b/source3/passdb/pdb_nds.c
@@ -807,7 +807,7 @@ static NTSTATUS pdb_nds_update_login_attempts(struct pdb_methods *methods,
if((success != True) || (got_clear_text_pw == True)) {
- rc = smb_ldap_setup_full_conn(ld, ldap_state->location);
+ rc = smb_ldap_setup_full_conn(&ld, ldap_state->location);
if (rc) {
return NT_STATUS_INVALID_CONNECTION;
}