summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/smbldap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c
index a3ebe72df2..609816b877 100644
--- a/source3/lib/smbldap.c
+++ b/source3/lib/smbldap.c
@@ -664,21 +664,21 @@ int smb_ldap_upgrade_conn(LDAP *ldap_struct, int *new_version)
open a connection to the ldap server (just until the bind)
******************************************************************/
-int smb_ldap_setup_full_conn(LDAP *ldap_struct, const char *uri)
+int smb_ldap_setup_full_conn(LDAP **ldap_struct, const char *uri)
{
int rc, version;
- rc = smb_ldap_setup_conn(&ldap_struct, uri);
+ rc = smb_ldap_setup_conn(ldap_struct, uri);
if (rc) {
return rc;
}
- rc = smb_ldap_upgrade_conn(ldap_struct, &version);
+ rc = smb_ldap_upgrade_conn(*ldap_struct, &version);
if (rc) {
return rc;
}
- rc = smb_ldap_start_tls(ldap_struct, version);
+ rc = smb_ldap_start_tls(*ldap_struct, version);
if (rc) {
return rc;
}