diff options
author | Günther Deschner <gd@samba.org> | 2006-01-04 13:04:43 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:06:01 -0500 |
commit | c3a2101da021abf52d06842598325a6cef6bbc83 (patch) | |
tree | 257f060b0a557f01bab4992073476f94353afbf1 /source3/lib | |
parent | 2b509f470d616c8df69e72ec04e25114d22af50f (diff) | |
download | samba-c3a2101da021abf52d06842598325a6cef6bbc83.tar.gz samba-c3a2101da021abf52d06842598325a6cef6bbc83.tar.bz2 samba-c3a2101da021abf52d06842598325a6cef6bbc83.zip |
r12714: Fix segfault in pdb_nds.c.
Guenther
(This used to be commit f78c7f8abea4cb598eca78fa3beacee8a3caee20)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/smbldap.c | 8 |
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; } |