samba.git
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)

16 years agor14198: Update Samba4 to current lorikeet-heimdal.
Andrew Bartlett [Sat, 11 Mar 2006 04:03:12 +0000 (04:03 +0000)]
r14198: Update Samba4 to current lorikeet-heimdal.

Andrew Bartlett
(This used to be commit 97a0a0e2fa6784e5fc5278f7a15b385ddcb6a3b3)

16 years agor14181: This doesn't need level 1 debug, it happens whenever the DNS name is looked up.
Andrew Bartlett [Sat, 11 Mar 2006 02:07:14 +0000 (02:07 +0000)]
r14181: This doesn't need level 1 debug, it happens whenever the DNS name is looked up.

Andrew Bartlett
(This used to be commit 1badf363ab2e67ecca3162b2c0cf5e86f783f8bb)

16 years agor14180: The PAC isn't so special that it deserves a level 0 debug any more.
Andrew Bartlett [Sat, 11 Mar 2006 02:06:30 +0000 (02:06 +0000)]
r14180: The PAC isn't so special that it deserves a level 0 debug any more.

Andrew Bartlett
(This used to be commit 2ab71ed51868da123131d8bdaa7c30ab61ae280f)

16 years agor14175: More comments and my copyright.
Rafal Szczesniak [Fri, 10 Mar 2006 21:40:47 +0000 (21:40 +0000)]
r14175: More comments and my copyright.

rafal
(This used to be commit 384d97e0b2e3c5980e2023cd511d7f84e64d6ffb)

16 years agor14174: fix typos
Stefan Metzmacher [Fri, 10 Mar 2006 21:38:07 +0000 (21:38 +0000)]
r14174: fix typos

metze
(This used to be commit 29240bae4488749b3f8a2b49bccad1601d1aa184)

16 years agor14173: change smb interface structures to always use
Stefan Metzmacher [Fri, 10 Mar 2006 20:49:20 +0000 (20:49 +0000)]
r14173: change smb interface structures to always use
a union smb_file, to abtract
- const char *path fot qpathinfo and setpathinfo
- uint16_t fnum for SMB
- smb2_handle handle for SMB2

the idea is to later add a struct ntvfs_handle *ntvfs
so that the ntvfs subsystem don't need to know the difference between SMB and SMB2

metze
(This used to be commit 2ef3f5970901b5accdb50f0d0115b5d46b0c788f)

16 years agor14172: composite_is_ok(c) destroys c, when the status isn't ok.
Stefan Metzmacher [Fri, 10 Mar 2006 20:08:15 +0000 (20:08 +0000)]
r14172: composite_is_ok(c) destroys c, when the status isn't ok.
so we need to return directly.

metze
(This used to be commit fba4229e56dce867a7c9daf9a3523a4dc3e454ba)

16 years agor14165: More comments and my copyright.
Rafal Szczesniak [Fri, 10 Mar 2006 16:52:46 +0000 (16:52 +0000)]
r14165: More comments and my copyright.

rafal
(This used to be commit 6b94e81e5a31bb413149d9328746b1fed65c7f3d)

16 years agor14164: More comments.
Rafal Szczesniak [Fri, 10 Mar 2006 16:36:35 +0000 (16:36 +0000)]
r14164: More comments.

rafal
(This used to be commit 8582d6dfc5c8ad59a2eb64cb81a703c13b7eeed4)

16 years agor14163: Remove LDB_WAIT_ONCE, we can hardly guarante we
Simo Sorce [Fri, 10 Mar 2006 15:50:47 +0000 (15:50 +0000)]
r14163: Remove LDB_WAIT_ONCE, we can hardly guarante we
get anything if not waiting for all, keeping this
value may just lead to false expectations.

You either make blocking call waiting for ALL results
transforming this in a sync call, or either you loop
expecting from 0 to all results being returned at any
time on any of these loops.

It should be clear also that when you may receive results
at any time as soon as you call ldb_request.
Your callback may have received all results even before
calling ldb_async_wait the first time.

Simo.
(This used to be commit 6f041068b50caf919cd971812bdb8e3e810565fb)

16 years agor14162: Minor fixes on sort
Simo Sorce [Fri, 10 Mar 2006 15:28:25 +0000 (15:28 +0000)]
r14162: Minor fixes on sort
Initial work on async paged_results
(This used to be commit 72523eae7f8925a2c23d3260875345adcf1661bb)

16 years agor14161: return early if we know the job is already finished
Simo Sorce [Fri, 10 Mar 2006 15:27:16 +0000 (15:27 +0000)]
r14161: return early if we know the job is already finished
(This used to be commit 09f6f552d73f782dc8d62cefad9c5f584b7b07d2)

16 years agor14160: don't write behind the buffer
Stefan Metzmacher [Fri, 10 Mar 2006 15:10:47 +0000 (15:10 +0000)]
r14160: don't write behind the buffer

metze
(This used to be commit bce4db8d1c293d05546dfd1b0229252babdb64b2)

16 years agor14157: - pass a struct ntvfs_request to the ntvfs layer
Stefan Metzmacher [Fri, 10 Mar 2006 14:31:17 +0000 (14:31 +0000)]
r14157: - pass a struct ntvfs_request to the ntvfs layer
  (for now we just do #define ntvfs_request smbsrv_request,
   but it's the first step...)
- rename ntvfs_openfile() -> ntvfs_open()
- fix the talloc hierachie in some places in the ntvfs_map_*() code

metze
(This used to be commit ed9ed1f48f602354810937c0b0de850b44322191)

16 years agor14154: Add summary line for extended attribute library
Jelmer Vernooij [Fri, 10 Mar 2006 14:18:10 +0000 (14:18 +0000)]
r14154: Add summary line for extended attribute library
(This used to be commit 0665a465ba86bf2867ed360f8017ce8de8118882)

16 years agor14151: Add simple script that writes a summary to show what libraries the user
Jelmer Vernooij [Fri, 10 Mar 2006 14:13:04 +0000 (14:13 +0000)]
r14151: Add simple script that writes a summary to show what libraries the user
(might) be missing.
(This used to be commit ee90b8067915915af8ffbc0e04d1f4f5aae567cb)

16 years agor14149: Add BUGS.txt (fixes #3523)
Jelmer Vernooij [Fri, 10 Mar 2006 13:38:17 +0000 (13:38 +0000)]
r14149: Add BUGS.txt (fixes #3523)
(This used to be commit fc991c61b3394fe66efb813458228b3c8044b85a)

16 years agor14143: Replace old function with equivalent based on new async code.
Rafal Szczesniak [Fri, 10 Mar 2006 12:59:05 +0000 (12:59 +0000)]
r14143: Replace old function with equivalent based on new async code.

rafal
(This used to be commit 036d35ff175b26dc1f55e6813f9a014a444d9af4)

16 years agor14142: fixed ascii padding of nttrans create in server too
Andrew Tridgell [Fri, 10 Mar 2006 11:49:38 +0000 (11:49 +0000)]
r14142: fixed ascii padding of nttrans create in server too
(This used to be commit 2cd4cd1674b7491abf796f625ee098bb2c03e631)

16 years agor14141: fixed bugzilla 2921, forcing correct alignment when in ascii mode
Andrew Tridgell [Fri, 10 Mar 2006 11:47:03 +0000 (11:47 +0000)]
r14141: fixed bugzilla 2921, forcing correct alignment when in ascii mode
(This used to be commit f432d23b044355ae5214812e3794ab319b01268f)

16 years agor14140: block SIGPIPE in smbtorture
Stefan Metzmacher [Fri, 10 Mar 2006 11:28:47 +0000 (11:28 +0000)]
r14140: block SIGPIPE in smbtorture

hopefully this fixed the problems with BASE-NEGNOWAIT

metze
(This used to be commit 45441954d02a3032782477f9dd6d0bc6305aa030)

16 years agor14139: Fix issue with undefined variables.
Jelmer Vernooij [Fri, 10 Mar 2006 11:25:19 +0000 (11:25 +0000)]
r14139: Fix issue with undefined variables.
(This used to be commit 03c06c6f7fedb0e47483cc6de7732c1e78e60703)

16 years agor14138: this isn't needed
Stefan Metzmacher [Fri, 10 Mar 2006 10:55:33 +0000 (10:55 +0000)]
r14138: this isn't needed

metze
(This used to be commit bc905952eba6d98abcbae50fbc4d15b179d3cdcb)

16 years agor14137: move **p2 to the _recv function for setup the second pipe
Stefan Metzmacher [Fri, 10 Mar 2006 10:54:37 +0000 (10:54 +0000)]
r14137: move **p2 to the _recv function for setup the second pipe

metze
(This used to be commit 8b8d92beedd8848aa2c7f1443fa8e66e09c2e0bf)

16 years agor14136: Fix bug causing segfaults in certain circumstances (gcc3.x among
Rafal Szczesniak [Fri, 10 Mar 2006 10:31:47 +0000 (10:31 +0000)]
r14136: Fix bug causing segfaults in certain circumstances (gcc3.x among
others, probably). Funny thing, it didn't segfault on my laptop
and gcc4...

rafal
(This used to be commit 9e3321130e57daccd9649afc3af581a03655090e)

16 years agor14131: Fix Coverity bug # 127
Volker Lendecke [Fri, 10 Mar 2006 08:47:59 +0000 (08:47 +0000)]
r14131: Fix Coverity bug # 127
(This used to be commit 4d0aa6f525c4756ca6942439468b484e3ca4b2fa)

16 years agor14125: Fix incorrect declaration caught on build farm.
Rafal Szczesniak [Thu, 9 Mar 2006 23:54:50 +0000 (23:54 +0000)]
r14125: Fix incorrect declaration caught on build farm.

rafal
(This used to be commit 93358e7d9e08bb77641c1b9a47448eb0a4dac587)

16 years agor14124: One more thing needed for async dcerpc connect code.
Rafal Szczesniak [Thu, 9 Mar 2006 23:22:42 +0000 (23:22 +0000)]
r14124: One more thing needed for async dcerpc connect code.

rafal
(This used to be commit b4c48a6107b28bb529e535f04586d930e8ba636a)

16 years agor14123: Huge lump of code making all of our dcerpc connect code
Rafal Szczesniak [Thu, 9 Mar 2006 23:21:49 +0000 (23:21 +0000)]
r14123: Huge lump of code making all of our dcerpc connect code
asynchronous. Build is ok, and so are the tests.
More comments to follow.

rafal
(This used to be commit a74fb6c5a2f968c56aff8ce39ce2ce9375d19b81)

16 years agor14120: make the rpc client code also libraries
Stefan Metzmacher [Thu, 9 Mar 2006 22:49:53 +0000 (22:49 +0000)]
r14120: make the rpc client code also libraries

metze
(This used to be commit 7f32fd0881b946b405892031b0ee8144e4aa9a96)

16 years agor14117: fix a perl warning
Stefan Metzmacher [Thu, 9 Mar 2006 22:48:33 +0000 (22:48 +0000)]
r14117: fix a perl warning

jelmer: is there a better place to catch this?

metze
(This used to be commit 1e6ac4537024e7924333050125c33f792f982bbe)

16 years agor14110: make ndr interface parsing code libraries,
Stefan Metzmacher [Thu, 9 Mar 2006 22:25:50 +0000 (22:25 +0000)]
r14110: make ndr interface parsing code libraries,
so it will not included in multiple modules or binaries

metze
(This used to be commit 13c105974744c510a62a7c8db2230b60c11b2315)

16 years agor14109: Modulify the smbcalls subsystem.
Jelmer Vernooij [Thu, 9 Mar 2006 22:06:54 +0000 (22:06 +0000)]
r14109: Modulify the smbcalls subsystem.
(This used to be commit d538eac9dbfdd786b533cb5fbbd35ab2fd7358ba)

16 years agor14108: Make the Doxyfiles a bit shorter...
Jelmer Vernooij [Thu, 9 Mar 2006 22:01:48 +0000 (22:01 +0000)]
r14108: Make the Doxyfiles a bit shorter...
(This used to be commit 1004e1521a379ba6afb47e0fd3872d43363bc606)

16 years agor14105: fix whitespaces
Stefan Metzmacher [Thu, 9 Mar 2006 21:59:37 +0000 (21:59 +0000)]
r14105: fix whitespaces

metze
(This used to be commit 1b4c9f7fc203908d9cdd331f26b983fb445f05e2)

16 years agor14104: version.h has changed the location
Stefan Metzmacher [Thu, 9 Mar 2006 21:40:57 +0000 (21:40 +0000)]
r14104: version.h has changed the location

metze
(This used to be commit dfaa1fe107c3ea80da8ec5ddaabe0eece96da73a)

16 years agor14100: print out the title with the thread specific debug messages
Stefan Metzmacher [Thu, 9 Mar 2006 20:51:24 +0000 (20:51 +0000)]
r14100: print out the title with the thread specific debug messages

metze
(This used to be commit defc9438d10d51f5f59a8ee69e6baf40b8d9278e)

16 years agor14097: Remove subsystem names when installing modules (they're already installed
Jelmer Vernooij [Thu, 9 Mar 2006 20:41:59 +0000 (20:41 +0000)]
r14097: Remove subsystem names when installing modules (they're already installed
in a subsystem-specific directory)
No longer install smb.h as it only contains (internal) constants.
(This used to be commit b76126628c21755bb8d30e72e3044bd1785a2447)

16 years agor14096: setup a service task for smbsrv and dcesrv
Stefan Metzmacher [Thu, 9 Mar 2006 20:36:01 +0000 (20:36 +0000)]
r14096: setup a service task for smbsrv and dcesrv

metze
(This used to be commit 7ad522c7acfe276d08bf59e851697fe93fa622db)

16 years agor14095: disable setproctitle support by default
Stefan Metzmacher [Thu, 9 Mar 2006 20:30:36 +0000 (20:30 +0000)]
r14095: disable setproctitle support by default

--with-setproctitle enables it

metze
(This used to be commit fb9e7d176a3379d451bdbfad567426ddfb91a8bf)

16 years agor14094: Use saner module directory names, fix loading of server service modules.
Jelmer Vernooij [Thu, 9 Mar 2006 19:55:04 +0000 (19:55 +0000)]
r14094: Use saner module directory names, fix loading of server service modules.
(This used to be commit b6ffad3860ba2cf9d8f3423d65be91dcfc962ca2)

16 years agor14082: fix the build of process model thread
Stefan Metzmacher [Thu, 9 Mar 2006 17:58:25 +0000 (17:58 +0000)]
r14082: fix the build of process model thread

metze
(This used to be commit 63778a76be8212baad8f4668b0ffcc3b6732857e)

16 years agor14079: I just found the setproctitle library from alt linux:-)
Stefan Metzmacher [Thu, 9 Mar 2006 17:48:41 +0000 (17:48 +0000)]
r14079: I just found the setproctitle library from alt linux:-)

- add set_title hook to the process models
- use setproctitle library in process_model standard if available
- the the title for the task servers and on connections

metze
(This used to be commit 526f20bbecc9bbd607595637c15fc4001d3f0c70)

16 years agor14078: move ldb_global_init() to the main smbd code,
Stefan Metzmacher [Thu, 9 Mar 2006 17:39:24 +0000 (17:39 +0000)]
r14078: move ldb_global_init() to the main smbd code,
to fix the process_model standard

metze
(This used to be commit a465126e15490c5605064eb2387fb589d312db7b)

16 years agor14072: - only add the 'lib' prefix to libraries not modules
Stefan Metzmacher [Thu, 9 Mar 2006 14:39:36 +0000 (14:39 +0000)]
r14072: - only add the 'lib' prefix to libraries not modules
- fix installation of plugins (and make it a bit more verbose
- get rid of the '#define libfoo_module_init init_module'
  and genereated a wrapper function in bin/libfoo_module_init_module.c
- change the standard visibility for modules to hidden
- a few make clean fixes

metze
(This used to be commit 89b5667ab0f761e679fdee0f5c3d94942e67e28e)

16 years agor14071: fix the build
Stefan Metzmacher [Thu, 9 Mar 2006 13:42:13 +0000 (13:42 +0000)]
r14071: fix the build

metze
(This used to be commit af63ed9eb3a5af3e4eeb84c66397255ea90ea764)

16 years agor14070: this functions need to be exported,
Stefan Metzmacher [Thu, 9 Mar 2006 13:39:07 +0000 (13:39 +0000)]
r14070: this functions need to be exported,
it's ugly, but they're used in torture tests

I hope to find a better solution for this later...

metze
(This used to be commit be8874e9d3f1a022a42ccd1262dc5ce7bd5d1a91)

16 years agor14067: give more usefull errors
Stefan Metzmacher [Thu, 9 Mar 2006 13:28:54 +0000 (13:28 +0000)]
r14067: give more usefull errors

metze
(This used to be commit bc5281a95f2c79f88895282e8e38add116eef789)

16 years agor14066: fix whitespaces
Stefan Metzmacher [Thu, 9 Mar 2006 12:46:27 +0000 (12:46 +0000)]
r14066: fix whitespaces

metze
(This used to be commit 29a1c0bb69f0d52ead7268de4b024d5a91e135cf)

16 years agor14065: build gensec_schannel always static as libnet needs functions from it
Stefan Metzmacher [Thu, 9 Mar 2006 12:45:21 +0000 (12:45 +0000)]
r14065: build gensec_schannel always static as libnet needs functions from it

metze
(This used to be commit 91a3a0b795ebe73d29b69bb40ae9e67b40f90212)

16 years agor14064: - split out MSRPC_PARSE into a speperate subsystem
Stefan Metzmacher [Thu, 9 Mar 2006 12:42:45 +0000 (12:42 +0000)]
r14064: - split out MSRPC_PARSE into a speperate subsystem
- build gensec_ntlmssp always static for now, because torture/auth/ntlmssp.c
  needs to access functions from it

metze
(This used to be commit 43733c9556c1c92336780206e3f71bdee6e43eee)

16 years agor14063: libnet depends on dcerpc
Stefan Metzmacher [Thu, 9 Mar 2006 12:28:47 +0000 (12:28 +0000)]
r14063: libnet depends on dcerpc

metze
(This used to be commit 7fc2d08269a93dc3c38b08296dce41a0ae80ef82)

16 years agor14059: change notify is quite a bit more complex than we thought. These tests
Andrew Tridgell [Thu, 9 Mar 2006 03:52:10 +0000 (03:52 +0000)]
r14059: change notify is quite a bit more complex than we thought. These tests
show that w2k3 buffers notifies on directories where you have used
notify previously, thus giving you notifications on events that happen
even when you do not have a current notify call outstanding. This
makes it much easier for clients to avoid race conditions, which is
probably why it is done. It also means that associating change
notifies in Samba with outstanding change notify requests won't work -
instead we have to associate them with buffers on open directories.
(This used to be commit 8c5c8846f58c3f4b852c27dcecea8dfe21da58b6)

16 years agor14058: Try to make the continuation on the list of password set mechs clearer.
Andrew Bartlett [Thu, 9 Mar 2006 00:59:54 +0000 (00:59 +0000)]
r14058: Try to make the continuation on the list of password set mechs clearer.

Andrew Bartlett
(This used to be commit 0aa7160a66ee6951311fd7076faa2d27e25d620d)

16 years agor14055: merge from samba3. add ACB_NO_AUTH_DATA_REQD, this has been verified
Günther Deschner [Wed, 8 Mar 2006 21:36:20 +0000 (21:36 +0000)]
r14055: merge from samba3. add ACB_NO_AUTH_DATA_REQD, this has been verified
although not automatically tested in smbtorture right now.

Guenther
(This used to be commit 46e191cfa5cc45175b23815017f70d6271e35e23)

16 years agor14054: merge from samba3, fillout more userAccountControl bits.
Günther Deschner [Wed, 8 Mar 2006 21:33:06 +0000 (21:33 +0000)]
r14054: merge from samba3, fillout more userAccountControl bits.

Guenther
(This used to be commit 98207368044505c05b8d3f0538c19536488e229d)

16 years agor14041: be a bit less verbose
Stefan Metzmacher [Wed, 8 Mar 2006 15:14:59 +0000 (15:14 +0000)]
r14041: be a bit less verbose

metze
(This used to be commit 67a42a8097152c23fcd1adab68c64f127ac9c643)

16 years agor14040: report errors better
Stefan Metzmacher [Wed, 8 Mar 2006 15:02:04 +0000 (15:02 +0000)]
r14040: report errors better

metze
(This used to be commit 10cd4dbac97589e422a56465ba1f2bc060e425bb)

16 years agor14039: as samba4 drops the connection on multiple negprot requests
Stefan Metzmacher [Wed, 8 Mar 2006 14:58:57 +0000 (14:58 +0000)]
r14039: as samba4 drops the connection on multiple negprot requests
make the BASE-NEGNOWAIT tests more robust.

was it correct that the important thing to test in this
test is that the 2nd connection works fine?

metze
(This used to be commit f941e748640fa88eb5868420059efd0c38d7d745)

16 years agor14038: reopen log files after a SIGHUP
Stefan Metzmacher [Wed, 8 Mar 2006 12:31:57 +0000 (12:31 +0000)]
r14038: reopen log files after a SIGHUP

metze
(This used to be commit 8e9a69171a03a1f886fcff911e8a923368645a54)

16 years agor14037: add ntvfs_next_notify()
Stefan Metzmacher [Wed, 8 Mar 2006 11:13:13 +0000 (11:13 +0000)]
r14037: add ntvfs_next_notify()

metze
(This used to be commit d4c0f8900e908bc70fd66059fc667432329abf89)

16 years agor14029: Fix resource leak in error codepath. Coverity CID #64.
Jeremy Allison [Wed, 8 Mar 2006 07:20:10 +0000 (07:20 +0000)]
r14029: Fix resource leak in error codepath. Coverity CID #64.
Jeremy.
(This used to be commit d2e9d5b34baee90060ee9131b3da903309625a56)

16 years agor14016: use type safe talloc when constructing operation structures in smb server
Andrew Tridgell [Wed, 8 Mar 2006 06:28:08 +0000 (06:28 +0000)]
r14016: use type safe talloc when constructing operation structures in smb server
(This used to be commit 78dd6b3e0cd4f048e9b0317107ceb59198fc2bee)

16 years agor14013: added construction of the notify reply buffer in the nttrans server
Andrew Tridgell [Wed, 8 Mar 2006 05:47:51 +0000 (05:47 +0000)]
r14013: added construction of the notify reply buffer in the nttrans server
code

the RAW-NOTIFY test now passes against the CIFS backend
(This used to be commit e03a2e2de2ad7cd7e692248a681a46ffc1447541)

16 years agor14012: added support for the SMBntcancel operation in the cifs ntvfs
Andrew Tridgell [Wed, 8 Mar 2006 05:46:09 +0000 (05:46 +0000)]
r14012: added support for the SMBntcancel operation in the cifs ntvfs
backend. This requires keeping a list of outstanding requests so the
MID can be matched. Use a talloc destructor to manage the list.
(This used to be commit 6ec250f55d7b7d9c899d3c3777666a96bf8ea06c)

16 years agor14011: - added a ntvfs_notify op to allow backends to support change notify
Andrew Tridgell [Wed, 8 Mar 2006 03:54:24 +0000 (03:54 +0000)]
r14011: - added a ntvfs_notify op to allow backends to support change notify
- converted the nttrans server side code to be async (needed for change notify)

This is the start of some work on supporting change notify via a new
approach. More soon.
(This used to be commit 0ad70bfd83b4a03c0e67f11f63822b833be67aa1)

16 years agor13998: From now on ldb_request() will require an alloced request
Simo Sorce [Wed, 8 Mar 2006 01:01:14 +0000 (01:01 +0000)]
r13998: From now on ldb_request() will require an alloced request
By freeing the request you will be sure everything down the path get freed.

this also means you have to steal the results if you want to keep them :)

simo.
(This used to be commit e8075e6a062ce5edb84485e45d0b841c2ee2af7d)

16 years agor13996: simplify ldb_async_wait() some more
Simo Sorce [Tue, 7 Mar 2006 21:16:35 +0000 (21:16 +0000)]
r13996: simplify ldb_async_wait() some more
(This used to be commit ef1b3e6368179fe86ae07b8d00e4668090175551)

16 years agor13993: First prototype of how an async module should be built.
Simo Sorce [Tue, 7 Mar 2006 21:09:53 +0000 (21:09 +0000)]
r13993: First prototype of how an async module should be built.
This is NOT tested yet, just compiles.
Committing to share the code and gather comments
(This used to be commit 1c8536750fb811c987357cf1223666e1d79b2672)

16 years agor13992: change the way ldb_async_wait() works.
Simo Sorce [Tue, 7 Mar 2006 21:08:09 +0000 (21:08 +0000)]
r13992: change the way ldb_async_wait() works.

I think I should change the name of this function
to ldb_async_process(), any opinions ?
(This used to be commit 3347322d1327cfa975ee9dccd4f2774e6e14fbcb)

16 years agor13990: Fix issues with function renaming.
Jelmer Vernooij [Tue, 7 Mar 2006 21:02:11 +0000 (21:02 +0000)]
r13990: Fix issues with function renaming.
(This used to be commit 988ea27e22e3c0f4daf118151f90db5bb243bffc)

16 years agor13986: minor fixes
Simo Sorce [Tue, 7 Mar 2006 20:43:40 +0000 (20:43 +0000)]
r13986: minor fixes
(This used to be commit 8375f030197d311515085ac6beeaf63af45d14b0)

16 years agor13985: Slowly start swig_ldb
Simo Sorce [Tue, 7 Mar 2006 20:42:47 +0000 (20:42 +0000)]
r13985: Slowly start swig_ldb

dcerpc still need fixing, the produced shared library misses some symbols.
Jelmer, can you look at it while you are playing with the build system ?
(This used to be commit af92996e30a50af92d70ac8d55ade3da4ce56077)

16 years agor13982: Add support for prototypes spread across multiple lines. Try to keep line
Jelmer Vernooij [Tue, 7 Mar 2006 20:22:26 +0000 (20:22 +0000)]
r13982: Add support for prototypes spread across multiple lines. Try to keep line
empty after inserting new prototypes.
(This used to be commit d3a21b58d488bcd74ca873ea045fbf2a787ad552)

16 years agor13976: Add simple script for updating existing prototypes in a header file
Jelmer Vernooij [Tue, 7 Mar 2006 19:15:05 +0000 (19:15 +0000)]
r13976: Add simple script for updating existing prototypes in a header file
(This used to be commit 265cfb39c386e6a630f14e2c339d62d2c3dfa12e)

16 years agor13973: fix the build
Stefan Metzmacher [Tue, 7 Mar 2006 18:39:52 +0000 (18:39 +0000)]
r13973: fix the build

metze
(This used to be commit 30af3be22b5f9e6d106954222a3bc4bb53c76665)

16 years agor13972: fix the build, jelmer can you please take a look at what's going wrong here
Stefan Metzmacher [Tue, 7 Mar 2006 18:16:59 +0000 (18:16 +0000)]
r13972: fix the build, jelmer can you please take a look at what's going wrong here

metze
(This used to be commit 737b149546ac0ee93a0d6c4f54ed40dd6dd259c3)