diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-12-05 10:35:25 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-12-05 10:35:25 +0000 |
commit | 58e93a8b7de10f60a1e68570f1bdd6e3d8fa44a5 (patch) | |
tree | 03f69b268e7ee0df8b08dcab986589568e12eadb | |
parent | 0d85815c992c6ca77ba64dfb2d7538be4684654d (diff) | |
download | samba-58e93a8b7de10f60a1e68570f1bdd6e3d8fa44a5.tar.gz samba-58e93a8b7de10f60a1e68570f1bdd6e3d8fa44a5.tar.xz samba-58e93a8b7de10f60a1e68570f1bdd6e3d8fa44a5.zip |
fix link error
-rw-r--r-- | source/libads/ads_struct.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/libads/ads_struct.c b/source/libads/ads_struct.c index 83c8f5b4043..15cbb328e8a 100644 --- a/source/libads/ads_struct.c +++ b/source/libads/ads_struct.c @@ -178,7 +178,9 @@ ADS_STRUCT *ads_init(const char *realm, void ads_destroy(ADS_STRUCT **ads) { if (ads && *ads) { +#if HAVE_LDAP if ((*ads)->ld) ldap_unbind((*ads)->ld); +#endif SAFE_FREE((*ads)->realm); SAFE_FREE((*ads)->ldap_server); SAFE_FREE((*ads)->kdc_server); |