jelmer/samba4-debian.git
16 years agor14567: Make some more functions public.
Jelmer Vernooij [Sun, 19 Mar 2006 17:51:15 +0000 (17:51 +0000)]
r14567: Make some more functions public.

16 years agor14566: Remove unnecessary headers.
Rafal Szczesniak [Sun, 19 Mar 2006 17:37:03 +0000 (17:37 +0000)]
r14566: Remove unnecessary headers.

rafal

16 years agor14565: Fix shared library sonames
Jelmer Vernooij [Sun, 19 Mar 2006 17:24:31 +0000 (17:24 +0000)]
r14565: Fix shared library sonames

16 years agor14564: Remove dependencies when running distclean
Jelmer Vernooij [Sun, 19 Mar 2006 16:18:38 +0000 (16:18 +0000)]
r14564: Remove dependencies when running distclean

16 years agor14563: Include both private and proto names in makefile rule
Jelmer Vernooij [Sun, 19 Mar 2006 16:18:07 +0000 (16:18 +0000)]
r14563: Include both private and proto names in makefile rule

16 years agor14562: Use VPATH to solve strange heimdal dependencies
Jelmer Vernooij [Sun, 19 Mar 2006 15:59:12 +0000 (15:59 +0000)]
r14562: Use VPATH to solve strange heimdal dependencies

16 years agor14561: Update WHATSNEW.txt to revision 14554
Jelmer Vernooij [Sun, 19 Mar 2006 15:18:30 +0000 (15:18 +0000)]
r14561: Update WHATSNEW.txt to revision 14554

16 years agor14560: Finally! Start working on async libnet_RpcConnect and other
Rafal Szczesniak [Sun, 19 Mar 2006 14:24:54 +0000 (14:24 +0000)]
r14560: Finally! Start working on async libnet_RpcConnect and other
rpc-related calls.

rafal

16 years agor14558: Another two more static dependencies...
Jelmer Vernooij [Sun, 19 Mar 2006 03:39:48 +0000 (03:39 +0000)]
r14558: Another two more static dependencies...

16 years agor14557: Add hack for asn1 files
Jelmer Vernooij [Sun, 19 Mar 2006 03:24:46 +0000 (03:24 +0000)]
r14557: Add hack for asn1 files

16 years agor14556: Fix some dependencies
Jelmer Vernooij [Sun, 19 Mar 2006 03:14:56 +0000 (03:14 +0000)]
r14556: Fix some dependencies

16 years agor14555: Remove cycle from rule
Jelmer Vernooij [Sun, 19 Mar 2006 02:55:44 +0000 (02:55 +0000)]
r14555: Remove cycle from rule

16 years agor14554: Write out header dependencies. This means all C files affected will be
Jelmer Vernooij [Sun, 19 Mar 2006 02:23:52 +0000 (02:23 +0000)]
r14554: Write out header dependencies. This means all C files affected will be
rebuilt when a header file is changed. It also means parallel builds work now.

It will take a minute or so to generate all the dependency information,
but there should be no need to rebuild that information later on, unless
a file changes.

This behaviour is only enabled when building in developer mode
(--enable-developer) and requires a GNU make (or compatible). In all other
cases, the file 'static_deps.mk' is included, which contains some basic
hardcoded dependency information.

16 years agor14553: Use double colon feature in the makefile (supported by all buildfarm hosts!)
Jelmer Vernooij [Sat, 18 Mar 2006 23:51:55 +0000 (23:51 +0000)]
r14553: Use double colon feature in the makefile (supported by all buildfarm hosts!)

16 years agor14552: Remove old dependency code
Jelmer Vernooij [Sat, 18 Mar 2006 23:31:40 +0000 (23:31 +0000)]
r14552: Remove old dependency code

16 years agor14551: Include path (./) for some older makes.
Jelmer Vernooij [Sat, 18 Mar 2006 22:27:38 +0000 (22:27 +0000)]
r14551: Include path (./) for some older makes.

16 years agor14550: Fix tests
Jelmer Vernooij [Sat, 18 Mar 2006 22:16:24 +0000 (22:16 +0000)]
r14550: Fix tests

16 years agor14549: Use make-compatible syntax in extra_cflags.txt so we can avoid
Jelmer Vernooij [Sat, 18 Mar 2006 22:02:31 +0000 (22:02 +0000)]
r14549: Use make-compatible syntax in extra_cflags.txt so we can avoid
cflags.pl when using GNU make

16 years agor14548: fix build after generated prototypes
Alexander Bokovoy [Sat, 18 Mar 2006 21:13:07 +0000 (21:13 +0000)]
r14548: fix build after generated prototypes

16 years agor14547: Don't install pidl - it fails on the buildfarm as it doesn't obey $PREFIX...
Jelmer Vernooij [Sat, 18 Mar 2006 20:45:09 +0000 (20:45 +0000)]
r14547: Don't install pidl - it fails on the buildfarm as it doesn't obey $PREFIX. I should've remembered, as this problem has hit me before...

16 years agor14546: Install pidl in the same location as all other binaries.
Jelmer Vernooij [Sat, 18 Mar 2006 19:49:30 +0000 (19:49 +0000)]
r14546: Install pidl in the same location as all other binaries.

16 years agor14545: Fix make dependency warning.
Jelmer Vernooij [Sat, 18 Mar 2006 18:24:54 +0000 (18:24 +0000)]
r14545: Fix make dependency warning.

16 years agor14544: Remove exchange-specific files.
Jelmer Vernooij [Sat, 18 Mar 2006 17:08:15 +0000 (17:08 +0000)]
r14544: Remove exchange-specific files.

16 years agor14543: Fix some build dependency problems caused by the use of $(builddir)
Jelmer Vernooij [Sat, 18 Mar 2006 16:05:22 +0000 (16:05 +0000)]
r14543: Fix some build dependency problems caused by the use of $(builddir)

16 years agor14542: Remove librpc, libndr and libnbt from includes.h
Jelmer Vernooij [Sat, 18 Mar 2006 15:42:57 +0000 (15:42 +0000)]
r14542: Remove librpc, libndr and libnbt from includes.h

16 years agor14541: separate smbsrv_request and ntvfs_request,
Stefan Metzmacher [Sat, 18 Mar 2006 11:10:21 +0000 (11:10 +0000)]
r14541: separate smbsrv_request and ntvfs_request,
with this it's now possible to write a
ntvfs_test programm like the vfstest in samba3

also smb2 support will be possible later

metze

16 years agor14540: fix a talloc hierachie problem,
Stefan Metzmacher [Sat, 18 Mar 2006 10:38:38 +0000 (10:38 +0000)]
r14540: fix a talloc hierachie problem,
make sure file and search handles are cleaned up
before anything else in the pvfs_state struct,
as there destructors reply on a valid pvfs_state struct

metze

16 years agor14539: get rid of a pointless union layer in struct smb_notify
Andrew Tridgell [Sat, 18 Mar 2006 09:07:47 +0000 (09:07 +0000)]
r14539: get rid of a pointless union layer in struct smb_notify

16 years agor14538: ok, I have better used make valgrindtest my self...
Stefan Metzmacher [Sat, 18 Mar 2006 08:12:35 +0000 (08:12 +0000)]
r14538: ok, I have better used make valgrindtest my self...

the 3 bytes for WordCount and ByteCount are included in MIN_SMB_SIZE...

metze

16 years agor14537: remove used file
Stefan Metzmacher [Sat, 18 Mar 2006 08:04:11 +0000 (08:04 +0000)]
r14537: remove used file

metze

16 years agor14536: add make gdbtest-all and make valgrindtest-all
Stefan Metzmacher [Sat, 18 Mar 2006 07:59:50 +0000 (07:59 +0000)]
r14536: add make gdbtest-all and make valgrindtest-all

metze

16 years agor14535: Fix header installation
Jelmer Vernooij [Sat, 18 Mar 2006 02:42:55 +0000 (02:42 +0000)]
r14535: Fix header installation

16 years agor14534: Update doco
Jelmer Vernooij [Fri, 17 Mar 2006 21:24:24 +0000 (21:24 +0000)]
r14534: Update doco

16 years agor14533: Install pidl, remove some useless header dependencies
Jelmer Vernooij [Fri, 17 Mar 2006 21:16:44 +0000 (21:16 +0000)]
r14533: Install pidl, remove some useless header dependencies

16 years agor14531: Install two extra header files
Jelmer Vernooij [Fri, 17 Mar 2006 20:48:12 +0000 (20:48 +0000)]
r14531: Install two extra header files

16 years agor14529: Include $(builddir) where necesary
Jelmer Vernooij [Fri, 17 Mar 2006 19:41:33 +0000 (19:41 +0000)]
r14529: Include $(builddir) where necesary

16 years agor14528: Fix installation of manpages
Jelmer Vernooij [Fri, 17 Mar 2006 18:37:51 +0000 (18:37 +0000)]
r14528: Fix installation of manpages

16 years agor14527: Fix build problems.
Jelmer Vernooij [Fri, 17 Mar 2006 17:59:58 +0000 (17:59 +0000)]
r14527: Fix build problems.

16 years agor14526: fix the size of the output buffer, we need 1 byte for the Word count
Stefan Metzmacher [Fri, 17 Mar 2006 17:20:54 +0000 (17:20 +0000)]
r14526: fix the size of the output buffer, we need 1 byte for the Word count
now smbsrv_setup_reply() and req_setup_chain_reply() do the same thing

tridge: can you please check if this is correct,
        I wonder why we don't got valgrind errors...
as the over allocation is disabled currently

metze

16 years agor14525: Sort list of torture tests alphabetically
Jelmer Vernooij [Fri, 17 Mar 2006 17:20:24 +0000 (17:20 +0000)]
r14525: Sort list of torture tests alphabetically

16 years agor14524: Make TORTURE_NET a separate module
Jelmer Vernooij [Fri, 17 Mar 2006 16:45:24 +0000 (16:45 +0000)]
r14524: Make TORTURE_NET a separate module
Add new header for torture utility functions, so torture.h doesn't
need to depend on the SMB libraries

16 years agor14523: make async search request possible
Stefan Metzmacher [Fri, 17 Mar 2006 16:42:39 +0000 (16:42 +0000)]
r14523: make async search request possible

metze

16 years agor14520: Split up smbtorture binary into a core (torture.c) and UI frontend (smbtorture.c)
Jelmer Vernooij [Fri, 17 Mar 2006 16:27:22 +0000 (16:27 +0000)]
r14520: Split up smbtorture binary into a core (torture.c) and UI frontend (smbtorture.c)

16 years agor14519: Put base registration in a seperate file, as well as some
Jelmer Vernooij [Fri, 17 Mar 2006 16:11:02 +0000 (16:11 +0000)]
r14519: Put base registration in a seperate file, as well as some
of the base tests that were currently in torture.c

16 years agor14518: Support STANDARD_VISIBILITY property on binaries
Jelmer Vernooij [Fri, 17 Mar 2006 15:38:22 +0000 (15:38 +0000)]
r14518: Support STANDARD_VISIBILITY property on binaries

16 years agor14517: Put Modulesdir: line in .pc files, so 3rd parties know where to install
Jelmer Vernooij [Fri, 17 Mar 2006 15:36:43 +0000 (15:36 +0000)]
r14517: Put Modulesdir: line in .pc files, so 3rd parties know where to install
their modules.

16 years agor14516: dynconfig fixes
Jelmer Vernooij [Fri, 17 Mar 2006 15:36:03 +0000 (15:36 +0000)]
r14516: dynconfig fixes

16 years agor14511: Install more headers
Jelmer Vernooij [Fri, 17 Mar 2006 13:55:10 +0000 (13:55 +0000)]
r14511: Install more headers

16 years agor14504: make trans and trans2 able to use async ntvfs backends
Stefan Metzmacher [Fri, 17 Mar 2006 09:42:04 +0000 (09:42 +0000)]
r14504: make trans and trans2 able to use async ntvfs backends

tridge: can you review this please

metze

16 years agor14502: Supply both needed arguments for the backend logoff processing.
Andrew Bartlett [Fri, 17 Mar 2006 03:12:35 +0000 (03:12 +0000)]
r14502: Supply both needed arguments for the backend logoff processing.

This should fix the segfaults on the build farm.

Metze: please check

Andrew Bartlett

16 years agor14501: Re-add nicely working hack to allow running from the builddir
Jelmer Vernooij [Fri, 17 Mar 2006 01:44:14 +0000 (01:44 +0000)]
r14501: Re-add nicely working hack to allow running from the builddir
(including modules, codepages and ejs!) without installing.

16 years agor14500: Make some more functions public
Jelmer Vernooij [Fri, 17 Mar 2006 01:39:02 +0000 (01:39 +0000)]
r14500: Make some more functions public

16 years agor14499: Remove dynconfig hack for now - it caused a recompile of the
Jelmer Vernooij [Fri, 17 Mar 2006 01:38:14 +0000 (01:38 +0000)]
r14499: Remove dynconfig hack for now - it caused a recompile of the
asn1 compiler every time a .mk file changed, thus causing the
recompilation of the files generated from ASN1.

16 years agor14498: Revert part of my commit that removed support for compilers that
Jelmer Vernooij [Fri, 17 Mar 2006 01:36:32 +0000 (01:36 +0000)]
r14498: Revert part of my commit that removed support for compilers that
don't support immediate structures

16 years agor14497: Fix build with shared libraries
Jelmer Vernooij [Fri, 17 Mar 2006 00:45:52 +0000 (00:45 +0000)]
r14497: Fix build with shared libraries

16 years agor14494: Add comments to clarify that we deliberatly fall though here
Andrew Bartlett [Thu, 16 Mar 2006 22:31:01 +0000 (22:31 +0000)]
r14494: Add comments to clarify that we deliberatly fall though here

Andrew Bartlett

16 years agor14492: Fix shared libs - set SO_VERSION to 0 everywhere for now.
Jelmer Vernooij [Thu, 16 Mar 2006 21:36:36 +0000 (21:36 +0000)]
r14492: Fix shared libs - set SO_VERSION to 0 everywhere for now.

16 years agor14491: Allow building more output outside of the Samba source tree
Jelmer Vernooij [Thu, 16 Mar 2006 21:35:31 +0000 (21:35 +0000)]
r14491: Allow building more output outside of the Samba source tree

16 years agor14488: Install more headers.
Jelmer Vernooij [Thu, 16 Mar 2006 20:02:31 +0000 (20:02 +0000)]
r14488: Install more headers.
Generate different #include lines in pidl depending on whether
we're building inside or outside of the Samba tree (useful for
3rd-party projects).

16 years agor14487: split smbsrv_request into two parts, one will be moved to ntvfs_request
Stefan Metzmacher [Thu, 16 Mar 2006 18:54:19 +0000 (18:54 +0000)]
r14487: split smbsrv_request into two parts, one will be moved to ntvfs_request
but I don't to get the commit to large, to I'll do this tomorrow...

metze

16 years agor14486: remove the need of a stream_connection on a dcesrv_connection,
Stefan Metzmacher [Thu, 16 Mar 2006 18:46:49 +0000 (18:46 +0000)]
r14486: remove the need of a stream_connection on a dcesrv_connection,
and let the transport set callbacks for getting the own and peer
socket_address

metze

16 years agor14485: mark smb commands as need session and need tcon explicit,
Stefan Metzmacher [Thu, 16 Mar 2006 18:26:14 +0000 (18:26 +0000)]
r14485: mark smb commands as need session and need tcon explicit,
so we only need to check in one global place and can't forget
in other places...

metze

16 years agor14484: Install more headers
Jelmer Vernooij [Thu, 16 Mar 2006 17:51:04 +0000 (17:51 +0000)]
r14484: Install more headers

16 years agor14483: Allow subsystems with just a public prototype header, no private ones
Jelmer Vernooij [Thu, 16 Mar 2006 16:47:18 +0000 (16:47 +0000)]
r14483: Allow subsystems with just a public prototype header, no private ones

16 years agor14481: Change paths in headers on the fly when installing. Adds a simple text
Jelmer Vernooij [Thu, 16 Mar 2006 16:02:21 +0000 (16:02 +0000)]
r14481: Change paths in headers on the fly when installing. Adds a simple text
file that contains the paths where headers need to be installed.

16 years agor14479: Cope with _PUBLIC_ not being defined. Needed for when external projects
Jelmer Vernooij [Thu, 16 Mar 2006 14:34:55 +0000 (14:34 +0000)]
r14479: Cope with _PUBLIC_ not being defined. Needed for when external projects
include this header.

16 years agor14478: Remove unused proto_objs variable
Jelmer Vernooij [Thu, 16 Mar 2006 14:12:38 +0000 (14:12 +0000)]
r14478: Remove unused proto_objs variable

16 years agor14477: Remove the NOPROTO property - it's no longer used as proto.h is gone.
Jelmer Vernooij [Thu, 16 Mar 2006 13:56:14 +0000 (13:56 +0000)]
r14477: Remove the NOPROTO property - it's no longer used as proto.h is gone.

16 years agor14473: Modern splint has no problems with immediate structures.
Jelmer Vernooij [Thu, 16 Mar 2006 13:19:31 +0000 (13:19 +0000)]
r14473: Modern splint has no problems with immediate structures.

16 years agor14472: fix typo
Stefan Metzmacher [Thu, 16 Mar 2006 13:07:56 +0000 (13:07 +0000)]
r14472: fix typo

metze

16 years agor14471: Convert installheader script to perl
Jelmer Vernooij [Thu, 16 Mar 2006 13:04:28 +0000 (13:04 +0000)]
r14471: Convert installheader script to perl

16 years agor14470: Remove some unnecessary headers.
Jelmer Vernooij [Thu, 16 Mar 2006 12:43:28 +0000 (12:43 +0000)]
r14470: Remove some unnecessary headers.

16 years agor14469: Don't the variable INSTALLDIR for two different things...
Jelmer Vernooij [Thu, 16 Mar 2006 11:41:12 +0000 (11:41 +0000)]
r14469: Don't the variable INSTALLDIR for two different things...

16 years agor14465: kludge_acl -> async
Simo Sorce [Thu, 16 Mar 2006 06:25:23 +0000 (06:25 +0000)]
r14465: kludge_acl -> async

16 years agor14464: Don't include ndr_BASENAME.h files unless strictly required, instead
Jelmer Vernooij [Thu, 16 Mar 2006 00:23:11 +0000 (00:23 +0000)]
r14464: Don't include ndr_BASENAME.h files unless strictly required, instead
try to include just the BASENAME.h files (containing only structs)

16 years agor14459: Make this async compatible
Simo Sorce [Wed, 15 Mar 2006 21:23:17 +0000 (21:23 +0000)]
r14459: Make this async compatible

16 years agor14458: extended_dn -> async
Simo Sorce [Wed, 15 Mar 2006 19:28:47 +0000 (19:28 +0000)]
r14458: extended_dn -> async

16 years agor14456: don't access the smbsrv_tcon inside the ntvfs modules
Stefan Metzmacher [Wed, 15 Mar 2006 17:28:46 +0000 (17:28 +0000)]
r14456: don't access the smbsrv_tcon inside the ntvfs modules

metze

16 years agor14455: also add the:
Stefan Metzmacher [Wed, 15 Mar 2006 17:26:53 +0000 (17:26 +0000)]
r14455: also add the:

#ifndef FOO
#define FOO
...
#endif

to the client headers

metze

16 years agor14447: remove unused stuff
Stefan Metzmacher [Wed, 15 Mar 2006 14:12:49 +0000 (14:12 +0000)]
r14447: remove unused stuff

metze

16 years agor14446: demonstrate the notifies on files are not allowed
Stefan Metzmacher [Wed, 15 Mar 2006 14:08:55 +0000 (14:08 +0000)]
r14446: demonstrate the notifies on files are not allowed

metze

16 years agor14445: add FILE_NOTIFY_CHANGE_STREAM_* flags from:
Stefan Metzmacher [Wed, 15 Mar 2006 14:05:09 +0000 (14:05 +0000)]
r14445: add FILE_NOTIFY_CHANGE_STREAM_* flags from:

http://ubiqx.org/cifs/rfc-draft/draft-leach-cifs-v1-spec-02.html#s4.3.7

tridge: there's also the buffering documented...

metze

16 years agor14444: - make clear that a canceled notify directly returns without any other event
Stefan Metzmacher [Wed, 15 Mar 2006 13:02:37 +0000 (13:02 +0000)]
r14444: - make clear that a canceled notify directly returns without any other event
- test mkdir - rmdir - mkdir - rmdir sequence, this gets 4 notify events back
- add some comments to the multiple directory handle and buffered cases

metze

16 years agor14442: the ACB_ flags are 32 bit...
Stefan Metzmacher [Wed, 15 Mar 2006 11:56:58 +0000 (11:56 +0000)]
r14442: the ACB_ flags are 32 bit...

metze

16 years agor14441: try to get more hosts on the build farm pass the NBT-WINSREPLICATION-OWNED...
Stefan Metzmacher [Wed, 15 Mar 2006 11:40:43 +0000 (11:40 +0000)]
r14441: try to get more hosts on the build farm pass the NBT-WINSREPLICATION-OWNED test

metze

16 years agor14440: demonstrate that the smbpid is attached to a session (vuid),
Stefan Metzmacher [Wed, 15 Mar 2006 11:27:40 +0000 (11:27 +0000)]
r14440: demonstrate that the smbpid is attached to a session (vuid),
so SMBexit() only closes files for the given user session and the given PID

can someone check if samba3 passes this test, please?

metze

16 years agor14439: fix warnings
Stefan Metzmacher [Wed, 15 Mar 2006 10:28:35 +0000 (10:28 +0000)]
r14439: fix warnings

metze

16 years agor14438: fix warnings
Stefan Metzmacher [Wed, 15 Mar 2006 10:26:27 +0000 (10:26 +0000)]
r14438: fix warnings

metze

16 years agor14437: fix warnings
Stefan Metzmacher [Wed, 15 Mar 2006 10:24:56 +0000 (10:24 +0000)]
r14437: fix warnings

metze

16 years agor14436: mixing of boolean expressions and integers isn't allowed
Andrew Tridgell [Wed, 15 Mar 2006 05:53:56 +0000 (05:53 +0000)]
r14436: mixing of boolean expressions and integers isn't allowed

16 years agor14435: return after an error
Andrew Tridgell [Wed, 15 Mar 2006 05:53:15 +0000 (05:53 +0000)]
r14435: return after an error

16 years agor14434: use the right enum type
Andrew Tridgell [Wed, 15 Mar 2006 05:52:45 +0000 (05:52 +0000)]
r14434: use the right enum type

16 years agor14433: sort_result must be initialised when we call do_result
Andrew Tridgell [Wed, 15 Mar 2006 05:52:12 +0000 (05:52 +0000)]
r14433: sort_result must be initialised when we call do_result

16 years agor14431: don't call qsort with a null array
Andrew Tridgell [Wed, 15 Mar 2006 05:50:42 +0000 (05:50 +0000)]
r14431: don't call qsort with a null array

16 years agor14430: ret can be NULL at the end of this loop
Andrew Tridgell [Wed, 15 Mar 2006 05:50:15 +0000 (05:50 +0000)]
r14430: ret can be NULL at the end of this loop

16 years agor14429: charset_t cannot be used to loop over charset_t, as otherwise it can
Andrew Tridgell [Wed, 15 Mar 2006 05:49:45 +0000 (05:49 +0000)]
r14429: charset_t cannot be used to loop over charset_t, as otherwise it can
go out of the range of the enum

16 years agor14427: don't reference short_princ after it is freed
Andrew Tridgell [Wed, 15 Mar 2006 05:49:02 +0000 (05:49 +0000)]
r14427: don't reference short_princ after it is freed

16 years agor14426: ensure res is initialised
Andrew Tridgell [Wed, 15 Mar 2006 05:48:39 +0000 (05:48 +0000)]
r14426: ensure res is initialised

16 years agor14425: fixed an hmac-md5 error for keys longer than 64 (using deallocated
Andrew Tridgell [Wed, 15 Mar 2006 05:34:04 +0000 (05:34 +0000)]
r14425: fixed an hmac-md5 error for keys longer than 64 (using deallocated
stack variable)

16 years agor14424: another empty controls case
Andrew Tridgell [Wed, 15 Mar 2006 05:31:51 +0000 (05:31 +0000)]
r14424: another empty controls case