ira/wip.git
16 years agor12739: Add support for using credentials in the provision process.
Andrew Bartlett [Fri, 6 Jan 2006 12:29:06 +0000 (12:29 +0000)]
r12739: Add support for using credentials in the provision process.

This should allow us to provision to a 'normal' LDAP server.

Also add in 'session info' hooks (unused).  Both of these need to be
hooked in on the webserver.

Andrew Bartlett

16 years agor12738: Use a talloc_reference to ensure this doesn't get free()'ed too early.
Andrew Bartlett [Fri, 6 Jan 2006 12:24:49 +0000 (12:24 +0000)]
r12738: Use a talloc_reference to ensure this doesn't get free()'ed too early.

Andrew Bartlett

16 years agor12734: forgot to add qsort
Simo Sorce [Fri, 6 Jan 2006 04:15:41 +0000 (04:15 +0000)]
r12734: forgot to add qsort

16 years agor12733: Merge ldap/ldb controls into main tree
Simo Sorce [Fri, 6 Jan 2006 04:01:23 +0000 (04:01 +0000)]
r12733: Merge ldap/ldb controls into main tree
There's still lot of work to do but the patch is stable
enough to be pushed into the main samba4 tree.

Simo.

16 years agor12732: This option does nothing.
Andrew Bartlett [Fri, 6 Jan 2006 03:56:47 +0000 (03:56 +0000)]
r12732: This option does nothing.

Andrew Bartlett

16 years agor12731: Simplify and re-implemenet support for --parameter-name=foo
Andrew Bartlett [Fri, 6 Jan 2006 02:50:46 +0000 (02:50 +0000)]
r12731: Simplify and re-implemenet support for --parameter-name=foo
--service-name=bar in testparm.

Andrew Bartlett

16 years agor12730: Reimplement --parameter-name, and bring in common samba options.
Andrew Bartlett [Fri, 6 Jan 2006 02:28:36 +0000 (02:28 +0000)]
r12730: Reimplement --parameter-name, and bring in common samba options.

This changes -s from meaning 'suppress prompt' to 'services file'.

Andrew Bartlett

16 years agor12729: Implement the --section-name option, for dumping only one section.
Andrew Bartlett [Fri, 6 Jan 2006 02:13:01 +0000 (02:13 +0000)]
r12729: Implement the --section-name option, for dumping only one section.

Andrew Bartlett

16 years agor12728: Revive testparm.
Andrew Bartlett [Fri, 6 Jan 2006 00:46:35 +0000 (00:46 +0000)]
r12728: Revive testparm.

It needs work to not dump defaults from loadparm.c, but otherwise it works.

Andrew Bartlett

16 years agor12725: some minor updates
Stefan Metzmacher [Thu, 5 Jan 2006 16:43:56 +0000 (16:43 +0000)]
r12725: some minor updates

metze

16 years agor12724: fix warnings
Stefan Metzmacher [Thu, 5 Jan 2006 16:42:42 +0000 (16:42 +0000)]
r12724: fix warnings

metze

16 years agor12720: By metze's request, rename the ntPwdHistory attribute to
Andrew Bartlett [Thu, 5 Jan 2006 09:03:13 +0000 (09:03 +0000)]
r12720: By metze's request, rename the ntPwdHistory attribute to
sambaNTPassword.  Likewise lmPwdHistory -> sambaLMPwdHistory.

The idea here is to avoid having conflicting formats when we get to
replication.  We know the base data matches, but we may need to use a
module to munge formats.

Andrew Bartlett

16 years agor12719: Rename unicodePwd -> sambaPassword.
Andrew Bartlett [Thu, 5 Jan 2006 06:53:39 +0000 (06:53 +0000)]
r12719: Rename unicodePwd -> sambaPassword.

Because we don't know the syntax of unicodePwd, we want to avoid using
that attribute name.  It may cause problems later when we get
replication form windows.

I'm doing this before the tech preview, so we don't get too many
supprises as folks upgrade databases into later versions.

Andrew Bartlett

16 years agor12718: We don't use unicodePwd directly any more.
Andrew Bartlett [Thu, 5 Jan 2006 05:58:48 +0000 (05:58 +0000)]
r12718: We don't use unicodePwd directly any more.

Andrew Bartlett

16 years agor12717: Always compile the skel module, so we know when we break it.
Andrew Bartlett [Thu, 5 Jan 2006 04:56:19 +0000 (04:56 +0000)]
r12717: Always compile the skel module, so we know when we break it.

Also fix up all the current issues with the skel module.

Andrew Bartlett

16 years agor12716: Tridge points out that the request argument to ldb_next_request must
Andrew Bartlett [Thu, 5 Jan 2006 02:14:01 +0000 (02:14 +0000)]
r12716: Tridge points out that the request argument to ldb_next_request must
be a valid talloc() pointer, as other modules may rely on this.

Andrew Bartlett

16 years agor12711: Update copyrights
Jelmer Vernooij [Wed, 4 Jan 2006 11:23:12 +0000 (11:23 +0000)]
r12711: Update copyrights

16 years agor12710: Fix socket_wrapper: Make sure to fill in the socket family on the
Andrew Bartlett [Wed, 4 Jan 2006 05:40:35 +0000 (05:40 +0000)]
r12710: Fix socket_wrapper: Make sure to fill in the socket family on the
returned address.

Andrew Bartlett

16 years agor12708: This is equivilant, but doesn't cause a warning.
Andrew Bartlett [Wed, 4 Jan 2006 01:28:03 +0000 (01:28 +0000)]
r12708: This is equivilant, but doesn't cause a warning.

Andrew Bartlett

16 years agor12706: Add list of parameters that need work
Jelmer Vernooij [Tue, 3 Jan 2006 22:09:33 +0000 (22:09 +0000)]
r12706: Add list of parameters that need work

16 years agor12704: role => server role
Jelmer Vernooij [Tue, 3 Jan 2006 21:20:48 +0000 (21:20 +0000)]
r12704: role => server role

16 years agor12703: Fix handling of short passdb backends (also reported by Steinar Gunderson)
Jelmer Vernooij [Tue, 3 Jan 2006 20:26:57 +0000 (20:26 +0000)]
r12703: Fix handling of short passdb backends (also reported by Steinar Gunderson)

16 years agor12702: - reload the partner configuration, when the sequenceNumber of the wins_confi...
Stefan Metzmacher [Tue, 3 Jan 2006 20:19:39 +0000 (20:19 +0000)]
r12702: - reload the partner configuration, when the sequenceNumber of the wins_config.ldb
  changes
- use a periodic run interval of 15 secs per default, as we no longer
  send push notifies with each run

metze

16 years agor12701: the first scavenging run should happen after half of the renew_interval,
Stefan Metzmacher [Tue, 3 Jan 2006 20:07:34 +0000 (20:07 +0000)]
r12701: the first scavenging run should happen after half of the renew_interval,
and not on startup

metze

16 years agor12700: fix name release of replica records, we need to become the owner and allocate...
Stefan Metzmacher [Tue, 3 Jan 2006 20:03:51 +0000 (20:03 +0000)]
r12700: fix name release of replica records, we need to become the owner and allocate a new versionID
so that it gets replicated to the old owning wins server directly

metze

16 years agor12699: correctly escape invalid DN characters (reported by Steinar H. Gunderson).
Jelmer Vernooij [Tue, 3 Jan 2006 19:39:53 +0000 (19:39 +0000)]
r12699: correctly escape invalid DN characters (reported by Steinar H. Gunderson).
this still doesn't work as a bug in ldb causes it to not understand
escaped characters in DNs when parsing DNs

16 years agor12698: Declare model_ops (required for NetBSD)
Jelmer Vernooij [Tue, 3 Jan 2006 18:35:00 +0000 (18:35 +0000)]
r12698: Declare model_ops (required for NetBSD)

16 years agor12697: Support empty fullname fields in unix accounts
Jelmer Vernooij [Tue, 3 Jan 2006 18:11:17 +0000 (18:11 +0000)]
r12697: Support empty fullname fields in unix accounts

16 years agor12696: Reduce the size of include/structs.h
Jelmer Vernooij [Tue, 3 Jan 2006 17:27:33 +0000 (17:27 +0000)]
r12696: Reduce the size of include/structs.h

16 years agor12695: A dot is allowed in NetBIOS names.
Jelmer Vernooij [Tue, 3 Jan 2006 17:22:19 +0000 (17:22 +0000)]
r12695: A dot is allowed in NetBIOS names.

16 years agor12694: Move some headers to the directory of the subsystem they belong to.
Jelmer Vernooij [Tue, 3 Jan 2006 15:40:05 +0000 (15:40 +0000)]
r12694: Move some headers to the directory of the subsystem they belong to.

16 years agor12693: Move core data structures out of smb.h into core.h
Jelmer Vernooij [Tue, 3 Jan 2006 13:41:17 +0000 (13:41 +0000)]
r12693: Move core data structures out of smb.h into core.h
torture prototypes in seperate header

16 years agor12687: Push the real list of supported GENSEC mechanisms out on
Andrew Bartlett [Tue, 3 Jan 2006 04:25:12 +0000 (04:25 +0000)]
r12687: Push the real list of supported GENSEC mechanisms out on
supportedSASLMechanism in the rootdse.  (Second half of a patch
commited earlier today).

Andrew Bartlett

16 years agor12686: Push the real SASL list into the rootdse.
Andrew Bartlett [Tue, 3 Jan 2006 00:10:15 +0000 (00:10 +0000)]
r12686: Push the real SASL list into the rootdse.

Get this out of the server credentials, and push it down to ldb via an
opaque pointer.

Andrew Bartlett

16 years agor12685: Add comments on builtin LDAP and KDC.
Andrew Bartlett [Mon, 2 Jan 2006 23:16:52 +0000 (23:16 +0000)]
r12685: Add comments on builtin LDAP and KDC.

Andrew Bartlett

16 years agor12684: A better error code for SAMR transaction failures.
Andrew Bartlett [Mon, 2 Jan 2006 22:50:12 +0000 (22:50 +0000)]
r12684: A better error code for SAMR transaction failures.

Andrew Bartlett

16 years agor12683: Fix declaration and initialisation placement.
Andrew Bartlett [Mon, 2 Jan 2006 22:34:18 +0000 (22:34 +0000)]
r12683: Fix declaration and initialisation placement.

Andrew Bartlett

16 years agor12682: This patch finally fixes our kpasswdd implementation to be compatible
Andrew Bartlett [Mon, 2 Jan 2006 22:00:40 +0000 (22:00 +0000)]
r12682: This patch finally fixes our kpasswdd implementation to be compatible
with clients compiled against the MIT Kerberos implementation.  (Which
checks for address in KRB-PRIV packets, hence my comments on socket
functions earlier today).

It also fixes the 'set password' operation to behave correctly (it was
previously a no-op).

This allows Samba3 to join Samba4.  Some winbindd operations even work,
which I think is a good step forward.  There is naturally a lot of work
to do, but I wanted at least the very basics of Samba3 domain membership
to be available for the tech preview.

Andrew Bartlett

16 years agor12681: Allow an entry to have no kerberos keys. This occours when an entry
Andrew Bartlett [Mon, 2 Jan 2006 21:56:29 +0000 (21:56 +0000)]
r12681: Allow an entry to have no kerberos keys.  This occours when an entry
is new, and has no password.  It may also occour in the future if we
allow PKINIT.  In any case, it shouldn't segfault :-)

Andrew Bartlett

16 years agor12680: Support setting the environment variable SMB_BUILD_VERBOSE to
Jelmer Vernooij [Mon, 2 Jan 2006 21:41:15 +0000 (21:41 +0000)]
r12680: Support setting the environment variable SMB_BUILD_VERBOSE to
print out more debug info

16 years agor12679: create a sperate function to create the 'winsOwner' part of the search filter,
Stefan Metzmacher [Mon, 2 Jan 2006 18:25:30 +0000 (18:25 +0000)]
r12679: create a sperate function to create the 'winsOwner' part of the search filter,
this is to handle the special '0.0.0.0' of old or manual added owned records

metze

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

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

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

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

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.

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

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

metze

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.

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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

metze

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

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

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.

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

metze

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

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>

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

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

metze

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

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

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.

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

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

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