12 years agor6694: a simple CLDAP torture test
Andrew Tridgell [Tue, 10 May 2005 02:03:47 +0000 (02:03 +0000)]
r6694: a simple CLDAP torture test

interestingly, w2k3 seems to have 4 different varients of the netlogon
cldap response. We decode two of them so far. The other two are tricky
as they aren't distinguished by a command code, they use the same
command codes (0x13 and 0x17) but have quite a different format. Very
(This used to be commit 58f1c39282e281450fe94ceab7ca0a53ec7172e1)

12 years agor6693: first version of cldap client library, with async interface
Andrew Tridgell [Tue, 10 May 2005 02:01:25 +0000 (02:01 +0000)]
r6693: first version of cldap client library, with async interface
(This used to be commit cbeffe830b2d3aee2ba346034548fa273a08f409)

12 years agor6692: used idr_get_new_random() in the nbt client library
Andrew Tridgell [Tue, 10 May 2005 01:59:33 +0000 (01:59 +0000)]
r6692: used idr_get_new_random() in the nbt client library
(This used to be commit a3f64357af75587a855cfedb58ce2583658c7d04)

12 years agor6691: fixed a comment
Andrew Tridgell [Tue, 10 May 2005 01:59:00 +0000 (01:59 +0000)]
r6691: fixed a comment
(This used to be commit a0fa871c3fda9fce7da0b110ed313c930a677a80)

12 years agor6690: added ndr_pull_struct_blob_all(), which is like ndr_pull_struct_blob() but...
Andrew Tridgell [Tue, 10 May 2005 01:58:34 +0000 (01:58 +0000)]
r6690: added ndr_pull_struct_blob_all(), which is like ndr_pull_struct_blob() but checks
that all bytes are consumed
(This used to be commit 7951e9bd647b35d2f92d7ba4dbbc2ac05f31491a)

12 years agor6689: minor ldap client library work
Andrew Tridgell [Tue, 10 May 2005 01:57:47 +0000 (01:57 +0000)]
r6689: minor ldap client library work

 - added support for binary encoded search filters
 - fixed some const handling
 - changed the message type to an enum, to help debugging
(This used to be commit d5353b63428698d1ce95c50e2626f1841fa637e3)

12 years agor6688: removed unused binary_string() function
Andrew Tridgell [Tue, 10 May 2005 01:56:00 +0000 (01:56 +0000)]
r6688: removed unused binary_string() function
(This used to be commit 0b48c69e0b94571173a12714b22d3d5e2af17bcf)

12 years agor6687: added a idr helper function for creating random IDs
Andrew Tridgell [Tue, 10 May 2005 01:55:18 +0000 (01:55 +0000)]
r6687: added a idr helper function for creating random IDs
(This used to be commit ef573df2a012e9a192487f207502ef1027c66d4b)

12 years agor6677: Unused variables.
Tim Potter [Mon, 9 May 2005 02:31:56 +0000 (02:31 +0000)]
r6677: Unused variables.
(This used to be commit 7417f6fa8be637ccf04f8608e67174d6d5624662)

12 years agor6676: Fix unused variable.
Tim Potter [Mon, 9 May 2005 02:29:54 +0000 (02:29 +0000)]
r6676: Fix unused variable.
(This used to be commit 699e0adf4cba1473b48ff38c8043dbc36bc43560)

12 years agor6675: Fix printf warning.
Tim Potter [Mon, 9 May 2005 02:29:22 +0000 (02:29 +0000)]
r6675: Fix printf warning.
(This used to be commit 513fc9c24493e007a9e4d034ca05657897a5eac2)

12 years agor6674: Fix some compiler warnings.
Tim Potter [Mon, 9 May 2005 02:28:27 +0000 (02:28 +0000)]
r6674: Fix some compiler warnings.
(This used to be commit c2c563bf985a8fdd28beacb3dbdf650c11af2fa7)

12 years agor6664: Obey overrided CC in the Makefile
Jelmer Vernooij [Sun, 8 May 2005 13:22:55 +0000 (13:22 +0000)]
r6664: Obey overrided CC in the Makefile
(should fix build on several buildfarm hosts)
(This used to be commit cbd7af4fcf72fd21b2a8ea2ee8f9f61f90f36f03)

12 years agor6663: only use -Wall for gcc
Andrew Tridgell [Sat, 7 May 2005 23:19:44 +0000 (23:19 +0000)]
r6663: only use -Wall for gcc
(This used to be commit b7fbe2173d45456c77fad9673073173704a1b266)

12 years agor6662: add an installcheck target for talloc
Andrew Tridgell [Sat, 7 May 2005 23:14:17 +0000 (23:14 +0000)]
r6662: add an installcheck target for talloc
(This used to be commit 2f78428cfd823b499c60ac3cc02650183b760ef0)

12 years agor6661: fix up talloc autoconf to have a chance of working on the build farm
Andrew Tridgell [Sat, 7 May 2005 22:54:51 +0000 (22:54 +0000)]
r6661: fix up talloc autoconf to have a chance of working on the build farm
(This used to be commit 9318744fd496a829a57fc8e0f21d4b26b1eb74c7)

12 years agor6660: Sorry for the spam... I think now I've got a version that should compile on
Volker Lendecke [Sat, 7 May 2005 22:10:26 +0000 (22:10 +0000)]
r6660: Sorry for the spam... I think now I've got a version that should compile on
trunk, 3_0 and 4_0.

(This used to be commit 777c489cad610fef140ec80d5644111b04a314c1)

12 years agor6650: keep style consistent
Simo Sorce [Sat, 7 May 2005 16:27:56 +0000 (16:27 +0000)]
r6650: keep style consistent
(This used to be commit 34671674ee326ea835408f8c1fdb105ea50ccc55)

12 years agor6645: Add talloc_get_size() function.
Simo Sorce [Sat, 7 May 2005 15:22:45 +0000 (15:22 +0000)]
r6645: Add talloc_get_size() function.
Sometimes it is usefull to know this data.

(This used to be commit df401847827ef660d8b9d55af9b27bb85bad6b5f)

12 years agor6637: Test for asynchronous function and monitor messages.
Rafal Szczesniak [Fri, 6 May 2005 19:36:49 +0000 (19:36 +0000)]
r6637: Test for asynchronous function and monitor messages.

(This used to be commit 4ac3c145fccc203323e3bf8772bccd290a82cf63)

12 years agor6624: I have put monitor function pointer into userinfo call, but I haven't put
Rafal Szczesniak [Fri, 6 May 2005 07:14:33 +0000 (07:14 +0000)]
r6624: I have put monitor function pointer into userinfo call, but I haven't put
any possibility to pass such pointer from calling function... :)

(This used to be commit 08a8878436f3ba21666f43e9abafb27055a02e8a)

12 years agor6622: Add talloc manpage in DocBook XML, based on SGML version by Garry Williams
Jelmer Vernooij [Thu, 5 May 2005 22:31:49 +0000 (22:31 +0000)]
r6622: Add talloc manpage in DocBook XML, based on SGML version by Garry Williams
(This used to be commit 62550eac1e56e95c8080a0519579fd97ee5d465a)

12 years agor6621: Warn when the user is trying to use socket wrapper
Jelmer Vernooij [Thu, 5 May 2005 11:33:10 +0000 (11:33 +0000)]
r6621: Warn when the user is trying to use socket wrapper
while it is not compiled in.
(This used to be commit d63086918ba79307089b3992dc7ed8fc8c6d18a8)

12 years agor6620: the type 23 schannel bind uses a workstation name, not an account name
Andrew Tridgell [Thu, 5 May 2005 11:15:24 +0000 (11:15 +0000)]
r6620: the type 23 schannel bind uses a workstation name, not an account name
(This used to be commit 250f1f69dd719a7981ec4c1698942b31826888d2)

12 years agor6619: realm should not be forced uppercase
Andrew Tridgell [Thu, 5 May 2005 11:14:43 +0000 (11:14 +0000)]
r6619: realm should not be forced uppercase
(This used to be commit 93e70717c7cb6aa591d3d83a70e5df03822fa17c)

12 years agor6618: only print the netlogon packets we receive if it is an unknown packet type
Andrew Tridgell [Thu, 5 May 2005 11:14:12 +0000 (11:14 +0000)]
r6618: only print the netlogon packets we receive if it is an unknown packet type
(This used to be commit 8229fe4dd5f4eb89eb19fa02eedc7f00a31b204e)

12 years agor6617: Let --enable-developer imply --enable-socket-wrapper
Jelmer Vernooij [Thu, 5 May 2005 11:13:16 +0000 (11:13 +0000)]
r6617: Let --enable-developer imply --enable-socket-wrapper
Add socket-wrapper-enabled test target and use that by
default when the socket wrapper was included
(This used to be commit d3b0ad8b4b6f8ee80a9c77e1102960d51ced5a5f)

12 years agor6616: First (and totally untested) approach to monitoring userinfo
Rafal Szczesniak [Wed, 4 May 2005 19:16:22 +0000 (19:16 +0000)]
r6616: First (and totally untested) approach to monitoring userinfo
composite call.

(This used to be commit 227c9fb45bdba5ac795ee14f7e51ccaa18a2a0e1)

12 years agor6615: As usual, I forgot to commit new structure in this file...
Rafal Szczesniak [Wed, 4 May 2005 19:15:24 +0000 (19:15 +0000)]
r6615: As usual, I forgot to commit new structure in this file...

(This used to be commit 3389cfb1354532aad4245b281a5637b58802a276)

12 years agor6614: Basic approach to monitoring messages for composite functions.
Rafal Szczesniak [Wed, 4 May 2005 19:12:04 +0000 (19:12 +0000)]
r6614: Basic approach to monitoring messages for composite functions.

(This used to be commit 47a7a6c3fcfd1ab159a6baa71cd5c7984334fddb)

12 years agor6612: fix the build
Stefan Metzmacher [Wed, 4 May 2005 11:02:18 +0000 (11:02 +0000)]
r6612: fix the build

(This used to be commit a1c7fe2578810d7c2b3c44e8271765468d0fcaee)

12 years agor6611: Add mailslot test program
Jelmer Vernooij [Wed, 4 May 2005 10:44:50 +0000 (10:44 +0000)]
r6611: Add mailslot test program
(This used to be commit fae95f740dde0d5c7268367a35d6f042e9f5f724)

12 years agor6610: Fix a const warning in the gensec spnego implementation. (A make proto
Tim Potter [Wed, 4 May 2005 06:24:53 +0000 (06:24 +0000)]
r6610: Fix a const warning in the gensec spnego implementation.  (A make proto
is required after updating to this version).
(This used to be commit 258d03ef9248b2827db18269e4f0883c73839084)

12 years agor6609: remove double entry for [BINARY::getntacl]
Stefan Metzmacher [Tue, 3 May 2005 16:24:22 +0000 (16:24 +0000)]
r6609: remove double entry for [BINARY::getntacl]

(This used to be commit 55c9746da847d053d0c5a1b599da24af0a9e4b71)

12 years agor6607: fix the build
Stefan Metzmacher [Tue, 3 May 2005 15:54:47 +0000 (15:54 +0000)]
r6607: fix the build

(This used to be commit 7fb10f2753f4acd7d86928b601139137af4be7b5)

12 years agor6606: add a DCESRV_FAULT_VOID() marco to use in void functions
Stefan Metzmacher [Tue, 3 May 2005 15:38:19 +0000 (15:38 +0000)]
r6606: add a DCESRV_FAULT_VOID() marco to use in void functions

(This used to be commit a379836de63951bcfbc281425af3db7094248f2f)

12 years agor6604: solved a memory hierarchy ordering problem that led to crashes on
Andrew Tridgell [Tue, 3 May 2005 15:15:34 +0000 (15:15 +0000)]
r6604: solved a memory hierarchy ordering problem that led to crashes on
ncacn_ip_tcp and ncalrpc for the standard process model.

Thanks to Jelmer for noticing this bug!
(This used to be commit 81863cdd8bba0d4e39a1b4dc7e6dd7e6cafb38cf)

12 years agor6603: More work on the samdump puzzle. This implements a function pointer
Andrew Bartlett [Tue, 3 May 2005 14:38:14 +0000 (14:38 +0000)]
r6603: More work on the samdump puzzle.  This implements a function pointer
callback interface, so we can start dumping into more than just stdout

Also use the enums instead of uint32 where possible and valid.

Andrew Bartlett
(This used to be commit f0c67a4a24dbd7fc32fc864d61a21eeee587178e)

12 years agor6600: Rework of the GTK credentials system; the credentials information is
Jelmer Vernooij [Tue, 3 May 2005 13:46:49 +0000 (13:46 +0000)]
r6600: Rework of the GTK credentials system; the credentials information is
now in a seperate (optional) dialog rather then in the binding dialog; also
supports specifying anonymous connections (which we didn't before).
(This used to be commit 8671e1a1fa8ef416c1819f811653eff190d3074a)

12 years agor6599: Fix formating using 'linux' C style
Alexander Bokovoy [Tue, 3 May 2005 13:02:14 +0000 (13:02 +0000)]
r6599: Fix formating using 'linux' C style
Fix memory handling for blkid caches which need to be cleared when session is
(This used to be commit c623cc60541f747f0a801eb77d97bb0a3bb6956f)

12 years agor6598: Make it easy to point the at remote servers, without
Andrew Bartlett [Tue, 3 May 2005 12:34:59 +0000 (12:34 +0000)]
r6598: Make it easy to point the at remote servers, without
trying to find it on ncaclrpc at well.

Andrew Bartlett
(This used to be commit db0aa1c4b7b0a8d28b7e5ebe35162dcea8dc0f8e)

12 years agor6597: Make use of libblkid (part of e2fsprogs) for reporting volume GUID, if possible.
Alexander Bokovoy [Tue, 3 May 2005 09:57:34 +0000 (09:57 +0000)]
r6597: Make use of libblkid (part of e2fsprogs) for reporting volume GUID, if possible.
Implement smbclient's 'fsinfo' comand family which allows you to query file
system information in all known levels.
(This used to be commit 660d6e3915d0539dd78c77df6707ea84edb4d509)

12 years agor6592: Throw an IOError exception if tdb_open() or tdb_open_Ex() returns NULL.
Tim Potter [Tue, 3 May 2005 07:10:46 +0000 (07:10 +0000)]
r6592: Throw an IOError exception if tdb_open() or tdb_open_Ex() returns NULL.
(This used to be commit 99fb6b6badf1afeac21fdb5f1ce04c1749e1b7f7)

12 years agor6591: Add some comments.
Tim Potter [Tue, 3 May 2005 06:11:12 +0000 (06:11 +0000)]
r6591: Add some comments.

Use SWIG %rename to get rid of prefix on every tdb function.

Treat mode_t as an int so we can actually pass a mode argument to
(This used to be commit 0abd03f70c5c63a915086eaf6e3a25b3087769bc)

12 years agor6590: Remove bogus library versioning variables from swig wrappers.
Tim Potter [Tue, 3 May 2005 01:48:50 +0000 (01:48 +0000)]
r6590: Remove bogus library versioning variables from swig wrappers.
(This used to be commit 83a125ce576b1be613e010a5c9b4257f25909b05)

12 years agor6589: Make the library versioning options for building a shared library optional.
Tim Potter [Tue, 3 May 2005 01:48:24 +0000 (01:48 +0000)]
r6589: Make the library versioning options for building a shared library optional.
This will allow us to build unversioned libraries suitable for loading
using dlopen() i.e for the swig wrappers.
(This used to be commit 3feac34d84fa7cac646a90708f399420178c7313)

12 years agor6582: Remove the hack that metze needed because Samba4 didn't have a samdump
Andrew Bartlett [Mon, 2 May 2005 16:02:52 +0000 (16:02 +0000)]
r6582: Remove the hack that metze needed because Samba4 didn't have a samdump

Andrew Bartlett
(This used to be commit adb5a3093ea3ab82e01f488ea780106fee98733b)

12 years agor6581: improved the error message for RAW-LOCK timeouts
Andrew Tridgell [Mon, 2 May 2005 16:00:18 +0000 (16:00 +0000)]
r6581: improved the error message for RAW-LOCK timeouts
(This used to be commit 13ab07214e33e16d873befb3c34ed149d11a09ab)

12 years agor6580: fixed the bug that caused the truncation of the main file on a stream
Andrew Tridgell [Mon, 2 May 2005 15:59:34 +0000 (15:59 +0000)]
r6580: fixed the bug that caused the truncation of the main file on a stream
open with openx and the 'truncate if exists' flag
(This used to be commit aa82b105d5871b3ca693a0757bb48cc589d88824)

12 years agor6579: improved the handling of lock timeouts and cancels in the pvfs locking
Andrew Tridgell [Mon, 2 May 2005 15:58:54 +0000 (15:58 +0000)]
r6579: improved the handling of lock timeouts and cancels in the pvfs locking
code. On lock cancel don't retry the lock.
(This used to be commit dffeb3c3d44d1b837a6036c47eb809ce1bd53b22)

12 years agor6578: brown paper bag time with the new messaging code ....
Andrew Tridgell [Mon, 2 May 2005 15:58:03 +0000 (15:58 +0000)]
r6578: brown paper bag time with the new messaging code ....
(This used to be commit d465ff67bd10340ecd46480039f483daa82c7ebe)

12 years agor6577: Make test works without installation now.
Jelmer Vernooij [Mon, 2 May 2005 15:19:25 +0000 (15:19 +0000)]
r6577: Make test works without installation now.
Running as a non-root user using socket_wrapper is possible by simple
export SOCKET_WRAPPER_DIR before running 'make test'
(This used to be commit 6d93fcc407cfd98e42045c65456cfb0c45f0ff1a)

12 years agor6574: send a value for embedded ref pointers,
Stefan Metzmacher [Mon, 2 May 2005 14:53:19 +0000 (14:53 +0000)]
r6574: send a value for embedded ref pointers,
(this fixes the doublepointer test against w2k3)

but we accept zero pointers on the receive side,
because it's used in DRSUAPI

(This used to be commit 748ab5449bcc5b47f5ceaa83277bf8084c44ec56)

12 years agor6573: Start on my project to implement an NT4 compatible BDC in Samba4.
Andrew Bartlett [Mon, 2 May 2005 14:17:19 +0000 (14:17 +0000)]
r6573: Start on my project to implement an NT4 compatible BDC in Samba4.

This brings in a compatability layer for Samba3 in Samba4 - where we
will start to define file formats and similar details.

The 'net samdump' command uses 'password server = ' for now, and
performs a similar task to Samba3's 'net rpc samsync'.

Andrew Bartlett
(This used to be commit 550f17f9924fe783917318753de7d1a388423908)

12 years agor6572: add "string_array" as new scalar type for handling SPOOLSS string array's
Stefan Metzmacher [Mon, 2 May 2005 13:37:05 +0000 (13:37 +0000)]
r6572: add "string_array" as new scalar type for handling SPOOLSS string array's

(This used to be commit 23b529ee090e1858fc18794b949f7e466fa82b0e)

12 years agor6571: create a simple smb.conf by
Stefan Metzmacher [Mon, 2 May 2005 12:34:44 +0000 (12:34 +0000)]
r6571: create a simple smb.conf by

(This used to be commit af16ecb7ac6015b2f7fa70fc73e1ab69776c8079)

12 years agor6568: Some more small 'make test' fixes
Jelmer Vernooij [Mon, 2 May 2005 09:44:59 +0000 (09:44 +0000)]
r6568: Some more small 'make test' fixes
(This used to be commit 02160c991a7e9bef2fabfe338a772e32679edf5d)

12 years agor6567: Use "real" prefix for 'make test'
Jelmer Vernooij [Sun, 1 May 2005 20:55:55 +0000 (20:55 +0000)]
r6567: Use "real" prefix for 'make test'
(This used to be commit 195753b6afe3115762bcc4d579bc4a9f1c45af75)

12 years agor6565: Cludge, cludge, cludge...
Andrew Bartlett [Sun, 1 May 2005 19:29:00 +0000 (19:29 +0000)]
r6565: Cludge, cludge, cludge...

We need to pass the 'secure channel type' to the NETLOGON layer, which
must match the account type.

(Yes, jelmer objects to this inclusion of the kitchen sink ;-)

Andrew Bartlett
(This used to be commit 8ee208a926d2b15fdc42753b1f9ee586564c6248)

12 years agor6564: - Fix bug in socket_wrapper
Jelmer Vernooij [Sun, 1 May 2005 19:08:35 +0000 (19:08 +0000)]
r6564: - Fix bug in socket_wrapper
- Add options --quiet and --outputdir options to the provisioning script
- Add simple 'make test' and 'make test-swrap'
(This used to be commit 7d2d4a57e0e58a51c76c2e86ea447e81a1d79544)

12 years agor6563: - fixed the local messaging torture test not to fork, as this causes
Andrew Tridgell [Sun, 1 May 2005 18:51:16 +0000 (18:51 +0000)]
r6563: - fixed the local messaging torture test not to fork, as this causes
  trouble with the epoll() based event handling

- changes the test to use a local directory instead of the prefix lock
  directory, so the LOCAL-MESSAGING test can run as non-root even when
  the lock directory is not writeable
(This used to be commit 079e1f4e85832f8d14ac385511ff67473e139ca1)

12 years agor6562: added support for datagram unix domain sockets in the socket library
Andrew Tridgell [Sun, 1 May 2005 18:49:43 +0000 (18:49 +0000)]
r6562: added support for datagram unix domain sockets in the socket library
(This used to be commit 23b2046dcb5c4593cba6964f400a2e5246fb35f7)

12 years agor6561: re-did the internal message system based on DGRAM unix domain
Andrew Tridgell [Sun, 1 May 2005 18:49:07 +0000 (18:49 +0000)]
r6561: re-did the internal message system based on DGRAM unix domain
sockets. This gains us about 40% in messaging speed.
(This used to be commit f244a64ed537447e44229172427b5b6a5c64800c)

12 years agor6560: added a tdb_chainlock_read() call in ldb_search(). This guarantees
Andrew Tridgell [Sun, 1 May 2005 12:34:12 +0000 (12:34 +0000)]
r6560: added a tdb_chainlock_read() call in ldb_search(). This guarantees
that ldb_search() sees a single consistent view of the database (by
blocking writes during a ldb_search)
(This used to be commit 917f2a8a073fd501f0626bea4f9deb91b95fdc90)

12 years agor6557: make srvsvc available on ncalrpc and ncacn_ip_tcp so we can do each
Andrew Tridgell [Sun, 1 May 2005 10:18:58 +0000 (10:18 +0000)]
r6557: make srvsvc available on ncalrpc and ncacn_ip_tcp so we can do each
comparitive benchmarks
(This used to be commit d4e702da77be0e96198fc1585fa7858717d236a6)

12 years agor6556: added BENCH-RPC test, useful for simple rpc load testing
Andrew Tridgell [Sun, 1 May 2005 10:18:19 +0000 (10:18 +0000)]
r6556: added BENCH-RPC test, useful for simple rpc load testing
(This used to be commit d1e0b7a2e3078c9cc1baff2fd17222ebae94ada7)

12 years agor6549: a simple ldap test script
Andrew Tridgell [Sun, 1 May 2005 09:58:27 +0000 (09:58 +0000)]
r6549: a simple ldap test script
(This used to be commit e2f5d36e47cab2e9bc199b743ab6d5a040e6e175)

12 years agor6546: Fix ldb standalone build
Jelmer Vernooij [Sun, 1 May 2005 09:04:51 +0000 (09:04 +0000)]
r6546: Fix ldb standalone build
Add autoconf to tdb
(This used to be commit 95fed657f458a856feec2fb256edd642e4179979)

12 years agor6545: some notes and experiments on ref ptrs, testing with midl
Andrew Tridgell [Sun, 1 May 2005 08:52:41 +0000 (08:52 +0000)]
r6545: some notes and experiments on ref ptrs, testing with midl
(This used to be commit 87d3d55bd38ddcdbf42a920c65b5cf94649ca607)

12 years agor6544: Use common structures between SAMR, NETLGON and the Krb5 PAC.
Andrew Bartlett [Sun, 1 May 2005 08:05:17 +0000 (08:05 +0000)]
r6544: Use common structures between SAMR, NETLGON and the Krb5 PAC.

Fill out the group list for the SamLogon reply, so clients get the
supplementary groups.

Andrew Bartlett
(This used to be commit d9c31e60a72c345e3a23a7eb742906bcfc18721c)

12 years agor6541: added double pointer test to win32 echo client
Andrew Tridgell [Sun, 1 May 2005 06:55:39 +0000 (06:55 +0000)]
r6541: added double pointer test to win32 echo client
(This used to be commit cb4e07744d87970719c69f8553900efa507589ce)

12 years agor6540: Implement a bunch more SAMR functions.
Tim Potter [Sun, 1 May 2005 02:40:00 +0000 (02:40 +0000)]
r6540: Implement a bunch more SAMR functions.
(This used to be commit 7ab240644ec6cfd0449df7e2dfe0eb1b8a52ccdb)

12 years agor6539: A patch from jbm:
Tim Potter [Sun, 1 May 2005 01:31:23 +0000 (01:31 +0000)]
r6539: A patch from jbm:

  - convert rpcclient to new credential code
  - allow anonymous connections
(This used to be commit f40977c42145e202ddfe50c9a7daad624b06cc59)

12 years agor6538: Somehow building shared libraries was broken. Either AC_CANONICAL_HOST
Tim Potter [Sun, 1 May 2005 00:00:37 +0000 (00:00 +0000)]
r6538: Somehow building shared libraries was broken.  Either AC_CANONICAL_HOST
or AC_CANONICAL_SYSTEM needs to be called in order for $host_os to be
(This used to be commit d05cb53399d98804fd8590c10a3db43deb53180a)

12 years agor6534: Patch from lieschen to fix our vital user creation tools :-)
Andrew Bartlett [Sat, 30 Apr 2005 12:30:36 +0000 (12:30 +0000)]
r6534: Patch from lieschen to fix our vital user creation tools :-)

Andrew Bartlett
(This used to be commit 1a1f0bd33c8e9ad89df0073aa9c2e42822ec7903)

12 years agor6531: fixed gentest with new credentials code
Andrew Tridgell [Sat, 30 Apr 2005 09:59:17 +0000 (09:59 +0000)]
r6531: fixed gentest with new credentials code
(This used to be commit 3e610e3952867658a59424301a6ef0573e0a0c1f)

12 years agor6530: the server ID of a connection in the single process model should be
Andrew Tridgell [Sat, 30 Apr 2005 09:54:58 +0000 (09:54 +0000)]
r6530: the server ID of a connection in the single process model should be
based on the new socket fd, not the listening socket!

this fixes locktest with -M single
(This used to be commit 3e1b2742db818629fb79d12d40279db8dd575279)

12 years agor6529: fixed locktest with new credentials code
Andrew Tridgell [Sat, 30 Apr 2005 09:47:32 +0000 (09:47 +0000)]
r6529: fixed locktest with new credentials code
(This used to be commit 70b4a687c01a05b752438f39146ad0a240c976d5)

12 years agor6528: - in tdb_fetch() we effectively disallowed zero length records by
Andrew Tridgell [Sat, 30 Apr 2005 09:04:14 +0000 (09:04 +0000)]
r6528: - in tdb_fetch() we effectively disallowed zero length records by
  returning NULL/0, which is the same as we used for a failure. Having
  to look at tdb->ecode (which we never do) is too error prone.

  Instead, tdb_fetch() should behave like malloc() and talloc(), where
  zero length is not special and malloc(0) returns a valid pointer.

- similarly in data_blob(), asking for data_blob(NULL, 0) should
  return a zero blob, but asking for data_blob(ptr, 0) should return a
  zero length blob with a valid pointer, just like talloc() and malloc()

This change fixes the SummaryInformation stream stored in the tdb
backend when manipulated from w2k. The w2k client was using
SET_EOF_INFORMATION to create a zero-length stream, which we return
STATUS_NOT_FOUND on, as the tdb_fetch() gave us back a NULL/0 blob,
which we returned as not-found
(This used to be commit 162bbe4402b9de6ac06103df904b9fc204fbff29)

12 years agor6527: Resurrect getntacl utility program. At the moment we only display the
Tim Potter [Sat, 30 Apr 2005 08:38:32 +0000 (08:38 +0000)]
r6527: Resurrect getntacl utility program.  At the moment we only display the
output of ndr_print_xattr_NTACL() to stdout.
(This used to be commit b32c159c384c988385f13bbb16e610d825820e18)

12 years agor6526: Rename this RPC fault. Everybody else calls this ACCESS_DENIED, and
Andrew Bartlett [Sat, 30 Apr 2005 08:17:13 +0000 (08:17 +0000)]
r6526: Rename this RPC fault.  Everybody else calls this ACCESS_DENIED, and
it certainly doesn't make sense as LOGON_FAILURE.

Andrew Bartlett
(This used to be commit 4bec3d3f378ed8b988e00441c9bb5718b8548ba6)

12 years agor6525: Remove incorrect comment.
Andrew Bartlett [Sat, 30 Apr 2005 08:15:44 +0000 (08:15 +0000)]
r6525: Remove incorrect comment.

Andrew Bartlett
(This used to be commit 7c8a0d86d4c486198ed2cf52fad2a878ed635c8b)

12 years agor6524: Fix the error we print when the RPC-ECHO test fails.
Andrew Bartlett [Sat, 30 Apr 2005 08:14:33 +0000 (08:14 +0000)]
r6524: Fix the error we print when the RPC-ECHO test fails.

Andrew Bartlett
(This used to be commit 4fc2a056cd38de7b3e2bc972958b5c104ba57ba7)

12 years agor6523: Another string that isn't filled in. I wonder why this is, but for
Andrew Bartlett [Sat, 30 Apr 2005 08:13:39 +0000 (08:13 +0000)]
r6523: Another string that isn't filled in.  I wonder why this is, but for
now don't fail the test.

Andrew Bartlett
(This used to be commit 437aabf15ef7c5eead4bec45eb7e10a77f392b84)

12 years agor6522: I have no idea why this change was made, but it not only breaks
Andrew Bartlett [Sat, 30 Apr 2005 08:09:47 +0000 (08:09 +0000)]
r6522: I have no idea why this change was made, but it not only breaks
connections to Win2k3, it doesn't match the well-known behaviour from

Andrew Bartlett
(This used to be commit 99c9afe45a345e78d7492fe01463922460d66e99)

12 years agor6521: Include system/network.h to fix compiler warning.
Tim Potter [Sat, 30 Apr 2005 04:46:54 +0000 (04:46 +0000)]
r6521: Include system/network.h to fix compiler warning.
(This used to be commit 45383f6cec3c380043be59f1e1c5bf82f3095abb)

12 years agor6520: Fix unused variable warning.
Tim Potter [Sat, 30 Apr 2005 04:46:17 +0000 (04:46 +0000)]
r6520: Fix unused variable warning.
(This used to be commit 36de31a63189dcc6126dd0c10b1af8d183d8c235)

12 years agor6519: move string handling functions to a seperate file
Stefan Metzmacher [Fri, 29 Apr 2005 19:16:39 +0000 (19:16 +0000)]
r6519: move string handling functions to a seperate file

(This used to be commit a29d52817ce943c15f6896b74273df739867c8f7)

12 years agor6518: fix formatting
Stefan Metzmacher [Fri, 29 Apr 2005 19:15:19 +0000 (19:15 +0000)]
r6518: fix formatting

(This used to be commit 44f943f88111c5bb913a97e652041c701a78849a)

12 years agor6517: this line should be removed in the last patch, (I readded it just for testing...)
Stefan Metzmacher [Fri, 29 Apr 2005 19:01:18 +0000 (19:01 +0000)]
r6517: this line should be removed in the last patch, (I readded it just for testing...)

(This used to be commit 41316e7f1b8361fb7ff220e2b9faa683a4951850)

12 years agor6516: use only one list of scalar types and make "string" just a simple scalar type...
Stefan Metzmacher [Fri, 29 Apr 2005 18:31:39 +0000 (18:31 +0000)]
r6516: use only one list of scalar types and make "string" just a simple scalar type (mostly)

(This used to be commit ba1686e31a0d70a1fddabf4289d20fa8fe13b566)

12 years agor6513: Commit talloc_free_children.
Volker Lendecke [Thu, 28 Apr 2005 14:54:17 +0000 (14:54 +0000)]
r6513: Commit talloc_free_children.

(This used to be commit 9fa26d2c971a7baee64d8938e31909cac80f0e5a)

12 years agor6512: Refactor samr torture test to use the nicer OO interface instead of the
Tim Potter [Thu, 28 Apr 2005 07:52:32 +0000 (07:52 +0000)]
r6512: Refactor samr torture test to use the nicer OO interface instead of the
previous dictionary based SWIG interface (which was broken anyway).
(This used to be commit 16b7e503bdbe4da96158e504790b1501a99d6db3)

12 years agor6511: Implement GetUserPwInfo(), QueryUserInfo(), QueryUserInfo2().
Tim Potter [Thu, 28 Apr 2005 07:51:41 +0000 (07:51 +0000)]
r6511: Implement GetUserPwInfo(), QueryUserInfo(), QueryUserInfo2().
(This used to be commit f9742de617b6f1f24b75ae5af18a476f03c0b732)

12 years agor6510: Initialise rid parameter in samr_RidToSid(). This is faulting for me
Tim Potter [Thu, 28 Apr 2005 07:44:49 +0000 (07:44 +0000)]
r6510: Initialise rid parameter in samr_RidToSid().  This is faulting for me
on win2k - not sure why.

Add dodgy implementations of QueryDisplayInfo{,2,3}()
(This used to be commit 2e44402751f77fcbd9c89299d8533e91207de49f)

12 years agor6509: fixed a crash bug found by in RPC-RAP test
Andrew Tridgell [Thu, 28 Apr 2005 07:30:36 +0000 (07:30 +0000)]
r6509: fixed a crash bug found by in RPC-RAP test
(the call freed the memory it used to fill in the result structure)
(This used to be commit b352ef1a4282ddadf85e635112ff51dc3222a854)

12 years agor6508: Fix typo - yay testsuite.
Tim Potter [Thu, 28 Apr 2005 07:22:21 +0000 (07:22 +0000)]
r6508: Fix typo - yay testsuite.
(This used to be commit 61da936dbc491d0ec2d733d9ba155c3df01b8847)

12 years agor6507: Fix syntax error in GetAliasMembership().
Tim Potter [Thu, 28 Apr 2005 07:05:48 +0000 (07:05 +0000)]
r6507: Fix syntax error in GetAliasMembership().

Implement SetDomainInfo() which got lost somehow.
(This used to be commit 3055addde60687acdcf4e92dcb08e7f8dfdfb8f1)

12 years agor6506: Rename parameter to GetDomPwInfo.
Tim Potter [Thu, 28 Apr 2005 06:36:00 +0000 (06:36 +0000)]
r6506: Rename parameter to GetDomPwInfo.
(This used to be commit 1542a13493bb9bf33d5f09dca273957bb4333862)

12 years agor6504: Fix incorrect value for SERVICE_STATE_ALL found by Karl Melcher.
Tim Potter [Thu, 28 Apr 2005 00:51:57 +0000 (00:51 +0000)]
r6504: Fix incorrect value for SERVICE_STATE_ALL found by Karl Melcher.
(This used to be commit f7051365584f536e4b4df20157019272c26d0e33)