mirror of
https://github.com/bklang/ldap2dns.git
synced 2025-10-27 14:24:15 -04:00
One more deprecated LDAP API call
git-svn-id: https://svn.alkaloid.net/gpl/ldap2dns/trunk@326 06cd67b6-e706-0410-b29e-9de616bca6e9
This commit is contained in:
@@ -1196,7 +1196,7 @@ int main(int argc, char** argv)
|
||||
if (options.exec_command[0])
|
||||
system(options.exec_command);
|
||||
skip:
|
||||
if ( (ldaperr = ldap_unbind_s(ldap_con))!=LDAP_SUCCESS )
|
||||
if ( (ldaperr = ldap_unbind_ext_s(ldap_con, NULL, NULL))!=LDAP_SUCCESS )
|
||||
die_ldap(ldaperr);
|
||||
if (options.is_daemon==0)
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user