1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

12526 Commits

Author SHA1 Message Date
Stefan Metzmacher
aec9320dc2 r23288: give more info...
metze
(This used to be commit 7fae261a49)
2007-10-10 14:53:08 -05:00
Andrew Bartlett
f7d79d3131 r23281: Ensure we wipe all the right things in distclean.
Andrew Bartlett
(This used to be commit 9bf7e4d896)
2007-10-10 14:53:08 -05:00
Stefan Metzmacher
f0daf9602d r23266: HP-UX 11.23 doesn't like this, but HP-UX 11.00 and 11.11 need it
metze
(This used to be commit 6dff6c93fc)
2007-10-10 14:53:08 -05:00
Stefan Metzmacher
1e3a49478e r23265: HP-UX 11.00 also needs this, try to see if 11.23 is also happy
with it...

metze
(This used to be commit 71eac88f7e)
2007-10-10 14:53:07 -05:00
Andrew Bartlett
6e68fe69ea r23264: Make it more clear what this is actually setting up
(This used to be commit f687bc92ae)
2007-10-10 14:53:07 -05:00
Andrew Bartlett
af1c3c64b0 r23262: Fix mkrelease.sh to work in the right directories
(This used to be commit db8d78f187)
2007-10-10 14:53:07 -05:00
Andrew Bartlett
c46e5868de r23257: Newer OpenLDAP versions don't seem to need this, so simplfy.
Andrew Bartlett
(This used to be commit 3ecd180343)
2007-10-10 14:53:06 -05:00
Günther Deschner
adf23c651b r23240: Fill in netr_DsrGetDcSiteCoverageW.
Guenther
(This used to be commit 9c2b964233)
2007-10-10 14:53:06 -05:00
Günther Deschner
4d1a21f24d r23239: Fill in drsuapi_QuerySitesByCost.
Guenther
(This used to be commit cf953d0481)
2007-10-10 14:53:06 -05:00
Andrew Tridgell
dd64de3d5b r23238: merged transaction lock changes from ctdb
this ensures that having the global lock also implies the transaction
lock
(This used to be commit 9dbb2633d7)
2007-10-10 14:53:06 -05:00
Andrew Tridgell
9c6c4848c9 r23237: update lib/replace from ctdb
(This used to be commit 361c5995bc)
2007-10-10 14:53:05 -05:00
Andrew Bartlett
e6aecd8b91 r23235: Don't do a seperate LDAP provision step. Instead, everything we need
(including the config files) is created by provision-backend.

Andrew Bartlett
(This used to be commit 6d4d90399f)
2007-10-10 14:53:05 -05:00
Andrew Bartlett
55ee74f8ca r23233: Use the schema and basedn files generated by the provision-backend script.
(Moving towards using only the script's output, one step at a time).

Andrew Bartlett
(This used to be commit a7a409074a)
2007-10-10 14:53:05 -05:00
Andrew Bartlett
66d0f5c7a3 r23232: Add in some extra files required by the new provision-backend.
(sorry for breaking the build)

Andrew Bartlett
(This used to be commit 0108334fe3)
2007-10-10 14:53:04 -05:00
Jim McDonough
0ab01a99a8 r23231: Fix make test on build farm for 64-bit hosts. There's no reason this should
be any different for 64-bit hosts, but we probably are lucking out on other
fields here as well.  The "fields_present" field shouldn't just be copied
from usrmgr traces, because it indicates which fields should be set, and
in this case, we were setting the kickoff time (NOT the expired time) to some
random date.
(This used to be commit 69270178e5)
2007-10-10 14:53:04 -05:00
Stefan Metzmacher
4690d5c553 r23209: import getnameinfo.c, inet_ntop.c and inet_pton.c from
loikeet-heimdal

metze
(This used to be commit 48eb20199e)
2007-10-10 14:53:04 -05:00
Stefan Metzmacher
867f7f4b74 r23208: on some HP-UX boxes dlfcn.h is available and use unsigned int flags
for dlopen but no library contains the function...

metze
(This used to be commit 0c7e3ed962)
2007-10-10 14:53:03 -05:00
Stefan Metzmacher
9f6c762b0a r23205: abartlet please commit the correct content ...
this just fixes make install

metze
(This used to be commit 236da2cb3d)
2007-10-10 14:53:03 -05:00
Andrew Bartlett
f1c7d48da0 r23191: Use the new provision-backend script to setup Fedora DS for make test.
OpenLDAP to follow once I get things working...

Andrew Bartlett
(This used to be commit 2cde9eb860)
2007-10-10 14:53:03 -05:00
Andrew Bartlett
86a4886e39 r23189: Work towards a totally scripted setup of LDAP backends, so others can
easily try this out.

I also intend to use this for the selftest, but I'm chasing issues
with the OpenlDAP (but not Fedora DS) backend.

Andrew Bartlett
(This used to be commit 0f457b1d2e)
2007-10-10 14:53:02 -05:00
Stefan Metzmacher
fbe7d8cbc5 r23188: revert 23123 and 23118.
as a long term solution this was the correct approach,
but it's a bit more complex and we need to provide the
whole socket api and libnsl.so checking in libreplace...

as a short term solution to fix the build on host 'hape'
we'll use the same trick as with inet_aton.c from
heimdal's lib/roken/

metze
(This used to be commit 0e88e2e461)
2007-10-10 14:53:02 -05:00
Stefan Metzmacher
f1c138390b r23187: revert 23145 and 23135 to fix the build on solaris...
metze
(This used to be commit cd012361d2)
2007-10-10 14:53:02 -05:00
Andrew Tridgell
95a3ca53e5 r23182: fixed valgrind error
(This used to be commit fae416cbe8)
2007-10-10 14:53:01 -05:00
Andrew Tridgell
aeac4f4800 r23181: prevent attempts to reopen the connection twice at the same time
(This used to be commit a25c27dbae)
2007-10-10 14:53:01 -05:00
Andrew Tridgell
9b95f57530 r23180: auto-reconnect on both NT_STATUS_END_OF_FILE and NT_STATUS_LOCAL_DISCONNECT
(This used to be commit 32a6c268a7)
2007-10-10 14:53:01 -05:00
Rafal Szczesniak
1fe9fd2749 r23179: I forgot ejsnet.js script is one of tests. Disable it temporarily.
rafal
(This used to be commit 9471de13ea)
2007-10-10 14:53:00 -05:00
Andrew Bartlett
5fb459e4fa r23177: Add in a new provision-backend script. This helps set up the OpenLDAP or Fedora DS backend.
This required a new mkdir() call in ejs.

We can now provision just the schema for ad2oLschema to operate on
(with provision_schema(), without performing the whole provision, just
to wipe it again (adjustments to 'make test' to come soon).

Andrew Bartlett
(This used to be commit 01d54d13dc)
2007-10-10 14:53:00 -05:00
Andrew Bartlett
b8b580dbcb r23176: Note that we only return one DC from this call at the moment.
Andrew Bartlett
(This used to be commit 4fee8a7b77)
2007-10-10 14:52:59 -05:00
Jelmer Vernooij
dc919c2534 r23175: Handle PKG_CONFIG_PATH not set yet - fixes warning in selftest.pl
(This used to be commit 222acbe33b)
2007-10-10 14:52:59 -05:00
Jelmer Vernooij
e3af07d1b1 r23158: Set version to 1.0.1.
(This used to be commit db065db67a)
2007-10-10 14:52:58 -05:00
Jelmer Vernooij
f862ee9db1 r23157: Add news file for talloc.
(This used to be commit cb92da2679)
2007-10-10 14:52:58 -05:00
Andrew Tridgell
de8b793050 r23153: a first cut at a fix for the dgram flood problem that volker
found. Not sure this is the best solution, but it should work.
(This used to be commit 80002cd12a)
2007-10-10 14:52:58 -05:00
Andrew Tridgell
12d9b33ed6 r23152: fixed some async retry issues in openbench
(This used to be commit 08eeaff079)
2007-10-10 14:52:58 -05:00
Andrew Bartlett
de308569c1 r23149: Fix up the trusted domain lookup code to use the new structures.
Andrew Bartlett
(This used to be commit 6ecb3cb0b3)
2007-10-10 14:52:57 -05:00
Stefan Metzmacher
2d7d7948fb r23146: fix the build (temporary)
abartlet: please fix this correct!

metze
(This used to be commit a4df092c80)
2007-10-10 14:52:57 -05:00
Stefan Metzmacher
a11e7f18a0 r23145: try to fix the build on solaris
metze
(This used to be commit 7a513bd741)
2007-10-10 14:52:57 -05:00
Stefan Metzmacher
e3408e6160 r23144: splitup RAW-OPLOCK into small units
metze
(This used to be commit 0cfe152cb1)
2007-10-10 14:52:57 -05:00
Andrew Tridgell
d142f4b0f2 r23143: error found by valgrind
(This used to be commit 268a26131e)
2007-10-10 14:52:56 -05:00
Andrew Tridgell
a085d682e6 r23142: added error checking and reconnect on echo replies
(This used to be commit 0d47efe6d6)
2007-10-10 14:52:56 -05:00
Andrew Bartlett
1aaea2d3a7 r23141: Use the finddcs() library call rather than a winbind-specific version.
(I created finddcs() from the winbind code a while back, so this
finishes that work)

Andrew Bartlett
(This used to be commit 218b279a46)
2007-10-10 14:52:56 -05:00
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
Andrew Tridgell
7bb939b1cb r23030: finally fixed up our asn1 code to use better memory allocation. This
should allow us to fix some long standing memory leaks.
(This used to be commit 3db49c2ec9)
2007-10-10 14:52:42 -05:00
Andrew Tridgell
042ddf28ec r23029: fixed formatting
(This used to be commit 72ee470772)
2007-10-10 14:52:41 -05:00
Andrew Bartlett
e0d4923c16 r23028: I've now got a patch to Fedora DS to make it only install the very base schema.
I'll post that patch into lorikeet and submit upstram.

Andrew Bartlett
(This used to be commit 90f2412152)
2007-10-10 14:52:41 -05:00
Andrew Bartlett
e40d9cbdc8 r23027: Make sure the parent object always exists.
Andrew Bartlett
(This used to be commit 55c7c0906c)
2007-10-10 14:52:41 -05:00
Andrew Tridgell
36d7186e72 r23021: test some boundary conditions for idtree, after I saw some suspicious
behaviour
(This used to be commit e862cf17b8)
2007-10-10 14:52:40 -05:00
Andrew Tridgell
d3e28ccd48 r23020: a better fix for the memory leak - this one doesn't stuff up spnego :)
(This used to be commit 9a8da730a7)
2007-10-10 14:52:40 -05:00
Andrew Tridgell
b691b4ad3d r23019: revert r23018 - this will require more thought.
(This used to be commit df60df9678)
2007-10-10 14:52:40 -05:00
Andrew Tridgell
a8716afce8 r23018: fixed a memory leak in our server side session setup code for failed
session setups
(This used to be commit a4e043e1f8)
2007-10-10 14:52:39 -05:00
Andrew Tridgell
e3036006fe r23017: fixed the warning we have been getting for a long time:
pvfs_close: failed to delete XXX
during the BASE-DELETE test. It was a real bug, and could result in a
delete on close triggering for a handle that had never fully opened.
(This used to be commit 398c3724b4)
2007-10-10 14:52:39 -05:00
Andrew Tridgell
d2872b42f3 r23013: fixed a bug in the string_replace_w() test that caused OpenBSD to die
(This used to be commit 1fe20a4555)
2007-10-10 14:52:39 -05:00