1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

12829 Commits

Author SHA1 Message Date
Andrew Tridgell
d79225c94a r23140: send send echos while disconnected
(This used to be commit 233172a9f7)
2007-10-10 14:52:55 -05:00
Andrew Tridgell
18a4d22880 r23139: use echo operations once a second in lockbench and openbench to ensure
we detect IP takeover on servers
(This used to be commit b5292a25ed)
2007-10-10 14:52:55 -05:00
Andrew Tridgell
c31e144a2d r23138: added a raw interface for SMBecho operations
(This used to be commit 590c6c21db)
2007-10-10 14:52:55 -05:00
Stefan Metzmacher
04bc1c416a r23137: make it possible to skip the pidl tests
with PIDL_TESTS_SKIP=yes

metze
(This used to be commit 682c19f326)
2007-10-10 14:52:54 -05:00
Andrew Bartlett
6d52f4a63f r23136: Set the event context onto the credentials in more places.
This helps ensure that the kerberos code uses the right event context.

Andrew Bartlett
(This used to be commit cbdce358ae)
2007-10-10 14:52:54 -05:00
Stefan Metzmacher
fb213858ad r23135: inet_ntop and inet_pton are now provided by libreplace
metze
(This used to be commit 7e3e2defa5)
2007-10-10 14:52:53 -05:00
Andrew Bartlett
002c1e7646 r23134: Set the event context onto the cli_credentials.
Andrew Bartlett
(This used to be commit 8b97ca2a87)
2007-10-10 14:52:53 -05:00
Andrew Bartlett
64df4c7c57 r23133: I felt pity on Kai, as he starts work on winbind in Samba4, so I
decided to clean it up a little.

We now use SPNEGO for authentication if possible, and common routines
shared with the rest of the librpc codebase.  Rather than make a
connection to IPC$, then connect the pipes to it, we instead have the
lsa and samr pipes as 'secondary connections'.

Andrew Bartlett
(This used to be commit 86654056b2)
2007-10-10 14:52:53 -05:00
Andrew Bartlett
79d3f82f33 r23132: Resolve an issue where we would use the ccache after we free()ed it.
The problem was, we would set the ccache, then invalidate it as we set
details from it (like the principal name from the ccache).

Instead, set the ccache onto the credentials structure after we are
done processing it.

Andrew Bartlett
(This used to be commit d285bd927c)
2007-10-10 14:52:53 -05:00
Günther Deschner
d875b7d620 r23129: Merge from 3_0:
* netr_DsRGetDCName_flags, netr_DsRGetDCNameInfo_AddressType and netr_DsR_DcFlags
* the mask in netr_DsRGetDCNameEx2 turns out to be samr_AcctFlags

Guenther
(This used to be commit 9cdd6d9782)
2007-10-10 14:52:52 -05:00
Rafal Szczesniak
c64358e339 r23126: this was sitting on my laptop for a while...
change the way the ejs object is being created and return listing
context (with status) rather than collecting all entries gathered
from libnet call.

rafal
(This used to be commit b16787a561)
2007-10-10 14:52:52 -05:00
Rafal Szczesniak
b0a1cf01e3 r23125: add host manager subcontext function.
rafal
(This used to be commit 2f16ff04d2)
2007-10-10 14:52:52 -05:00
Rafal Szczesniak
9bd9acae1c r23124: add host subcontext providing (at the moment) list of domains
hosted on the server.

rafal
(This used to be commit 385a094443)
2007-10-10 14:52:51 -05:00
Michael Adam
4fa973e4a4 r23123: Fix two utterly simply typos that broke the whole build farm...
Michael
(This used to be commit 54193c4638)
2007-10-10 14:52:51 -05:00
Michael Adam
ef5dc55983 r23118: Make inet_pton and inet_ntop available through lib/replace.
The code for inet_pton.c and inet_ntop.c is taken from
the rsync code.

I will put this into 3_0 and 3_0_26 too, but let's sort
the readahead issue in lib/replace of 3_0 first...

Michael
(This used to be commit 9781b13fd3)
2007-10-10 14:52:51 -05:00
Stefan Metzmacher
aa9bf7f628 r23115: the attribute array needs to be NULL terminated...
hopefully fix the crash on some hosts in the farm...

metze
(This used to be commit 4fb9e4a353)
2007-10-10 14:52:51 -05:00
Stefan Metzmacher
77b68a2cdd r23114: we fail the new BASE-DELETE/deltest20a|b tests
metze
(This used to be commit 9d510ed766)
2007-10-10 14:52:50 -05:00
Stefan Metzmacher
9853deacb6 r23111: nicer ./configure --help output
metze
(This used to be commit d0d371be71)
2007-10-10 14:52:50 -05:00
Stefan Metzmacher
938a0bc9ac r23110: add --disable-shared option, very useful for the build-farm...
metze
(This used to be commit 251d534a88)
2007-10-10 14:52:50 -05:00
Michael Adam
a32b648ea1 r23108: Add defines of RTLD_NOW and RTLD_GLOBAL to replace.h.
Fixing build of ldb for instance on some systems without dlfcn.h.
(This used to be commit 943acd688d)
2007-10-10 14:52:49 -05:00
Jeremy Allison
45afb4fdb0 r23104: Add comment explaining the new test.
Jeremy.
(This used to be commit 7b9b5c59a4)
2007-10-10 14:52:49 -05:00
Jeremy Allison
6223ae4015 r23103: Add a torture test for the insane semantics Steve's cifsfs client
uses so we don't regress :-).
Jeremy.
(This used to be commit 5ce41ae40c)
2007-10-10 14:52:49 -05:00
Jeremy Allison
2087e1ce6a r23099: New interesting delete on close tests :-).
This will break all delete tests on the build farm
until I check in my server patch.
Jeremy.
(This used to be commit c31f775f1c)
2007-10-10 14:52:49 -05:00
Andrew Tridgell
a2a49c5af7 r23090: a test showing two netlogon pipes open at once, using the LogonEx ops
(This used to be commit 576dbdc8ee)
2007-10-10 14:52:48 -05:00
Andrew Bartlett
182ad3f50c r23089: This is upstream now, so we don't need to add it manually.
Andrew Bartlett
(This used to be commit cddffbf602)
2007-10-10 14:52:48 -05:00
Stefan Metzmacher
dbff619f2a r23071: print the command on failure only
metze
(This used to be commit 65ed391729)
2007-10-10 14:52:48 -05:00
Stefan Metzmacher
ffe21e4a7c r23069: print out the command, to find out the problem on host 'tridge'
metze
(This used to be commit 3f28a19ea1)
2007-10-10 14:52:48 -05:00
Stefan Metzmacher
42c1ef4025 r23067: use 'const union smb_search_data *file' also in the server code to get rid
of compiler warnings in the cifs backend

metze
(This used to be commit 34ef07b1f5)
2007-10-10 14:52:47 -05:00
Stefan Metzmacher
3527a578ba r23066: don't ignore errors
metze
(This used to be commit 1a1a339d48)
2007-10-10 14:52:47 -05:00
Rafal Szczesniak
5088c8add2 r23065: revert local includes to prevent security problems (at least
temporarily...)

rafal
(This used to be commit 0ecb8fd81e)
2007-10-10 14:52:47 -05:00
Andrew Bartlett
615fea1c5c r23064: Clarify comment and indent
(This used to be commit 607e8409f8)
2007-10-10 14:52:46 -05:00
Andrew Bartlett
c83c39909e r23063: Make sure to invalidate the ccache when we set a
username/password/realm/etc from the command line.

Also make sure it can't 'come back' from a later call to
cli_credentials_guess(), buy setting a threshold.

This should fix the issues with the build farm...

Andrew Bartlett
(This used to be commit 3b1dfb9306)
2007-10-10 14:52:46 -05:00
Andrew Tridgell
5bb0dcd051 r23062: make sure one node doesn't get ahead of the others at the start
(This used to be commit 6ab736f530)
2007-10-10 14:52:46 -05:00
Andrew Tridgell
9e1c88897c r23061: keep the RAW-BENCH-OPEN test balanced
(This used to be commit 453d6f5c58)
2007-10-10 14:52:46 -05:00
Andrew Tridgell
1a55a36401 r23060: use #include <roken.h> consistently. Using "roken.h" in this directory
breaks Samba builds on some systems as they find the wrong roken.h
(This used to be commit 59cd26b664)
2007-10-10 14:52:46 -05:00
Andrew Tridgell
145a9dd010 r23059: reject_free needs to be initialised
(This used to be commit ffb8b49316)
2007-10-10 14:52:45 -05:00
Andrew Tridgell
86b91f5073 r23058: the cldap code was getting too intimate with the internals of struct
asn1_context. A hangover from when it wasn't a allocated structure
(This used to be commit e4b7968a40)
2007-10-10 14:52:45 -05:00
Andrew Tridgell
31f047f734 r23057: only call the async recv function for the first pending receive, not
all pending receives, when the transport dies. This is because the
async callback most commonly shuts down the connection (it's the only
reasonable thing to do when it's dead), and that frees the whole
context. That means that if we loop more than once, we'll end up using
freed memory.
(This used to be commit 75d537d3a5)
2007-10-10 14:52:45 -05:00
Andrew Tridgell
4378af38ec r23056: added automatic reconnect to RAW-BENCH-OPEN, similar to RAW-BENCH-LOCK
(This used to be commit 30b1733d75)
2007-10-10 14:52:45 -05:00
Rafal Szczesniak
fb1078dd18 r23047: Allow local inclusion of js files as well as from predefined
path(s).

rafal
(This used to be commit 278d26576a)
2007-10-10 14:52:44 -05:00
Stefan Metzmacher
6eaf8ee849 r23045: forward SMB2 oplock breaks to the client
metze
(This used to be commit 577acc198b)
2007-10-10 14:52:44 -05:00
Stefan Metzmacher
10498e8a72 r23044: - use uint32_t for handle id's
- include the session vuid in the SMB2 128-Bit wire handles
  as SMB2 oplock breaks doesn't include a TID or VUID in the header
  we need to make sure the handle is unique for the whole TCP connection

metze
(This used to be commit 7c29b8a7e6)
2007-10-10 14:52:44 -05:00
Stefan Metzmacher
baa81e2959 r23043: allow more than UINT16_MAX - 1 handles on smb2 connections
metze
(This used to be commit 6d08c4cef2)
2007-10-10 14:52:44 -05:00
Stefan Metzmacher
774d66c1e6 r23037: actually fix the asn1 memory leak :-)
metze
(This used to be commit 13bda1152d)
2007-10-10 14:52:43 -05:00
Andrew Tridgell
931f594cf1 r23036: error checking on asn1_init() failure
(This used to be commit 26cf849408)
2007-10-10 14:52:43 -05:00
Andrew Bartlett
43da48650a r23035: We don't need to add this entry, and I hope to figure out how to avoid
adding the other two manually.

However, to do this we do need to skip the check (with -u) that
slaptest can access the db.

Andrew Bartlett
(This used to be commit ea206dce06)
2007-10-10 14:52:43 -05:00
Andrew Bartlett
4dbbf7fed3 r23034: Thanks to metze for providing some vital clues in the 'kerberos ccache
on credentials don't do anything' bug.

The problem was simple, we didn't set the ccache as having been
initialised, so we always created a new one.

Andrew Bartlett
(This used to be commit ec2014f08b)
2007-10-10 14:52:43 -05:00
Stefan Metzmacher
1b67925851 r23033: regenerate schema.ldif with minischema.js
metze
(This used to be commit c9e017c008)
2007-10-10 14:52:42 -05:00
Andrew Bartlett
d21bfc05ef r23032: Remove calls to println(), and ensure we print the ldb errstring().
Andrew Bartlett
(This used to be commit 5b6f704b24)
2007-10-10 14:52:42 -05:00
Andrew Tridgell
fcd4f22cd6 r23031: removed bogus event_loop_once() calls in RAW-CONTEXT test - they could
hang forever if an ealier one caused two operations to complete at
once

this is why RAW-CONTEXT was taking 5 minutes on the build farm
(This used to be commit eeba37e25c)
2007-10-10 14:52:42 -05:00