amitay/samba.git
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
(This used to be commit c0dd773537bda9980e77eb6eda848161b7df82e5)

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

metze
(This used to be commit 4df843658f0cc22af44946fa2d965816ff53df6d)

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
(This used to be commit 74868726ae4fd8010c2e10d2f300b9725ca7ab33)

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
(This used to be commit f1bdca23838d23fbad7f1576c182688b7cd9b73d)

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
(This used to be commit e2b3816212b9c209d9f74f87c5cd72ca0d38c2e6)

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
(This used to be commit a653ebd15da09a7e085338400925a6bbeb3cb316)

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
(This used to be commit 7fa5ae8cce16f22d8959519a67ba4894ddbb6b9d)

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
(This used to be commit fd291ff003ed934b2163d9ad93af9ef2dd631e11)

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

metze
(This used to be commit 3b712b70f05f2c41ce3cdfc295488a189a971bce)

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

metze
(This used to be commit 83d2978da1fbf756a665afc2e8120436dc45ec56)

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

metze
(This used to be commit 2017c2573ecbe49b5b7456bfcc3e1c7ca5934a54)

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
(This used to be commit 6f7d09262d2e92df137167da55f5a22f32490781)

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
(This used to be commit 40e5bfdb0fadedb81d8fbd7e8cc578ef2ea12b13)

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
(This used to be commit 507def57cb83a3e12a3c8d60eb833fe47e9ec9e8)

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
(This used to be commit a33f6a9832c7ae03e630d33120cfa048a51089d5)

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
(This used to be commit 2c33f577ad5bf8cddec735e75a26c4a4c07d8c51)

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
(This used to be commit b607be9cdad5a9bd672698cb31a2af81d59d0763)

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
(This used to be commit caead24b6dd2f2e87e113587cacd57794487a83a)

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
(This used to be commit 8ca4681861e24ddf7c4abcc97a4cf0e001d13e24)

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
(This used to be commit ce1326157c7e139a43ab31d4d1e366b78b69e26f)

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)
(This used to be commit b10cb752c2558e98495625bbbb8704d19031a42b)

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
(This used to be commit 7d0eb678bf3649fb4e09da039dd1b716ea3df2cc)

16 years agor14423: don't die on no controls
Andrew Tridgell [Wed, 15 Mar 2006 05:30:39 +0000 (05:30 +0000)]
r14423: don't die on no controls
(This used to be commit 9787fb8e917c22ffe910062630dc4f32473a9fab)

16 years agor14422: ensure that domain_attrs does not refer to a stack variable in a freed
Andrew Tridgell [Wed, 15 Mar 2006 05:24:13 +0000 (05:24 +0000)]
r14422: ensure that domain_attrs does not refer to a stack variable in a freed
stack frame. The previous code worked with gcc, but strictly speaking
the arrays are out of scope when referenced later in the function, and
a compiler could construct them on the fly on the stack.
(This used to be commit 489c33806559d0a8ee2bec97fed8ad63a4e1dc17)

16 years agor14420: arrgh, make sure I test compile even little patches ....
Andrew Tridgell [Wed, 15 Mar 2006 03:38:30 +0000 (03:38 +0000)]
r14420: arrgh, make sure I test compile even little patches ....
(This used to be commit 749a93c7c01401b1ccbb117500910b56a93d82b4)

16 years agor14415: remove an unusued var
Andrew Tridgell [Wed, 15 Mar 2006 02:43:04 +0000 (02:43 +0000)]
r14415: remove an unusued var
(This used to be commit b4172b53f3e01f518244ca80e07e351c7d51e282)

16 years agor14414: added some error checks
Andrew Tridgell [Wed, 15 Mar 2006 02:42:21 +0000 (02:42 +0000)]
r14414: added some error checks
(This used to be commit cd9f3adc759f1dc29043c435febfe78e56fece1b)

16 years agor14413: don't do memcpy of length 0
Andrew Tridgell [Wed, 15 Mar 2006 02:41:57 +0000 (02:41 +0000)]
r14413: don't do memcpy of length 0
(This used to be commit c43a7ec7ac3bcb3001d046615ca17a9ce083a2b0)

16 years agor14412: init a var
Andrew Tridgell [Wed, 15 Mar 2006 02:41:25 +0000 (02:41 +0000)]
r14412: init a var
(This used to be commit ec53f5fe9617ea36295522a410161bbca6edf9ad)

16 years agor14411: mark smb_panic() as a noreturn function using gcc attributes, which
Andrew Tridgell [Wed, 15 Mar 2006 02:40:08 +0000 (02:40 +0000)]
r14411: mark smb_panic() as a noreturn function using gcc attributes, which
tells static analysers that it behaves like abort()
(This used to be commit 3cde18beaed736a48e195550c7e423bccc95c820)

16 years agor14410: init a var
Andrew Tridgell [Wed, 15 Mar 2006 02:39:22 +0000 (02:39 +0000)]
r14410: init a var
(This used to be commit 59bc3e8ab0f9722b0292465b20f3876b25095418)

16 years agor14409: quieten warnings
Andrew Tridgell [Wed, 15 Mar 2006 02:39:05 +0000 (02:39 +0000)]
r14409: quieten warnings
(This used to be commit 2ec2894f72b44ba4e400961921b65b03ad8742de)

16 years agor14402: Generate seperate headers for RPC client functions.
Jelmer Vernooij [Tue, 14 Mar 2006 23:35:30 +0000 (23:35 +0000)]
r14402: Generate seperate headers for RPC client functions.
(This used to be commit 7054ebf0249930843a2baf4d023ae8f62cedb109)

16 years agor14401: Let samldb intercept the async requests.
Simo Sorce [Tue, 14 Mar 2006 22:47:15 +0000 (22:47 +0000)]
r14401: Let samldb intercept the async requests.

Samld is NOT yet async itself, but as that module only intercepts
user,groups or foreign principal creation and nothing else we can
accept it not to be asynchronous for now.

Simo.
(This used to be commit 250dac3072c647caf9f301219922007a3a672d93)

16 years agor14391: rdn_name -> async
Simo Sorce [Tue, 14 Mar 2006 17:39:58 +0000 (17:39 +0000)]
r14391: rdn_name -> async
(This used to be commit 0bc3caa9187e992b09bf797e7de507cca9734ab2)

16 years agor14390: the rootdse does not show a distinguishedName attribute
Simo Sorce [Tue, 14 Mar 2006 17:39:02 +0000 (17:39 +0000)]
r14390: the rootdse does not show a distinguishedName attribute
(This used to be commit 179e62d0931b382dc646b90fa8f4d418b2286823)

16 years agor14389: rootdse -> async
Simo Sorce [Tue, 14 Mar 2006 17:34:00 +0000 (17:34 +0000)]
r14389: rootdse -> async
(This used to be commit 4d76af63b07fd8fb5ca81ca310b174e253e7e4b1)

16 years agor14386: - use echo "..." instead of echo ... in all places
Stefan Metzmacher [Tue, 14 Mar 2006 17:12:12 +0000 (17:12 +0000)]
r14386: - use echo "..." instead of echo ... in all places
- make the output of the CC_CHECKER more readable when you have a fast box
  and the each .c file take less than 1s.

metze
(This used to be commit 606c0388183cbc6a93eaf8f0209136c0aac96727)

16 years agor14385: Fix header dependencies.
Jelmer Vernooij [Tue, 14 Mar 2006 16:41:40 +0000 (16:41 +0000)]
r14385: Fix header dependencies.
(This used to be commit c1cf9f5acae7696824e100406bcb6fa161eb6501)

16 years agor14384: Remove orpc code from includes.h
Jelmer Vernooij [Tue, 14 Mar 2006 16:21:34 +0000 (16:21 +0000)]
r14384: Remove orpc code from includes.h
(This used to be commit 206d182cfb78ec2258ceca1be2dd5e3c06649312)

16 years agor14383: Fix non-developer build.
Jelmer Vernooij [Tue, 14 Mar 2006 15:44:40 +0000 (15:44 +0000)]
r14383: Fix non-developer build.
(This used to be commit f4de155c94b89e586640d11992953a0d5fc0716d)

16 years agor14381: Kill structs.h
Jelmer Vernooij [Tue, 14 Mar 2006 15:22:36 +0000 (15:22 +0000)]
r14381: Kill structs.h
(This used to be commit 1ffb82a7596f989c90df69573083a2c2e28f8808)

16 years agor14380: Reduce the size of structs.h
Jelmer Vernooij [Tue, 14 Mar 2006 15:03:25 +0000 (15:03 +0000)]
r14380: Reduce the size of structs.h
(This used to be commit 1a16a6f1dfa66499af43a6b88b3ea69a6a75f1fe)

16 years agor14379: Build torture/rpc/ as a seperate smbtorture module. Move helper
Jelmer Vernooij [Tue, 14 Mar 2006 15:02:05 +0000 (15:02 +0000)]
r14379: Build torture/rpc/ as a seperate smbtorture module. Move helper
functions for rpc out of torture/torture.c
(This used to be commit 1d2d970f3b8aef3f36c2befb94b5dd72c0086639)

16 years agor14374: remove sparse warning
Stefan Metzmacher [Tue, 14 Mar 2006 13:04:28 +0000 (13:04 +0000)]
r14374: remove sparse warning

metze
(This used to be commit bb6d0be0aa6de180c9e0e7353d6c270324de3ed7)

16 years agor14373: remove unreached wrong code, found by sparse
Stefan Metzmacher [Tue, 14 Mar 2006 12:59:35 +0000 (12:59 +0000)]
r14373: remove unreached wrong code, found by sparse

metze
(This used to be commit dd485aa9600dd24c8b10c140974df9313f8ff2e8)

16 years agor14372: fix bug found by sparse
Stefan Metzmacher [Tue, 14 Mar 2006 12:56:59 +0000 (12:56 +0000)]
r14372: fix bug found by sparse

metze
(This used to be commit da1ac9b2243d0217c2d29879d885d62be9ddd290)

16 years agor14371: - make 'make CC_CHECKER=foo' possible
Stefan Metzmacher [Tue, 14 Mar 2006 12:53:56 +0000 (12:53 +0000)]
r14371: - make 'make CC_CHECKER=foo' possible

can be used with sparse (http://www.kernel.org/git/?p=devel/sparse/sparse.git;a=summary)
or other C code analyzers.

metze
(This used to be commit e616953159ad601414a09536adb21e4e8a294138)

16 years agor14369: Remove obsolete header
Jelmer Vernooij [Tue, 14 Mar 2006 11:41:12 +0000 (11:41 +0000)]
r14369: Remove obsolete header
(This used to be commit 85e4bb3b1049b8944bd80935c210f8a2502d2a75)

16 years agor14364: operational -> async (untested)
Simo Sorce [Tue, 14 Mar 2006 05:38:05 +0000 (05:38 +0000)]
r14364: operational -> async (untested)
(This used to be commit b112eb774fb1a3d689c8598bbf55ac3e978b8682)

16 years agor14363: Remove credentials.h from the global includes.
Jelmer Vernooij [Tue, 14 Mar 2006 01:29:56 +0000 (01:29 +0000)]
r14363: Remove credentials.h from the global includes.
(This used to be commit 98c4c3051391c6f89df5d133665f51bef66b1563)

16 years agor14362: Only include ndr_compression.h when necessary.
Jelmer Vernooij [Tue, 14 Mar 2006 00:37:05 +0000 (00:37 +0000)]
r14362: Only include ndr_compression.h when necessary.
(This used to be commit 4fced6dbbdc06233e5cf69f90c099fafee9baa34)

16 years agor14361: Support 'helper' attribute in pidl and use it.
Jelmer Vernooij [Tue, 14 Mar 2006 00:12:58 +0000 (00:12 +0000)]
r14361: Support 'helper' attribute in pidl and use it.
Remove some headers from include/includes.h (they're now only included
in the file they are used)
(This used to be commit 7213b7498eacac2c2cd03cf6aace376ce153cc7c)

16 years agor14350: Keep "make proto". It's hard to forget old habits. :-)
Jelmer Vernooij [Mon, 13 Mar 2006 22:39:05 +0000 (22:39 +0000)]
r14350: Keep "make proto". It's hard to forget old habits. :-)
(This used to be commit e0d96ecfb41d99eee818ba12dd6bbc251f938c14)

16 years agor14349: Kill proto.h!
Jelmer Vernooij [Mon, 13 Mar 2006 22:36:07 +0000 (22:36 +0000)]
r14349: Kill proto.h!

Prototypes are now spread over multiple headers, usually one per subsystem.
This change is required to allow proper header dependencies later on,
without recompiling Samba each time the mtime of any source file changes.
(This used to be commit 3da79bf909f801386a52e6013db399c384d0401c)

16 years agor14348: Fix location of #endif
Jelmer Vernooij [Mon, 13 Mar 2006 22:32:41 +0000 (22:32 +0000)]
r14348: Fix location of #endif
(This used to be commit eb8687cdd4240c5636384e992a0f1a77251fddcc)

16 years agor14347: Add registration function to allow registering smbtorture test(suites)
Jelmer Vernooij [Mon, 13 Mar 2006 21:21:44 +0000 (21:21 +0000)]
r14347: Add registration function to allow registering smbtorture test(suites)
Fix mechanism for breaking lines when printing test names.
(This used to be commit c1061f5fe478918f996fdeaa382a1f5552135bb9)

16 years agor14344: More helpful messages on error for command line specified controls
Simo Sorce [Mon, 13 Mar 2006 21:05:55 +0000 (21:05 +0000)]
r14344: More helpful messages on error for command line specified controls
fixes in paged_results
asq -> async
(This used to be commit fbd347544001da9e46246eb0b4a8d165ccab15c9)

16 years agor14335: Build shared modules in bin/modules/$SUBSYSTEM when in developer mode.
Jelmer Vernooij [Mon, 13 Mar 2006 18:54:33 +0000 (18:54 +0000)]
r14335: Build shared modules in bin/modules/$SUBSYSTEM when in developer mode.
(This used to be commit 4799f7bd1fbf0ed3cd4c52bd6eef129666ac74b5)

16 years agor14332: Built in different paths when running locally (from ./bin/) in developer
Jelmer Vernooij [Mon, 13 Mar 2006 18:31:42 +0000 (18:31 +0000)]
r14332: Built in different paths when running locally (from ./bin/) in developer
mode (./configure.developer). This will change the hardcoded value of a few
paths (BINDIR, SWATDIR, EJSDIR, SETUPDIR, DATADIR, MODULESDIR). The regular
locations will be used when running 'make install'.

This enables developers to work on (shared built) modules, swat, ejs and
setup files without having to run 'make install' each time.
(This used to be commit f12c1ee19349e17dc5d109ccc71b5374796a6e23)

16 years agor14327: Replace MAJOR_VERSION/MINOR_VERSION/RELEASE_VERSION with two parameters:
Jelmer Vernooij [Mon, 13 Mar 2006 16:32:44 +0000 (16:32 +0000)]
r14327: Replace MAJOR_VERSION/MINOR_VERSION/RELEASE_VERSION with two parameters:
 - VERSION: should contain the current version. Will be made part of the filename.
 - SO_VERSION: should contain the latest version that this on is compatible to. Will be used for setting the soname of the shared library.

Fix sonames and use them on platforms that support them
Remove symlinking code. ldconfig will take care of creating the symlinks now
that we set the soname.
(This used to be commit 7871b07e21c85c63d0ecac4c31b98dc112d18af5)

16 years agor14322: Remove the BROKEN_CC flag for now. None of the buildfarm hosts has
Jelmer Vernooij [Mon, 13 Mar 2006 15:19:14 +0000 (15:19 +0000)]
r14322: Remove the BROKEN_CC flag for now. None of the buildfarm hosts has
a C compiler that doesn't support -c and -o together and it makes the build
system more complicated. This also means the current handling of broken C
compilers is most likely broken as it isn't tested.

This detection can be readded when we stumble upon a C compiler that supports
both C99 (or at least the parts of it we need) and also has broken -c/-o
handling, which I think is unlikely to happen.
(This used to be commit 7fd74cfbb90063c79994fb6691dbe456d9ad9efa)

16 years agor14319: this is a test to see if this help to run NBT-WINSREPLICATION-OWNED on more...
Stefan Metzmacher [Mon, 13 Mar 2006 15:03:51 +0000 (15:03 +0000)]
r14319: this is a test to see if this help to run NBT-WINSREPLICATION-OWNED on more systems
on the buildfarm successful...

metze
(This used to be commit 0507203c35207b494638b3d0dfb0c2ab420ba9e2)

16 years agor14318: fix warnings
Stefan Metzmacher [Mon, 13 Mar 2006 14:35:45 +0000 (14:35 +0000)]
r14318: fix warnings

metze
(This used to be commit c99c057354f1815e8ef39f7a22a98c24f7807968)

16 years agor14316: don't zero the smb_handle after it was set:-)
Stefan Metzmacher [Mon, 13 Mar 2006 12:43:59 +0000 (12:43 +0000)]
r14316: don't zero the smb_handle after it was set:-)

metze
(This used to be commit 74472ed8be2d206c2f9db030252d6defe9d6016e)

16 years agor14313: Add comments describing some of the dependencies here.
Andrew Bartlett [Mon, 13 Mar 2006 11:15:05 +0000 (11:15 +0000)]
r14313: Add comments describing some of the dependencies here.

Andrew Bartlett
(This used to be commit a79a185b6a8a0ac81a380ff6df5a11e45a19cb16)

16 years agor14312: Formatting and comments.
Andrew Bartlett [Mon, 13 Mar 2006 11:12:46 +0000 (11:12 +0000)]
r14312: Formatting and comments.

Andrew Bartlett
(This used to be commit 1905a27c78165972aaa78b72a199ee9230fbf73d)

16 years agor14311: canon needs to be initialised
Andrew Tridgell [Mon, 13 Mar 2006 06:59:06 +0000 (06:59 +0000)]
r14311: canon needs to be initialised
(This used to be commit d1d94d69e1b1496fc26204f699e038bb1e36e68f)

16 years agor14310: length needs to be initialised
Andrew Tridgell [Mon, 13 Mar 2006 06:58:51 +0000 (06:58 +0000)]
r14310: length needs to be initialised
(This used to be commit 20d7f2ae35761533613f9d6dcf941a5ef3c7e07b)

16 years agor14309: make sure ret is initialised
Andrew Tridgell [Mon, 13 Mar 2006 06:58:32 +0000 (06:58 +0000)]
r14309: make sure ret is initialised
(This used to be commit 1f48df6dda390ef09ae0d8efc3332e5001b75952)

16 years agor14308: fixed an out of range shift and an uninitialised error
Andrew Tridgell [Mon, 13 Mar 2006 06:58:09 +0000 (06:58 +0000)]
r14308: fixed an out of range shift and an uninitialised error
(This used to be commit 9acc445a21b7f04eb980a05109f2c73d58221f1a)

16 years agor14307: fixed dereference of my_address->addr when NULL
Andrew Tridgell [Mon, 13 Mar 2006 06:57:11 +0000 (06:57 +0000)]
r14307: fixed dereference of my_address->addr when NULL
(This used to be commit e017246f1052f3344b90500e04c73277923baa20)

16 years agor14306: fixed two break errors
Andrew Tridgell [Mon, 13 Mar 2006 06:56:31 +0000 (06:56 +0000)]
r14306: fixed two break errors
(This used to be commit 03da4fbcdd66982de8eb376f9f00da97d730c97f)

16 years agor14305: fixed a memory leak and a break error
Andrew Tridgell [Mon, 13 Mar 2006 06:56:07 +0000 (06:56 +0000)]
r14305: fixed a memory leak and a break error
(This used to be commit c791db60c88ed0f50aa7b13822f95f6f17360fee)

16 years agor14297: make sure we can go through the loop for than once
Andrew Tridgell [Mon, 13 Mar 2006 05:02:49 +0000 (05:02 +0000)]
r14297: make sure we can go through the loop for than once
(This used to be commit 6a84940bd3f310344641474dac984b262413943b)

16 years agor14296: added an abort() to SMB_ASSERT() so that static analysers know it doesn't...
Andrew Tridgell [Mon, 13 Mar 2006 05:02:30 +0000 (05:02 +0000)]
r14296: added an abort() to SMB_ASSERT() so that static analysers know it doesn't return
(This used to be commit 72334813087740cba42973bdf787d96d2d140bad)

16 years agor14295: make sure we return a valid data blob
Andrew Tridgell [Mon, 13 Mar 2006 05:01:58 +0000 (05:01 +0000)]
r14295: make sure we return a valid data blob
(This used to be commit 759e1487349ca9631eab0315595a73c253badc1f)

16 years agor14294: conditionally define _PUBLIC_, so you can disable it easily with -D_PUBLIC_=
Andrew Tridgell [Mon, 13 Mar 2006 05:01:34 +0000 (05:01 +0000)]
r14294: conditionally define _PUBLIC_, so you can disable it easily with -D_PUBLIC_=
(This used to be commit 6c6bd77ec2eb7d47e1f2c54f939d479e7d0fd7d9)

16 years agor14293: fixed some errors found with beam
Andrew Tridgell [Mon, 13 Mar 2006 05:00:45 +0000 (05:00 +0000)]
r14293: fixed some errors found with beam
(This used to be commit 230636a00ed9bd968356badad596ba7f93ba6c85)

16 years agor14288: - make the snprintf call in talloc portable to older solaris boxes
Andrew Tridgell [Mon, 13 Mar 2006 04:04:38 +0000 (04:04 +0000)]
r14288:  - make the snprintf call in talloc portable to older solaris boxes

 - fixed an error found sing the beam analyser
(This used to be commit bc45451ddd6eceb9bf1ca02f84932759d99a1744)

16 years agor14281: Pull apart LIBDIR and MODULESDIR
Jelmer Vernooij [Mon, 13 Mar 2006 02:05:39 +0000 (02:05 +0000)]
r14281: Pull apart LIBDIR and MODULESDIR
Move architecture-independent data to DATADIR (was LIBDIR)
(This used to be commit 2c7b62a861f702067e8df4c3239ac7e377631a15)

16 years agor14256: - rename smb_file -> smb_handle
Stefan Metzmacher [Sun, 12 Mar 2006 22:48:25 +0000 (22:48 +0000)]
r14256: - rename smb_file -> smb_handle
- move it into the in/out substructs again
- allow file.path only on smb_fileinfo/smb_setfileinfo

metze
(This used to be commit be6d5298a2cdb7e7c61d70471bad445645af5963)

16 years agor14240: fix summary output (step 2)
Stefan Metzmacher [Sun, 12 Mar 2006 13:36:08 +0000 (13:36 +0000)]
r14240: fix summary output (step 2)

we now need to explicit enable external libraries in
*.m4 files again...

metze
(This used to be commit ca809a7910b16a248fffddc640298bbe4cdedc01)

16 years agor14239: Fix indentation.
Rafal Szczesniak [Sun, 12 Mar 2006 13:14:21 +0000 (13:14 +0000)]
r14239: Fix indentation.

rafal
(This used to be commit 7aa90f58b9beb410a188fd229c539f2315c81a38)

16 years agor14238: This is not needed anymore, as the state structure is zeroed
Rafal Szczesniak [Sun, 12 Mar 2006 13:11:46 +0000 (13:11 +0000)]
r14238: This is not needed anymore, as the state structure is zeroed
right after allocation.

rafal
(This used to be commit 87b31c51bbd1e8cb3616eb9d7dd2b7fc1a7f9c46)

16 years agor14237: fix the summary output (step 1)
Stefan Metzmacher [Sun, 12 Mar 2006 13:10:26 +0000 (13:10 +0000)]
r14237: fix the summary output (step 1)

metze
(This used to be commit 612fcb46ac21839b9c98b92d3261506dfafb2a93)

16 years agor14227: We are passing the wrong pointer here
Simo Sorce [Sun, 12 Mar 2006 00:04:27 +0000 (00:04 +0000)]
r14227: We are passing the wrong pointer here
(This used to be commit 22c1b3635596e881d1a1e8fa5e55ab996ff001d5)

16 years agor14223: Couple of small fixes:
Jelmer Vernooij [Sat, 11 Mar 2006 23:20:37 +0000 (23:20 +0000)]
r14223: Couple of small fixes:
 - properly support --samba3-header argument used alone
 - support `security_descriptor' data type
 - only print pidl warnings, not perl warnings on erratic input
 - insert copyright header in templates
(This used to be commit db1d7358b2ba9b104c1a96762af89b500b79172f)

16 years agor14215: Improve warning/error messages.
Jelmer Vernooij [Sat, 11 Mar 2006 23:00:14 +0000 (23:00 +0000)]
r14215: Improve warning/error messages.
(This used to be commit 80b9865b373ee542da2d56d6688b4c8fd4c6275c)

16 years agor14211: More comments.
Rafal Szczesniak [Sat, 11 Mar 2006 19:06:47 +0000 (19:06 +0000)]
r14211: More comments.

rafal
(This used to be commit 9035de56a801f04436777b7faacf2f3b518b6942)

16 years agor14210: 1) Fix an issue with composite context when null event context
Rafal Szczesniak [Sat, 11 Mar 2006 14:18:00 +0000 (14:18 +0000)]
r14210: 1) Fix an issue with composite context when null event context
   is passed to dcerpc_epm_map_binding_send.

2) Replace old dcerpc_epm_map_binding with the new function
   based on async code, as the above problem is fixed.

rafal
(This used to be commit 85ecb07ab595073dd44c213075d33da07aa19277)

16 years agor14209: don't timeout notify requests in the cifs backend, as they are
Andrew Tridgell [Sat, 11 Mar 2006 13:06:17 +0000 (13:06 +0000)]
r14209: don't timeout notify requests in the cifs backend, as they are
intended to wait forever
(This used to be commit 7d8da6611850a7eab964f02ccb1adaa8c2a4358f)

16 years agor14208: removed use of req->flags2 inside the ntvfs layer. This should help
Andrew Tridgell [Sat, 11 Mar 2006 12:58:36 +0000 (12:58 +0000)]
r14208: removed use of req->flags2 inside the ntvfs layer. This should help
metze on his quest to unify the ntvfs strucures for the smb and smb2
servers. The only place we needed flags2 inside ntvfs was for the
FLAGS2_READ_PERMIT_EXECUTE bit, which only affects readx, so I added a
readx.in.read_for_execute flag instead.
(This used to be commit b78abbbce60ab0009da19a72dd769800c44298a2)

16 years agor14206: fix warnings, the better fix for that will be to make the sidmap code
Stefan Metzmacher [Sat, 11 Mar 2006 10:45:40 +0000 (10:45 +0000)]
r14206: fix warnings, the better fix for that will be to make the sidmap code
independend of ntvfs...(later...)

metze
(This used to be commit 2a34ed7a07c9e5f32408a0edb714239714eb1d26)

16 years agor14205: move smb specific stuff out of includes.h (finally!!!:-)
Stefan Metzmacher [Sat, 11 Mar 2006 10:25:59 +0000 (10:25 +0000)]
r14205: move smb specific stuff out of includes.h (finally!!!:-)

all this changes really help ccache to speed up the samba4 build:-)

metze
(This used to be commit 180a79d1036e54fc0c50572b820818e9aafa28e9)

16 years agor14203: Include less private heimdal headers.
Andrew Bartlett [Sat, 11 Mar 2006 09:31:59 +0000 (09:31 +0000)]
r14203: Include less private heimdal headers.

Andrew Bartlett
(This used to be commit ce80425f6d84e434f4562aa0be7e6e4ad2772b92)

16 years agor14202: Oops. When removing a header, we need to replace it.
Andrew Bartlett [Sat, 11 Mar 2006 08:11:33 +0000 (08:11 +0000)]
r14202: Oops.  When removing a header, we need to replace it.

Andrew Bartlett
(This used to be commit d1ca106f05ad71b8aa514bf87a4267d61d9dcbf8)

16 years agor14201: I don't think including roken is going to be a good solution. Let's
Andrew Bartlett [Sat, 11 Mar 2006 07:55:15 +0000 (07:55 +0000)]
r14201: I don't think including roken is going to be a good solution.  Let's
try and find the real solution.

Andrew Bartlett
(This used to be commit a512d5dd258797cdb41018923502cb4998f1edfe)

16 years agor14200: Now we have real USN support, don't force the values in the provision
Andrew Bartlett [Sat, 11 Mar 2006 07:07:28 +0000 (07:07 +0000)]
r14200: Now we have real USN support, don't force the values in the provision
scripts.

This tests the real module, and avoids duplication.

Andrew Bartlett
(This used to be commit 0859ba59ae00029177cd63366fc59efe8b19c973)

16 years agor14199: This isn't pretty, but it makes the network interface detection work again.
Andrew Bartlett [Sat, 11 Mar 2006 06:24:44 +0000 (06:24 +0000)]
r14199: This isn't pretty, but it makes the network interface detection work again.

When making build changes, watch out that 'compiles' doesn't mean that
it works...

Andrew Bartlett
(This used to be commit d5f9e19b5890ec954c9437447041b655aa83868b)