From 5621139fca76d8f52d203fda9f146e942cc1b624 Mon Sep 17 00:00:00 2001 From: Bjoern Jacke Date: Fri, 8 Dec 2017 14:52:24 +0100 Subject: [PATCH] doc: document wins server's smb.conf parameters this is from the WINS server, which was released earlier as samba4wins. Signed-off-by: Bjoern Jacke Reviewed-by: Andrew Bartlett Reviewed-by: Garming Sam --- .../wins/nbtd-wins_prepend1bto1cqueries.xml | 16 +++++++++++++ .../wins/nbtd-wins_randomize1clist.xml | 19 +++++++++++++++ .../wins/nbtd-wins_randomize1clist_mask.xml | 16 +++++++++++++ .../smbdotconf/wins/winsdb-localowner.xml | 12 ++++++++++ docs-xml/smbdotconf/wins/winsdb-nosync.xml | 11 +++++++++ .../wins/wreplsrv-periodic_interval.xml | 14 +++++++++++ .../wins/wreplsrv-propagate_name_releases.xml | 23 +++++++++++++++++++ .../wins/wreplsrv-scavenging_interval.xml | 11 +++++++++ .../wins/wreplsrv-tombstone_extra_timeout.xml | 12 ++++++++++ .../wins/wreplsrv-tombstone_interval.xml | 12 ++++++++++ .../wins/wreplsrv-tombstone_timeout.xml | 12 ++++++++++ .../wins/wreplsrv-verify_interval.xml | 13 +++++++++++ 12 files changed, 171 insertions(+) create mode 100644 docs-xml/smbdotconf/wins/nbtd-wins_prepend1bto1cqueries.xml create mode 100644 docs-xml/smbdotconf/wins/nbtd-wins_randomize1clist.xml create mode 100644 docs-xml/smbdotconf/wins/nbtd-wins_randomize1clist_mask.xml create mode 100644 docs-xml/smbdotconf/wins/winsdb-localowner.xml create mode 100644 docs-xml/smbdotconf/wins/winsdb-nosync.xml create mode 100644 docs-xml/smbdotconf/wins/wreplsrv-periodic_interval.xml create mode 100644 docs-xml/smbdotconf/wins/wreplsrv-propagate_name_releases.xml create mode 100644 docs-xml/smbdotconf/wins/wreplsrv-scavenging_interval.xml create mode 100644 docs-xml/smbdotconf/wins/wreplsrv-tombstone_extra_timeout.xml create mode 100644 docs-xml/smbdotconf/wins/wreplsrv-tombstone_interval.xml create mode 100644 docs-xml/smbdotconf/wins/wreplsrv-tombstone_timeout.xml create mode 100644 docs-xml/smbdotconf/wins/wreplsrv-verify_interval.xml diff --git a/docs-xml/smbdotconf/wins/nbtd-wins_prepend1bto1cqueries.xml b/docs-xml/smbdotconf/wins/nbtd-wins_prepend1bto1cqueries.xml new file mode 100644 index 00000000000..e8d548ee7ad --- /dev/null +++ b/docs-xml/smbdotconf/wins/nbtd-wins_prepend1bto1cqueries.xml @@ -0,0 +1,16 @@ + + + Normally queries for 0x1C names (all logon servers for a domain) + will return the first address of the 0x1B names (domain master browser + and PDC) as first address in the result list. As many client only use + the first address in the list by default, all clients will use the same + server (the PDC). Windows servers have an option to disable this + behavior (since Windows 2000 Service Pack 2). + + + +yes + diff --git a/docs-xml/smbdotconf/wins/nbtd-wins_randomize1clist.xml b/docs-xml/smbdotconf/wins/nbtd-wins_randomize1clist.xml new file mode 100644 index 00000000000..25660625c33 --- /dev/null +++ b/docs-xml/smbdotconf/wins/nbtd-wins_randomize1clist.xml @@ -0,0 +1,19 @@ + + + Normally queries for 0x1C names will return the addresses in the + same order as they're stored in the database, that means first all + addresses which have been directly registered at the local wins server + and then all addresses registered at other servers. Windows servers + have an option to change this behavior and randomize the returned + addresses. Set this parameter to "yes" and Samba will sort the + address list depending on the client address and the matching bits of + the addresses, the first address is randomized based on depending on + the "nbtd:wins_randomize1Clist_mask" parameter. + + + +no + diff --git a/docs-xml/smbdotconf/wins/nbtd-wins_randomize1clist_mask.xml b/docs-xml/smbdotconf/wins/nbtd-wins_randomize1clist_mask.xml new file mode 100644 index 00000000000..ea3978cf506 --- /dev/null +++ b/docs-xml/smbdotconf/wins/nbtd-wins_randomize1clist_mask.xml @@ -0,0 +1,16 @@ + + + If the "nbtd:wins_randomize1Clist" parameter is set to "yes", + then randomizing of the first returned address is based on the + specified netmask. If there are addresses which are in the same subnet + as the client address, the first returned address is randomly chosen + out them. Otherwise the first returned address is randomly chosen out + of all addresses. + + + +255.255.255.0 + diff --git a/docs-xml/smbdotconf/wins/winsdb-localowner.xml b/docs-xml/smbdotconf/wins/winsdb-localowner.xml new file mode 100644 index 00000000000..c5a674fd974 --- /dev/null +++ b/docs-xml/smbdotconf/wins/winsdb-localowner.xml @@ -0,0 +1,12 @@ + + + This specifies the address that is stored in the winsOwner attribute, of + locally registered winsRecord-objects. + The default is to use the ip-address of the first network interface. + + + + diff --git a/docs-xml/smbdotconf/wins/winsdb-nosync.xml b/docs-xml/smbdotconf/wins/winsdb-nosync.xml new file mode 100644 index 00000000000..d66aa097570 --- /dev/null +++ b/docs-xml/smbdotconf/wins/winsdb-nosync.xml @@ -0,0 +1,11 @@ + + + This parameter disables fsync() after changes of the WINS database. + + + +no + diff --git a/docs-xml/smbdotconf/wins/wreplsrv-periodic_interval.xml b/docs-xml/smbdotconf/wins/wreplsrv-periodic_interval.xml new file mode 100644 index 00000000000..5b44993ea14 --- /dev/null +++ b/docs-xml/smbdotconf/wins/wreplsrv-periodic_interval.xml @@ -0,0 +1,14 @@ + + + This maximum interval in s between 2 periodically scheduled runs + where we check for wins.ldb changes and do push notifications to our + push partners. Also wins_config.ldb changes are checked in that + interval and partner configuration reloads are done. + + + +15 + diff --git a/docs-xml/smbdotconf/wins/wreplsrv-propagate_name_releases.xml b/docs-xml/smbdotconf/wins/wreplsrv-propagate_name_releases.xml new file mode 100644 index 00000000000..9633150f7af --- /dev/null +++ b/docs-xml/smbdotconf/wins/wreplsrv-propagate_name_releases.xml @@ -0,0 +1,23 @@ + + + If this parameter is enabled, then + explicit (from the client) and implicit (via the scavenging) name releases + are propagated to the other servers directly, even if there are still other + addresses active, this applies to SPECIAL GROUP (2) and MULTIHOMED (3) entries. + Also the replication conflict merge algorithm for SPECIAL GROUP (2) entries + discards replica addresses where the address owner is the local server, + if the address was not stored locally before. The merge result is + propagated directly in case an address was discarded. + A Windows servers doesn't propagate name releases of SPECIAL GROUP (2) + and MULTIHOMED (3) entries directly, which means that Windows servers may + return different results to name queries for SPECIAL GROUP (2) and MULTIHOMED (3) + names. The option doesn't have much negative impact if Windows servers are + around, but be aware that they might return unexpected results. + + + +no + diff --git a/docs-xml/smbdotconf/wins/wreplsrv-scavenging_interval.xml b/docs-xml/smbdotconf/wins/wreplsrv-scavenging_interval.xml new file mode 100644 index 00000000000..d05170e6d05 --- /dev/null +++ b/docs-xml/smbdotconf/wins/wreplsrv-scavenging_interval.xml @@ -0,0 +1,11 @@ + + + This is the interval in s between 2 scavenging runs which + clean up the WINS database and changes the states of expired name records. + Defaults to half of the value of wreplsrv:renew_interval. + + + diff --git a/docs-xml/smbdotconf/wins/wreplsrv-tombstone_extra_timeout.xml b/docs-xml/smbdotconf/wins/wreplsrv-tombstone_extra_timeout.xml new file mode 100644 index 00000000000..23208545fcf --- /dev/null +++ b/docs-xml/smbdotconf/wins/wreplsrv-tombstone_extra_timeout.xml @@ -0,0 +1,12 @@ + + + This is the time in s the server needs to be up till we'll remove + tombstone records from our database. Defaults to 3 days. + + + +259200 + diff --git a/docs-xml/smbdotconf/wins/wreplsrv-tombstone_interval.xml b/docs-xml/smbdotconf/wins/wreplsrv-tombstone_interval.xml new file mode 100644 index 00000000000..ee7d7271dde --- /dev/null +++ b/docs-xml/smbdotconf/wins/wreplsrv-tombstone_interval.xml @@ -0,0 +1,12 @@ + + + This is the interval in s till released records of the WINS + server become tombstone. Defaults to 6 days. + + + +518400 + diff --git a/docs-xml/smbdotconf/wins/wreplsrv-tombstone_timeout.xml b/docs-xml/smbdotconf/wins/wreplsrv-tombstone_timeout.xml new file mode 100644 index 00000000000..b17def9af05 --- /dev/null +++ b/docs-xml/smbdotconf/wins/wreplsrv-tombstone_timeout.xml @@ -0,0 +1,12 @@ + + + This is the interval in s till tombstone records are deleted from + the WINS database. Defaults to 1 day. + + + +86400 + diff --git a/docs-xml/smbdotconf/wins/wreplsrv-verify_interval.xml b/docs-xml/smbdotconf/wins/wreplsrv-verify_interval.xml new file mode 100644 index 00000000000..1efd97bbaed --- /dev/null +++ b/docs-xml/smbdotconf/wins/wreplsrv-verify_interval.xml @@ -0,0 +1,13 @@ + + + This is the interval in s till we verify active replica records + with the owning WINS server. Unfortunately not implemented yet. + Defaults to 24 days. + + + +2073600 + -- 2.34.1