kai/samba.git
16 years agor12677: get rid of the special cases for the local wins owner table entry,
Stefan Metzmacher [Mon, 2 Jan 2006 17:19:09 +0000 (17:19 +0000)]
r12677: get rid of the special cases for the local wins owner table entry,
the call to winsdb_get_maxVersion() is moved into place.

This allows us to fetch records with the owner address that matches
our local_owner address, this is important if the restart with an empty wins.ldb.
w2k3 does this in the same way when you remove the database files from disk and restart
the WINS-Service.

metze
(This used to be commit e43de87d06614206a858e1102cd82e7f02163bba)

16 years agor12675: fix some dependencies and don't use long lines
Stefan Metzmacher [Mon, 2 Jan 2006 16:54:58 +0000 (16:54 +0000)]
r12675: fix some dependencies and don't use long lines

metze
(This used to be commit 80bf8b5716bf49b5aaf289cee66a6aac72877dad)

16 years agor12674: make use of the winsdb functions
Stefan Metzmacher [Mon, 2 Jan 2006 16:14:08 +0000 (16:14 +0000)]
r12674: make use of the winsdb functions

metze
(This used to be commit 9a7da608e2099ea1d037b6985358649a6e35a714)

16 years agor12673: create functions for get_maxVersion(), set_maxVersion() and get_seqnumber()
Stefan Metzmacher [Mon, 2 Jan 2006 14:27:54 +0000 (14:27 +0000)]
r12673: create functions for get_maxVersion(), set_maxVersion() and get_seqnumber()
at the winsdb layer. the ones in wrepl_server/ will be removed later.

metze
(This used to be commit 22cdbc75df3bedfc651891f708a3439ccc77abcc)

16 years agor12671: Modules don't have to be linked with their subsystem.
Jelmer Vernooij [Mon, 2 Jan 2006 03:27:11 +0000 (03:27 +0000)]
r12671: Modules don't have to be linked with their subsystem.
(This used to be commit 8f5edcc6a2ec02a496ef77b7044a56bb8f4be0f1)

16 years agor12670: Make a couple of dependencies stricter
Jelmer Vernooij [Mon, 2 Jan 2006 00:16:08 +0000 (00:16 +0000)]
r12670: Make a couple of dependencies stricter
Re-introduce and use the OUTPUT_TYPE property for MODULEs to force
specific modules to always be included
(This used to be commit f9eede3d40098eddc3618ee48f9253cdddb94a6f)

16 years agor12661: Happy New Year!
Stefan Metzmacher [Sun, 1 Jan 2006 18:03:14 +0000 (18:03 +0000)]
r12661: Happy New Year!

metze
(This used to be commit c563aefb429c4891958032d1ea1fad01cbf89e4a)

16 years agor12659: Add some more information for potential users. Please supplement / amend
Jelmer Vernooij [Sun, 1 Jan 2006 17:57:19 +0000 (17:57 +0000)]
r12659: Add some more information for potential users. Please supplement / amend
where necessary.
(This used to be commit 3296b11d7ad4f4c44d41b8c1c399ae0383d6d0dc)

16 years agor12658: Couple of fixes related to shared module builds.
Jelmer Vernooij [Sun, 1 Jan 2006 17:32:10 +0000 (17:32 +0000)]
r12658: Couple of fixes related to shared module builds.
(This used to be commit c297c93faf3b748de68679f5a4be50845ebe25fe)

16 years agor12651: Remove STR_LARGE_SIZE as it's no longer used
Jelmer Vernooij [Sat, 31 Dec 2005 14:57:43 +0000 (14:57 +0000)]
r12651: Remove STR_LARGE_SIZE as it's no longer used
(This used to be commit 8e95aee6fba4d3632f4718428bdb1f07cb58fab4)

16 years agor12650: Remove support for NULLTERM flag (is already covered by tridge's
Jelmer Vernooij [Sat, 31 Dec 2005 14:29:13 +0000 (14:29 +0000)]
r12650: Remove support for NULLTERM flag (is already covered by tridge's
fixes to [validate])
(This used to be commit aa880bf1966889b1cd0b0b7d4d837dff79f0447e)

16 years agor12649: use the same default('yes') for 'dns proxy' as samba3
Stefan Metzmacher [Sat, 31 Dec 2005 11:57:15 +0000 (11:57 +0000)]
r12649: use the same default('yes') for 'dns proxy' as samba3

metze
(This used to be commit d430fc278b8782f625cfafbff2a4efb936fdea36)

16 years agor12648: implement the dns proxy feature
Stefan Metzmacher [Sat, 31 Dec 2005 11:32:55 +0000 (11:32 +0000)]
r12648: implement the dns proxy feature

metze
(This used to be commit b07b201c8671e04d6faae162d883d84c79f0ee94)

16 years agor12647: make use of the str_list_add function
Stefan Metzmacher [Sat, 31 Dec 2005 11:19:18 +0000 (11:19 +0000)]
r12647: make use of the str_list_add function

metze
(This used to be commit e47873a1a391c8a8b469528d44c17dfe1ea2f553)

16 years agor12644: prepare the dns proxy feature for the wins server
Stefan Metzmacher [Sat, 31 Dec 2005 10:41:59 +0000 (10:41 +0000)]
r12644: prepare the dns proxy feature for the wins server

metze
(This used to be commit 48842cd9abcff744851ad1481309fb901be3a73b)

16 years agor12643: don't fail make test
Simo Sorce [Sat, 31 Dec 2005 10:04:11 +0000 (10:04 +0000)]
r12643: don't fail make test
thanks Brad
(This used to be commit 2f213b9580cb9e84f1c44393cac521e5c1af817b)

16 years agor12642: only do push notifications when something changed
Stefan Metzmacher [Sat, 31 Dec 2005 09:44:04 +0000 (09:44 +0000)]
r12642: only do push notifications when something changed

metze
(This used to be commit 61f1c8c347d26f34e3e924ceae55e99e6c1461f7)

16 years agor12641: - remove some unused functions
Stefan Metzmacher [Sat, 31 Dec 2005 09:08:46 +0000 (09:08 +0000)]
r12641: - remove some unused functions
- we already call usleep() directly in some places,
  so do it everywhere

metze
(This used to be commit 9eaf6e2c4d3dae3b6711e4aae3828222f5cab65e)

16 years agor12639: - do some tests with 0x20 0x1B names
Stefan Metzmacher [Sat, 31 Dec 2005 08:42:01 +0000 (08:42 +0000)]
r12639: - do some tests with 0x20 0x1B names
- do some tests with 0xBF and 0xBE, this shows that the '+' padding
  should be done by the client

metze
(This used to be commit 5a257ba9811b247a0df2b44c99df00f59dacc1e0)

16 years agor12638: fix the build on BSD systems
Stefan Metzmacher [Sat, 31 Dec 2005 08:19:48 +0000 (08:19 +0000)]
r12638: fix the build on BSD systems

metze
(This used to be commit cd3cc29fdc2c0b9ffd82253857a7968e3324ea9b)

16 years agor12637: test CLDAP with both NULL and non-NULL user
Andrew Tridgell [Sat, 31 Dec 2005 05:34:29 +0000 (05:34 +0000)]
r12637: test CLDAP with both NULL and non-NULL user
(This used to be commit 2b603d3ecf2f3108942422bda864e41c8addbf60)

16 years agor12636: fixed some torture code for the changed lsa string types
Andrew Tridgell [Sat, 31 Dec 2005 05:33:50 +0000 (05:33 +0000)]
r12636: fixed some torture code for the changed lsa string types
(This used to be commit ce77c0e8bf4127027edd6291d2ae5d868e3372a1)

16 years agor12635: use the new [validate] value() checking to fix the string types for
Andrew Tridgell [Sat, 31 Dec 2005 04:31:02 +0000 (04:31 +0000)]
r12635: use the new [validate] value() checking to fix the string types for
the LSA pipe. Strangely, windows is not consistent for the LookupSids
call. Sometimes the name is terminated and sometimes not?! It might
depend on the type of rid (alias, group etc) ?
(This used to be commit c0b7e0619a153f1da0fa76f176335d1b2afa340b)

16 years agor12634: make the [validate] binding string switch also check to see if the
Andrew Tridgell [Sat, 31 Dec 2005 04:29:34 +0000 (04:29 +0000)]
r12634: make the [validate] binding string switch also check to see if the
string form of the structure we receive matches the generated
form. This has the effect of checking things like value() attributes.
(This used to be commit f2e68ec649658976e5bf4887713a92c14850c277)

16 years agor12633: expose talloc_vasprintf_append()
Andrew Tridgell [Sat, 31 Dec 2005 04:26:34 +0000 (04:26 +0000)]
r12633: expose talloc_vasprintf_append()
(This used to be commit 7a0e7074f6d3d38ce92f2b617549d5dbbaf968ef)

16 years agor12632: Build fixes from Brad Hards <bradh@frogmouth.net>
Andrew Bartlett [Sat, 31 Dec 2005 03:43:36 +0000 (03:43 +0000)]
r12632: Build fixes from Brad Hards <bradh@frogmouth.net>

Andrew Bartlett
(This used to be commit 44b107d3150135ee4381c1ba4eac23bfd9cb16b9)

16 years agor12631: Now we have fixed the provision script, we don't need to work around
Andrew Bartlett [Sat, 31 Dec 2005 02:49:41 +0000 (02:49 +0000)]
r12631: Now we have fixed the provision script, we don't need to work around
it here.

Andrew Bartlett
(This used to be commit f282fab6113cbd6a431139cbe7f021864f31c3d1)

16 years agor12630: Remove attributes which should be automaticly generated.
Andrew Bartlett [Sat, 31 Dec 2005 02:40:58 +0000 (02:40 +0000)]
r12630: Remove attributes which should be automaticly generated.

This fixes a problem I had with kpasswd, as the account had 'expired'
due to the old pwdLastSet, hardcoded in the ldif.

Andrew Bartlett
(This used to be commit 1a9992e56a777771ad963af87481ce4ffb8cbf56)

16 years agor12629: Add a comment so minimal_includes.pl doesn't try and remove this.
Andrew Bartlett [Sat, 31 Dec 2005 02:03:26 +0000 (02:03 +0000)]
r12629: Add a comment so minimal_includes.pl doesn't try and remove this.

Andrew Bartlett
(This used to be commit 635e7befaad5ad65774f133062c82733a8cc9aee)

16 years agor12628: Prevent double registration warnings
Jelmer Vernooij [Sat, 31 Dec 2005 01:59:08 +0000 (01:59 +0000)]
r12628: Prevent double registration warnings
(This used to be commit 98ec52beeed47c71861c284c7aae66269c074e66)

16 years agor12627: This magic comment keeps minimal_includes.pl from suggesting the
Andrew Bartlett [Sat, 31 Dec 2005 01:42:32 +0000 (01:42 +0000)]
r12627: This magic comment keeps minimal_includes.pl from suggesting the
removal of this header.

Andrew Bartlett
(This used to be commit 17d4d49fe13831a4b9092b57a6279c128e10d36b)

16 years agor12626: some systems need time.h here (for asctime())
Andrew Tridgell [Sat, 31 Dec 2005 01:36:09 +0000 (01:36 +0000)]
r12626: some systems need time.h here (for asctime())
(This used to be commit 596f8480bbf44dd70e2d2a7ccbc7ced67b74fce0)

16 years agor12625: More 'useful' names for the DNS zone.
Andrew Bartlett [Sat, 31 Dec 2005 00:46:44 +0000 (00:46 +0000)]
r12625: More 'useful' names for the DNS zone.

Andrew Bartlett
(This used to be commit 660fc3ff4e26873710b35c8f52fe3a697764ec98)

16 years agor12624: (hopefully) fix for BSD make after srcdir/builddir changes
Jelmer Vernooij [Sat, 31 Dec 2005 00:27:55 +0000 (00:27 +0000)]
r12624: (hopefully) fix for BSD make after srcdir/builddir changes
(This used to be commit 261dc568f9b0e8641d3a28a03b440bddc5db668e)

16 years agor12623: Another round of fixes for the prototypes of tables.c
Jelmer Vernooij [Sat, 31 Dec 2005 00:02:41 +0000 (00:02 +0000)]
r12623: Another round of fixes for the prototypes of tables.c
(This used to be commit fb5b22e3dc9ad0892817ae72a73e1e80f3db75c5)

16 years agor12622: Move table.c prototypes to seperate header to prevent circular dependencies
Jelmer Vernooij [Fri, 30 Dec 2005 23:18:27 +0000 (23:18 +0000)]
r12622: Move table.c prototypes to seperate header to prevent circular dependencies
with proto.h
(This used to be commit 9e0ba380374db028358158b9e4457dd930b5ab13)

16 years agor12621: INIT_FUNCTION no longer has to be set on libraries
Jelmer Vernooij [Fri, 30 Dec 2005 22:48:25 +0000 (22:48 +0000)]
r12621: INIT_FUNCTION no longer has to be set on libraries
(This used to be commit 7ff1ecdc6fa9e360dedf9737da6ce1941ad5033e)

16 years agor12620: Get rid of automatically generated lists of init functions of subsystems.
Jelmer Vernooij [Fri, 30 Dec 2005 22:46:16 +0000 (22:46 +0000)]
r12620: Get rid of automatically generated lists of init functions of subsystems.
This allows Samba libraries to be used by other projects (and parts of
Samba to be built as shared libraries).
(This used to be commit 44f0aba715bfedc7e1ee3d07e9a101a91dbd84b3)

16 years agor12619: make sure we don't return more than 25 addresses, as w2k3 crashes in that...
Stefan Metzmacher [Fri, 30 Dec 2005 21:25:38 +0000 (21:25 +0000)]
r12619: make sure we don't return more than 25 addresses, as w2k3 crashes in that case

I still need to make sure we didn't write such records to our database...

metze
(This used to be commit d0dc0ffa3160041e137b629b4dbbe821044edfe3)

16 years agor12618: use our primary interface address or the "winsdb:local_owner" -address
Stefan Metzmacher [Fri, 30 Dec 2005 21:12:15 +0000 (21:12 +0000)]
r12618: use our primary interface address or the "winsdb:local_owner" -address
as winsOwner: attrbute for owned records

metze
(This used to be commit 37dece8304c0b9887740f4d4e8096732045a1785)

16 years agor12617: create a winsdb_handle and pass that arround,
Stefan Metzmacher [Fri, 30 Dec 2005 20:08:52 +0000 (20:08 +0000)]
r12617: create a winsdb_handle and pass that arround,
so we later can hang the local owner address, on this handle too

metze
(This used to be commit 49ba4cc11144671cafcbe2967954bfd786ea6e76)

16 years agor12616: remove unused function, and we have iface_local() as replacement
Stefan Metzmacher [Fri, 30 Dec 2005 20:06:41 +0000 (20:06 +0000)]
r12616: remove unused function, and we have iface_local() as replacement

metze
(This used to be commit 032d0a19eed485a9f0a11818b5296625f9489b2a)

16 years agor12615: prepare building with ../samba4/source/configure --srcdir=../samba4/source/
Stefan Metzmacher [Fri, 30 Dec 2005 19:18:51 +0000 (19:18 +0000)]
r12615: prepare building with ../samba4/source/configure --srcdir=../samba4/source/

metze
(This used to be commit bf35c74218476fc568e251bb337e794ed9d51fac)

16 years agor12613: workarround a BSD make bug, where $< gets expanded to 'torture/libnet/userman.c'
Stefan Metzmacher [Fri, 30 Dec 2005 17:39:03 +0000 (17:39 +0000)]
r12613: workarround a BSD make bug, where $< gets expanded to 'torture/libnet/userman.c'
when $@ is 'libnet/userman.o'

metze
(This used to be commit 48d975cc5e4c3c2a5c6fe84e5b245c0d8529c5d1)

16 years agor12611: fix compiler warnings
Stefan Metzmacher [Fri, 30 Dec 2005 16:39:14 +0000 (16:39 +0000)]
r12611: fix compiler warnings

metze
(This used to be commit 50940879f6e373adbc83ae6e19168486dafaec34)

16 years agor12610: we need struct passwd on some systems
Stefan Metzmacher [Fri, 30 Dec 2005 14:24:24 +0000 (14:24 +0000)]
r12610: we need struct passwd on some systems

metze
(This used to be commit fd7812beb21ccd14a0e7fd9db0a6eba22ebab0b2)

16 years agor12609: - add some comments to a change that went in in the last 'fix the build'...
Stefan Metzmacher [Fri, 30 Dec 2005 14:04:18 +0000 (14:04 +0000)]
r12609: - add some comments to a change that went in in the last 'fix the build' commit
- we need to reply to name queries with the recursion desired bit set,
  to pass the multi homed challenge, when registering our interfaces
  with a wins server

metze
(This used to be commit 9dfbce5f34c9e8b55c902fefc8dfaf53f19df9c2)

16 years agor12608: Remove some unused #include lines.
Jelmer Vernooij [Fri, 30 Dec 2005 13:16:54 +0000 (13:16 +0000)]
r12608: Remove some unused #include lines.
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)

16 years agor12607: fix the build
Stefan Metzmacher [Fri, 30 Dec 2005 12:43:11 +0000 (12:43 +0000)]
r12607: fix the build

metze
(This used to be commit 5cc955bf5400a415e462853cff47a69ef206a548)

16 years agor12606: - fix multihomed registrations
Stefan Metzmacher [Fri, 30 Dec 2005 12:13:46 +0000 (12:13 +0000)]
r12606: - fix multihomed registrations
  always remove the addresses which are no longer valid
- use the wins_challenge_send/recv calls which are also used by the replication
  challenge

metze
(This used to be commit 037b5d9f3661fd7a121d1db0a50dc7743d62a5e1)

16 years agor12605: docs patch from Brad Hards <bradh@frogmouth.net>
Simo Sorce [Fri, 30 Dec 2005 11:56:52 +0000 (11:56 +0000)]
r12605: docs patch from Brad Hards <bradh@frogmouth.net>
(This used to be commit 874f16e055ec30bf2ee52a33464b4810a8f8cd89)

16 years agor12604: fix make clean as Brad Hards <bradh@frogmouth.net> sugested
Simo Sorce [Fri, 30 Dec 2005 11:47:35 +0000 (11:47 +0000)]
r12604: fix make clean as Brad Hards <bradh@frogmouth.net> sugested
(This used to be commit 6198006ee466c6398f6a3da352d236034693ffb7)

16 years agor12602: fix compiler warning
Stefan Metzmacher [Fri, 30 Dec 2005 10:45:43 +0000 (10:45 +0000)]
r12602: fix compiler warning

metze
(This used to be commit 82d5bdb1e73dd203cfaf83fdb46c485d212d5c65)

16 years agor12601: Syncronise both copies of dlinklist.h.
Andrew Bartlett [Fri, 30 Dec 2005 08:57:33 +0000 (08:57 +0000)]
r12601: Syncronise both copies of dlinklist.h.

Should we somehow link these, or just use the version in ldb?

Andrew Bartlett
(This used to be commit e98d14668e3fdee01b103adb5aec733790eee96d)

16 years agor12600: Add a new module to sort the objectclass attribute on store. The
Andrew Bartlett [Fri, 30 Dec 2005 08:50:47 +0000 (08:50 +0000)]
r12600: Add a new module to sort the objectclass attribute on store.  The
module is perhaps not the most efficient, but I think it is
reasonable.

This should restore operation of MMC against Samba4 (broken by the
templating fixes).

Andrew Bartlett
(This used to be commit 41948c4bdbfca1160a01a92994324f9e22422afe)

16 years agor12599: This new LDB module (and associated changes) allows Samba4 to operate
Andrew Bartlett [Fri, 30 Dec 2005 08:40:16 +0000 (08:40 +0000)]
r12599: This new LDB module (and associated changes) allows Samba4 to operate
using pre-calculated passwords for all kerberos key types.
(Previously we could only use these for the NT# type).

The module handles all of the hash/string2key tasks for all parts of
Samba, which was previously in the rpc_server/samr/samr_password.c
code.  We also update the msDS-KeyVersionNumber, and the password
history.  This new module can be called at provision time, which
ensures we start with a database that is consistent in this respect.

By ensuring that the krb5key attribute is the only one we need to
retrieve, this also simplifies the run-time KDC logic.  (Each value of
the multi-valued attribute is encoded as a 'Key' in ASN.1, using the
definition from Heimdal's HDB.  This simplfies the KDC code.).

It is hoped that this will speed up the KDC enough that it can again
operate under valgrind.
(This used to be commit e9022743210b59f19f370d772e532e0f08bfebd9)

16 years agor12598: Make the 'objectClass' part of the templating process actually work.
Andrew Bartlett [Fri, 30 Dec 2005 08:36:25 +0000 (08:36 +0000)]
r12598: Make the 'objectClass' part of the templating process actually work.
We need to add to the multivalued objectClass, not ignore it because
the user has already specified a value.

Also rename the template again.

This was caught by more stringent tests in the unicodePwd module, but
breaks MMC.  A later commit will sort the objectClass.

Andrew Bartlett
(This used to be commit 0aaff059ba76c7eee86f37bfd74735c1c365d55f)

16 years agor12597: One less void *
Andrew Bartlett [Fri, 30 Dec 2005 06:49:36 +0000 (06:49 +0000)]
r12597: One less void *

Andrew Bartlett
(This used to be commit a328acc8fa73703bba72b94084063906ec63cdc3)

16 years agor12596: This variable is unused.
Andrew Bartlett [Fri, 30 Dec 2005 06:48:56 +0000 (06:48 +0000)]
r12596: This variable is unused.

Andrew Bartlett
(This used to be commit 2853ccfc8ad58c6af751e01487b8a9e7e68a01e7)

16 years agor12595: There was no comment on the mailing list, so kill the 'ldapsrv:samdb'
Andrew Bartlett [Fri, 30 Dec 2005 06:48:16 +0000 (06:48 +0000)]
r12595: There was no comment on the mailing list, so kill the 'ldapsrv:samdb'
parameter.  It isn't useful with so many other things in the ldap
server opening the database directly.  Best to run this as a seperate
process, and change the global options.

Andrew Bartlett
(This used to be commit 34d6220cec763eefa9313f5a39ce7a73b238f7f0)

16 years agor12594: Jelmer pushed some proposed header reductions to the list today. This
Andrew Bartlett [Fri, 30 Dec 2005 03:57:11 +0000 (03:57 +0000)]
r12594: Jelmer pushed some proposed header reductions to the list today.  This
commits some of these that I know to be correct in the kerberos area.

Andrew Bartlett
(This used to be commit 6787b3737c27f5136152b007b0ee2ae314efac3c)

16 years agor12592: Remove some useless dependencies
Jelmer Vernooij [Thu, 29 Dec 2005 23:14:33 +0000 (23:14 +0000)]
r12592: Remove some useless dependencies
(This used to be commit ca8db1a0cd77682ac2c6dc4718f5d753a4fcc4db)

16 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)

16 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)

16 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

metze
(This used to be commit 669009579dfe93b4d5008f93c2949dd4d929baf4)

16 years agor12578: - w2k3 allows entries with 127.0.0.1 as address, so we should do
Stefan Metzmacher [Thu, 29 Dec 2005 17:03:17 +0000 (17:03 +0000)]
r12578: - w2k3 allows entries with 127.0.0.1 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 127.0.0.1 with our wins server,
  so the check for loopback in the non-wins name queries is enough

metze
(This used to be commit f68a883daf4c792e95f7a4be9e7d00e82cc0517b)

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

metze
(This used to be commit 3b32d8b6b6565d8c5b3f7e653fdc385cc8cb96ef)

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

16 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)

16 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)

16 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)

16 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

metze
(This used to be commit 4636f9ee7d066f5e24393f94644dbf74c42b9039)

16 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)

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

16 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)

16 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)

16 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)

16 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)

16 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
  pch'

- 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)

16 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)

16 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)

16 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)

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

metze
(This used to be commit 4b90ad7a272b3cb976c2efc2c67b339519b1cd90)

16 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)

16 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)

16 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)

16 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 127.0.0.1 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 years agor12520: Add support for --help to mkproto.pl
Jelmer Vernooij [Tue, 27 Dec 2005 20:29:19 +0000 (20:29 +0000)]
r12520: Add support for --help to mkproto.pl
Allow the use of {PRIVATE,PUBLIC}_PROTO_HEADER for [SUBSYSTEM]
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)

16 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)

16 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)

16 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)

16 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)

16 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)