13 years agor3579: with the gcc warning flag from abartlet we don't need sys_strftime()
Andrew Tridgell [Sat, 6 Nov 2004 12:14:14 +0000 (12:14 +0000)]
r3579: with the gcc warning flag from abartlet we don't need sys_strftime()
(This used to be commit 041f77b6a19c98599fe18d2eb4e86db00b40014e)

13 years agor3578: a couple of include changes that should help with FreeBSD
Andrew Tridgell [Sat, 6 Nov 2004 12:10:57 +0000 (12:10 +0000)]
r3578: a couple of include changes that should help with FreeBSD
(This used to be commit d8c4a660a08d7be8b69e4e5458bdcc1cb492506e)

13 years agor3577: add a torture_join_domain_ads_dc() function,
Stefan Metzmacher [Sat, 6 Nov 2004 10:07:08 +0000 (10:07 +0000)]
r3577: add a torture_join_domain_ads_dc() function,
which will join as a w2k dc joins a ads domain

(this is currently not fully implmented,
 I just have listed the steps we need to do)

(This used to be commit 29cd3d20e39766455e488c6e240228d8815bd36b)

13 years agor3576: don't consider short share delay timeouts to be an error, so we can
Andrew Tridgell [Sat, 6 Nov 2004 09:35:56 +0000 (09:35 +0000)]
r3576: don't consider short share delay timeouts to be an error, so we can
run in a reaonable time by using posix:sharedelay=100000

this still tests correct multiplex behaviour
(This used to be commit 64a6db5b029343f41fc9c3582e0fb051d6c18d39)

13 years agor3575: fixed attribute normalisation in xattr code. RAW-SEARCH now passes again.
Andrew Tridgell [Sat, 6 Nov 2004 09:34:17 +0000 (09:34 +0000)]
r3575: fixed attribute normalisation in xattr code. RAW-SEARCH now passes again.
(This used to be commit 66bdc6e78c2c7ce4e215919959f0d0623ef06723)

13 years agor3574: the RAW-OPEN test changes broke a couple of the other tests. This
Andrew Tridgell [Sat, 6 Nov 2004 09:12:53 +0000 (09:12 +0000)]
r3574: the RAW-OPEN test changes broke a couple of the other tests. This
fixes most of them, although RAW-SEARCH still fails (due to an
interaction with the new xattr code)
(This used to be commit 09b4652b40c4cfca027765178bd5a0adbaa666c2)

13 years agor3573: added trans2open support to smbd and pvfs, and fine-tuned the open->generic...
Andrew Tridgell [Sat, 6 Nov 2004 07:58:45 +0000 (07:58 +0000)]
r3573: added trans2open support to smbd and pvfs, and fine-tuned the open->generic ntvfs mapping code.
(This used to be commit ed844192d7f7ed487290f719df65f256a5b0b9bc)

13 years agor3572: Thanks to tridge for his patience with my build breakage.
Andrew Bartlett [Sat, 6 Nov 2004 05:40:34 +0000 (05:40 +0000)]
r3572: Thanks to tridge for his patience with my build breakage.

This concludes the proper fixes.

Andrew Bartlett
(This used to be commit c1d025793f2994c8f1cab304c3394ab186654071)

13 years agor3571: rough guesses at what abartlet really wanted to do in his last commit
Andrew Tridgell [Sat, 6 Nov 2004 03:44:16 +0000 (03:44 +0000)]
r3571: rough guesses at what abartlet really wanted to do in his last commit
(which I suspect was missing some pieces)

this at least fixes the build so i can keep going on pvfs. Please review/fix Andrew.
(This used to be commit bffd18d09df04c1e492ef12f744ff4b6c561d53c)

13 years agor3570: Export the user's group list from ntlm_auth, via a new command 'UG'
Andrew Bartlett [Sat, 6 Nov 2004 01:20:28 +0000 (01:20 +0000)]
r3570: Export the user's group list from ntlm_auth, via a new command 'UG'
(user groups).  The form of this is not final, but is this should be a
discussion point with the squid team.

Andrew Bartlett
(This used to be commit cbb0c67d06f75c2d8841a95ba8837124160ffd49)

13 years agor3565: Move PAC parsing into the session_info generation, and out of the
Andrew Bartlett [Fri, 5 Nov 2004 23:26:02 +0000 (23:26 +0000)]
r3565: Move PAC parsing into the session_info generation, and out of the
basic krb5 request path.

The idea is that we should not do the extra work, if we are not going
to use the results.

Andrew Bartlett
(This used to be commit 13a2a9e326c027d76d27ecd08fb9863fe881bf30)

13 years agor3558: We don't seem to need these as [public] any more.
Andrew Bartlett [Fri, 5 Nov 2004 12:53:04 +0000 (12:53 +0000)]
r3558: We don't seem to need these as [public] any more.

Andrew Bartlett
(This used to be commit f1d0bb409a481aeb094c586458f2b05576d2bef8)

13 years agor3557: Use a switch, not a series of if/else if statements.
Andrew Bartlett [Fri, 5 Nov 2004 12:52:09 +0000 (12:52 +0000)]
r3557: Use a switch, not a series of if/else if statements.

Andrew Bartlett
(This used to be commit fb7bc73f581c8b13041a91a115b4932f76b00ca7)

13 years agor3556: Remove --enable-krb5developer and --enable-gtkdeveloper, as the new
Andrew Bartlett [Fri, 5 Nov 2004 12:48:22 +0000 (12:48 +0000)]
r3556: Remove --enable-krb5developer and --enable-gtkdeveloper, as the new
modular headers confine the warnings, and everwhere else we need them.

Use the gcc option to suppress the silly strftime warning.

Andrew Bartlett
(This used to be commit 0bf3c245902da7e2e1a6b03c410d49c79f43edc7)

13 years agor3555: Fix auth_winbind to work with the new auth_util conversion code.
Andrew Bartlett [Fri, 5 Nov 2004 12:46:00 +0000 (12:46 +0000)]
r3555: Fix auth_winbind to work with the new auth_util conversion code.

Andrew Bartlett
(This used to be commit 3215f1c6ce9ec27affa8a7a6f440ef26ad878eae)

13 years agor3554: Use the new talloc_reference changes to simply the conversion of
Andrew Bartlett [Fri, 5 Nov 2004 12:44:18 +0000 (12:44 +0000)]
r3554: Use the new talloc_reference changes to simply the conversion of
returned validation information into the server_info struct.

Also allow for easier expansion to different variations on validation

Andrew Bartlett
(This used to be commit 316b74029cf3e10cf14cffe8ce326a97ef3aec35)

13 years agor3553: Allow talloc_reference to take a NULL pointer for the "ptr" argument.
Andrew Bartlett [Fri, 5 Nov 2004 12:20:27 +0000 (12:20 +0000)]
r3553: Allow talloc_reference to take a NULL pointer for the "ptr" argument.

This allows potentially NULL pointers to be referenced, without an if ()
for every use.  (previously, it would segfault).

Update doco, and allow talloc_unlink to match.

Andrew Bartlett
(This used to be commit 59757c7f9d0e08e3acacfb3116f6205057d5b119)

13 years agor3552: fixed sense of ACL test
Andrew Tridgell [Fri, 5 Nov 2004 12:10:28 +0000 (12:10 +0000)]
r3552: fixed sense of ACL test
(This used to be commit 630af28a0f812b5bafce3ffeb72ebd069b66adac)

13 years agor3551: these utils need system/filesys.h
Andrew Tridgell [Fri, 5 Nov 2004 12:06:36 +0000 (12:06 +0000)]
r3551: these utils need system/filesys.h
(This used to be commit 1b945f9f4bcbb6afb3e531e92cd2e904c92c334e)

13 years agor3550: fixed initial attribute on file create (inlusion of FILE_ATTRIBUTE_ARCHIVE)
Andrew Tridgell [Fri, 5 Nov 2004 11:49:37 +0000 (11:49 +0000)]
r3550: fixed initial attribute on file create (inlusion of FILE_ATTRIBUTE_ARCHIVE)
(This used to be commit b07feaafd16e42e84ba51004a6a9d4a3cb8f9a37)

13 years agor3549: added support for DOS extended attribute lists (name/value pairs)
Andrew Tridgell [Fri, 5 Nov 2004 11:31:35 +0000 (11:31 +0000)]
r3549: added support for DOS extended attribute lists (name/value pairs)
stored in posix xattrs
(This used to be commit bad6a88371264cffce2bf5d6ce904b7b357081de)

13 years agor3548: removed extra net/if.h include
Andrew Tridgell [Fri, 5 Nov 2004 10:53:20 +0000 (10:53 +0000)]
r3548: removed extra net/if.h include
(This used to be commit 1551f211d983398a4f27eaeebdd4bf05f8beb330)

13 years agor3547: fixed waitpid in fcntl_lock.c (thanks to jbm for pointing this out)
Andrew Tridgell [Fri, 5 Nov 2004 10:30:54 +0000 (10:30 +0000)]
r3547: fixed waitpid in fcntl_lock.c (thanks to jbm for pointing this out)
(This used to be commit 864a142409dcf3339343fdff407332629ad07633)

13 years agor3546: including includes.h twice causes gcc 3.4 to crash with pch
Andrew Tridgell [Fri, 5 Nov 2004 09:19:42 +0000 (09:19 +0000)]
r3546: including includes.h twice causes gcc 3.4 to crash with pch
(This used to be commit 51c1c2af687ed351d12e6d933659d94f5925728c)

13 years agor3545: initial support for using extended attributes to hold extended dos attributes...
Andrew Tridgell [Fri, 5 Nov 2004 07:29:02 +0000 (07:29 +0000)]
r3545: initial support for using extended attributes to hold extended dos attributes of files.

I decided to use IDL/NDR to encode the attribute, as it gives us a
simple way to describe and extend the saved attributes.

The xattr code needs to hook into quite a few more places in the pvfs
code, but this at least gets the basics done. I will start encoding
alternate data streams streams, DOS EAs etc soon using the same basic

I'll probably stick to "version 1" for the xattr.idl for quite a while
even though it will be changing, as I don't expect anyone to be
deploying this in production just yet. Once we have production users
we will need to keep compatibility by supporting all the old version
numbers in xattr.idl.
(This used to be commit c54253ed1b7dce1d14f43e747da61089aea87094)

13 years agor3544: fixed some #include lines to make them more consistent
Andrew Tridgell [Fri, 5 Nov 2004 07:24:25 +0000 (07:24 +0000)]
r3544: fixed some #include lines to make them more consistent
(This used to be commit a1a0118bd3f1cae034a1c564d05c3aa8019ff932)

13 years agor3543: fixed some #include lines to make them more consistent, and fixed
Andrew Tridgell [Fri, 5 Nov 2004 07:23:06 +0000 (07:23 +0000)]
r3543: fixed some #include lines to make them more consistent, and fixed
conditional compilation of xattr client code
(This used to be commit 321fb06a627f4deae649ab014bc881721d37b3dd)

13 years agor3542: Re-indent, and fix a use-after-free by doing the talloc_destroy just a
Andrew Bartlett [Fri, 5 Nov 2004 06:56:39 +0000 (06:56 +0000)]
r3542: Re-indent, and fix a use-after-free by doing the talloc_destroy just a
little later.

Andrew Bartlett
(This used to be commit b7c2a4fc34ef09b177508dcf475055523b84587c)

13 years agor3541: Add support (to be verified with the squid team) for the Squid 3.0
Andrew Bartlett [Fri, 5 Nov 2004 04:26:48 +0000 (04:26 +0000)]
r3541: Add support (to be verified with the squid team) for the Squid 3.0
multiplexed helper system.

This system prefixes every request with a number, and we maintian a
state machine for each of these integers.  This means that we can have
multiple outstanding challenges, without the overhead of a whole
ntlm_auth process.

In future, the actual password check will also be async.

Andrew Bartlett
(This used to be commit 9ea34abce384214e35b1b2c5f405c5f91f27d195)

13 years agor3540: added testing of SMBntcancel in the open/open/close mux
Andrew Tridgell [Fri, 5 Nov 2004 02:22:07 +0000 (02:22 +0000)]
r3540: added testing of SMBntcancel in the open/open/close mux
testing. Interestingly, w2k3 does not allow the cancel of an
outstanding async open request, whereas it does allow the cancel of an
outstanding async lock request. To support this I have changed the
pvfs_wait interface to provide a enum on why the event is happening,
so the callback can decide what to do.
(This used to be commit f23d6a28008a13588cde24b5012ec21e488ac47a)

13 years agor3539: much nicer async open delay code.
Andrew Tridgell [Fri, 5 Nov 2004 01:14:06 +0000 (01:14 +0000)]
r3539: much nicer async open delay code.

The previous code didn't handle the case where the file got renamed or
deleted while waiting for the sharing violation delay. To handle this
we need to make the 2nd open a full open call, including the name
resolve call etc. Luckily this simplifies the logic.

I also expanded the RAW-MUX test to include the case where we do
open/open/open/close/close, with the 3rd open async, and that open
gets retried after both the first close and the 2nd close, with the
first retry failing and the 2nd retry working. The tests the "async
reply after a async reply" logic in pvfs_open().
(This used to be commit eded2ad9c91f5ba587ef4f7f5f5a6dceb4b51ff3)

13 years agor3536: Some minor IDL updates/fixes/additions
Jelmer Vernooij [Thu, 4 Nov 2004 23:57:49 +0000 (23:57 +0000)]
r3536: Some minor IDL updates/fixes/additions
(This used to be commit 6fab01df000a126d2d01c41ead952d027f755309)

13 years agor3532: make sharing violation delay in pvfs configurable with "posix:sharedelay ...
Andrew Tridgell [Thu, 4 Nov 2004 13:27:29 +0000 (13:27 +0000)]
r3532: make sharing violation delay in pvfs configurable with "posix:sharedelay = usecs"
(This used to be commit c4758776491e5ed9f5b8c387226d1e75bc70eb2e)

13 years agor3531: add support for RAW_OPEN_MKNEW, RAW_OPEN_CREATE and RAW_OPEN_CTEMP in pvfs
Andrew Tridgell [Thu, 4 Nov 2004 13:15:22 +0000 (13:15 +0000)]
r3531: add support for RAW_OPEN_MKNEW, RAW_OPEN_CREATE and RAW_OPEN_CTEMP in pvfs
(This used to be commit 1d2f0a55c1de01cbbf6552371584847223841bc3)

13 years agor3530: make sure we match ntvfs_async_state_pop() with ntvfs_async_state_push()
Andrew Tridgell [Thu, 4 Nov 2004 12:12:09 +0000 (12:12 +0000)]
r3530: make sure we match ntvfs_async_state_pop() with ntvfs_async_state_push()
(This used to be commit 730ae0600e6c75a7048f7aaf3995604e8cdbba39)

13 years agor3529: fixed signing support for SMBntcancel requests (no reply means seq
Andrew Tridgell [Thu, 4 Nov 2004 11:38:44 +0000 (11:38 +0000)]
r3529: fixed signing support for SMBntcancel requests (no reply means seq
number rises by 1, not 2)
(This used to be commit 201ff734d47cb0c335820f11e2629cb3bd18162f)

13 years agor3528: added support for the SMBntcancel() operation, which cancels any
Andrew Tridgell [Thu, 4 Nov 2004 11:28:38 +0000 (11:28 +0000)]
r3528: added support for the SMBntcancel() operation, which cancels any
outstanding async operation (triggering an immediate timeout).

pvfs now passes the RAW-MUX test
(This used to be commit 3423e2f41461d054067ef168b9b986f62cc8f77c)

13 years agor3527: I hate compiler warnings...
Stefan Metzmacher [Thu, 4 Nov 2004 10:16:53 +0000 (10:16 +0000)]
r3527: I hate compiler warnings...

(This used to be commit d264aacfd5b96c1fdb57fd1b6206835a7526eb3c)

13 years agor3524: Remove unused variable.
Andrew Bartlett [Thu, 4 Nov 2004 08:30:16 +0000 (08:30 +0000)]
r3524: Remove unused variable.

Andrew Bartlett
(This used to be commit a9f57319b8016d7ec379160132f7ea07cb7d5123)

13 years agor3523: removed a useless level 0 DEBUG()
Andrew Tridgell [Thu, 4 Nov 2004 07:37:39 +0000 (07:37 +0000)]
r3523: removed a useless level 0 DEBUG()
(This used to be commit b36967466fea6a67cc35ceaedaf82050705b1a88)

13 years agor3522: added async support to most of the ntvfs_map_*() functions, allowing functions...
Andrew Tridgell [Thu, 4 Nov 2004 07:36:53 +0000 (07:36 +0000)]
r3522: added async support to most of the ntvfs_map_*() functions, allowing functions like
SMBopenx, SMBread and SMBwrite to be performed async
(This used to be commit 9e80eb18ae8c4a4a8cdf2f32f0c869fbbc3832b4)

13 years agor3521: Collect printer driver names in EnumPrinterDrivers.
Tim Potter [Thu, 4 Nov 2004 06:40:28 +0000 (06:40 +0000)]
r3521: Collect printer driver names in EnumPrinterDrivers.
(This used to be commit 86f54db1ef96fbffc6f1c7948d8bc849009a536d)

13 years agor3520: minor portability fix (for struct timeval)
Andrew Tridgell [Thu, 4 Nov 2004 03:21:44 +0000 (03:21 +0000)]
r3520: minor portability fix (for struct timeval)
(This used to be commit ea1ad5897d7023f00931a3102edf9d3393cc216e)

13 years agor3519: Include time headers to fix the build.
Andrew Bartlett [Thu, 4 Nov 2004 02:49:25 +0000 (02:49 +0000)]
r3519: Include time headers to fix the build.

Andrew Bartlett
(This used to be commit d13e2aa89e72c63e552f1b24547abe6fc319ee61)

13 years agor3518: fixed some includes to be consistent.
Andrew Tridgell [Thu, 4 Nov 2004 02:19:25 +0000 (02:19 +0000)]
r3518: fixed some includes to be consistent.

 - use #include <XXX.h> for operating system includes
 - use includes relative to include/ for things like system/wait.h

also fixed the thread backend to work somewhat. To fix it properly we need to do this:

 - add a configure test for support for thread local storage (the __thread keyword)
 - refuse to do pthreads if tls doesn't work
 - refuse to do pthreads if seteuid() affects process instead of thread
 - defined THREAD_LOCAL as __thread when WITH_PTHREADS
 - add THREAD_LOCAL to all the global data structures that should be
   thread local (there are quite a few)

right now the thread backend falls over when you hit it with several
connections at once, due to the lack of __thread on some critical
(This used to be commit 0dc1deabd0b53bc7a6f6cee2ed99e2cbbe422262)

13 years agor3517: Fix the build - Sorry!
Jelmer Vernooij [Thu, 4 Nov 2004 01:50:14 +0000 (01:50 +0000)]
r3517: Fix the build - Sorry!
(This used to be commit a5c9e0a1854fdde14342e6bba511e4190122c2e1)

13 years agor3516: dcerpc_epm_map_binding now checks the endpoints it nows first
Jelmer Vernooij [Thu, 4 Nov 2004 01:25:56 +0000 (01:25 +0000)]
r3516: dcerpc_epm_map_binding now checks the endpoints it nows first
and then possibly does a epm_Map call().
ncacn_np now also uses dcerpc_epm_map_binding()
(This used to be commit 77eec3fa18dbbf4d774ccf04c7a38b0887f26ca6)

13 years agor3515: Fix RemoteActivation correctly this time (-:
Jelmer Vernooij [Thu, 4 Nov 2004 01:09:43 +0000 (01:09 +0000)]
r3515: Fix RemoteActivation correctly this time (-:
Thanks to tridge for some help on this one!
(This used to be commit 1104667190aa144e2c7d79ece9a55502b98d0351)

13 years agor3514: Allow specification of username, password and domain and try to set up connection.
Jelmer Vernooij [Wed, 3 Nov 2004 21:44:18 +0000 (21:44 +0000)]
r3514: Allow specification of username, password and domain and try to set up connection.
(This used to be commit 8076db7a1f9e11c725e481a0bda4dbc354c9612f)

13 years agor3513: Add (the infrastructure for) DCOM support. Contents:
Jelmer Vernooij [Wed, 3 Nov 2004 20:32:28 +0000 (20:32 +0000)]
r3513: Add (the infrastructure for) DCOM support. Contents:
 - Support for sending over the object UUID in DCERPC calls
 - Simple torture test for the DCOM "Simple" object
 - Generate extra argument for "object" interfaces in pidl
 - Some stubs for common DCOM functions
(This used to be commit c052f2e1edd816206d8974af3140cec7ef97a70c)

13 years agor3512: - support DsCrackName GUID strings ('{faedf4f9-0de8-4582-b8b6-c475efefbe5a}')
Stefan Metzmacher [Wed, 3 Nov 2004 16:02:32 +0000 (16:02 +0000)]
r3512: - support DsCrackName GUID strings ('{faedf4f9-0de8-4582-b8b6-c475efefbe5a}')

- resolve the GUID's we got in DsGetDomainControllerInfo in the DsCrackNames test

(This used to be commit f6310695821a7e750dd37936a6145232d81ab413)

13 years agor3511: teh PAC used 8byte alignment
Stefan Metzmacher [Wed, 3 Nov 2004 14:54:05 +0000 (14:54 +0000)]
r3511: teh PAC used 8byte alignment

(This used to be commit 08b26ed7ec41f0575da79858ccd0bf0f9a27b2b2)

13 years agor3510: fix build on SuSE 9.1
Stefan Metzmacher [Wed, 3 Nov 2004 14:51:49 +0000 (14:51 +0000)]
r3510: fix build on SuSE 9.1

(This used to be commit 9cc1ab4eb2d5dd42ca8261c4781dd0168954c069)

13 years agor3509: - comment out a unused var
Stefan Metzmacher [Wed, 3 Nov 2004 13:33:30 +0000 (13:33 +0000)]
r3509: - comment out a unused var

- fix a scalar vs pointer bug

(This used to be commit 8e3f87b9e045d85888e6c34ea60fe16aa67f8686)

13 years agor3508: fix the build
Stefan Metzmacher [Wed, 3 Nov 2004 13:26:58 +0000 (13:26 +0000)]
r3508: fix the build

(tridge: please don't forget this file next time :-)

(This used to be commit 5fec93013ea1ab237ee70feb9923d0913bf951c5)

13 years agor3507: - added deferred replies on sharing violation in pvfs open. The
Andrew Tridgell [Wed, 3 Nov 2004 10:09:48 +0000 (10:09 +0000)]
r3507: - added deferred replies on sharing violation in pvfs open. The
  deferred reply is short-circuited immediately when the file is
  closed by another user, allowing it to be opened by the waiting user.

- added a sane set of timeval manipulation routines

- converted all the events code and code that uses it to use struct
  timeval instead of time_t, which allows for microsecond resolution
  instead of 1 second resolution. This was needed for doing the pvfs
  deferred open code, and is why the patch is so big.
(This used to be commit 0d51511d408d91eb5f68a35e980e0875299b1831)

13 years agor3506: Test EnumPorts function.
Tim Potter [Wed, 3 Nov 2004 06:29:22 +0000 (06:29 +0000)]
r3506: Test EnumPorts function.
(This used to be commit 354068aae16b7e0c13416cfcdf9bdef5138dccc0)

13 years agor3505: #include dynconfig.h
Tim Potter [Wed, 3 Nov 2004 06:12:42 +0000 (06:12 +0000)]
r3505: #include dynconfig.h
(This used to be commit 336eba61e99cd96fe4abc8476b998d079fbb5770)

13 years agor3501: More work towards MGMT support in gepdump
Jelmer Vernooij [Wed, 3 Nov 2004 01:55:21 +0000 (01:55 +0000)]
r3501: More work towards MGMT support in gepdump
(This used to be commit adeb0cd26757078ffe0a4838417169a6e4a67f6f)

13 years agor3500: cleaned up the AS_USER/AS_GUEST stuff in the core smb packet processing
Andrew Tridgell [Wed, 3 Nov 2004 01:50:49 +0000 (01:50 +0000)]
r3500: cleaned up the AS_USER/AS_GUEST stuff in the core smb packet processing
(This used to be commit 8fa456afc9be113f292a1952119b533e4dc04fc1)

13 years agor3499: setting an out param for a non-pointer doesn't do anything (and
Andrew Tridgell [Wed, 3 Nov 2004 01:50:10 +0000 (01:50 +0000)]
r3499: setting an out param for a non-pointer doesn't do anything (and
generated a warning as it was being set to a ptr)
(This used to be commit ba81a48c9d837249765639f237f57f4cd2a32f70)

13 years agor3497: removed some include cruft, and split out librpc/gen_ndr/tables.h
Andrew Tridgell [Wed, 3 Nov 2004 00:38:05 +0000 (00:38 +0000)]
r3497: removed some include cruft, and split out librpc/gen_ndr/tables.h
(This used to be commit 7dd3a5a6dadb0edc4fad56deba84f24b1e6dd2bc)

13 years agor3494: got rid of include/rewrite.h, and split out the dynconfig.h header
Andrew Tridgell [Wed, 3 Nov 2004 00:17:12 +0000 (00:17 +0000)]
r3494: got rid of include/rewrite.h, and split out the dynconfig.h header
(This used to be commit 558de54ec6432a4ae90aa14a585f32c6cd03ced2)

13 years agor3493: fixed a bug in readx reply where the client specifies an invalid high
Andrew Tridgell [Tue, 2 Nov 2004 22:01:11 +0000 (22:01 +0000)]
r3493: fixed a bug in readx reply where the client specifies an invalid high
part of the maxcnt. This caused an allocation failure and server exit.

Note: we need to go back over all the places in the core smb_server
that can cause allocation failures based on user input and fix them to
instead produce a SMB error.

Thanks to Susan for finding this bug.
(This used to be commit 4aed1b7921a3bfef460f8602467ac0dca9561032)

13 years agor3490: All tests work against NT4 now
Jelmer Vernooij [Tue, 2 Nov 2004 19:52:51 +0000 (19:52 +0000)]
r3490: All tests work against NT4 now
(This used to be commit 640e3a8ce865a72b171bdf15c8cf5afc2987a5d3)

13 years agor3489: Add a couple more DCOM tests (Both OxidResolver and RemoteActivation are
Jelmer Vernooij [Tue, 2 Nov 2004 17:38:11 +0000 (17:38 +0000)]
r3489: Add a couple more DCOM tests (Both OxidResolver and RemoteActivation are
completely covered now)
(This used to be commit 06048d0dac60ae04a677786c0bd3df4f516d8034)

13 years agor3488: Start using RemoteActivation
Jelmer Vernooij [Tue, 2 Nov 2004 17:09:06 +0000 (17:09 +0000)]
r3488: Start using RemoteActivation
(This used to be commit b4e81ffc648d30c4c501b168d5e2e562941648ac)

13 years agor3487: RemoteActivation works! The only odd bit is that I get either a
Jelmer Vernooij [Tue, 2 Nov 2004 15:32:58 +0000 (15:32 +0000)]
r3487: RemoteActivation works! The only odd bit is that I get either a
NT_STATUS_BUFFER_TOO_SMALL or a NT_STATUS_NET_WRITE_FAULT if I try other user accounts. Must've got something to do with the auth padding...
(This used to be commit f6f3d312bf43354564a9b0816edc3a13b520192d)

13 years agor3486: Add RemoteActivation server
Jelmer Vernooij [Tue, 2 Nov 2004 14:52:45 +0000 (14:52 +0000)]
r3486: Add RemoteActivation server
(This used to be commit 0987a5fdd6425a85823f57fe5b596bb6c404bce8)

13 years agor3484: - add support for conformant string arrays at the end of a struct
Stefan Metzmacher [Tue, 2 Nov 2004 13:46:39 +0000 (13:46 +0000)]
r3484: - add support for conformant string arrays at the end of a struct

- add support for strings where the length excludes the NULLTERM

(This used to be commit 8251d8b3e5af351972aa41aed63f7a7d2640910e)

13 years agor3483: IRIX 6.4 now builds
Andrew Tridgell [Tue, 2 Nov 2004 12:55:38 +0000 (12:55 +0000)]
r3483: IRIX 6.4 now builds
(This used to be commit 5d1a687ce42b2ca829dc1d82d3465e79ef0ef37c)

13 years agor3482: fixed a warning and an error from the IRIX 6.4 build
Andrew Tridgell [Tue, 2 Nov 2004 12:43:25 +0000 (12:43 +0000)]
r3482: fixed a warning and an error from the IRIX 6.4 build
(This used to be commit 8ec3cf8b2ba149b7d6a15689e9b77685c6da3179)

13 years agor3481: split out client.h and events.h
Andrew Tridgell [Tue, 2 Nov 2004 12:15:17 +0000 (12:15 +0000)]
r3481: split out client.h and events.h
(This used to be commit c6f486574470a311e0d336c026103f131451e21e)

13 years agor3480: moved some signal defines into include/system
Andrew Tridgell [Tue, 2 Nov 2004 11:53:44 +0000 (11:53 +0000)]
r3480: moved some signal defines into include/system
(This used to be commit a954e707ef5b23af84ef8f622336e36379c4a373)

13 years agor3478: split out some more pieces of includes.h
Andrew Tridgell [Tue, 2 Nov 2004 11:42:35 +0000 (11:42 +0000)]
r3478: split out some more pieces of includes.h
(This used to be commit 8e9212ecfc61c509f686363d8ec412ce54bc1c8d)

13 years agor3477: add '--with-disable-ext-lib=LIB' option to be able to disable
Stefan Metzmacher [Tue, 2 Nov 2004 11:31:58 +0000 (11:31 +0000)]
r3477: add '--with-disable-ext-lib=LIB' option to be able to disable
the usage of external libraries.

(works currently only with the pkg-config detected libs)

(This used to be commit 2640f2f57a4d56e07d946d7bb48d2a0ea110d06e)

13 years agor3476: fixed some const warnings
Andrew Tridgell [Tue, 2 Nov 2004 11:17:06 +0000 (11:17 +0000)]
r3476: fixed some const warnings
(This used to be commit 7dc58dc01e19b342df76dcc14ee28ff37a8f9ace)

13 years agor3475: don't pass a ptr to an enum as a ptr to an int (bug found by tcc)
Andrew Tridgell [Tue, 2 Nov 2004 11:16:34 +0000 (11:16 +0000)]
r3475: don't pass a ptr to an enum as a ptr to an int (bug found by tcc)
(This used to be commit a7e5bde6befa8da8fc7447b295d9177126f74964)

13 years agor3474: Add conversion functions for the time_t type.
Tim Potter [Tue, 2 Nov 2004 11:06:00 +0000 (11:06 +0000)]
r3474: Add conversion functions for the time_t type.
(This used to be commit caa563faaa264c41afdb60d64dc9566fcd31518e)

13 years agor3473: Add LIBCRYPTO_OBJS to python extensions.
Tim Potter [Tue, 2 Nov 2004 11:05:25 +0000 (11:05 +0000)]
r3473: Add LIBCRYPTO_OBJS to python extensions.
(This used to be commit f9038ee62f623ea07ca4c320b979e876464dcc96)

13 years agor3472: fixed build of reg_backend_gconf
Andrew Tridgell [Tue, 2 Nov 2004 10:13:26 +0000 (10:13 +0000)]
r3472: fixed build of reg_backend_gconf
(This used to be commit d8a4af5282a1a3002def250f4857469ffb84d183)

13 years agor3471: split out capabilities code from lib/system.c - should fix IRIX 6.5 build
Andrew Tridgell [Tue, 2 Nov 2004 09:59:19 +0000 (09:59 +0000)]
r3471: split out capabilities code from lib/system.c - should fix IRIX 6.5 build
(This used to be commit 34ffcd38a5544173aca85fbcec2f7ebfd5ec1f25)

13 years agor3470: removed some unused functions (should fix the build on IRIX 6.4)
Andrew Tridgell [Tue, 2 Nov 2004 09:55:57 +0000 (09:55 +0000)]
r3470: removed some unused functions (should fix the build on IRIX 6.4)
(This used to be commit b4c727a8dd74c9603a58c019d4be8b423209e04d)

13 years agor3468: split out dcerpc_server.h
Andrew Tridgell [Tue, 2 Nov 2004 07:42:47 +0000 (07:42 +0000)]
r3468: split out dcerpc_server.h
(This used to be commit 729e0026e4408f74f140375537d4fe48c1fc3242)

13 years agor3467: fix the build
Stefan Metzmacher [Tue, 2 Nov 2004 07:29:10 +0000 (07:29 +0000)]
r3467: fix the build

(This used to be commit 324b84d4606b51b24d21db471530dca8c5e5f7ce)

13 years agor3466: split out request.h, signing.h, and smb_server.h
Andrew Tridgell [Tue, 2 Nov 2004 07:18:24 +0000 (07:18 +0000)]
r3466: split out request.h, signing.h, and smb_server.h
(This used to be commit 7c4e6ebf05790dd6e29896dd316db0fff613aa4e)

13 years agor3465: fix SMB_SUBSYSTEM_NOPROTO()
Stefan Metzmacher [Tue, 2 Nov 2004 07:15:37 +0000 (07:15 +0000)]

(This used to be commit e12595a750ea3f5ccc1ca8e628b707c0753394d7)

13 years agor3464: split out registry.h, rap.h and ldap_server.h
Andrew Tridgell [Tue, 2 Nov 2004 06:52:59 +0000 (06:52 +0000)]
r3464: split out registry.h, rap.h and ldap_server.h
(This used to be commit 70d2090f6bf2c7e0caf1e9c020f330de88871f8e)

13 years agor3463: separated out some more headers (asn_1.h, messages.h, dlinklist.h and ioctl.h)
Andrew Tridgell [Tue, 2 Nov 2004 06:42:15 +0000 (06:42 +0000)]
r3463: separated out some more headers (asn_1.h, messages.h, dlinklist.h and ioctl.h)
(This used to be commit b97e395c814762024336c1cf4d7c25be8da5813a)

13 years agor3462: separate out the crypto includes
Andrew Tridgell [Tue, 2 Nov 2004 06:14:15 +0000 (06:14 +0000)]
r3462: separate out the crypto includes
(This used to be commit 3f75117db921e493bb77a5dc14b8ce91a6288f30)

13 years agor3461: another place where "open" was used as a structure element
Andrew Tridgell [Tue, 2 Nov 2004 04:51:57 +0000 (04:51 +0000)]
r3461: another place where "open" was used as a structure element
(This used to be commit 1087ea830e7aead86d54a1836512e88554afc919)

13 years agor3460: Add LIBNDR_GEN_OBJS and LIBNETIF_OBJS to swig objs.
Tim Potter [Tue, 2 Nov 2004 04:26:48 +0000 (04:26 +0000)]
r3460: Add LIBNDR_GEN_OBJS and LIBNETIF_OBJS to swig objs.
(This used to be commit f4c04fcf8f185b966c4ceb455aef4e9e54a98897)

13 years agor3459: Fix cut&paste error in copyright header.
Tim Potter [Tue, 2 Nov 2004 04:22:57 +0000 (04:22 +0000)]
r3459: Fix cut&paste error in copyright header.
(This used to be commit 922ea35a4b6ea02e888a98aee241f1b9f6fca420)

13 years agor3458: more solaris portability fixes, the main one being that we can't use a
Andrew Tridgell [Tue, 2 Nov 2004 04:17:30 +0000 (04:17 +0000)]
r3458: more solaris portability fixes, the main one being that we can't use a
structure element called "open" as its a macro on solaris.
(This used to be commit 4e92e15c4e396b1d8cd211192888fea68c2cf0f9)

13 years agor3457: s_addr is a macro on solaris, so we can't use it in structure names. arrgh.
Andrew Tridgell [Tue, 2 Nov 2004 03:58:27 +0000 (03:58 +0000)]
r3457: s_addr is a macro on solaris, so we can't use it in structure names. arrgh.
(This used to be commit 7842b23d01c53009259a2461600bd01159cecebf)

13 years agor3456: Add appropriate #includes to fix Python extensions build.
Tim Potter [Tue, 2 Nov 2004 03:47:24 +0000 (03:47 +0000)]
r3456: Add appropriate #includes to fix Python extensions build.
(This used to be commit 7e94d5bd3dd7b7055e9b70496207713f94446f98)

13 years agor3455: some more portability fixes. We nearly compile on solaris again now.
Andrew Tridgell [Tue, 2 Nov 2004 03:44:52 +0000 (03:44 +0000)]
r3455: some more portability fixes. We nearly compile on solaris again now.
(This used to be commit 4f33247f1ca60416415a61a7afac43c9dc8a61fd)

13 years agor3454: moved a few more things out if includes.h into the include/system/ include...
Andrew Tridgell [Tue, 2 Nov 2004 03:13:06 +0000 (03:13 +0000)]
r3454: moved a few more things out if includes.h into the include/system/ include files.

this brings us down to about 11k lines of headers included with
includes.h, while still retaining the speed of building with pch
(This used to be commit 10188869ef072309ca580b8b933e172571fcdda7)

13 years agor3453: - split out the auth and popt includes
Andrew Tridgell [Tue, 2 Nov 2004 02:57:18 +0000 (02:57 +0000)]
r3453: - split out the auth and popt includes

- tidied up some of the system includes

- moved a few more structures back from misc.idl to netlogon.idl and samr.idl now that pidl
  knows about inter-IDL dependencies
(This used to be commit 7b7477ac42d96faac1b0ff361525d2c63cedfc64)

13 years agor3450: portability fixes
Andrew Tridgell [Tue, 2 Nov 2004 02:01:04 +0000 (02:01 +0000)]
r3450: portability fixes

 - fix rep_inet_ntoa() for IRIX
 - lib/signal.c needs system/wait.h
 - some systems define a macro "accept", which breaks the lib/socket/ structures.
   use fn_ as a prefix for the structure elements to avoid the problem
(This used to be commit ced1a0fcdc8d8e47755ce4391c19f8b12862eb60)