| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Guenther
(cherry picked from commit a75055be5ff7ebe3476cfac86c6597a56a843c23)
(cherry picked from commit d0a4b9f69984ca5da0007af91013f1bc78dcbf2b)
|
|
|
|
|
|
|
|
| |
address
reported by Ted Percival <ted@midg3t.net>.
Jeremy.
(cherry picked from commit 4ac537d1b78c915fe25c219958312cf22f3cba80)
|
|
|
|
|
|
| |
an IPv4 address"
This reverts commit 435c10268bb6987ab7e8206cd6c45bd9961c5632.
|
|
|
|
| |
This reverts commit c48f247d76569bfdc844499cc64f504bce7085cd.
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit a75055be5ff7ebe3476cfac86c6597a56a843c23)
(cherry picked from commit d0a4b9f69984ca5da0007af91013f1bc78dcbf2b)
|
|
|
|
|
|
|
|
| |
address
reported by Ted Percival <ted@midg3t.net>.
Jeremy.
(cherry picked from commit 4ac537d1b78c915fe25c219958312cf22f3cba80)
|
|
|
|
|
|
|
|
| |
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 :-)
(cherry picked from commit 4f4781c6d17fe2db34dd5945fec52a7685448aec)
|
|
|
|
|
|
| |
error message.
Jeremy.
(cherry picked from commit 12e6818df1c77810a59a2896f8c44c91fc24e7ae)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit 4b03f4eb2da7a523967ace3d13e79406ade07d47)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 538eefe22ad69540b9f73ffaa613d6be045de199)
|
|
|
|
|
| |
metze
(cherry picked from commit 056ff094ad2c59992cfdb8b29696c08dab4113d7)
|
|
|
|
|
| |
metze
(cherry picked from commit f68829ff14c457bfa98cb2ef9e8ec2e1a0b1d64d)
|
|
|
|
|
|
| |
"Invalid read of size 1" errors.
Jeremy.
(cherry picked from commit d954a4954ba8ed6cb2c6074176a6008cfa398dd7)
|
|
|
|
|
| |
metze
(cherry picked from commit 64450cc1e441355aa8925b7183e90872eeab20b1)
|
|
|
|
|
|
| |
until interfaces come up.
Jeremy.
(cherry picked from commit 59a2f0873c789822d46f862042921a8ba8f2bd28)
|
|
|
|
|
|
|
| |
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.
(cherry picked from commit 5440c752ff270cc674d46f2dfa2ceb47dac030f6)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit fa12667ec284fdda45b79cbf6bf548ab0faae34f)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
here as it can never be null.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
myself. Use standard dlinklist macros.
Jeremy.
|
|
|
|
|
| |
negotiation works.
Jeremy.
|
|
|
|
|
| |
Do so now....
Jeremy.
|
|
|
|
|
|
| |
them with malloc'ing accessor functions. Should save a
lot of static space :-).
Jeremy.
|
|
|
|
| |
Jeremy, please check
|
|
|
|
|
| |
No more temptations to use static length strings.
Jeremy.
|
|
|
|
|
|
| |
Remove all vestiges of pstring (except for smbctool as noted
in previous commit).
Jeremy
|
|
|
|
|
|
|
| |
Remove pstring from libsmb/clidfs.c except for a nasty
hack (that will be removed when pstrings are gone from
client/).
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
| |
ip list didn't match namelist added to subnetdb.
Could cause bogus IP addresses to be reported for
the __SAMBA__ name.
Jeremy.
|
|
|
|
|
|
| |
one horror (pstring_clean_name()) which will have to
remain until I've removed all pstrings from the client code.
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
== Subject: Remote code execution in Samba's WINS
== server daemon (nmbd) when processing name
== registration followed name query requests.
==
== CVE ID#: CVE-2007-5398
==
== Versions: Samba 3.0.0 - 3.0.26a (inclusive)
...
Secunia Research reported a vulnerability that allows for
the execution of arbitrary code in nmbd. This defect may
only be exploited when the "wins support" parameter has
been enabled in smb.conf.
|
|
|
|
|
| |
set on wrong fd (-1).
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
|
|
| |
Each cli struct has it's own local copy of this variable,
so use that in client code. In the smbd server, add one
static to smbd/proccess.c and use that inside smbd. Fix
a bunch of places where smb_rw_error could be set by
calling read_data() in places where we weren't reading
from the SMB client socket (ie. winbindd).
Jeremy.
|
|
|
|
|
| |
callers.
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The point is doing the following associations:
- non discardable state data (all TDB files that may need to be backed
up) go to statedir
- shared data (codepage stuff) go to codepagedir
The patch *does not change* the default location for these
directories. So, there is no behaviour change when applying it.
The main change is for samba developers who have to think when dealing
with files that previously pertained to libdir whether they:
- go in statedir
- go in codepagedir
- stay in libdir
|
|
|
|
|
|
| |
at debug level 0.
metze
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to struct sockaddr_storage in most places that matter (ie.
not the nmbd and NetBIOS lookups). This passes make test
on an IPv4 box, but I'll have to do more work/testing on
IPv6 enabled boxes. This should now give us a framework
for testing and finishing the IPv6 migration. It's at
the state where someone with a working IPv6 setup should
(theorecically) be able to type :
smbclient //ipv6-address/share
and have it work.
Jeremy.
|
|
|
|
| |
metze
|
|
|
|
|
|
| |
where we meant int. Fix this. Thanks to metze for
pointing this out.
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
jra: POPT_ARG_VAL arguments need int values.
I assume there're more places like this
in the cmdline tools.
Please fix this properly, as my commit is just
a hack to get make test working again.
in samba4 we have a workaround for this see
smbd/server.c
metze
|
|
|
|
|
|
|
| |
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
|
|
|
|
|
|
|
|
|
|
| |
IPv6 in winbindd, but moves most of the socket functions that were
wrongly in lib/util.c into lib/util_sock.c and provides generic
IPv4/6 independent versions of most things. Still lots of work
to do, but now I can see how I'll fix the access check code.
Nasty part that remains is the name resolution code which is
used to returning arrays of in_addr structs.
Jeremy.
|
| |
|