summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_ads.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-01-06 01:59:20 +0000
committerAndrew Bartlett <abartlet@samba.org>2004-01-06 01:59:20 +0000
commit6d7eb1adf32b223a771237bf063517974f632036 (patch)
treeab650099d57d6d114543bc00f60b386c8a06316e /source3/nsswitch/winbindd_ads.c
parent827c68deb89b5bd14324c57db14274b36a0790d7 (diff)
downloadsamba-6d7eb1adf32b223a771237bf063517974f632036.tar.gz
samba-6d7eb1adf32b223a771237bf063517974f632036.tar.bz2
samba-6d7eb1adf32b223a771237bf063517974f632036.zip
Merge winbind from Samba 3.0 onto HEAD.
Changes include: - header changes for better pre-compiled headers (tridge) - get a list of sids for a given user (tridge) - fix function prototype and a few other minor things Andrew Bartlett (This used to be commit 60107efdc61247034424d008c6f1eb4d46a19881)
Diffstat (limited to 'source3/nsswitch/winbindd_ads.c')
-rw-r--r--source3/nsswitch/winbindd_ads.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd_ads.c b/source3/nsswitch/winbindd_ads.c
index f8582aee99..90b83bccd0 100644
--- a/source3/nsswitch/winbindd_ads.c
+++ b/source3/nsswitch/winbindd_ads.c
@@ -21,6 +21,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include "includes.h"
#include "winbindd.h"
#ifdef HAVE_ADS
@@ -553,8 +554,6 @@ static NTSTATUS lookup_usergroups_alt(struct winbindd_domain *domain,
done:
if (res)
ads_msgfree(ads, res);
- if (msg)
- ads_msgfree(ads, msg);
return status;
}