Age | Commit message (Collapse) | Author | Files | Lines |
|
In the return value res->msgs, msgs was not a child of res, in the
indexed path. Instead, it hung directly off the ldb, which was
sometimes a long-term context.
Also remove unused parameters.
Found by --leak-report-full
Andrew Bartlett
(This used to be commit 29cb5af827c459758997c80dca034d471bb92449)
|
|
earlier.
Move gendb_search() to use talloc_vasprintf() and steal only the parts
actually being used for the results.
Andrew Bartlett
(This used to be commit 53efb3e3e980c768e0aee216ccd8dc3e14707246)
|
|
in client/cifsdd*, which implements a minimal implementation of dd. The
IO path is careful to always perform IO at the requested block size.
There is a very basic test suite in script/tests/test_cifsdd.sh which
covers local and remote IO at a variety of block sizes.
Added to lib/util_str.c is a small set of conv_str_*() functions to
convert strings to the corresponding type.
smbcli_parse_unc is modified to insert NULL terminators after its
hostname and sharename parameters. This allows it to correctly parse a
path of the form //foo/share/path/file.
(This used to be commit cd2f94a65817bfae20ac21b730a2c42d8e581ab3)
|
|
Andrew Bartlett
(This used to be commit 35517573ff807339f96573e58bdec29073be9594)
|
|
In particular, I've used the --leak-report-full option to smbd to
track down memory that shouldn't be on a long-term context. This is
now talloc_free()ed much earlier.
Andrew Bartlett
(This used to be commit c6eb74f42989d62c82d2a219251837b09df8491c)
|
|
Andrew Bartlett
(This used to be commit 3570a62876dcd656b328bf8c2c1be617ae9a8fd7)
|
|
(This used to be commit 08bdaa8e106caeab675aaca5124f0e59fa20cc8c)
|
|
included from other headers. In this case, undeffing MIN and MAX is a
really bad idea because the subsequent include of sys/param.h will do
nothing because of its include guards.
(This used to be commit 8aa8be93b09cfbd176455738dfd305047030fd50)
|
|
We don't want temporary memory hanging around on the long-term
contexts.
Andrew Bartlett
(This used to be commit 85b3f6ebddfb655fdd08d1799752e562a6ff9cb1)
|
|
Andrew Bartlett
(This used to be commit fc045b42c24d9bfb10b9f98f38c771df4abcdee0)
|
|
context.
Andrew Bartlett
(This used to be commit 1e840aa43679ceccb2a3afc694a5de0828147e8c)
|
|
in Samba4. This allows us to start winbindd by default, including in
'make test'.
This is via a new 'winbindd socket directory' parameter for utilities
linked against loadparm, as well as a --with-winbindd-socket-dir
option to configure (setting the default and the value for simple
clients).
I hope to add basic winbindd tests, to ensure continued correct
operation, but at least now I don't have to manually change my 'server
services' line.
The other problem with the hard-coded /tmp/.winbind is that RedHat has
moved this in Fedora (to /var/run I think). For this reason, this
functionality should probably be ported to Samba3 as well.
The default for Samba4 is PREFIX/var/run/winbind_pipe.
I have also re-added the paranoia checks from Samba3 for correct
permissions on the socket directory.
Andrew Bartlett
(This used to be commit 8866aa06ffc3896094c878e9c07b40c03826d9a7)
|
|
(This used to be commit 92eec049628a79f8d9496c6d199d6de0238e7940)
|
|
cc-1009 cc: WARNING File = librpc/idl/nbt.idl, Line = 580
A "/*" appears inside a comment.
(This used to be commit 53ac5a2fb251c04dab2b92cd8a9df8005e340e3a)
|
|
from Brad Hards <bradh@frogmouth.net>.
(This used to be commit 3ade52398a345cc50c1bf52298e36ab1804b00ec)
|
|
Andrew Bartlett
(This used to be commit ea0a53d6795488ed530c3436343587595221cb78)
|
|
of use.
(This used to be commit 2b605cf22c7567e1171bf73cbbd37a5f0c1a4274)
|
|
metze
(This used to be commit 6c7065463fded629febd03efb2943d24cac74fda)
|
|
metze
(This used to be commit 03a0363850b7b38fc3621dfde38504d66156e728)
|
|
metze>
(This used to be commit b8a6792a43c3d41ceccd16046c9794e701c6acc1)
|
|
(This used to be commit 2aefbcb47272536d8c2229f8b199f7cd7da7d890)
|
|
quicktest' but
also 'make test'
(This used to be commit e3d0676aee84e96e5c87bed4cd0cde75a4191953)
|
|
This allows the easy addition of additional named pipes and removes the
circular dependencies between the CIFS, RPC and RAP servers.
Simple tests for a custom named pipe included.
(This used to be commit 898d15acbd18e3b302a856c847e08c22c5024792)
|
|
Update the rootdse module to use the new schema.
Andrew Bartlett
(This used to be commit b0b150d08ac39ed486071487826da2e306db6a0b)
|
|
From here we can add tests to Samba for kerberos, forcing it on and
off. In the process, I also remove the dependency of credentials on
GENSEC.
This also picks up on the idea of bringing 'set_boolean' into general
code from jpeach's cifsdd patch.
Andrew Bartlett
(This used to be commit 1ac7976ea6e3ad6184c911de5df624c44e7c5228)
|
|
Andrew Bartlett
(This used to be commit 78d634047f41466e4bf169e727f730d776949b33)
|
|
Andrew Bartlett
(This used to be commit 765caa14b340f5111c07eda99fd2bd4c000dd7c7)
|
|
Andrew Bartlett
(This used to be commit 8e2b461669d2d4d5a789da66b5049ecbddd8fd15)
|
|
sizeof(pstring)
(This used to be commit da72f47226f9c514deb75bc6e69548c240822eb5)
|
|
(This used to be commit 841fb3d4e764dc7ae8222ad7cb69dc6244035ea2)
|
|
(This used to be commit e9059ea0c56c1fd9886eb038df5455efe11962f8)
|
|
(This used to be commit f7c28d31481f6479f258cd878d173cbc42ed9de0)
|
|
(This used to be commit b9d1d02f381cf81883c9f22a1702319f5fce6eb8)
|
|
(This used to be commit 335050b30d832f529fb8fdd4f96e4bb3de93f38c)
|
|
libdir, datadir, sysconfdir,localstatedir into our Makefile
we need to expand them in configure
I'll maybe rework this later but for now this works
metze
(This used to be commit 615b82f7c73ff52ab62489ec635aefecf2b2f04c)
|
|
a bit.
(This used to be commit 94dd559755d1c114588fb6b1353749cf96706269)
|
|
(This used to be commit 765991ab486188bce76332b00194efbd6cbb3e01)
|
|
(This used to be commit c3bc39bd713e2a2b0a270d22e38fe39959a6a7c9)
|
|
(This used to be commit 2384dec6f2451d86fc4b7737b663379623ae4a5c)
|
|
(This used to be commit 861d45beda0e10b52ab8a82a1d92844d18685bba)
|
|
- Remove global variables (pass things around as variables, add a 'struct smbclient_context')
- Get rid of pstring
- Fix up some of the return values
- Fix some generally weird code
(This used to be commit d9902e1477484ae01f9575afc6eba33526d631ac)
|
|
(This used to be commit 62822a26550842dbb763b27994cb38474fe8eea3)
|
|
Andrew Bartlett
(This used to be commit 2c02a45d5a6c79ced7aea0f7e9d23fae19c2d127)
|
|
much clearer where things go.
Andrew Bartlett
(This used to be commit 655076d51b9213a8dba348c10c044f27709b61c6)
|
|
Andrew Bartlett
(This used to be commit c34666abc170687daa8dcd085020880b598caaf7)
|
|
Andrew Bartlett
(This used to be commit 4dd6afa6d167fd04c1c3d4b4529b1cecf27eacaa)
|
|
same session key. I need to understand this more, but it works
samba/samba, and I don't have access to windows doing AES (longhorn)
yet.
Andrew Bartlett
(This used to be commit 38809b43a5d6bd668e9cb714573dc1e72ceff092)
|
|
metze
(This used to be commit 79293227d6186ba15177603ede2b8d8b33e16d3a)
|
|
metze
(This used to be commit 19205b8d89d3d7e99a65938f59412e0c4e8ac5fe)
|
|
so so that we don't crash when ntvfs_connect() fails
metze
(This used to be commit 96680f12001c67b6f6644654dfd74a86538d51b6)
|