summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_cache.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-05-06 19:46:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:21:48 -0500
commit47761fdc302897d608d36b75cf9180c0c46ab040 (patch)
tree29b65a4a8322c547d81786753610a62b15ff778e /source3/nsswitch/winbindd_cache.c
parent9037774927616f407f657bc7fd20ff3958e7bd91 (diff)
downloadsamba-47761fdc302897d608d36b75cf9180c0c46ab040.tar.gz
samba-47761fdc302897d608d36b75cf9180c0c46ab040.tar.bz2
samba-47761fdc302897d608d36b75cf9180c0c46ab040.zip
r22708: disable saving the trusted domain list as we want to the parent daemon to manage the complete trusted domain cache
(This used to be commit 3a9152a2acfc7b615a5c6b8764ea9462443f00d1)
Diffstat (limited to 'source3/nsswitch/winbindd_cache.c')
-rw-r--r--source3/nsswitch/winbindd_cache.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c
index 727c5c74df..7538cddbdf 100644
--- a/source3/nsswitch/winbindd_cache.c
+++ b/source3/nsswitch/winbindd_cache.c
@@ -2021,6 +2021,10 @@ do_query:
status = NT_STATUS_OK;
}
+
+#if 0 /* Disabled as we want the trust dom list to be managed by
+ the main parent and always to make the query. --jerry */
+
/* and save it */
refresh_sequence_number(domain, False);
@@ -2041,6 +2045,8 @@ do_query:
centry_free(centry);
skip_save:
+#endif
+
return status;
}