From 0a37d5fa41364021e5cd754c8f8cd2f4a8f364e5 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 25 Mar 2003 20:14:41 +0000 Subject: Add info about dual daemon mode (This used to be commit 2018b331a17a4ac485ac03e175ab24d9457a5b77) --- docs/docbook/projdoc/winbind.sgml | 50 +++++++++++++++++++++++++++++++-------- 1 file changed, 40 insertions(+), 10 deletions(-) (limited to 'docs') diff --git a/docs/docbook/projdoc/winbind.sgml b/docs/docbook/projdoc/winbind.sgml index 06579617f5..2d38ea44d4 100644 --- a/docs/docbook/projdoc/winbind.sgml +++ b/docs/docbook/projdoc/winbind.sgml @@ -351,15 +351,6 @@ to control access and authenticate users on your Linux box using the winbind services which come with SAMBA 2.2.2. - -There is also some Solaris specific information in -docs/textdocs/Solaris-Winbind-HOWTO.txt. -Future revisions of this document will incorporate that -information. - - - - Introduction @@ -627,6 +618,19 @@ command as root: root# /usr/local/samba/bin/winbindd + +Winbindd can now also run in 'dual daemon mode'. This will make it +run as 2 processes. The first will answer all requests from the cache, +thus making responses to clients faster. The other will +update the cache for the query that the first has just responded. +Advantage of this is that responses stay accurate and are faster. +You can enable dual daemon mode by adding '-B' to the commandline: + + + +root# /usr/local/samba/bin/winbindd -B + + I'm always paranoid and like to make sure the daemon is really running... @@ -756,9 +760,22 @@ start() { } +If you would like to run winbindd in dual daemon mode, replace +the line + + daemon /usr/local/samba/bin/winbindd + + +in the example above with: + + + daemon /usr/local/samba/bin/winbindd -B +. + + The 'stop' function has a corresponding entry to shut down the -services and look s like this: +services and looks like this: @@ -842,6 +859,19 @@ echo Starting Winbind Daemon ;; esac + +Again, if you would like to run samba in dual daemon mode, replace + + /usr/local/samba/bin/winbindd + + +in the script above with: + + + /usr/local/samba/bin/winbindd -B + + + -- cgit