13 years agor12589: Add missing newline.
Jelmer Vernooij [Thu, 29 Dec 2005 21:57:08 +0000 (21:57 +0000)]
r12589: Add missing newline.
(This used to be commit 86fe24e606c72a21853b8f2cd0989bb1598ebf6a)

13 years agor12584: Move NDR tests from rpc/ to local/, add to list of tests
Jelmer Vernooij [Thu, 29 Dec 2005 20:35:56 +0000 (20:35 +0000)]
r12584: Move NDR tests from rpc/ to local/, add to list of tests
to run for 'make all'
(This used to be commit e71cd4778b9a872642619452e574f510e2491052)

13 years agor12580: return the first 0x1B address as first address to 0x1C queries
Stefan Metzmacher [Thu, 29 Dec 2005 18:54:16 +0000 (18:54 +0000)]
r12580: return the first 0x1B address as first address to 0x1C queries

(This used to be commit 669009579dfe93b4d5008f93c2949dd4d929baf4)

13 years agor12578: - w2k3 allows entries with as address, so we should do
Stefan Metzmacher [Thu, 29 Dec 2005 17:03:17 +0000 (17:03 +0000)]
r12578: - w2k3 allows entries with as address, so we should do
  to make it possible to add a static record for localhost or so...
- we already make sure we don't register with our wins server,
  so the check for loopback in the non-wins name queries is enough

(This used to be commit f68a883daf4c792e95f7a4be9e7d00e82cc0517b)

13 years agor12577: filter the loopback addresses like this 127.*.*.* and not only
Stefan Metzmacher [Thu, 29 Dec 2005 16:58:35 +0000 (16:58 +0000)]
r12577: filter the loopback addresses like this 127.*.*.* and not only

(This used to be commit 3b32d8b6b6565d8c5b3f7e653fdc385cc8cb96ef)

13 years agor12574: Bring back to life and move registration of interfaces
Jelmer Vernooij [Thu, 29 Dec 2005 16:04:34 +0000 (16:04 +0000)]
r12574: Bring back to life and move registration of interfaces
now completely to a new subsystem.
(This used to be commit bbacfaaea5819e0ecadf81e8fbb424916284c809)

13 years agor12573: Update README to recent changes in pidls namespace
Jelmer Vernooij [Thu, 29 Dec 2005 16:03:47 +0000 (16:03 +0000)]
r12573: Update README to recent changes in pidls namespace
(This used to be commit 33012dc015c837d4cbb61207ad8d3b5a8ad37c02)

13 years agor12572: No longer parse coclasses as interfaces
Jelmer Vernooij [Thu, 29 Dec 2005 16:03:03 +0000 (16:03 +0000)]
r12572: No longer parse coclasses as interfaces
(This used to be commit f75f757b621a46ea531c27ac682623829a4fdea7)

13 years agor12568: Fix rename (noted by Steinar Gunderson)
Jelmer Vernooij [Thu, 29 Dec 2005 13:36:53 +0000 (13:36 +0000)]
r12568: Fix rename (noted by Steinar Gunderson)
(This used to be commit 1c26c63c855120ef694f59980965faee3c6ccbc4)

13 years agor12559: use the selftest_prefix, we should use this for all make test output,
Stefan Metzmacher [Thu, 29 Dec 2005 07:40:54 +0000 (07:40 +0000)]
r12559: use the selftest_prefix, we should use this for all make test output,
(e.g. the pidl tests and tdbtests, tridge, jelmer can you look at this)
to not polute the source/ directory with a lot of files

(This used to be commit 4636f9ee7d066f5e24393f94644dbf74c42b9039)

13 years agor12558: Support [flag(NULLTERM)] on [charset()] arrays
Jelmer Vernooij [Thu, 29 Dec 2005 01:43:11 +0000 (01:43 +0000)]
r12558: Support [flag(NULLTERM)] on [charset()] arrays
(This used to be commit 2e5a6eb219feab3208f63d727340a852bfdb0b3f)

13 years agor12556: added 'make gdbtest'
Andrew Tridgell [Wed, 28 Dec 2005 22:49:02 +0000 (22:49 +0000)]
r12556: added 'make gdbtest'

this runs smbd under gdb in a xterm, and starts the quicktest
tests. Then you can set a breakpoint on an interesting place. This
makes it easier to track down where something is happening in the test
suite (I used it to find the NTLMSSP annoyance from the previous
(This used to be commit 2c3b7585c76d13107d1b0d31aebef961627cdbc3)

13 years agor12554: get rid of the pesky NTLMSSP warnings about being called after processing...
Andrew Tridgell [Wed, 28 Dec 2005 22:47:22 +0000 (22:47 +0000)]
r12554: get rid of the pesky NTLMSSP warnings about being called after processing is finished
(This used to be commit ca6ae1afa0a8a105ab09199425f308c9ae85902f)

13 years agor12553: Steal the error string onto this context, so that the caller doesn't
Andrew Bartlett [Wed, 28 Dec 2005 22:43:12 +0000 (22:43 +0000)]
r12553: Steal the error string onto this context, so that the caller doesn't
have to think about exactly what the right context to hang it of is.

Andrew Bartlett
(This used to be commit b1c8adcfe16c72252b0312e65676edcdbe472f09)

13 years agor12552: Remove use of Test::Harness - we're not printing the result summaries
Jelmer Vernooij [Wed, 28 Dec 2005 22:40:33 +0000 (22:40 +0000)]
r12552: Remove use of Test::Harness - we're not printing the result summaries
on success anyway. Instead, call the scripts directly.
(This used to be commit a83a38eab29cc289e53b1f9790a61e61d684f547)

13 years agor12551: fixed oplock serialisation problem in gentest as well
Andrew Tridgell [Wed, 28 Dec 2005 22:31:26 +0000 (22:31 +0000)]
r12551: fixed oplock serialisation problem in gentest as well
(This used to be commit 2055f978214c1a2732433efe38ebc0fb70ec4e70)

13 years agor12550: - fixed 'make pch' to always rebuild the gch file. The dependencies
Andrew Tridgell [Wed, 28 Dec 2005 22:23:24 +0000 (22:23 +0000)]
r12550: - fixed 'make pch' to always rebuild the gch file. The dependencies
  were wrong, and we were using old gch files after include changes,
  so safest to just rebuild when the user specifically asks for 'make

- fixed deps for includes.h so 'make pch' can work after a clean build

- changed 'make valgrindtest' to run valgrind on both client and
  server binaries
(This used to be commit d39c749c71d66dd21e37cdaa75daaaeab5f4be0a)

13 years agor12549: fixed the problem with serialisation and the RAW-OPLOCK test
Andrew Tridgell [Wed, 28 Dec 2005 22:18:45 +0000 (22:18 +0000)]
r12549: fixed the problem with serialisation and the RAW-OPLOCK test
(This used to be commit ad3b8286636f4101fa6528cb447aeeb7ee7507a4)

13 years agor12542: Move some more prototypes out to seperate headers
Jelmer Vernooij [Wed, 28 Dec 2005 15:38:36 +0000 (15:38 +0000)]
r12542: Move some more prototypes out to seperate headers
(This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)

13 years agor12540: Provide more information in the ldb error string.
Andrew Bartlett [Wed, 28 Dec 2005 11:34:19 +0000 (11:34 +0000)]
r12540: Provide more information in the ldb error string.

Andrew Bartlett
(This used to be commit 31f65e510cdd46b1962cf06b3d51f152b1cecf37)

13 years agor12539: fix the pidl tests
Stefan Metzmacher [Wed, 28 Dec 2005 09:31:43 +0000 (09:31 +0000)]
r12539: fix the pidl tests

(This used to be commit 4b90ad7a272b3cb976c2efc2c67b339519b1cd90)

13 years agor12538: Clarify why we are doing the delete here.
Andrew Bartlett [Wed, 28 Dec 2005 09:24:21 +0000 (09:24 +0000)]
r12538: Clarify why we are doing the delete here.

Andrew Bartlett
(This used to be commit 6d8405038f0033439e1e24eb43c2b7990e01b70c)

13 years agor12537: finally found the difference between us and w2k3 that caused w2k
Andrew Tridgell [Wed, 28 Dec 2005 08:20:47 +0000 (08:20 +0000)]
r12537: finally found the difference between us and w2k3 that caused w2k
domain joins to be agonisingly slow! The join is now instant, and
login is fast too
(This used to be commit 1b65713bbc4f44efee24b86900004a222028b733)

13 years agor12536: kerberos is on port 88, not port 389
Andrew Tridgell [Wed, 28 Dec 2005 07:17:45 +0000 (07:17 +0000)]
r12536: kerberos is on port 88, not port 389

i guess this shows that MS clients ignore the port number in SRV replies
(This used to be commit ce070ef50f3aca6f911f6f51688d7cd9fc17ff67)

13 years agor12535: - simplify string list handling in a couple of places using str_list_add()
Andrew Tridgell [Wed, 28 Dec 2005 04:55:53 +0000 (04:55 +0000)]
r12535: - simplify string list handling in a couple of places using str_list_add()

- don't reply with in NBT or WINS name queries unless the
  query came in on the loopback interface. Otherwise clients can end
  up talking to themselves, which is not very productive :-)
(This used to be commit df00f8b3428c6d1254e66275c90ae4025cb52c47)

13 years agor12534: Make the transaction code fill the error string on failure.
Andrew Bartlett [Wed, 28 Dec 2005 04:14:58 +0000 (04:14 +0000)]
r12534: Make the transaction code fill the error string on failure.

Andrew Bartlett
(This used to be commit 2f54d7f774434f2a8b89ae01e993c4a1d16ce861)

13 years agor12533: Get the ldb.errstring() out to the user on failure. It helps a lot
Andrew Bartlett [Wed, 28 Dec 2005 03:57:26 +0000 (03:57 +0000)]
r12533: Get the ldb.errstring() out to the user on failure.  It helps a lot
with debugging!

Andrew Bartlett
(This used to be commit fe36cb6767ce99432e2778037aad334170dca173)

13 years agor12532: log a message giving the IPs of non-partner clients trying WINS replication
Andrew Tridgell [Wed, 28 Dec 2005 03:36:32 +0000 (03:36 +0000)]
r12532: log a message giving the IPs of non-partner clients trying WINS replication
(makes getting the wins config right much easier)
(This used to be commit 3016c7ee138d29973dfd093de6589a9a798750a7)

13 years agor12531: 'make quicktest' was taking 15 minutes on my system due to failing DNS
Andrew Tridgell [Wed, 28 Dec 2005 03:04:40 +0000 (03:04 +0000)]
r12531: 'make quicktest' was taking 15 minutes on my system due to failing DNS
lookups in load_interfaces(). The reason was my eth0 interface was
down, and it was being interpreted as a DNS name.

This patch changes load_interfaces() to happening automatically when
interfaces are first needed instead of on the startup of every samba
binary. This means that (for example) ldbadd doesn't call
load_interfaces(), which means no slow DNS lookups.

I also reduced the number of static globals in interface.c to 1, and
changed from malloc to talloc

When you want to force a reload of the interfaces list, you now call
unload_interfaces(), which means the next call that needs the
interfaces list will reload it
(This used to be commit f79d90bd1364b970adb2981b2572e77066431f1e)

13 years agor12530: Let include/includes.h depend on lib/basic.h (which it includes)
Jelmer Vernooij [Wed, 28 Dec 2005 02:38:26 +0000 (02:38 +0000)]
r12530: Let include/includes.h depend on lib/basic.h (which it includes)
(This used to be commit 90129b081e5bda3c69c3f01f53704b5d34817605)

13 years agor12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server.
Jelmer Vernooij [Tue, 27 Dec 2005 22:51:30 +0000 (22:51 +0000)]
r12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server.
(This used to be commit 87f665a1d5ba74289974bf9d8f9441c162e6f1b1)

13 years agor12523: Convert the registry subsystem to use a seperate prototype header
Jelmer Vernooij [Tue, 27 Dec 2005 21:11:09 +0000 (21:11 +0000)]
r12523: Convert the registry subsystem to use a seperate prototype header
(note that this doesn't use the distinction between private
 and public prototypes yet)
(This used to be commit 60e11f575821c1762b25ad66441b6e69ad1167ef)

13 years agor12520: Add support for --help to
Jelmer Vernooij [Tue, 27 Dec 2005 20:29:19 +0000 (20:29 +0000)]
r12520: Add support for --help to
and [LIBRARY] sections in .mk files. Public functions can be marked
by adding _PUBLIC_ between their return type and function name.

This should eventually make include/proto.h and include/structs.h obsolete.
(This used to be commit cdfd20fa17c5c4655689e8611e0106d5716b6995)

13 years agor12517: Don't generate empty init functions
Jelmer Vernooij [Tue, 27 Dec 2005 19:13:18 +0000 (19:13 +0000)]
r12517: Don't generate empty init functions
(This used to be commit 832a1092c9c11c293b5748e2e78da872fcba2a42)

13 years agor12516: Fix drsuapi and netlogon javascript bindings
Jelmer Vernooij [Tue, 27 Dec 2005 18:15:18 +0000 (18:15 +0000)]
r12516: Fix drsuapi and netlogon javascript bindings
(This used to be commit b46eeba9fcb059ef83743de8be7dab26f9ef21b2)

13 years agor12515: Use UUID directly rather then string containing UUID
Jelmer Vernooij [Tue, 27 Dec 2005 17:50:53 +0000 (17:50 +0000)]
r12515: Use UUID directly rather then string containing UUID
(This used to be commit 465b9738709e7415eab58ea773bd138e8f0f20d6)

13 years agor12514: Move DCE/RPC interface table to a seperate file
Jelmer Vernooij [Tue, 27 Dec 2005 17:15:48 +0000 (17:15 +0000)]
r12514: Move DCE/RPC interface table to a seperate file
Be a bit more strict when checking for duplicate interfaces
(This used to be commit b1286a6d27e2b5aa26f288f6aff70601b0d8ae74)

13 years agor12513: Similar change as my previous commit, but now for transfer syntaxes.
Jelmer Vernooij [Tue, 27 Dec 2005 16:47:09 +0000 (16:47 +0000)]
r12513: Similar change as my previous commit, but now for transfer syntaxes.
Avoids converting a static string to GUID every time we check whether
a transfer syntax is equal to that of NDR.
(This used to be commit 8dcfcaf75ab8cf4a54cf5e56f6be25acc68e3989)

13 years agor12512: Use GUID structs in API functions everywhere rather then converting back and
Jelmer Vernooij [Tue, 27 Dec 2005 16:22:35 +0000 (16:22 +0000)]
r12512: Use GUID structs in API functions everywhere rather then converting back and
forth between GUID structs and strings in several places.
(This used to be commit 3564e2f967ef72d6301b4f7e9a311cebcded4d75)

13 years agor12511: Remove authservice from binding string
Jelmer Vernooij [Tue, 27 Dec 2005 14:42:29 +0000 (14:42 +0000)]
r12511: Remove authservice from binding string
(This used to be commit 2188168209f07bd87d90d7ff94e8b542ced68249)

13 years agor12510: Change the DCE/RPC interfaces to take a pointer to a
Jelmer Vernooij [Tue, 27 Dec 2005 14:28:01 +0000 (14:28 +0000)]
r12510: Change the DCE/RPC interfaces to take a pointer to a
dcerpc_interface_table struct rather then a tuple of interface
name, UUID and version.

This removes the requirement for having a global list of DCE/RPC interfaces,
except for these parts of the code that use that list explicitly
(ndrdump and the scanner torture test).

This should also allow us to remove the hack that put the authservice parameter
in the dcerpc_binding struct as it can now be read directly from

I will now modify some of these functions to take a dcerpc_syntax_id
structure rather then a full dcerpc_interface_table.
(This used to be commit 8aae0f168e54c01d0866ad6e0da141dbd828574f)

13 years agor12509: make the output for the buildfarm nicer
Stefan Metzmacher [Tue, 27 Dec 2005 10:48:27 +0000 (10:48 +0000)]
r12509: make the output for the buildfarm nicer

(This used to be commit f03170cc52d8e196b878a3d3ddd2b8d0e633f487)

13 years agor12507: This file has had my grubby paws all over it ;-)
Andrew Bartlett [Tue, 27 Dec 2005 08:02:35 +0000 (08:02 +0000)]
r12507: This file has had my grubby paws all over it ;-)

Andrew Bartlett
(This used to be commit 865a2552e66221182ffe5d36473828645ac1f59d)

13 years agor12506: Fix up issues shown up by the expanded RPC-SAMR testsuite, and add ldb
Andrew Bartlett [Tue, 27 Dec 2005 07:49:34 +0000 (07:49 +0000)]
r12506: Fix up issues shown up by the expanded RPC-SAMR testsuite, and add ldb
transactions to the SAMR password change code.

Andrew Bartlett
(This used to be commit dc091c6c06b5e5488bcc475e88a9f18ead545c85)

13 years agor12505: Cope better with NT_STATUS_PASSWORD_RESTRICTION (due to minimum
Andrew Bartlett [Tue, 27 Dec 2005 07:48:11 +0000 (07:48 +0000)]
r12505: Cope better with NT_STATUS_PASSWORD_RESTRICTION (due to minimum
password age), and test for the incorrect password error case.

Andrew Bartlett
(This used to be commit 85b7e3c493c65a9e1ea88325cbeaeb9bffceb9e2)

13 years agor12504: Fix one more transaction cancel bail-out path, and correct comments.
Andrew Bartlett [Mon, 26 Dec 2005 23:47:19 +0000 (23:47 +0000)]
r12504: Fix one more transaction cancel bail-out path, and correct comments.

Andrew Bartlett
(This used to be commit 07b885d0c7b56f40f89955f6c49af49ac9085d74)

13 years agor12503: This function was just too simple to leave unimplemented.
Andrew Bartlett [Mon, 26 Dec 2005 23:14:56 +0000 (23:14 +0000)]
r12503: This function was just too simple to leave unimplemented.

Andrew Bartlett
(This used to be commit 2eebd7b3cf385b8d0680f877655136d721157c83)

13 years agor12502: A bit of work on the RPC-SAMR torture test. Prove that ridToSid is
Andrew Bartlett [Mon, 26 Dec 2005 23:06:09 +0000 (23:06 +0000)]
r12502: A bit of work on the RPC-SAMR torture test.  Prove that ridToSid is
really as simple as it looks.

Andrew Bartlett
(This used to be commit a7e4062547470620b5b69dc295d5ac7dcec93116)

13 years agor12501: Merge into and simplify smbcalls_rpc.c a bit,
Jelmer Vernooij [Mon, 26 Dec 2005 22:47:40 +0000 (22:47 +0000)]
r12501: Merge into and simplify smbcalls_rpc.c a bit,
now that it is guaranteed that the smbcalls modules are always initialized
after the EJS subsystem itself.
(This used to be commit 1e8670874bb7415c3e00a42516680fdb4ee2fca1)

13 years agor12500: Use init functions explicitly in a few more places. 'gensec' and 'librpc'
Jelmer Vernooij [Mon, 26 Dec 2005 21:58:31 +0000 (21:58 +0000)]
r12500: Use init functions explicitly in a few more places. 'gensec' and 'librpc'
are the only two subsystems left to convert.
(This used to be commit f6bbc72996aeee8607fc583140fd60be0e06e969)

13 years agor12499: Move smb_build.h out of includes.h
Jelmer Vernooij [Mon, 26 Dec 2005 18:48:23 +0000 (18:48 +0000)]
r12499: Move smb_build.h out of includes.h
(This used to be commit c92ace494f92084ddf178626cdf392d151043bc7)

13 years agor12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not using
Jelmer Vernooij [Mon, 26 Dec 2005 18:03:50 +0000 (18:03 +0000)]
r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not using
the difference between these at all, and in the future the
fact that INIT_OBJ_FILES include smb_build.h will be sufficient to
have recompiles at the right time.
(This used to be commit b24f2583edee38abafa58578d8b5c4b43e517def)

13 years agor12494: Support loading modules from .so files for most subsystems.
Jelmer Vernooij [Mon, 26 Dec 2005 16:46:55 +0000 (16:46 +0000)]
r12494: Support loading modules from .so files for most subsystems.
We now use a different system for initializing the modules for a subsystem.
Most subsystems now have an init function that looks something like this:

init_module_fn static_init[] = STATIC_AUTH_MODULES;
init_module_fn *shared_init = load_samba_modules(NULL, "auth");



I hope to eliminate the other init functions later on (the
init_programname_subsystems; defines).
(This used to be commit b6d2ad4ce0a91c4be790dd258820c492ff1787ea)

13 years agor12490: Fix --warn-compat
Jelmer Vernooij [Mon, 26 Dec 2005 02:14:18 +0000 (02:14 +0000)]
r12490: Fix --warn-compat
(This used to be commit ba6a767f1b3a14e076ebd049b4fdcffd64173523)

13 years agor12489: Forward declare nbtd_iface_name
Jelmer Vernooij [Mon, 26 Dec 2005 02:04:09 +0000 (02:04 +0000)]
r12489: Forward declare nbtd_iface_name
(This used to be commit cfaa52cdbaf0b97a8830137a74976e08cabeac8d)

13 years agor12488: Fix MANIFEST to match recent changes
Jelmer Vernooij [Mon, 26 Dec 2005 01:37:18 +0000 (01:37 +0000)]
r12488: Fix MANIFEST to match recent changes
(This used to be commit 6ab0ce15083c23e287f89b5e38b63d267cf3d5fc)

13 years agor12487: Remove obsolete function
Jelmer Vernooij [Mon, 26 Dec 2005 00:07:17 +0000 (00:07 +0000)]
r12487: Remove obsolete function
(This used to be commit 865a2c9ecaeae83417509c01142ba4220c0b53d7)

13 years agor12484: Initial work on supporting non-typedeffed types
Jelmer Vernooij [Sun, 25 Dec 2005 17:12:52 +0000 (17:12 +0000)]
r12484: Initial work on supporting non-typedeffed types
(This used to be commit e7ac6c708dde7afb4c92a8cc4dea7a95b7054e3e)

13 years agor12483: Remove --tdr-header option (merged into --tdr-parser)
Jelmer Vernooij [Sun, 25 Dec 2005 15:19:55 +0000 (15:19 +0000)]
r12483: Remove --tdr-header option (merged into --tdr-parser)
(This used to be commit 45013467f57d646f3db099862665d2631272b446)

13 years agor12482: Add some more tests
Jelmer Vernooij [Sun, 25 Dec 2005 14:59:39 +0000 (14:59 +0000)]
r12482: Add some more tests
(This used to be commit 516b66e0f1c65688abb936b4432039bc431b872c)

13 years agor12481: Move parser-specific utility functions to idl.yp, remove some unused functions
Jelmer Vernooij [Sun, 25 Dec 2005 14:59:21 +0000 (14:59 +0000)]
r12481: Move parser-specific utility functions to idl.yp, remove some unused functions
Allow the use of non-typedef structs and unions when declaring variables. Allow the
use of the 'signed' and 'unsigned' qualifiers for integer types
(This used to be commit bc6b45e242c8d7b2ef1a6e6d3eb172c27afd952d)

13 years agor12480: Extend testsuite
Jelmer Vernooij [Sun, 25 Dec 2005 14:11:59 +0000 (14:11 +0000)]
r12480: Extend testsuite
(This used to be commit 1fa6c3568b9653f637da92e9a66695cd89825a2f)

13 years agor12470: Add helper module for pidl tests
Jelmer Vernooij [Sun, 25 Dec 2005 03:04:13 +0000 (03:04 +0000)]
r12470: Add helper module for pidl tests
Convert other pidl tests to use Test::More and run them from 'make test'
(This used to be commit 3a57d29a62112ab654e290ccc985fba7f67664c5)

13 years agor12465: Merge Parse::Pidl::Samba4::NDR::Header into Parse::Pidl::Samba4::NDR::Parser.
Jelmer Vernooij [Sun, 25 Dec 2005 01:33:35 +0000 (01:33 +0000)]
r12465: Merge Parse::Pidl::Samba4::NDR::Header into Parse::Pidl::Samba4::NDR::Parser.
Small optimization to avoid including NDR headers multiple times
(This used to be commit 6967b9884970b6f1d7617196ab024d401628a13c)

13 years agor12464: Add simple IDL parsing tests for pidl using the standard perl
Jelmer Vernooij [Sat, 24 Dec 2005 23:32:50 +0000 (23:32 +0000)]
r12464: Add simple IDL parsing tests for pidl using the standard perl
testing framework (Test::Simple, distributed with perl itself).
Run these tests from 'make test'
(This used to be commit 975d8816db6697dab828941b69a740e3a0a2c272)

13 years agor12463: Rename 'Samba' namespace to 'Samba4'
Jelmer Vernooij [Sat, 24 Dec 2005 22:11:44 +0000 (22:11 +0000)]
r12463: Rename 'Samba' namespace to 'Samba4'
(This used to be commit f25358270d44a5642adbb85ecaa50b2e5730d7f0)

13 years agor12462: Hide oo magic from callers of the parser
Jelmer Vernooij [Sat, 24 Dec 2005 21:57:51 +0000 (21:57 +0000)]
r12462: Hide oo magic from callers of the parser
(This used to be commit 0c225d2978b11898d334ec2d6da910e0cca0f4cd)

13 years agor12461: Some updates to the srvsvc IDL from Ronnie Sahlberg
Jelmer Vernooij [Sat, 24 Dec 2005 21:32:52 +0000 (21:32 +0000)]
r12461: Some updates to the srvsvc IDL from Ronnie Sahlberg
(This used to be commit ff7ef98f34811952331e72095505a2eae430fec0)

13 years agor12454: Forward declare struct nbt_iface_name
Jelmer Vernooij [Fri, 23 Dec 2005 18:02:26 +0000 (18:02 +0000)]
r12454: Forward declare struct nbt_iface_name
(This used to be commit d54fea5d0e5dc87f686b2134735e76ce7cd208af)

13 years agor12451: Add 'struct libnet_context;' - apparently the order of the prototypes
Jelmer Vernooij [Fri, 23 Dec 2005 14:21:50 +0000 (14:21 +0000)]
r12451: Add 'struct libnet_context;' - apparently the order of the prototypes
in proto.h previously already did this somehow, probably because it
was used as a return value before it was used as a parameter.
(This used to be commit 30861b0f0e6496d13fb61b2927e3f24d16a9b911)

13 years agor12450: Move generation of proto and full object lists to 'make' now
Jelmer Vernooij [Fri, 23 Dec 2005 13:02:52 +0000 (13:02 +0000)]
r12450: Move generation of proto and full object lists to 'make' now
handles expanding the protoheader object list, rather then the build system,
which makes the makefile quite a bit shorter.
(This used to be commit a4088ccc704f1338c040c53596ff606cc1651d03)

13 years agor12449: Fix some warnings
Jelmer Vernooij [Fri, 23 Dec 2005 13:01:26 +0000 (13:01 +0000)]
r12449: Fix some warnings
(This used to be commit 95f6e49cb897a392c67566b8a0f674a717a1783d)

13 years agor12448: add some usefull debug messages
Stefan Metzmacher [Fri, 23 Dec 2005 12:42:04 +0000 (12:42 +0000)]
r12448: add some usefull debug messages

(This used to be commit 806d76134dc50e9f4eb1f17ead9d1ec9e27f7153)

13 years agor12446: Merge's functionality into
Jelmer Vernooij [Fri, 23 Dec 2005 12:29:13 +0000 (12:29 +0000)]
r12446: Merge's functionality into
Allow specifying the _PUBLIC_ keyword on functions to indicate a function
is public.

Public prototypes can now be written to a seperate header, although this
functionality is not used yet.
(This used to be commit e3466df6dfb62bbf8bee3acfa92996945054c2dd)

13 years agor12445: Fix header in manpage, make script executable
Jelmer Vernooij [Fri, 23 Dec 2005 12:28:26 +0000 (12:28 +0000)]
r12445: Fix header in manpage, make script executable
(This used to be commit 7ca00cd918760dccc51e56234126ead8535a22ef)

13 years agor12444: Initial version of a NEWS file that should contain a summary of changes
Jelmer Vernooij [Fri, 23 Dec 2005 11:24:00 +0000 (11:24 +0000)]
r12444: Initial version of a NEWS file that should contain a summary of changes
that matter to the user.
(This used to be commit e06757a863952d4fab486a194149a32139fd8847)

13 years agor12443: Forgot to rename two files
Jelmer Vernooij [Fri, 23 Dec 2005 10:24:24 +0000 (10:24 +0000)]
r12443: Forgot to rename two files
(This used to be commit abec9301635aea334f32a86a5414f2fd6174ea76)

13 years agor12442: only set the "wins server" parameter if it's not set
Stefan Metzmacher [Thu, 22 Dec 2005 23:03:02 +0000 (23:03 +0000)]
r12442: only set the "wins server" parameter if it's not set

(This used to be commit 5054890b6871f1e25938ae76a2d660ce168877e8)

13 years agor12440: fix crash bugs
Stefan Metzmacher [Thu, 22 Dec 2005 22:03:25 +0000 (22:03 +0000)]
r12440: fix crash bugs

(This used to be commit c7049f8bb60d075921e1ac4d04bf1a216cd0a5f2)

13 years agor12439: No need to keep walking this list if we find the match.
Andrew Bartlett [Thu, 22 Dec 2005 21:43:16 +0000 (21:43 +0000)]
r12439: No need to keep walking this list if we find the match.

Andrew Bartlett
(This used to be commit cf1883c3cc1feecf3ddd7f36dbbca3bdf068bee2)

13 years agor12437: if the client gives us an unicast name query with recursion_desired,
Stefan Metzmacher [Thu, 22 Dec 2005 20:35:01 +0000 (20:35 +0000)]
r12437: if the client gives us an unicast name query with recursion_desired,
it's a wins server request, even if it's a name of one of our interfaces

(This used to be commit 33c1d4a078a16ad45a3957f4d053b089a76f9935)

13 years agor12436: Fix Samba4 as a server to Win2000 for the domain join.
Andrew Bartlett [Thu, 22 Dec 2005 20:34:00 +0000 (20:34 +0000)]
r12436: Fix Samba4 as a server to Win2000 for the domain join.

We still have Win2000 issues, but now we correctly handle the case
where NTLMSSP is chosen as an authentication mech, but the OID list
still contains Kerberos as a later option.

Andrew Bartlett
(This used to be commit dc2b2c33f89b84bd221c9009750a22ff42fc462d)

13 years agor12435: the max wins ttl is 6 days in windows and samba3
Stefan Metzmacher [Thu, 22 Dec 2005 18:21:19 +0000 (18:21 +0000)]
r12435: the max wins ttl is 6 days in windows and samba3

(This used to be commit 0ed07057d37ec6684a01ba699073b4ba6d671697)

13 years agor12434: implement database scavenging, the only missing part is the verifying of...
Stefan Metzmacher [Thu, 22 Dec 2005 11:40:14 +0000 (11:40 +0000)]
r12434: implement database scavenging, the only missing part is the verifying of active replicas
with the owning wins server, after the verify interval passes.

(This used to be commit 7d1f7ae9c65c09f8bf72e159b771f231f96e8591)

13 years agor12433: Add comment describing this function.
Andrew Bartlett [Thu, 22 Dec 2005 11:26:41 +0000 (11:26 +0000)]
r12433: Add comment describing this function.

Andrew Bartlett
(This used to be commit 07df0bdb44413e4eb956458e549430c94b1a38ef)

13 years agor12432: Re-indent and consistantly cancel the transaction.
Andrew Bartlett [Thu, 22 Dec 2005 11:26:12 +0000 (11:26 +0000)]
r12432: Re-indent and consistantly cancel the transaction.

Andrew Bartlett
(This used to be commit 2c8b988eb869d06328ebae586caeb565d7f6f054)

13 years agor12431: - the TIME_T_MAX needs to be a singed max value
Stefan Metzmacher [Thu, 22 Dec 2005 11:13:05 +0000 (11:13 +0000)]
r12431: - the TIME_T_MAX needs to be a singed max value
- fix the calculation of TIME_T_MAX -> nttime -> TIME_T_MAX

(This used to be commit 9caf4b9a42b02db85b3eb233c74316dcccb12537)

13 years agor12430: Clarify libnet_join code. Add/fix comments.
Andrew Bartlett [Thu, 22 Dec 2005 09:58:51 +0000 (09:58 +0000)]
r12430: Clarify libnet_join code. Add/fix comments.

Andrew Bartlett
(This used to be commit a3372935eee12c99d8c4a29eda45e8d0f1039896)

13 years agor12429: make static records always active with a max expire time
Stefan Metzmacher [Thu, 22 Dec 2005 09:56:14 +0000 (09:56 +0000)]
r12429: make static records always active with a max expire time

(This used to be commit 387d680b6f7d3470841a3c0ad3963b0c14853e45)

13 years agor12428: releases on 0x1D names are ignored
Stefan Metzmacher [Thu, 22 Dec 2005 09:37:21 +0000 (09:37 +0000)]
r12428: releases on 0x1D names are ignored

(This used to be commit 84ba71ba274fca91f6f411a46e0a88dc3048df63)

13 years agor12427: Move SAMR CreateUser2 to transactions, and re-add support for
Andrew Bartlett [Thu, 22 Dec 2005 09:32:26 +0000 (09:32 +0000)]
r12427: Move SAMR CreateUser2 to transactions, and re-add support for
different computer account types.  (Earlier code changes removed the
BDC case).

We don't use the TemplateDomainController, so just have a
TemplateServer in provision_templates.ldif

Andrew Bartlett
(This used to be commit c4520ba2e6fad42a137983a2e1dbcd9c26db74e9)

13 years agor12426: w2k3 refused 0x1B names registered as group names
Stefan Metzmacher [Thu, 22 Dec 2005 08:41:02 +0000 (08:41 +0000)]
r12426: w2k3 refused 0x1B names registered as group names

(This used to be commit 4ce4baa1b9f509e5b2ebe7921defc12c9cee74d4)

13 years agor12425: match w2k3 and store 0x1D names when they're registered as group name,
Stefan Metzmacher [Thu, 22 Dec 2005 08:27:10 +0000 (08:27 +0000)]
r12425: match w2k3 and store 0x1D names when they're registered as group name,
but queries still give not found

(This used to be commit 2e69a7cc21d796e091127c71c0234f9cd09543fd)

13 years agor12424: static records should not be released
Stefan Metzmacher [Thu, 22 Dec 2005 08:13:17 +0000 (08:13 +0000)]
r12424: static records should not be released

(This used to be commit 3f90e72e5a0b839ba16892e8ee8aa46967d081da)

13 years agor12423: Remove DEBUG(0) printouts in favor of more information to the caller.
Andrew Bartlett [Thu, 22 Dec 2005 06:58:26 +0000 (06:58 +0000)]
r12423: Remove DEBUG(0) printouts in favor of more information to the caller.
I assume this works better with SWAT and the like anyway.

Andrew Bartlett
(This used to be commit b11975703d5e32f6f3ad10079106b1345fa56b5c)

13 years agor12422: Some kerberos comments and clarifications.
Andrew Bartlett [Thu, 22 Dec 2005 06:50:04 +0000 (06:50 +0000)]
r12422: Some kerberos comments and clarifications.

Andrew Bartlett
(This used to be commit 31046cd22b45de6c62c9f122a81cfc898e818308)

13 years agor12421: Handle the case where we are a joining as different account types far better.
Andrew Bartlett [Thu, 22 Dec 2005 06:47:00 +0000 (06:47 +0000)]
r12421: Handle the case where we are a joining as different account types far better.

Andrew Bartlett
(This used to be commit 0ce82e8a41f0fdea9928e3e341680232cc640e18)

13 years agor12413: do some testing with 0x1E names
Stefan Metzmacher [Wed, 21 Dec 2005 23:05:32 +0000 (23:05 +0000)]
r12413: do some testing with 0x1E names

(This used to be commit b96eadb890a29cfbcff43ede390ef842e16827ad)

13 years agor12412: - the 0x1E name must be registered as group name
Stefan Metzmacher [Wed, 21 Dec 2005 23:03:51 +0000 (23:03 +0000)]
r12412: - the 0x1E name must be registered as group name
- reject wins registration with a static record in the database

(This used to be commit 66b57f5fbf1c2a35972950d655695f014e57d9c5)

13 years agor12411: Add 'net samdump keytab <keytab>'.
Andrew Bartlett [Wed, 21 Dec 2005 22:02:52 +0000 (22:02 +0000)]
r12411: Add 'net samdump keytab <keytab>'.

This extracts a remote windows domain into a keytab, suitable for use
in ethereal for kerberos decryption.

For the moment, like net samdump and net samsync, the 'password
server' smb.conf option must be set to the binding string for the
server. eg:

password server = ncacn_np:mypdc

Andrew Bartlett
(This used to be commit 272013438f53bb168f74e09eb70fc96112b84772)