kai/samba.git
13 years agor22222: a dummy commit:-)
Stefan Metzmacher [Sun, 15 Apr 2007 20:19:47 +0000 (20:19 +0000)]
r22222: a dummy commit:-)

metze

13 years agor22218: fix libreplace standalone build
Stefan Metzmacher [Sun, 15 Apr 2007 19:09:34 +0000 (19:09 +0000)]
r22218: fix libreplace standalone build

metze

13 years agor22217: merge from samba3 21944:
Stefan Metzmacher [Sun, 15 Apr 2007 16:30:01 +0000 (16:30 +0000)]
r22217: merge from samba3 21944:

move acl header checks to the correct place only

metze

13 years agor22216: move strptime testsuite into it's own file
Stefan Metzmacher [Sun, 15 Apr 2007 16:13:06 +0000 (16:13 +0000)]
r22216: move strptime testsuite into it's own file
so we can include it for the configure test

as it seems that strptime() is really broken on some hosts
in the build farm, re should use the replacement code
when we detect this in the configure test

metze

13 years agor22215: add strptime replacement to libreplace based on the patch
Stefan Metzmacher [Sat, 14 Apr 2007 09:14:40 +0000 (09:14 +0000)]
r22215: add strptime replacement to libreplace based on the patch
from jojowil@hvcc.edu to bug 4063

also add a testsuite for strptime()

metze

13 years agor22208: Print the target principal name, to help with kdc unreachable errors.
Andrew Bartlett [Fri, 13 Apr 2007 05:37:08 +0000 (05:37 +0000)]
r22208: Print the target principal name, to help with kdc unreachable errors.

Andrew Bartlett

13 years agor22203: Improve the replace testsuite a bit.
Jelmer Vernooij [Thu, 12 Apr 2007 19:54:15 +0000 (19:54 +0000)]
r22203: Improve the replace testsuite a bit.

13 years agor22201: crash fix...
Stefan Metzmacher [Thu, 12 Apr 2007 15:06:24 +0000 (15:06 +0000)]
r22201: crash fix...

metze

13 years agor22200: make ntvfs a subsystem as linking ntvfs.so.1 uses
Stefan Metzmacher [Thu, 12 Apr 2007 14:56:29 +0000 (14:56 +0000)]
r22200: make ntvfs a subsystem as linking ntvfs.so.1 uses
ca. 800 cmdline args to ld and that fails on some hosts
in the build-farm, lets see if they will be happier now

metze

13 years agor22199: fix typo
Stefan Metzmacher [Thu, 12 Apr 2007 13:36:49 +0000 (13:36 +0000)]
r22199: fix typo

metze

13 years agor22197: fix formating
Stefan Metzmacher [Thu, 12 Apr 2007 12:45:41 +0000 (12:45 +0000)]
r22197: fix formating

metze

13 years agor22196: give better error codes to make RPC-UNIXINFO pass
Stefan Metzmacher [Thu, 12 Apr 2007 12:38:32 +0000 (12:38 +0000)]
r22196: give better error codes to make RPC-UNIXINFO pass

metze

13 years agor22195: fix compiler warnings and convert the whole torture/rpc/unixinfo.c code
Stefan Metzmacher [Thu, 12 Apr 2007 11:59:38 +0000 (11:59 +0000)]
r22195: fix compiler warnings and convert the whole torture/rpc/unixinfo.c code
to the new torture ui functions

metze

13 years agor22194: fix compiler warning and
Stefan Metzmacher [Thu, 12 Apr 2007 11:42:09 +0000 (11:42 +0000)]
r22194: fix compiler warning and
compile in but disable NetShareAddSetDel test

metze

13 years agor22193: fix compiler warning and formating
Stefan Metzmacher [Thu, 12 Apr 2007 11:35:00 +0000 (11:35 +0000)]
r22193: fix compiler warning and formating

metze

13 years agor22192: fix compiler warnings
Stefan Metzmacher [Thu, 12 Apr 2007 11:24:51 +0000 (11:24 +0000)]
r22192: fix compiler warnings

ClearEventLog test is compiled in but disabled now

metze

13 years agor22191: Add a samba4kinit binary to the build, so I can test using an existing
Andrew Bartlett [Thu, 12 Apr 2007 11:23:58 +0000 (11:23 +0000)]
r22191: Add a samba4kinit binary to the build, so I can test using an existing
ccache, as well as PKINIT.

Andrew Bartlett

13 years agor22190: fix compiler warnings and remove unused talloc_reference()
Stefan Metzmacher [Thu, 12 Apr 2007 11:02:26 +0000 (11:02 +0000)]
r22190: fix compiler warnings and remove unused talloc_reference()

metze

13 years agor22189: fix compiler warning
Stefan Metzmacher [Thu, 12 Apr 2007 10:48:30 +0000 (10:48 +0000)]
r22189: fix compiler warning

metze

13 years agor22188: fix formating bug
Stefan Metzmacher [Thu, 12 Apr 2007 10:35:21 +0000 (10:35 +0000)]
r22188: fix formating bug

metze

13 years agor22187: Test kerberos logins in the smbclient blackbox tests, including with a
Andrew Bartlett [Thu, 12 Apr 2007 10:25:01 +0000 (10:25 +0000)]
r22187: Test kerberos logins in the smbclient blackbox tests, including with a
machine account.

Andrew Bartlett

13 years agor22186: fix build with autodependencies
Stefan Metzmacher [Thu, 12 Apr 2007 10:19:02 +0000 (10:19 +0000)]
r22186: fix build with autodependencies

metze

13 years agor22185: Initial work on a 'member' test environment'.
Jelmer Vernooij [Thu, 12 Apr 2007 08:33:35 +0000 (08:33 +0000)]
r22185: Initial work on a 'member' test environment'.

13 years agor22184: On some hosts, parsing a compleatly invalid principal causes heimadal
Andrew Bartlett [Thu, 12 Apr 2007 04:01:42 +0000 (04:01 +0000)]
r22184: On some hosts, parsing a compleatly invalid principal causes heimadal
to try and figure out what realm the current host is in (by DNS lookup
for it's full domain name).  We don't want to do that for this test,
just break the checksum.

Andrew Bartlett

13 years agor22183: Perl might not be in /usr/bin/perl, so use $(PERL) from the makefile
Andrew Bartlett [Thu, 12 Apr 2007 02:28:29 +0000 (02:28 +0000)]
r22183: Perl might not be in /usr/bin/perl, so use $(PERL) from the makefile
to start the selftest script.

Andrew Bartlett

13 years agor22182: Skip a few tests that will not pass against the ntvfs/posix layer,
Andrew Bartlett [Thu, 12 Apr 2007 02:27:25 +0000 (02:27 +0000)]
r22182: Skip a few tests that will not pass against the ntvfs/posix layer,
when testing ntvfs/cifs -> ntvfs/posix too.

Andrew Bartlett

13 years agor22180: Re-add testing of the CIFS backend.
Andrew Bartlett [Thu, 12 Apr 2007 00:34:59 +0000 (00:34 +0000)]
r22180: Re-add testing of the CIFS backend.

Andrew Bartlett

13 years agor22179: Store resource id along with the object itself to be able to return
Rafal Szczesniak [Wed, 11 Apr 2007 23:01:48 +0000 (23:01 +0000)]
r22179: Store resource id along with the object itself to be able to return
it as "number" type. This fixes a small problem with resource set
method returning id of type "number" whereas find method was returning
id of type "string".

rafal

13 years agor22177: Restore the PIDDIR mapping for the client 'pid directory', as this is
Andrew Bartlett [Wed, 11 Apr 2007 13:01:46 +0000 (13:01 +0000)]
r22177: Restore the PIDDIR mapping for the client 'pid directory', as this is
(ab)used for messaging.

Andrew Bartlett

13 years agor22176: Make the LOCAL-MESSAGING test pass again. Messaging sockets are in
Andrew Bartlett [Wed, 11 Apr 2007 13:00:27 +0000 (13:00 +0000)]
r22176: Make the LOCAL-MESSAGING test pass again.  Messaging sockets are in
the 'pid directory' now...

Andrew Bartlett

13 years agor22171: At least walk over the test_SetupCredentials2 before bailing as 'we
Andrew Bartlett [Wed, 11 Apr 2007 12:23:42 +0000 (12:23 +0000)]
r22171: At least walk over the test_SetupCredentials2 before bailing as 'we
don't do this yet'...

Andrew Bartlett

13 years agor22170: To get the smbclient blackbox test to pass again, we need to get the
Andrew Bartlett [Wed, 11 Apr 2007 12:10:40 +0000 (12:10 +0000)]
r22170: To get the smbclient blackbox test to pass again, we need to get the
private dir to contain a valid machine account.

It isn't really valid it use the DC's account any more, so extend this
script to also join the domain.  This nicely tests out some previously
untested code too!

Andrew Bartlett

13 years agor22168: Ensure we actually run all the transports for the slow tests
Andrew Bartlett [Wed, 11 Apr 2007 11:17:09 +0000 (11:17 +0000)]
r22168: Ensure we actually run all the transports for the slow tests
(otherwise we miss tests).

Andrew Bartlett

13 years agor22167: This seems to get Fedora DS to run the tests again.
Andrew Bartlett [Wed, 11 Apr 2007 10:25:02 +0000 (10:25 +0000)]
r22167: This seems to get Fedora DS to run the tests again.

Andrew Bartlett

13 years agor22166: Stop heimdal from trying to prototype innetgr in roken, now we don't
Andrew Bartlett [Wed, 11 Apr 2007 06:43:06 +0000 (06:43 +0000)]
r22166: Stop heimdal from trying to prototype innetgr in roken, now we don't
do it in libreplace.

Andrew Bartlett

13 years agor22165: merge transaction fix from samba3
Andrew Tridgell [Wed, 11 Apr 2007 05:45:02 +0000 (05:45 +0000)]
r22165: merge transaction fix from samba3

13 years agor22162: get the TEST_LDAP mode working again
Andrew Bartlett [Wed, 11 Apr 2007 05:01:02 +0000 (05:01 +0000)]
r22162: get the TEST_LDAP mode working again

Andrew Bartlett

13 years agor22161: Clarify exactly where the socket_wrapper should be handled (early),
Andrew Bartlett [Wed, 11 Apr 2007 03:45:39 +0000 (03:45 +0000)]
r22161: Clarify exactly where the socket_wrapper should be handled (early),
and ensure that $prefix exists before it tries to create $prefix/w.

This should fix the build farm.  Perhaps we should have a rm -rf
$prefix at the start of this script, as that would have found the
problem, but I want to be careful about that...

Andrew Bartlett

13 years agor22160: Only use test environment names that actually exist (get make
Andrew Bartlett [Wed, 11 Apr 2007 01:32:38 +0000 (01:32 +0000)]
r22160: Only use test environment names that actually exist (get make
quicktest to pass).

Ensure that when we fail on the build farm, this ends up in the total
failures.

I think having the 2 different functions for running the tests is just
asking for this kind of failure.  The build farm should be a
presentation detail, and not alter the test behaviour.

There is still a gremlin in there, we will fail horribly on the farm,
but not on local tests...

Andrew Bartlett

13 years agor22156: - Lazy evaluate variable names.
Jelmer Vernooij [Tue, 10 Apr 2007 20:19:31 +0000 (20:19 +0000)]
r22156: - Lazy evaluate variable names.

- Don't set up environments until necessary

- Add --resetup-environment option

- Add 'none' environment

13 years agor22152: merge from samba3:
Stefan Metzmacher [Tue, 10 Apr 2007 16:00:13 +0000 (16:00 +0000)]
r22152: merge from samba3:

remove netgr functions from libreplace they're not used
in samba4 currently and samba3 has explicit configure checks for them.

should fix bug #4496

metze

13 years agor22137: Actually use client.conf, defer more code as far as possible.
Jelmer Vernooij [Mon, 9 Apr 2007 12:15:56 +0000 (12:15 +0000)]
r22137: Actually use client.conf, defer more code as far as possible.

13 years agor22136: Fix incorrect event handling.
Rafal Szczesniak [Mon, 9 Apr 2007 12:06:42 +0000 (12:06 +0000)]
r22136: Fix incorrect event handling.
Submitted by John Jorgensen <jorgensen.john@gmail.com>

rafal

13 years agor22134: Create different smb.conf file for the client side. This should make use...
Jelmer Vernooij [Mon, 9 Apr 2007 00:53:05 +0000 (00:53 +0000)]
r22134: Create different smb.conf file for the client side. This should make use with Samba 3 or windows easier as well as environments.

13 years agor22133: Don't push parameters into environment until necessary.
Jelmer Vernooij [Sun, 8 Apr 2007 23:55:01 +0000 (23:55 +0000)]
r22133: Don't push parameters into environment until necessary.

13 years agor22121: The RPC-CRACKNAMES test now passes against Samba4. This should help
Andrew Bartlett [Sat, 7 Apr 2007 05:19:24 +0000 (05:19 +0000)]
r22121: The RPC-CRACKNAMES test now passes against Samba4.  This should help
the code coverage...

Andrew Bartlett

13 years agor22120: Expand the RPC-CRACKNAMES test, to test more values and expose patterns.
Andrew Bartlett [Sat, 7 Apr 2007 05:14:23 +0000 (05:14 +0000)]
r22120: Expand the RPC-CRACKNAMES test, to test more values and expose patterns.

Fix up our server side implementation to pass almost all the tests (a
couple are skipped).

Don't require the DsGetDomainControllerInfo calls to pass, just get
some info from them.

Andrew Bartlett

13 years agor22119: Where we get a request to 'crack' a user principal name from a
Andrew Bartlett [Sat, 7 Apr 2007 03:04:33 +0000 (03:04 +0000)]
r22119: Where we get a request to 'crack' a user principal name from a
compleatly unknown domain, return the correct error code.

Andrew Bartlett

13 years agor22118: Add another RPC-CRACKNAMES test, but allow a way to skip sub-parts of
Andrew Bartlett [Sat, 7 Apr 2007 03:03:01 +0000 (03:03 +0000)]
r22118: Add another RPC-CRACKNAMES test, but allow a way to skip sub-parts of
this test we don't yet support in Samba4.  I want to at least try and
test this parts of this codebase...

Andrew Bartlett

13 years agor22117: merged from bzr
Andrew Tridgell [Sat, 7 Apr 2007 01:00:11 +0000 (01:00 +0000)]
r22117: merged from bzr

13 years agor22116: Only query by SID if we have a SID
Andrew Bartlett [Sat, 7 Apr 2007 00:57:26 +0000 (00:57 +0000)]
r22116: Only query by SID if we have a SID

Andrew Bartlett

13 years agor22115: I don't like the DOMAIN environment variable. It really isn't a good
Andrew Bartlett [Sat, 7 Apr 2007 00:47:39 +0000 (00:47 +0000)]
r22115: I don't like the DOMAIN environment variable.  It really isn't a good
match for what we are using it for here.

Andrew Bartlett

13 years agor22114: merge from bzr tree
Andrew Tridgell [Sat, 7 Apr 2007 00:03:09 +0000 (00:03 +0000)]
r22114: merge from bzr tree

13 years agor22098: merged from bzr tree
Andrew Tridgell [Fri, 6 Apr 2007 04:43:54 +0000 (04:43 +0000)]
r22098: merged from bzr tree

13 years agor22090: fix error handling in cldap client library to cope with bad host names
Andrew Tridgell [Thu, 5 Apr 2007 07:37:21 +0000 (07:37 +0000)]
r22090: fix error handling in cldap client library to cope with bad host names

13 years agor22089: check the return value of interpret_addr2()
Andrew Tridgell [Thu, 5 Apr 2007 07:36:46 +0000 (07:36 +0000)]
r22089: check the return value of interpret_addr2()

13 years agor22088: export PIDDIR to make the smbd pid show in 'make testenv' again.
Andrew Bartlett [Thu, 5 Apr 2007 06:33:37 +0000 (06:33 +0000)]
r22088: export PIDDIR to make the smbd pid show in 'make testenv' again.

13 years agor22087: added a RAW-BENCH-OPEN test that can be used to stress out a clustered
Andrew Tridgell [Thu, 5 Apr 2007 06:23:06 +0000 (06:23 +0000)]
r22087: added a RAW-BENCH-OPEN test that can be used to stress out a clustered
implementation of a opendb backend. Use it in combination with
--unclist to tell smbtorture to connect to multiple nodes in the
cluster

13 years agor22086: Bail out early on some of these failures.
Andrew Bartlett [Thu, 5 Apr 2007 06:00:44 +0000 (06:00 +0000)]
r22086: Bail out early on some of these failures.

13 years agor22085: correct copyright on opendb_ctdb.c
Andrew Tridgell [Thu, 5 Apr 2007 04:23:57 +0000 (04:23 +0000)]
r22085: correct copyright on opendb_ctdb.c

13 years agor22084: use a TDB_INTERNAL tdb for the local ctdb tdb for now
Andrew Tridgell [Thu, 5 Apr 2007 04:20:55 +0000 (04:20 +0000)]
r22084: use a TDB_INTERNAL tdb for the local ctdb tdb for now

13 years agor22083: opendb backend to ctdb now passes simple tests
Andrew Tridgell [Thu, 5 Apr 2007 04:08:00 +0000 (04:08 +0000)]
r22083: opendb backend to ctdb now passes simple tests

13 years agor22082: merged the ctdb changes from bzr
Andrew Tridgell [Thu, 5 Apr 2007 03:51:49 +0000 (03:51 +0000)]
r22082: merged the ctdb changes from bzr

added opendb ctdb backend from ronnie

13 years agor22081: transaction_brlock() should be static
Andrew Tridgell [Thu, 5 Apr 2007 03:22:08 +0000 (03:22 +0000)]
r22081: transaction_brlock() should be static

thanks to Ted T'so for pointing this out

13 years agor22077: Import only necessary test variables, more refactoring.
Jelmer Vernooij [Wed, 4 Apr 2007 14:24:44 +0000 (14:24 +0000)]
r22077: Import only necessary test variables, more refactoring.

13 years agor22076: Fill in short and long domain names into the generated krb5.conf
Andrew Bartlett [Wed, 4 Apr 2007 12:40:19 +0000 (12:40 +0000)]
r22076: Fill in short and long domain names into the generated krb5.conf

13 years agor22075: Configure the bitwise match plugin, until it becomes accepted upstream.
Andrew Bartlett [Wed, 4 Apr 2007 12:39:44 +0000 (12:39 +0000)]
r22075: Configure the bitwise match plugin, until it becomes accepted upstream.

Andrew Bartlett

13 years agor22074: More refactoring.
Jelmer Vernooij [Wed, 4 Apr 2007 12:23:10 +0000 (12:23 +0000)]
r22074: More refactoring.

13 years agor22072: in order to implement the opendb ctdb backend, I've found that the
Andrew Tridgell [Wed, 4 Apr 2007 06:06:52 +0000 (06:06 +0000)]
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 :-)

13 years agor22070: merge in the changes from the bzr ctdb tree, and convert the brlock
Andrew Tridgell [Wed, 4 Apr 2007 04:57:30 +0000 (04:57 +0000)]
r22070: merge in the changes from the bzr ctdb tree, and convert the brlock
ctdb backend to use the updated multi-database API

13 years agor22063: Fix the RPC-EPMAPPER test.
Jelmer Vernooij [Tue, 3 Apr 2007 22:43:35 +0000 (22:43 +0000)]
r22063: Fix the RPC-EPMAPPER test.

13 years agor22053: remove samba3 specific stuff from tdbtool
Stefan Metzmacher [Tue, 3 Apr 2007 09:08:18 +0000 (09:08 +0000)]
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

13 years agor22052: merge tdbtool from samba3 and build it
Stefan Metzmacher [Tue, 3 Apr 2007 07:04:37 +0000 (07:04 +0000)]
r22052: merge tdbtool from samba3 and build it

metze

13 years agor22048: Sigh. Commit the other half of r22047.
James Peach [Mon, 2 Apr 2007 21:26:32 +0000 (21:26 +0000)]
r22048: Sigh. Commit the other half of r22047.

13 years agor22047: Move suffix rules into smb_build. Enable $< if we are building with
James Peach [Mon, 2 Apr 2007 21:21:56 +0000 (21:21 +0000)]
r22047: Move suffix rules into smb_build. Enable $< if we are building with
GNU Make. This lets GNU Make users bild with $srcdir != $builddir.

13 years agor22046: Rever r22040, which breaks the build on FreeBSD 5.4 (BSD make).
James Peach [Mon, 2 Apr 2007 20:19:00 +0000 (20:19 +0000)]
r22046: Rever r22040, which breaks the build on FreeBSD 5.4 (BSD make).

13 years agor22041: merge trivial changes from samba3
Stefan Metzmacher [Mon, 2 Apr 2007 18:56:25 +0000 (18:56 +0000)]
r22041: merge trivial changes from samba3

metze

13 years agor22040: Use $< to specify the immediate prerequisit instead of $*. This is
James Peach [Mon, 2 Apr 2007 18:43:31 +0000 (18:43 +0000)]
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.

13 years agor22038: - fix perl warning
Stefan Metzmacher [Mon, 2 Apr 2007 18:14:27 +0000 (18:14 +0000)]
r22038: - fix perl warning
- use the same if statement as in input.pm

metze

13 years agor22037: Make sure STATICDIR exists before linking a static archive.
James Peach [Mon, 2 Apr 2007 17:29:03 +0000 (17:29 +0000)]
r22037: Make sure STATICDIR exists before linking a static archive.

13 years agor22036: Make sure both srcdir and builddir are in VPATH.
James Peach [Mon, 2 Apr 2007 17:26:18 +0000 (17:26 +0000)]
r22036: Make sure both srcdir and builddir are in VPATH.

13 years agor22035: Introduce HOSTLD which is needed to link the asn1 compiler when cross
James Peach [Mon, 2 Apr 2007 17:23:23 +0000 (17:23 +0000)]
r22035: Introduce HOSTLD which is needed to link the asn1 compiler when cross
compiling.

13 years agor22034: Use builddir and srcdir instead on samba_builddir and samba_srcdir.
James Peach [Mon, 2 Apr 2007 17:17:40 +0000 (17:17 +0000)]
r22034: Use builddir and srcdir instead on samba_builddir and samba_srcdir.

13 years agor22032: Make sure static libraries end up in bin/static.
James Peach [Mon, 2 Apr 2007 17:14:43 +0000 (17:14 +0000)]
r22032: Make sure static libraries end up in bin/static.

13 years agor22031: Make sure we rewrite the include directives in CFLAGS to contain
James Peach [Mon, 2 Apr 2007 17:11:36 +0000 (17:11 +0000)]
r22031: Make sure we rewrite the include directives in CFLAGS to contain
paths from builddir and srcdir. builddir has precedence.

13 years agor22030: Simplify include parsing for config.mk files, making sure we get
James Peach [Mon, 2 Apr 2007 17:08:21 +0000 (17:08 +0000)]
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.

13 years agor22029: Make sure we respect $srcdir correctly for the srcdir != builddir case.
James Peach [Mon, 2 Apr 2007 17:06:14 +0000 (17:06 +0000)]
r22029: Make sure we respect $srcdir correctly for the srcdir != builddir case.

13 years agor22028: Fix include path for the srcidr != builddir case.
James Peach [Mon, 2 Apr 2007 17:03:30 +0000 (17:03 +0000)]
r22028: Fix include path for the srcidr != builddir case.

13 years agor22027: Allow separate build and source directories. Don't follow symlinks
James Peach [Mon, 2 Apr 2007 17:02:52 +0000 (17:02 +0000)]
r22027: Allow separate build and source directories. Don't follow symlinks
when copying hemidal_build since this leads to traversal loops.

13 years agor22025: patch from Ronnie to make locktest also test the behaviour of pid
Andrew Tridgell [Mon, 2 Apr 2007 07:06:49 +0000 (07:06 +0000)]
r22025: patch from Ronnie to make locktest also test the behaviour of pid
changes in the locks

13 years agor22021: use the pid specified in the individual locks, not the request pid, in
Andrew Tridgell [Mon, 2 Apr 2007 04:47:19 +0000 (04:47 +0000)]
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!)

13 years agor22005: Add more code (doesn't work at the moment) preparing a place for
Rafal Szczesniak [Wed, 28 Mar 2007 23:01:35 +0000 (23:01 +0000)]
r22005: Add more code (doesn't work at the moment) preparing a place for
listing user accounts.

rafal

13 years agor22004: Check for dereferencing null pointers.
Jelmer Vernooij [Wed, 28 Mar 2007 22:52:37 +0000 (22:52 +0000)]
r22004: Check for dereferencing null pointers.

Patch by Ronnie Sahlberg.

13 years agor21996: Fix a bug for invalid casts of pointers.
Jelmer Vernooij [Tue, 27 Mar 2007 23:22:41 +0000 (23:22 +0000)]
r21996: Fix a bug for invalid casts of pointers.

Patch by Ronnie Sahlberg.

13 years agor21995: Patch from Ronnie Sahlberg.
Jelmer Vernooij [Tue, 27 Mar 2007 23:04:08 +0000 (23:04 +0000)]
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.

13 years agor21971: Fill in some more values in config files from variables, so we can
Andrew Bartlett [Tue, 27 Mar 2007 08:06:05 +0000 (08:06 +0000)]
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

13 years agor21970: Ensure that Fedora DS can be shut down correctly with the stop script:
Andrew Bartlett [Tue, 27 Mar 2007 04:21:16 +0000 (04:21 +0000)]
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

13 years agor21951: Hopefully fix valgrind warning.
James Peach [Fri, 23 Mar 2007 20:28:45 +0000 (20:28 +0000)]
r21951: Hopefully fix valgrind warning.

13 years agor21949: After discussion with the Apple and Linux client maintainers,
James Peach [Fri, 23 Mar 2007 19:24:21 +0000 (19:24 +0000)]
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.

13 years agor21943: don't send unitialized data
Stefan Metzmacher [Fri, 23 Mar 2007 09:11:53 +0000 (09:11 +0000)]
r21943: don't send unitialized data

metze