Age | Commit message (Collapse) | Author | Files | Lines |
|
When nmbd is acting as WINS, it picks the first interface's IP as WINS
server's IP. If the first interface's IP is zero, we will just quit
(even though we might have other interfaces with valid IPs).
This patch makes nmbd look at all interfaces and pick the first interface
with a valid IP as the WINS server's IP.
|
|
|
|
metze
|
|
SIGTERM
The arguments of commit d98bea900ee694cdba83149620c65bd7f8765f26
are no longer valid.
metze
|
|
interfaces
We should handle all 3 cases where we actively wait for interfaces
in the same way.
metze
|
|
triggered now
metze
|
|
And always setup the fd events.
metze
|
|
|
|
Michael
|
|
Michael
|
|
version.h changes rather frequently. Since it is included via includes.h,
this means each C file will be a cache miss. This applies to the following
situations:
* When building a new package with a new Samba version
* building in a git branch after calling mkversion.sh
after a new commit (i.e. virtually always)
This patch improves the situation in the following way:
* remove inlude "version.h" from includes.h
* Use samba_version_string() instead of SAMBA_VERSION_STRING
in files that use no other macro from version.h instead of
SAMBA_VERSION_STRING.
* explicitly include "version.h" in those files that use more
macros from "version.h" than just SAMBA_VERSION_STRING.
Michael
|
|
the connections list and authentication structures to worry about.
Jeremy
|
|
|
|
The state directory is now run-time configurable through loadparm, so all
references to it should be done through state_path() or lp_statedir().
|
|
metze
|
|
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
|
|
|
|
|
|
otherwise (to clarify we can also pass in structs smaller than
sockaddr_storage, such as sockaddr_in).
|
|
|
|
|
|
Guenther
|
|
Guenther
(This used to be commit a75055be5ff7ebe3476cfac86c6597a56a843c23)
|
|
address
reported by Ted Percival <ted@midg3t.net>.
Jeremy.
(This used to be commit ab06efccf31fbc899536d2681a2076e6dfd65b9e)
|
|
(This used to be commit f91a3e0f7b7737c1d0667cd961ea950e2b93e592)
|
|
The hosts or networks configured with "init logon delayed hosts"
have their initial samlogon packages (empty username) delayed
by the value configured with "init logon delay" (defaulting
to 100 milliseconds).
This gives the administrator some control over what clients would
consider the preferred logon server: they choose the server that
repsonds most quickly.
Michael
(This used to be commit d52b9beede1fb14e1d7e3acd9765d6cd14dfcc3d)
|
|
Michael
(This used to be commit 363eb90ce8380ce1bbc74673936ba1e6d7eee23b)
|
|
Michael
(This used to be commit 3baf9eb6a2cc6a4a153303b457d3a7067948495e)
|
|
Michael
(This used to be commit e6a403209c29bd2ec2242d654ad45276de02cb44)
|
|
We now open messages.tdb even before we do the become_daemon. become_daemon()
involves a fork and an immediate exit of the parent, thus the
parent_is_longlived argument must be set to false in this case. The parent is
not really long lived :-)
(This used to be commit 4f4781c6d17fe2db34dd5945fec52a7685448aec)
|
|
Guenther
(This used to be commit 538eefe22ad69540b9f73ffaa613d6be045de199)
|
|
metze
(This used to be commit 056ff094ad2c59992cfdb8b29696c08dab4113d7)
|
|
metze
(This used to be commit f68829ff14c457bfa98cb2ef9e8ec2e1a0b1d64d)
|
|
metze
(This used to be commit 64450cc1e441355aa8925b7183e90872eeab20b1)
|
|
error message.
Jeremy.
(This used to be commit 12e6818df1c77810a59a2896f8c44c91fc24e7ae)
|
|
until interfaces come up.
Jeremy.
(This used to be commit 59a2f0873c789822d46f862042921a8ba8f2bd28)
|
|
Jeremy.
(This used to be commit 4b03f4eb2da7a523967ace3d13e79406ade07d47)
|
|
Cause nmbd to wait for an interface, in a mode where SIGTERM
will kills us (same way we wait on startup for an interface).
Jeremy.
(This used to be commit 5440c752ff270cc674d46f2dfa2ceb47dac030f6)
|
|
Jeremy.
(This used to be commit fa12667ec284fdda45b79cbf6bf548ab0faae34f)
|
|
"Invalid read of size 1" errors.
Jeremy.
(This used to be commit d954a4954ba8ed6cb2c6074176a6008cfa398dd7)
|
|
(This used to be commit af40b71023f8c4a2133d996ea698c72b97624043)
|
|
(This used to be commit 902d1d6709e47fbc8b538f28cb4364b006c431f8)
|
|
(This used to be commit 8629a0e1c3da7c2d2b0c1d99224177c54bbae930)
|
|
(This used to be commit fd34ce437057bb34cdc37f4b066e424000d36789)
|
|
here as it can never be null.
Jeremy.
(This used to be commit ecb52f50fe3ec8beda48b6c88e9a3ae5a6a98d52)
|
|
Jeremy.
(This used to be commit 318cbcfae51fc5dae549c60107d12480d8e478c8)
|
|
Jeremy.
(This used to be commit 7e8e91aeb3795d26ae8591665981bc42d8b6122f)
|
|
myself. Use standard dlinklist macros.
Jeremy.
(This used to be commit 1b06ee69f6b737c1d6e7b29f8ae9621e6eb07d27)
|
|
negotiation works.
Jeremy.
(This used to be commit d78045601af787731f0737b8627450018902b104)
|