Andrew Bartlett
bc8474b5cc
r22076: Fill in short and long domain names into the generated krb5.conf
...
(This used to be commit c366610cbc
)
2007-10-10 14:49:48 -05:00
Andrew Bartlett
6e3887569f
r22075: Configure the bitwise match plugin, until it becomes accepted upstream.
...
Andrew Bartlett
(This used to be commit ce080b107c
)
2007-10-10 14:49:47 -05:00
Jelmer Vernooij
e3e505625d
r22074: More refactoring.
...
(This used to be commit b0e0c5cb94
)
2007-10-10 14:49:47 -05:00
Andrew Tridgell
b03d49bced
r22072: in order to implement the opendb ctdb backend, I've found that the
...
existing ctdb_call() mechanism isn't sufficient. The main problem is
that the operations on the record need to be done with a lock held
while a local posix file operation is happening. We can't use a
ctdb_call callback function to do the actual file opens, renames,
unlinks etc as the callback would run on the wrong node.
So this commit adds the prototypes for two new ctdb API functions
which will make a opendb backend easier. Volker will probably
recognise these functions as they are basically the same as what he
did in his earlier Samba clustering code :-)
(This used to be commit d9a997fd39
)
2007-10-10 14:49:47 -05:00
Andrew Tridgell
a78be2150b
r22070: merge in the changes from the bzr ctdb tree, and convert the brlock
...
ctdb backend to use the updated multi-database API
(This used to be commit 44dcac9e4d
)
2007-10-10 14:49:47 -05:00
Jelmer Vernooij
690df3ccd9
r22063: Fix the RPC-EPMAPPER test.
...
(This used to be commit 101cdd1ec1
)
2007-10-10 14:49:46 -05:00
Stefan Metzmacher
464c48a62e
r22053: remove samba3 specific stuff from tdbtool
...
should I merge this to SAMBA_3_0? as it's also totally
broken there, as the connection_struct definition is completely
different
metze
(This used to be commit 5677b01d1d
)
2007-10-10 14:49:46 -05:00
Stefan Metzmacher
a18b522f2b
r22052: merge tdbtool from samba3 and build it
...
metze
(This used to be commit f471e75216
)
2007-10-10 14:49:46 -05:00
James Peach
36d8bdc1a5
r22048: Sigh. Commit the other half of r22047.
...
(This used to be commit cbc15e963a
)
2007-10-10 14:49:46 -05:00
James Peach
f3455f0f44
r22047: Move suffix rules into smb_build. Enable $< if we are building with
...
GNU Make. This lets GNU Make users bild with $srcdir != $builddir.
(This used to be commit bb473bf856
)
2007-10-10 14:49:45 -05:00
James Peach
4e8fd9f2f4
r22046: Rever r22040, which breaks the build on FreeBSD 5.4 (BSD make).
...
(This used to be commit 5a96812929
)
2007-10-10 14:49:45 -05:00
Stefan Metzmacher
769efdf048
r22041: merge trivial changes from samba3
...
metze
(This used to be commit 902a76ca70
)
2007-10-10 14:49:45 -05:00
James Peach
3655b4ba75
r22040: Use $< to specify the immediate prerequisit instead of $*. This is
...
needed for VPATH to find the correct files when srcdir != builddir.
This checkin is a test to see which platforms this change will break.
(This used to be commit 1d4e836a50
)
2007-10-10 14:49:44 -05:00
Stefan Metzmacher
8d525c8187
r22038: - fix perl warning
...
- use the same if statement as in input.pm
metze
(This used to be commit 8ffcac65be
)
2007-10-10 14:49:44 -05:00
James Peach
4873704e5a
r22037: Make sure STATICDIR exists before linking a static archive.
...
(This used to be commit c8ffdc1542
)
2007-10-10 14:49:44 -05:00
James Peach
c09f40214e
r22036: Make sure both srcdir and builddir are in VPATH.
...
(This used to be commit 9400f07738
)
2007-10-10 14:49:44 -05:00
James Peach
2e588454fe
r22035: Introduce HOSTLD which is needed to link the asn1 compiler when cross
...
compiling.
(This used to be commit 976343821b
)
2007-10-10 14:49:43 -05:00
James Peach
051e4b25cf
r22034: Use builddir and srcdir instead on samba_builddir and samba_srcdir.
...
(This used to be commit 8b19b8bfbe
)
2007-10-10 14:49:43 -05:00
James Peach
3d0bc0ec0a
r22032: Make sure static libraries end up in bin/static.
...
(This used to be commit 316283170a
)
2007-10-10 14:49:43 -05:00
James Peach
3e0f5d7070
r22031: Make sure we rewrite the include directives in CFLAGS to contain
...
paths from builddir and srcdir. builddir has precedence.
(This used to be commit af87c22ecf
)
2007-10-10 14:49:43 -05:00
James Peach
7dc8e67f81
r22030: Simplify include parsing for config.mk files, making sure we get
...
it right for the srcdir != builddir case. Emit some comment lines
that can be used to figure out which parts of the Makefile output
is generated from which config files.
(This used to be commit bdb1532d3a
)
2007-10-10 14:49:42 -05:00
James Peach
2882b2ba63
r22029: Make sure we respect $srcdir correctly for the srcdir != builddir case.
...
(This used to be commit 0db4256a47
)
2007-10-10 14:49:42 -05:00
James Peach
dec40d3463
r22028: Fix include path for the srcidr != builddir case.
...
(This used to be commit a6141d40b1
)
2007-10-10 14:49:42 -05:00
James Peach
bd2380978d
r22027: Allow separate build and source directories. Don't follow symlinks
...
when copying hemidal_build since this leads to traversal loops.
(This used to be commit ef32ad83d2
)
2007-10-10 14:49:42 -05:00
Andrew Tridgell
15ceca1956
r22025: patch from Ronnie to make locktest also test the behaviour of pid
...
changes in the locks
(This used to be commit 369b185f29
)
2007-10-10 14:49:41 -05:00
Andrew Tridgell
f00f7a34a9
r22021: use the pid specified in the individual locks, not the request pid, in
...
locking requests.
This fixes a bug noticed by Ronnie Sahlberg (thanks!)
(This used to be commit b4ac085816
)
2007-10-10 14:49:41 -05:00
Jelmer Vernooij
cbd42dc5a1
r22004: Check for dereferencing null pointers.
...
Patch by Ronnie Sahlberg.
(This used to be commit fa5722111d
)
2007-10-10 14:49:40 -05:00
Jelmer Vernooij
256054f4e1
r21996: Fix a bug for invalid casts of pointers.
...
Patch by Ronnie Sahlberg.
(This used to be commit 52a13ddf02
)
2007-10-10 14:49:40 -05:00
Jelmer Vernooij
452f8e76cb
r21995: Patch from Ronnie Sahlberg.
...
Change the signatures for all functions it generates to specify
_U_ so that GCC "parameter not used" warnings are suppressed.
(This used to be commit ec6c503e9d
)
2007-10-10 14:49:40 -05:00
Andrew Bartlett
fdd4c5f879
r21971: Fill in some more values in config files from variables, so we can
...
better setup multiple environments.
Run the mk-keyblobs script before we need variables it defines.
Andrew Bartlett
(This used to be commit 448ffc68f3
)
2007-10-10 14:49:40 -05:00
Andrew Bartlett
c95d468046
r21970: Ensure that Fedora DS can be shut down correctly with the stop script:
...
This needs the pid file to be in the right spot.
Andrew Bartlett
(This used to be commit cf9993a309
)
2007-10-10 14:49:39 -05:00
James Peach
90d8786d05
r21951: Hopefully fix valgrind warning.
...
(This used to be commit e5d0487f31
)
2007-10-10 14:49:39 -05:00
James Peach
c61db93c7e
r21949: After discussion with the Apple and Linux client maintainers,
...
changing the FindFirst response for the UNIX_INFO2 level to include
a length field before the name. The name is not required to be null
terminated. the lenght field does not count any null.
(This used to be commit eef672bfff
)
2007-10-10 14:49:39 -05:00
Stefan Metzmacher
40c2da7e89
r21943: don't send unitialized data
...
metze
(This used to be commit 7cb01a6495
)
2007-10-10 14:49:39 -05:00
Stefan Metzmacher
ffcf96b46d
r21928: fix the interface uuid of wzcsvc.
...
see http://www.hsc.fr/ressources/articles/win_net_srv/msrpc_wzcsvc.html
and http://www.hsc.fr/ressources/articles/win_net_srv/msrpc_scheduler.html
thanks to jbm for the report!
metze
(This used to be commit 8bc1316741
)
2007-10-10 14:49:38 -05:00
Jelmer Vernooij
ab652246b9
r21911: Some more work on making the ncacn_np handling in smbd be less special.
...
(This used to be commit 52f32b7330
)
2007-10-10 14:49:38 -05:00
Jelmer Vernooij
86d77746db
r21910: Clean up some unused functions.
...
(This used to be commit 36cd3406db
)
2007-10-10 14:49:38 -05:00
Jelmer Vernooij
2fca3f9082
r21909: Merge some of my recent improvements to the test infrastructure:
...
- Allow tests to specify what environment they need to run in (dc and none are thecurrent supported ones).
- Move more Samba4-specific code out of the common code
(This used to be commit dbe9de1028
)
2007-10-10 14:49:37 -05:00
Stefan Metzmacher
f19637f957
r21859: add a comment why we remove the rid_crypt obfuscation
...
metze
(This used to be commit e44b6df138
)
2007-10-10 14:49:37 -05:00
Stefan Metzmacher
dcd65a50a1
r21843: the computer_dn isn't needed anymore because we don't manually reset the password
...
anymore
metze
(This used to be commit fee2c6d13d
)
2007-10-10 14:49:36 -05:00
Stefan Metzmacher
d755269141
r21842: fix typo in comment
...
metze
(This used to be commit 8fcd5209ae
)
2007-10-10 14:49:36 -05:00
Stefan Metzmacher
41c5453507
r21839: add my email address
...
metze
(This used to be commit e3be33c1d9
)
2007-10-10 14:49:35 -05:00
Stefan Metzmacher
97d2f1cc40
r21838: generate no metadata for constructed attributes
...
metze
(This used to be commit 7e0620e524
)
2007-10-10 14:49:35 -05:00
Jelmer Vernooij
00d74b84e9
r21837: Make dcerpc_mgmt a separate library again, as the linker leaves it out when it's part of dcerpc.
...
(This used to be commit dc4428553e
)
2007-10-10 14:49:35 -05:00
Andrew Bartlett
8afe4e7f3c
r21836: Assume that if an OpenLDAP system is 'modular' then everything is a
...
module, so we have to bring in syncprov too.
Andrew Bartlett
(This used to be commit b9d06c70ad
)
2007-10-10 14:49:35 -05:00
Andrew Tridgell
dfb04271eb
r21835: fixed a rpc server bug where we failed to remove a call from one
...
linked list when moving it to another. This could cause a valgrind
error under the RPC-SCANNER test.
(This used to be commit 9ba8c00851
)
2007-10-10 14:49:34 -05:00
Jelmer Vernooij
4f0c0997ce
r21834: Remove unnecessary includes
...
(This used to be commit 7d10e192ca
)
2007-10-10 14:49:34 -05:00
Jelmer Vernooij
0836a83f9e
r21833: Don't install static libs, they can't be used anyway.
...
(This used to be commit 6fb7097edf
)
2007-10-10 14:49:34 -05:00
Jelmer Vernooij
606c0fec43
r21830: Fix header installation, remove proto header with a single prototype.
...
(This used to be commit 47a17a741a
)
2007-10-10 14:49:33 -05:00
Jelmer Vernooij
6bcbdc2757
r21829: Integrate mgmt in libdcerpc. We have enough libraries as it is and mgmt is part of the DCE/RPC standard.
...
(This used to be commit b0d05727b4
)
2007-10-10 14:49:33 -05:00
Jelmer Vernooij
c1c34c4179
r21828: Hardcode prototypes, as they're a public API.
...
(This used to be commit 02ae0b9cde
)
2007-10-10 14:49:33 -05:00
Stefan Metzmacher
37f2d53528
r21827: move comments to the place where the functionality is implemented
...
metze
(This used to be commit 5d49d8b9e1
)
2007-10-10 14:49:33 -05:00
Stefan Metzmacher
63fd883e54
r21826: reorder functions
...
metze
(This used to be commit 3d0a810ccd
)
2007-10-10 14:49:32 -05:00
Stefan Metzmacher
31c674bffc
r21821: move comment about the becoming a dc to the code which implements it
...
and extent the comments a bit
metze
(This used to be commit 16c958600e
)
2007-10-10 14:49:32 -05:00
Stefan Metzmacher
952a90814f
r21820: move function, so that all are in top-down order as they get called
...
metze
(This used to be commit 38bb7f5445
)
2007-10-10 14:49:32 -05:00
Stefan Metzmacher
d0f989628a
r21817: give fields a meaning
...
metze
(This used to be commit 521355b57b
)
2007-10-10 14:49:31 -05:00
Andrew Tridgell
c8cfbfdc8b
r21814: use ndr_push_error in the ndr layer, not just a NTSTATUS failure
...
(This used to be commit 37aa32e2fe
)
2007-10-10 14:49:31 -05:00
Andrew Tridgell
dd0b2572eb
r21812: fixed an integer overflow error in the ndr push code.
...
This needs to be fixed in Samba3 as well. It might be exploitable (I
haven't confirmed one way or the other), so I think this should be
fixed for 3.0.25
(This used to be commit 4766175ff2
)
2007-10-10 14:49:31 -05:00
Andrew Tridgell
f85bb4c1c3
r21811: fixed a queueing error in the dcerpc client code. WHen the
...
dcerpc_ship_next_request() logic was added the penidng queue was split
in two, but we also needed to update the code which removes requests
from the queue to know about the two queues. Following the pattern
used in other client libs, I based which queue to remove from on
req->state, and added a new state RPC_REQUEST_QUEUED. This fixes a
crash that happens when rpc requests time out.
This patch also fixes the handling of timed out bind requests, and the
talloc_reference handling in dcerpc_ndr_request_recv().
(This used to be commit f51a129b52
)
2007-10-10 14:49:31 -05:00
Andrew Tridgell
676a04a056
r21807: modularise the opendb code, so different backends can be
...
implemented. This will allow for a ctdb opendb backend.
(This used to be commit 6b91ca0968
)
2007-10-10 14:49:29 -05:00
Andrew Bartlett
9b03286b32
r21806: I've been working over the last week to fix up the LDAP backend for
...
Samba4. This only broke on global catalog queries, which turned out to
be due to changes in the partitions module that metze needed for his
DRSUAPI work.
I've reworked partitions.c to always include the 'problematic' control,
and therefore demonstrated that this is the issue. This ensures
consistency, and should help with finding issues like this in future.
As this control (DSDB_CONTROL_CURRENT_PARTITION_OID) is not intended to
be linearised, I've added logic to allow it to be skipped when creating
network packets.
I've likewise make our LDAP server skip unknown controls, when marked
'not critical' on it's input, rather than just dropping the entire
request. I need some help to generate a correct error packet when it is
marked critical.
Further work could perhaps be to have the ldap_encode routine return a
textual description of what failed to encode, as that would have saved
me a lot of time...
Andrew Bartlett
(This used to be commit eef710668f
)
2007-10-10 14:49:29 -05:00
Andrew Bartlett
b6b98f6300
r21805: Add PAC_TYPE_CONSTRAINED_DELEGATION to the PAC_TYPE enum.
...
(This used to be commit 6fb3b4be10
)
2007-10-10 14:49:29 -05:00
Stefan Metzmacher
252331a35d
r21799: tell roken.h.in to not generate prototypes for setenv() and unsetenv()
...
metze
(This used to be commit 974eb5eb68
)
2007-10-10 14:49:29 -05:00
Stefan Metzmacher
8988113a42
r21798: unsetenv() returns void on some platforms (BSD)
...
metze
(This used to be commit 9cdb9f1cee
)
2007-10-10 14:49:28 -05:00
Stefan Metzmacher
d464f0e78b
r21797: remove the key directly from the environ array
...
inspired by:
http://cvs.linux-ha.org/viewcvs/viewcvs.cgi/linux-ha/replace/unsetenv.c?rev=1.4&view=auto
metze
(This used to be commit 8787525e51
)
2007-10-10 14:49:28 -05:00
Stefan Metzmacher
de75e93817
r21796: check if unsetenv() works on an non-existing key
...
metze
(This used to be commit c6b4f2d151
)
2007-10-10 14:49:28 -05:00
Stefan Metzmacher
14233bb76f
r21795: fix the prototype of unsetenv()...
...
metze
(This used to be commit 2952c20b77
)
2007-10-10 14:49:28 -05:00
Stefan Metzmacher
d358087227
r21794: add setenv()/unsetenv() testsuite
...
metze
(This used to be commit 3df206ddfa
)
2007-10-10 14:49:27 -05:00
Stefan Metzmacher
544a2d30e0
r21793: add replacement for unsetenv()
...
metze
(This used to be commit d6de7f2cda
)
2007-10-10 14:49:27 -05:00
Andrew Bartlett
9b921af12e
r21791: This test is still just as valid without as much CPU time wasted.
...
Andrew Bartlett
(This used to be commit 3549785700
)
2007-10-10 14:49:27 -05:00
Andrew Bartlett
67e22aa6ff
r21790: Setup the socket_wrapper_dir when we set the environment variable.
...
Andrew Bartlett
(This used to be commit 5c07dbd248
)
2007-10-10 14:49:26 -05:00
Andrew Bartlett
7b706c7091
r21789: We do actually need this, to get a contextCSN attribute, which we need
...
for USN support.
Andrew Bartlett
(This used to be commit 5f36350243
)
2007-10-10 14:49:26 -05:00
Stefan Metzmacher
3e697d5110
r21773: fix typo orginating -> originating
...
and use the struct member names in all cases
metze
(This used to be commit c543ee5745
)
2007-10-10 14:49:24 -05:00
Stefan Metzmacher
4e7520f643
r21772: add DS_BEHAVIOR_WIN2003_INTERIM constant
...
metze
(This used to be commit 59fffa7ba1
)
2007-10-10 14:49:24 -05:00
Andrew Bartlett
7a9f31a926
r21771: We just don't need to test this on more than one transport.
...
Andrew Bartlett
(This used to be commit c55edacba5
)
2007-10-10 14:49:24 -05:00
Andrew Bartlett
3370f2f2d7
r21761: - Give more detail on LDAP client library failures (make it clear
...
where the error is from)
- Make default error string more consistant
Andrew Bartlett
(This used to be commit 7f115579d2
)
2007-10-10 14:49:24 -05:00
Andrew Bartlett
f80d21069b
r21760: Try to pin down were some errors are coming from. Ensure we at least
...
name the module.
Andrew Bartlett
(This used to be commit 2e85b1583b
)
2007-10-10 14:49:23 -05:00
Andrew Bartlett
35a606378d
r21751: These 2 tests pass for me, so add them to the standard test script.
...
Andrew Bartlett
(This used to be commit 8a5b3067e9
)
2007-10-10 14:49:23 -05:00
Andrew Bartlett
548ffe7cf6
r21746: We don't link in this file any more.
...
(This used to be commit 123ae858c7
)
2007-10-10 14:49:23 -05:00
Andrew Bartlett
5f2f653dcb
r21745: indent
...
(This used to be commit 7841b29906
)
2007-10-10 14:49:22 -05:00
Andrew Bartlett
85a11bc1bb
r21744: Test more talloc failure cases.
...
Andrew Bartlett
(This used to be commit ddf7354986
)
2007-10-10 14:49:22 -05:00
Andrew Bartlett
45be80844e
r21743: Always use the 'escaped' LDAPI path.
...
Wait around for the server to start, so we don't try to contact it
during it's starup phase.
Andrew Bartlett
(This used to be commit f484b0a924
)
2007-10-10 14:49:22 -05:00
Andrew Tridgell
0012f7509a
r21742: reenable the smbclient test now that the d_printf bug is fixed
...
(This used to be commit f483f5b26a
)
2007-10-10 14:49:22 -05:00
Andrew Bartlett
d500181515
r21741: Like starting smbd, ensure we have acutally started slapd, and it is
...
listening, before we continue.
Andrew Bartlett
(This used to be commit 171540e06a
)
2007-10-10 14:49:21 -05:00
Andrew Tridgell
793db3bc50
r21740: this fixes the real cause of the large log files we had. The problem
...
was we were not checking the result of a convert_string() call, and it
was giving -1. We then passed -1 to fwrite() on stdout, which on aix
and macosx wrote all of available memory to stdout :)
To fix this, replace non-printing chars with ? in d_printf if the
string cannot be converted
(This used to be commit d20102d363
)
2007-10-10 14:49:21 -05:00
Andrew Bartlett
41a72a506f
r21739: Make it easy to change the log level for the slapd processes, and have
...
the logs go to a file.
Andrew Bartlett
(This used to be commit 9aaa193197
)
2007-10-10 14:49:21 -05:00
Andrew Bartlett
847102c6ca
r21736: Fix the smbclient test to do something more interesting with the last
...
few authentication tests. Now that the tests correctly 'fail', I was
able to fix the credentials subsystem to honour USER and PASSWD.
To get --machine-pass working, I needed ldb to always load it's static
modules, so I put this in ldb_connect().
Andrew Bartlett
(This used to be commit 3430d8c072
)
2007-10-10 14:49:20 -05:00
Andrew Tridgell
b0b31f52f7
r21735: skip the smbclient test until jelmer can take a look at it. The
...
current test makes no sense with the new test system. For example, it
does "mkdir bla" then "cd bla" then "cd ..", but it now does these as
separate smbclient commands, which makes no sense at all. It even
seems to try to run them in parallel???
The test fails (segfault, plus lots of errors), but gets reported as a
success
(This used to be commit 9e3bbdee50
)
2007-10-10 14:49:20 -05:00
Jelmer Vernooij
eaa02e4b54
r21733: Merge testenv back into core selftest.pl
...
(This used to be commit 4b78ed3a60
)
2007-10-10 14:49:20 -05:00
Jelmer Vernooij
8fdbf34ea7
r21732: Use smbtorture for enumerating tests.
...
(This used to be commit f6aa921521
)
2007-10-10 14:49:20 -05:00
Jelmer Vernooij
f91f57b749
r21730: Reintroduce summary for testenv, remove old (no longer used) file.
...
(This used to be commit 0140aa5fd9
)
2007-10-10 14:49:19 -05:00
Jelmer Vernooij
effbda4fd8
r21729: Some more tests
...
(This used to be commit d2baa8218c
)
2007-10-10 14:49:19 -05:00
Andrew Bartlett
904c03abc4
r21728: Perhaps we don't need this on recent OpenLDAP servers. This overlay
...
is depricated.
Andrew Bartlett
(This used to be commit 32e39b377a
)
2007-10-10 14:49:19 -05:00
Andrew Bartlett
aeaa440932
r21727: Walk some more of the error branches in the ChangePasswordUser server.
...
Andrew
(This used to be commit c1ee06703a
)
2007-10-10 14:49:18 -05:00
Volker Lendecke
0aebd296cd
r21722: Add the dead record functionality presented on samba-technical@samba.org. If
...
you do a tdb_set_max_dead(tdb, n), then for this tdb a delete operation will
only mark a record as dead and re-use it if a new record is created. The
parameter n allows for at most n dead records per hash chain. If this number
is exceeded, all dead records are put on the central freelist.
Volker
(This used to be commit 98a27ab28a
)
2007-10-10 14:49:18 -05:00
Andrew Bartlett
0fa6e86b57
r21721: Push the 'Success! Your new directory server instance was created'
...
message to stderr.
Andrew Bartlett
(This used to be commit 0b8b3f6671
)
2007-10-10 14:49:18 -05:00
Andrew Bartlett
6376a474c7
r21720: Try to make 'TEST_LDAP=yes make test' work again. These recent
...
changes seem to have been lost in the merge, and some variables were
not yet exported.
Andrew Bartlett
(This used to be commit ee9d9fb6c0
)
2007-10-10 14:49:18 -05:00
Andrew Bartlett
3e1dd63927
r21719: Try to cover more of the server-side password processing.
...
Don't just exit the test with 'return True', actually process the result.
Turn off password complexity checking for the password length test.
Andrew Bartlett
(This used to be commit 1a7635baa7
)
2007-10-10 14:49:17 -05:00
Jelmer Vernooij
ac9bb2e4fb
r21716: Report status in a way the build farm recognizes.
...
(This used to be commit 8d775e87b5
)
2007-10-10 14:49:17 -05:00
Jelmer Vernooij
70e6a8bfec
r21713: Redirect stderr output to stdout.
...
(This used to be commit a5000b286d
)
2007-10-10 14:49:17 -05:00