summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-01-19 20:21:29 +0000
committerJeremy Allison <jra@samba.org>2002-01-19 20:21:29 +0000
commit95501cf1ba7dbbd2ae5d28bc1e66158d41592c65 (patch)
treea1dd5af349397c3d6737e111c56d66fd99641d8a /source3/nsswitch/winbindd.c
parent7019bfe546912397e7f4d37a44a510ce17a7febb (diff)
downloadsamba-95501cf1ba7dbbd2ae5d28bc1e66158d41592c65.tar.gz
samba-95501cf1ba7dbbd2ae5d28bc1e66158d41592c65.tar.bz2
samba-95501cf1ba7dbbd2ae5d28bc1e66158d41592c65.zip
Fix to close winbindd_idmap on exit. Pointed out by Alexander Bokovoy.
Jeremy. (This used to be commit 1bd96b3094b530c3426b22b6f891c7fc055e7033)
Diffstat (limited to 'source3/nsswitch/winbindd.c')
-rw-r--r--source3/nsswitch/winbindd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd.c b/source3/nsswitch/winbindd.c
index 25b69cee6d..ee373c7101 100644
--- a/source3/nsswitch/winbindd.c
+++ b/source3/nsswitch/winbindd.c
@@ -154,6 +154,8 @@ static void flush_caches(void)
static void terminate(void)
{
pstring path;
+
+ winbindd_idmap_close();
/* Remove socket file */
snprintf(path, sizeof(path), "%s/%s",