diff options
author | Gerald Carter <jerry@samba.org> | 2004-03-22 22:57:21 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2004-03-22 22:57:21 +0000 |
commit | e9e03e99009b27366dd35c659758806ff1189b73 (patch) | |
tree | cc1b4cc834a0d74d14e6891cc5be57b3120bcc02 /source3/nsswitch | |
parent | 63f8fe3d49d0aeadfa657ab2c4daa5480b5cac48 (diff) | |
download | samba-e9e03e99009b27366dd35c659758806ff1189b73.tar.gz samba-e9e03e99009b27366dd35c659758806ff1189b73.tar.bz2 samba-e9e03e99009b27366dd35c659758806ff1189b73.zip |
missed one on BUG 1195; make sure to set the private * to NULL
(This used to be commit 97a24d13892e292d31a1a6d7a1c96893508d6222)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/winbindd_ads.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/source3/nsswitch/winbindd_ads.c b/source3/nsswitch/winbindd_ads.c index 8bec04f1f1..889d72293e 100644 --- a/source3/nsswitch/winbindd_ads.c +++ b/source3/nsswitch/winbindd_ads.c @@ -50,11 +50,8 @@ static ADS_STRUCT *ads_cached_connection(struct winbindd_domain *domain) /* we own this ADS_STRUCT so make sure it goes away */ ads->is_mine = True; ads_destroy( &ads ); - - /* we should always be NULL here */ - SMB_ASSERT( ads == NULL ); - } - + domain->private = NULL; + } } /* we don't want this to affect the users ccache */ |