13 years agor13325: let samba register it's own utf8 aware functions in ldb
Simo Sorce [Sat, 4 Feb 2006 01:27:47 +0000 (01:27 +0000)]
r13325: let samba register it's own utf8 aware functions in ldb

13 years agor13324: From now on check attribute names obey rfc2251
Simo Sorce [Sat, 4 Feb 2006 00:38:48 +0000 (00:38 +0000)]
r13324: From now on check attribute names obey rfc2251
Also add a way to provide utf8 compliant functions
by registering them with ldb_set_utf8_fns()

Next comes code to register samba internal utf8 functions.


13 years agor13321: Bind to each interface and to the interface on the KDC. This
Andrew Bartlett [Fri, 3 Feb 2006 23:19:00 +0000 (23:19 +0000)]
r13321: Bind to each interface and to the interface on the KDC.  This
was pointed out by Maurice Massar.  It ensures we get the addresses
for the krb5_mk_priv() correct (otherwise an MIT kpasswdd fails over

Also never run the KDC unless we are a DC.

Andrew Bartlett

13 years agor13320: Fix kpasswd's use of the local HDB. /dev/null was a bad idea, we want
Andrew Bartlett [Fri, 3 Feb 2006 23:07:58 +0000 (23:07 +0000)]
r13320: Fix kpasswd's use of the local HDB.  /dev/null was a bad idea, we want
'no filename' instead.

Andrew Bartlett

13 years agor13317: Create a new function messaging_client_init() which can be used when
Andrew Bartlett [Fri, 3 Feb 2006 22:30:30 +0000 (22:30 +0000)]
r13317: Create a new function messaging_client_init() which can be used when
we don't have a server messaging context.  We should replace the
datagram messages with stream sockets in this case, so we don't have
to create a unique socket.

Andrew Bartlett

13 years agor13307: docs
Simo Sorce [Fri, 3 Feb 2006 15:58:41 +0000 (15:58 +0000)]
r13307: docs

13 years agor13297: It's a good thing the shipment of function headers tridge
Jeremy Allison [Fri, 3 Feb 2006 02:07:22 +0000 (02:07 +0000)]
r13297: It's a good thing the shipment of function headers tridge
sent me arrived on time... :-).
Refactor this code to make it comprehensible. Tested
against W2K3 SP 1 and W2K SP 4. Test 19 is different
from what I thought. Turns out delete on close on
"open" of a directory (not create) does have an
effect - even if not reported in the flag bit.
trige please test against Vista (my XP box is
refusing to serve at the moment - have to reinstall).


13 years agor13289: Check the tree is not NULL
Simo Sorce [Wed, 1 Feb 2006 20:48:05 +0000 (20:48 +0000)]
r13289: Check the tree is not NULL
Thanks to Aaron J. Seigo <> for spotting this

13 years agor13283: added two optimisations to the tdb transactions code. The first is to
Andrew Tridgell [Wed, 1 Feb 2006 10:50:26 +0000 (10:50 +0000)]
r13283: added two optimisations to the tdb transactions code. The first is to
more agressively coalesce entries in the linked list of the undo
log. The second is to ensure that writes during a transaction into the
hash table don't cause the size of the undo log linked list to grow.

These optimisations don't affect Samba much, but they make a huge
difference to the use of ldb in kde

13 years agor13282: Indentation, and ensure we handle the talloc_free in the right place
Andrew Bartlett [Wed, 1 Feb 2006 10:04:55 +0000 (10:04 +0000)]
r13282: Indentation, and ensure we handle the talloc_free in the right place
all the time.

Andrew Bartlett

13 years agor13281: Use TALLOC_CTX * not a void *, and use tmp_ctx as the name for consistancy.
Andrew Bartlett [Wed, 1 Feb 2006 10:04:11 +0000 (10:04 +0000)]
r13281: Use TALLOC_CTX * not a void *, and use tmp_ctx as the name for consistancy.

(I was chasing ghosts in this code, and decided to do a cleanup while
I was there).

Andrew Bartlett

13 years agor13280: Tidy up formatting.
James Peach [Wed, 1 Feb 2006 06:05:08 +0000 (06:05 +0000)]
r13280: Tidy up formatting.

13 years agor13278: remove a silly strcasecmp() replacement
Andrew Tridgell [Wed, 1 Feb 2006 05:24:19 +0000 (05:24 +0000)]
r13278: remove a silly strcasecmp() replacement

13 years agor13277: print a useful error message when test 17 fails
Andrew Tridgell [Wed, 1 Feb 2006 05:22:44 +0000 (05:22 +0000)]
r13277: print a useful error message when test 17 fails

13 years agor13276: start to work towards the BASE-DELETE test passing. This change
Andrew Tridgell [Wed, 1 Feb 2006 05:20:54 +0000 (05:20 +0000)]
r13276: start to work towards the BASE-DELETE test passing. This change
ensures that we give the right error code to opens that are denied due
to the file having delete pending set

13 years agor13275: With a liberal sprinkling of smb_raw_exit this
Jeremy Allison [Wed, 1 Feb 2006 04:41:54 +0000 (04:41 +0000)]
r13275: With a liberal sprinkling of smb_raw_exit this
now passes for me for W2K and W2K3... booting the XP
box to test it...

13 years agor13272: Re-arrange so all the normal tests we can pass come first.
Jeremy Allison [Wed, 1 Feb 2006 04:09:02 +0000 (04:09 +0000)]
r13272: Re-arrange so all the normal tests we can pass come first.

13 years agor13271: Do the same tests with directories.
Jeremy Allison [Wed, 1 Feb 2006 03:36:04 +0000 (03:36 +0000)]
r13271: Do the same tests with directories.

13 years agor13270: Add tests for even more insane delete-on-close semantics.
Jeremy Allison [Wed, 1 Feb 2006 02:30:57 +0000 (02:30 +0000)]
r13270: Add tests for even more insane delete-on-close semantics.

13 years agor13269: ${prefix} is a special case in the autoconf/build system, and should
Andrew Bartlett [Wed, 1 Feb 2006 01:38:39 +0000 (01:38 +0000)]
r13269: ${prefix} is a special case in the autoconf/build system, and should
be escaped as \${prefix}, otherwise it evaluates too early as "NONE".

Andrew Bartlett

13 years agor13268: fixed typo noticed by Aaron Seigo
Andrew Tridgell [Tue, 31 Jan 2006 23:37:56 +0000 (23:37 +0000)]
r13268: fixed typo noticed by Aaron Seigo

13 years agor13265: Clarify how delegation works with the remote RPC backend.
Andrew Bartlett [Tue, 31 Jan 2006 22:58:50 +0000 (22:58 +0000)]
r13265: Clarify how delegation works with the remote RPC backend.

Andrew Bartlett

13 years agor13264: Move declaration before code.
James Peach [Tue, 31 Jan 2006 22:41:53 +0000 (22:41 +0000)]
r13264: Move declaration before code.

13 years agor13263: Check whether open(2) will accept the O_DIRECT flag. This should fix the
James Peach [Tue, 31 Jan 2006 21:56:12 +0000 (21:56 +0000)]
r13263: Check whether open(2) will accept the O_DIRECT flag. This should fix the
build on NetBSD.

13 years agor13258: Fix the talloc heirachy for ldb_tdb.
Andrew Bartlett [Tue, 31 Jan 2006 11:16:43 +0000 (11:16 +0000)]
r13258: Fix the talloc heirachy for ldb_tdb.

In the return value res->msgs, msgs was not a child of res, in the
indexed path.  Instead, it hung directly off the ldb, which was
sometimes a long-term context.

Also remove unused parameters.

Found by --leak-report-full

Andrew Bartlett

13 years agor13256: Free temporary memory on error cases, and try to clean up what's left
Andrew Bartlett [Tue, 31 Jan 2006 10:03:44 +0000 (10:03 +0000)]
r13256: Free temporary memory on error cases, and try to clean up what's left

Move gendb_search() to use talloc_vasprintf() and steal only the parts
actually being used for the results.

Andrew Bartlett

13 years agor13255: New CIFS dd client for use in performance testing. The guts of this is
James Peach [Tue, 31 Jan 2006 06:09:18 +0000 (06:09 +0000)]
r13255: New CIFS dd client for use in performance testing. The guts of this is
in client/cifsdd*, which implements a minimal implementation of dd. The
IO path is careful to always perform IO at the requested block size.

There is a very basic test suite in script/tests/ which
covers local and remote IO at a variety of block sizes.

Added to lib/util_str.c is a small set of conv_str_*() functions to
convert strings to the corresponding type.

smbcli_parse_unc is modified to insert NULL terminators after its
hostname and sharename parameters. This allows it to correctly parse a
path of the form //foo/share/path/file.

13 years agor13253: More work to ensure that we don't keep data on long-term contexts.
Andrew Bartlett [Tue, 31 Jan 2006 03:20:18 +0000 (03:20 +0000)]
r13253: More work to ensure that we don't keep data on long-term contexts.

Andrew Bartlett

13 years agor13252: Cleanup, both in code, comments and talloc use:
Andrew Bartlett [Tue, 31 Jan 2006 03:15:16 +0000 (03:15 +0000)]
r13252: Cleanup, both in code, comments and talloc use:

In particular, I've used the --leak-report-full option to smbd to
track down memory that shouldn't be on a long-term context.  This is
now talloc_free()ed much earlier.

Andrew Bartlett

13 years agor13250: I missed a couple of talloc_free()'s
Andrew Bartlett [Tue, 31 Jan 2006 02:01:52 +0000 (02:01 +0000)]
r13250: I missed a couple of talloc_free()'s

Andrew Bartlett

13 years agor13249: Check for alloca.h. popt needs this.
James Peach [Tue, 31 Jan 2006 01:53:21 +0000 (01:53 +0000)]
r13249: Check for alloca.h. popt needs this.

13 years agor13248: Revert revision 13071. It turns out that sys/param.h can be implicitly
James Peach [Tue, 31 Jan 2006 01:51:31 +0000 (01:51 +0000)]
r13248: Revert revision 13071. It turns out that sys/param.h can be implicitly
included from other headers. In this case, undeffing MIN and MAX is a
really bad idea because the subsequent include of sys/param.h will do
nothing because of its include guards.

13 years agor13247: Try to make better use of talloc in the auth/ and auth/gensec code.
Andrew Bartlett [Tue, 31 Jan 2006 01:50:54 +0000 (01:50 +0000)]
r13247: Try to make better use of talloc in the auth/ and auth/gensec code.
We don't want temporary memory hanging around on the long-term

Andrew Bartlett

13 years agor13246: Print winbindd pipe location correctly.
Andrew Bartlett [Tue, 31 Jan 2006 01:49:56 +0000 (01:49 +0000)]
r13246: Print winbindd pipe location correctly.

Andrew Bartlett

13 years agor13245: Don't segfault if we don't have a credentials structure on this gensec
Andrew Bartlett [Tue, 31 Jan 2006 01:48:07 +0000 (01:48 +0000)]
r13245: Don't segfault if we don't have a credentials structure on this gensec

Andrew Bartlett

13 years agor13244: Allow control of the location of the Samba3-compatible winbindd pipe
Andrew Bartlett [Tue, 31 Jan 2006 00:48:57 +0000 (00:48 +0000)]
r13244: Allow control of the location of the Samba3-compatible winbindd pipe
in Samba4.  This allows us to start winbindd by default, including in
'make test'.

This is via a new 'winbindd socket directory' parameter for utilities
linked against loadparm, as well as a --with-winbindd-socket-dir
option to configure (setting the default and the value for simple

I hope to add basic winbindd tests, to ensure continued correct
operation, but at least now I don't have to manually change my 'server
services' line.

The other problem with the hard-coded /tmp/.winbind is that RedHat has
moved this in Fedora (to /var/run I think).  For this reason, this
functionality should probably be ported to Samba3 as well.

The default for Samba4 is PREFIX/var/run/winbind_pipe.

I have also re-added the paranoia checks from Samba3 for correct
permissions on the socket directory.

Andrew Bartlett

13 years agor13243: Bring __FUNCTION__ checks across from Samba 3.
James Peach [Tue, 31 Jan 2006 00:00:10 +0000 (00:00 +0000)]
r13243: Bring __FUNCTION__ checks across from Samba 3.

13 years agor13242: cc-1009 cc: WARNING File = librpc/idl/nbt.idl, Line = 579
James Peach [Mon, 30 Jan 2006 23:43:17 +0000 (23:43 +0000)]
r13242: cc-1009 cc: WARNING File = librpc/idl/nbt.idl, Line = 579
cc-1009 cc: WARNING File = librpc/idl/nbt.idl, Line = 580
  A "/*" appears inside a comment.

13 years agor13241: Work around missing AS_HELP_STRING definition in autoconf 2.57. Fix
James Peach [Mon, 30 Jan 2006 23:09:21 +0000 (23:09 +0000)]
r13241: Work around missing AS_HELP_STRING definition in autoconf 2.57. Fix
from Brad Hards <>.

13 years agor13240: Make the test scripts use the new smb.conf location (in PREFIX/etc).
Andrew Bartlett [Mon, 30 Jan 2006 22:23:17 +0000 (22:23 +0000)]
r13240: Make the test scripts use the new smb.conf location (in PREFIX/etc).

Andrew Bartlett

13 years agor13239: Silly little patch: make the order of declaration match the order of use.
Andrew Bartlett [Mon, 30 Jan 2006 22:22:37 +0000 (22:22 +0000)]
r13239: Silly little patch:  make the order of declaration match the order of use.

13 years agor13228: revert more stuff from 13208
Stefan Metzmacher [Mon, 30 Jan 2006 08:12:35 +0000 (08:12 +0000)]
r13228: revert more stuff from 13208


13 years agor13227: revert some more stuff from 13208
Stefan Metzmacher [Mon, 30 Jan 2006 07:59:53 +0000 (07:59 +0000)]
r13227: revert some more stuff from 13208


13 years agor13226: remove empty file
Stefan Metzmacher [Mon, 30 Jan 2006 07:58:45 +0000 (07:58 +0000)]
r13226: remove empty file


13 years agor13225: Enable full compiler warnings for developer mode on IRIX.
James Peach [Mon, 30 Jan 2006 05:24:59 +0000 (05:24 +0000)]
r13225: Enable full compiler warnings for developer mode on IRIX.

13 years agor13210: Revert my named pipes patch until it passes not just 'make quicktest' but
Jelmer Vernooij [Sat, 28 Jan 2006 20:08:03 +0000 (20:08 +0000)]
r13210: Revert my named pipes patch until it passes not just 'make quicktest' but
also 'make test'

13 years agor13208: Clearly separate named pipes from the IPC$ NTVFS type.
Jelmer Vernooij [Sat, 28 Jan 2006 12:58:38 +0000 (12:58 +0000)]
r13208: Clearly separate named pipes from the IPC$ NTVFS type.

This allows the easy addition of additional named pipes and removes the
circular dependencies between the CIFS, RPC and RAP servers.

Simple tests for a custom named pipe included.

13 years agor13207: Use the new API for using/not using kerbeors in hdb-ldb.c
Andrew Bartlett [Sat, 28 Jan 2006 12:19:20 +0000 (12:19 +0000)]
r13207: Use the new API for using/not using kerbeors in hdb-ldb.c

Update the rootdse module to use the new schema.

Andrew Bartlett

13 years agor13206: This patch finally re-adds a -k option that works reasonably.
Andrew Bartlett [Sat, 28 Jan 2006 12:15:24 +0000 (12:15 +0000)]
r13206: This patch finally re-adds a -k option that works reasonably.

From here we can add tests to Samba for kerberos, forcing it on and
off.  In the process, I also remove the dependency of credentials on

This also picks up on the idea of bringing 'set_boolean' into general
code from jpeach's cifsdd patch.

Andrew Bartlett

13 years agor13205: Add another useful comment.
Andrew Bartlett [Sat, 28 Jan 2006 12:01:39 +0000 (12:01 +0000)]
r13205: Add another useful comment.

Andrew Bartlett

13 years agor13204: Remove extra newline we don't need.
Andrew Bartlett [Sat, 28 Jan 2006 11:58:35 +0000 (11:58 +0000)]
r13204: Remove extra newline we don't need.

Andrew Bartlett

13 years agor13203: Make this comment clearer.
Andrew Bartlett [Sat, 28 Jan 2006 11:57:33 +0000 (11:57 +0000)]
r13203: Make this comment clearer.

Andrew Bartlett

13 years agor13189: suggest a couple of dev libs before compiling.
Simo Sorce [Fri, 27 Jan 2006 18:16:53 +0000 (18:16 +0000)]
r13189: suggest a couple of dev libs before compiling.

13 years agor13186: Remove assumption that callers that specify -1 actually mean sizeof(pstring)
Jelmer Vernooij [Fri, 27 Jan 2006 13:29:47 +0000 (13:29 +0000)]
r13186: Remove assumption that callers that specify -1 actually mean sizeof(pstring)

13 years agor13182: Add first bits of browsing testsuite.
Jelmer Vernooij [Fri, 27 Jan 2006 13:10:24 +0000 (13:10 +0000)]
r13182: Add first bits of browsing testsuite.

13 years agor13181: Fix standalone ldb build
Jelmer Vernooij [Fri, 27 Jan 2006 05:10:20 +0000 (05:10 +0000)]
r13181: Fix standalone ldb build

13 years agor13180: Add note about smb.conf location
Jelmer Vernooij [Fri, 27 Jan 2006 04:57:40 +0000 (04:57 +0000)]
r13180: Add note about smb.conf location

13 years agor13179: Add note about removing the optional password argument to smbclient.
Jelmer Vernooij [Fri, 27 Jan 2006 04:42:40 +0000 (04:42 +0000)]
r13179: Add note about removing the optional password argument to smbclient.

13 years agor13170: Remove some dependencies on -1 implying the size of pstring
Jelmer Vernooij [Thu, 26 Jan 2006 22:22:26 +0000 (22:22 +0000)]
r13170: Remove some dependencies on -1 implying the size of pstring

13 years agor13169: Fix typo (noticed by Jeroen Keiren)
Jelmer Vernooij [Thu, 26 Jan 2006 22:16:38 +0000 (22:16 +0000)]
r13169: Fix typo (noticed by Jeroen Keiren)

13 years agor13167: handle cotrols' reply even in error
Simo Sorce [Thu, 26 Jan 2006 16:42:25 +0000 (16:42 +0000)]
r13167: handle cotrols' reply even in error

13 years agor13166: Patches form Brad Hards
Simo Sorce [Thu, 26 Jan 2006 16:37:37 +0000 (16:37 +0000)]
r13166: Patches form Brad Hards

13 years agor13163: as we don't import the raw magic configure vars for
Stefan Metzmacher [Thu, 26 Jan 2006 12:59:55 +0000 (12:59 +0000)]
r13163: as we don't import the raw magic configure vars for
libdir, datadir, sysconfdir,localstatedir into our Makefile
we need to expand them in configure

I'll maybe rework this later but for now this works


13 years agor13161: Remove optional password as second parameter. Improve return values a bit.
Jelmer Vernooij [Thu, 26 Jan 2006 11:48:45 +0000 (11:48 +0000)]
r13161: Remove optional password as second parameter. Improve return values a bit.

13 years agor13160: Fix some of the smbclient testsuite (after failures on the buildfarm)
Jelmer Vernooij [Thu, 26 Jan 2006 11:47:45 +0000 (11:47 +0000)]
r13160: Fix some of the smbclient testsuite (after failures on the buildfarm)

13 years agor13158: Fix setup and ejs paths
Jelmer Vernooij [Thu, 26 Jan 2006 10:18:26 +0000 (10:18 +0000)]
r13158: Fix setup and ejs paths

13 years agor13157: Fix installation of js files
Jelmer Vernooij [Thu, 26 Jan 2006 08:27:48 +0000 (08:27 +0000)]
r13157: Fix installation of js files

13 years agor13156: Add some tests for smbclient
Jelmer Vernooij [Thu, 26 Jan 2006 06:35:13 +0000 (06:35 +0000)]
r13156: Add some tests for smbclient

13 years agor13155: Large amount of updates to smbclient to:
Jelmer Vernooij [Thu, 26 Jan 2006 06:33:45 +0000 (06:33 +0000)]
r13155: Large amount of updates to smbclient to:
 - Remove global variables (pass things around as variables, add a 'struct smbclient_context')
 - Get rid of pstring
 - Fix up some of the return values
 - Fix some generally weird code

13 years agor13154: Add some const
Jelmer Vernooij [Thu, 26 Jan 2006 06:29:59 +0000 (06:29 +0000)]
r13154: Add some const

13 years agor13153: Try to move closer to FHS. This probably breaks everything...
Andrew Bartlett [Thu, 26 Jan 2006 05:57:53 +0000 (05:57 +0000)]
r13153: Try to move closer to FHS.  This probably breaks everything...

Andrew Bartlett

13 years agor13152: Jelmer assures me that this won't break anything, but does make it
Andrew Bartlett [Thu, 26 Jan 2006 05:05:26 +0000 (05:05 +0000)]
r13152: Jelmer assures me that this won't break anything, but does make it
much clearer where things go.

Andrew Bartlett

13 years agor13150: Correct comment.
Andrew Bartlett [Thu, 26 Jan 2006 02:02:47 +0000 (02:02 +0000)]
r13150: Correct comment.

Andrew Bartlett

13 years agor13149: DEBUG is a bad choice for 'net', it should print to stderr
Andrew Bartlett [Thu, 26 Jan 2006 01:59:07 +0000 (01:59 +0000)]
r13149: DEBUG is a bad choice for 'net', it should print to stderr

Andrew Bartlett

13 years agor13144: This seems to be required for Samba4 to talk to Samba4, and to get the
Andrew Bartlett [Wed, 25 Jan 2006 22:47:10 +0000 (22:47 +0000)]
r13144: This seems to be required for Samba4 to talk to Samba4, and to get the
same session key.  I need to understand this more, but it works
samba/samba, and I don't have access to windows doing AES (longhorn)

Andrew Bartlett

13 years agor13131: windows sends termination here, this fixes access with regedit
Stefan Metzmacher [Wed, 25 Jan 2006 12:54:30 +0000 (12:54 +0000)]
r13131: windows sends termination here, this fixes access with regedit


13 years agor13129: fix the memory hierachie
Stefan Metzmacher [Wed, 25 Jan 2006 12:19:49 +0000 (12:19 +0000)]
r13129: fix the memory hierachie


13 years agor13128: init the private_data to NULL
Stefan Metzmacher [Wed, 25 Jan 2006 12:19:13 +0000 (12:19 +0000)]
r13128: init the private_data to NULL

so so that we don't crash when ntvfs_connect() fails


13 years agor13123: Some small doc updates.
Jelmer Vernooij [Tue, 24 Jan 2006 23:38:43 +0000 (23:38 +0000)]
r13123: Some small doc updates.

13 years agor13117: the caller may reference the winsdb_addr struct,
Stefan Metzmacher [Tue, 24 Jan 2006 19:37:44 +0000 (19:37 +0000)]
r13117: the caller may reference the winsdb_addr struct,
and as a winsdb_record has a short lifetime, it's no problem
to not free unused addresses directly


13 years agor13116: make sure we don't add more than 25 addresses to a record,
Stefan Metzmacher [Tue, 24 Jan 2006 19:14:08 +0000 (19:14 +0000)]
r13116: make sure we don't add more than 25 addresses to a record,
and don't return more than 25 in a name query reply

we now also order the addresses from the newest owned address
to the oldest replica address


13 years agor13115: call the wins hook script on modifications of the wins.ldb
Stefan Metzmacher [Tue, 24 Jan 2006 19:07:40 +0000 (19:07 +0000)]
r13115: call the wins hook script on modifications of the wins.ldb

tridge: can you please look at the /* TODO: close file handles */
        btw I'm not interessted in any result from the script...


13 years agor13114: remove 'const' and make clear what the parameters are for
Stefan Metzmacher [Tue, 24 Jan 2006 18:40:53 +0000 (18:40 +0000)]
r13114: remove 'const' and make clear what the parameters are for


13 years agor13113: 4.0.0tp1 has just released,
Stefan Metzmacher [Tue, 24 Jan 2006 18:37:00 +0000 (18:37 +0000)]
r13113: 4.0.0tp1 has just released,
so change the version to 4.0.0tp2-SVN-build-X


13 years agor13112: merge over some stuff from samba3
Stefan Metzmacher [Tue, 24 Jan 2006 18:35:01 +0000 (18:35 +0000)]
r13112: merge over some stuff from samba3


13 years agor13111: w2k3 uses the naxVersion id for calculating the notification,
Stefan Metzmacher [Tue, 24 Jan 2006 17:36:13 +0000 (17:36 +0000)]
r13111: w2k3 uses the naxVersion id for calculating the notification,
so we do now


13 years agor13107: Follow the lead of Heimdal's kpasswdd and use the HDB (hdb-ldb in our
Andrew Bartlett [Tue, 24 Jan 2006 05:31:08 +0000 (05:31 +0000)]
r13107: Follow the lead of Heimdal's kpasswdd and use the HDB (hdb-ldb in our
case) as the keytab.

This avoids issues in replicated setups, as we will replicate the
kpasswd key correctly (including from windows, which is why I care at
the moment).

Andrew Bartlett

13 years agor13104: Migrate and set secrets keytab values in the 'net join' code. This
Andrew Bartlett [Tue, 24 Jan 2006 02:25:50 +0000 (02:25 +0000)]
r13104: Migrate and set secrets keytab values in the 'net join' code.  This
avoids falling back to in-memory keytabs.

Andrew Bartlett

13 years agor13103: Walk the names in the node status request, so I can find a server
Andrew Bartlett [Tue, 24 Jan 2006 01:57:31 +0000 (01:57 +0000)]
r13103: Walk the names in the node status request, so I can find a server
name, and use that.

(I was trying to find a machine by the name of __SAMBA__)

Andrew Bartlett

13 years agor13102: fixed the vampire code to correctly setup foreign sids and default
Andrew Tridgell [Tue, 24 Jan 2006 01:52:56 +0000 (01:52 +0000)]
r13102: fixed the vampire code to correctly setup foreign sids and default
unix name mappings

13 years agor13101: doesn't have to be run when compiling from a released tarball
Jelmer Vernooij [Tue, 24 Jan 2006 01:52:42 +0000 (01:52 +0000)]
r13101: doesn't have to be run when compiling from a released tarball
(running it anyway might give problems for people who don't have autoconf
installed properly or at all)
Fix typo

13 years agor13100: removed unused menu item
Andrew Tridgell [Tue, 24 Jan 2006 00:47:58 +0000 (00:47 +0000)]
r13100: removed unused menu item

13 years agor13099: allow shares that point to /
Andrew Tridgell [Tue, 24 Jan 2006 00:34:58 +0000 (00:34 +0000)]
r13099: allow shares that point to /

13 years agor13098: make check for workgroup and realm case insensitive
Andrew Tridgell [Tue, 24 Jan 2006 00:16:54 +0000 (00:16 +0000)]
r13098: make check for workgroup and realm case insensitive

13 years agor13097: move the creation of the default sam name -> unix name mappings into
Andrew Tridgell [Tue, 24 Jan 2006 00:11:32 +0000 (00:11 +0000)]
r13097: move the creation of the default sam name -> unix name mappings into
the main provision logic, so it can also be used as part of the
vampire process

13 years agor13096: explain what YOURDOM and YOUR.REALM are (in case people confuse the
Andrew Tridgell [Tue, 24 Jan 2006 00:09:41 +0000 (00:09 +0000)]
r13096: explain what YOURDOM and YOUR.REALM are (in case people confuse the
different meanings of the word domain)

13 years agor13088: - handle non-active static entries
Stefan Metzmacher [Mon, 23 Jan 2006 16:04:27 +0000 (16:04 +0000)]
r13088: - handle non-active static entries
- improve verifiying a replica with a remote wins server
  we now take the ownership of replica records that doesn't match
  the answer from the wins owner and make the record tombstone.
  this hopefully causes the original wins owner to propagate its
  new record, so that it will be replicated back to us


13 years agor13087: don't store timestamps for static records
Stefan Metzmacher [Mon, 23 Jan 2006 14:54:10 +0000 (14:54 +0000)]
r13087: don't store timestamps for static records
(only a per record timestamp when it's not active)


13 years agor13084: fix 'make test'!
Stefan Metzmacher [Mon, 23 Jan 2006 14:29:10 +0000 (14:29 +0000)]
r13084: fix 'make test'!

I would sugguest to run 'make test && make valgrind' before each commit
at this stage...


13 years agor13080: fix crash bug
Stefan Metzmacher [Mon, 23 Jan 2006 12:55:22 +0000 (12:55 +0000)]
r13080: fix crash bug