samba.git
16 years agoRe-add 'db' subdirectory for LDAP backend provision
Andrew Bartlett [Tue, 15 Apr 2008 15:10:47 +0000 (17:10 +0200)]
Re-add 'db' subdirectory for LDAP backend provision

Andrew Bartlett
(This used to be commit 19890c0d15adf4f099365f276a4bfdd3f4de52b6)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Tue, 15 Apr 2008 14:56:15 +0000 (16:56 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 66327b8bd8dbde140b93f000a81ba13e743f27b0)

16 years agoFix some of the winbind tests.
Andrew Bartlett [Tue, 15 Apr 2008 14:31:08 +0000 (16:31 +0200)]
Fix some of the winbind tests.

Some of the test expectations were incorrect.

Andrew Bartlett
(This used to be commit bc0e94360edb99e967dac01a3ecff42de0c1c222)

16 years agoFix winbind to check machine account.
Andrew Bartlett [Tue, 15 Apr 2008 14:29:13 +0000 (16:29 +0200)]
Fix winbind to check machine account.

This enables 'wbinfo -t', by checking the machine account with a
SamLogon call.

Andrew Bartlett
(This used to be commit abefa12029a17e9007f4884f3651d835a10ee9e3)

16 years agoFix size to memcpy call in generated Samba 3 client code.
Jelmer Vernooij [Tue, 15 Apr 2008 14:00:07 +0000 (16:00 +0200)]
Fix size to memcpy call in generated Samba 3 client code.

Reported-By: vl
(This used to be commit a28807569d0cf32968bacdc0bd88197b19fbae49)

16 years agoFix provision-backend script
Andrew Bartlett [Tue, 15 Apr 2008 13:52:52 +0000 (15:52 +0200)]
Fix provision-backend script

Andrew Bartlett
(This used to be commit ee6e4f8da229ddeca856a6db94236367aae06f63)

16 years agoFix pointers when pushing strings to python during pidl generation.
Jelmer Vernooij [Tue, 15 Apr 2008 12:32:13 +0000 (14:32 +0200)]
Fix pointers when pushing strings to python during pidl generation.
(This used to be commit ca72187b3e71a037780d42a57e46b60e75f724f6)

16 years agoSaner names for Python objects.
Jelmer Vernooij [Tue, 15 Apr 2008 10:51:31 +0000 (12:51 +0200)]
Saner names for Python objects.
(This used to be commit f4de8d2c1c956bc85b91dc7aab20e5e7671f51bc)

16 years agoFix warnings.
Jelmer Vernooij [Tue, 15 Apr 2008 10:15:43 +0000 (12:15 +0200)]
Fix warnings.
(This used to be commit 88013ca9775a6ff5e5a393f9d8238dbcd197f26f)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into HEAD
Jelmer Vernooij [Tue, 15 Apr 2008 09:10:56 +0000 (11:10 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into HEAD
(This used to be commit a039acb9156b3855e8565ce6d1ca078aea18a349)

16 years agoAttempt to fix the pidl installation on fedora.
Jelmer Vernooij [Tue, 15 Apr 2008 08:55:32 +0000 (10:55 +0200)]
Attempt to fix the pidl installation on fedora.
(This used to be commit 4dd29284bdffc96df1d6eb71b25e305f107d1e12)

16 years agoTest password change with 'net password change'.
Andrew Bartlett [Tue, 15 Apr 2008 08:40:06 +0000 (10:40 +0200)]
Test password change with 'net password change'.

Andrew Bartlett
(This used to be commit 695cee0349f561625e4bbfa3a142a5e35f7eb4bf)

16 years agoTest a few more bits of smbclient
Andrew Bartlett [Tue, 15 Apr 2008 08:05:29 +0000 (10:05 +0200)]
Test a few more bits of smbclient
(This used to be commit 24a2409d725953ed5f62c652acc929ee7ddf9a19)

16 years agoAdd blackbox test for ndrdump, to ensure it at least does not
Andrew Bartlett [Tue, 15 Apr 2008 07:13:32 +0000 (09:13 +0200)]
Add blackbox test for ndrdump, to ensure it at least does not
segfault.

Andrew Bartlett
(This used to be commit d2fe61a13a8368ceae30c6e7320c8d3d62fbc485)

16 years agoWork around 'test' quirks - use make's string comparison instead.
Jelmer Vernooij [Tue, 15 Apr 2008 02:08:28 +0000 (04:08 +0200)]
Work around 'test' quirks - use make's string comparison instead.
(This used to be commit 434b61623ecfd846f043ee92c833e92cf905e7b4)

16 years agoFix ALL_OBJS value.
Jelmer Vernooij [Tue, 15 Apr 2008 01:59:56 +0000 (03:59 +0200)]
Fix ALL_OBJS value.
(This used to be commit 8710087728cc44761ae85f66c541ab1650e1b952)

16 years agoMove SOVERSION, VERSION and PC_FILE out of smb_build but use make variables directly...
Jelmer Vernooij [Tue, 15 Apr 2008 00:25:16 +0000 (02:25 +0200)]
Move SOVERSION, VERSION and PC_FILE out of smb_build but use make variables directly instead.
(This used to be commit 9d0ae012b0b463278cd054d06788aa998acc2da2)

16 years agoMake sure init function sentinels are set for modules.
Jelmer Vernooij [Mon, 14 Apr 2008 23:52:55 +0000 (01:52 +0200)]
Make sure init function sentinels are set for modules.
(This used to be commit fac3463dd505404998b6b00526f1dad6ae47ba84)

16 years agoFix the build.
Jelmer Vernooij [Mon, 14 Apr 2008 23:40:32 +0000 (01:40 +0200)]
Fix the build.
(This used to be commit ecaa5bb83b5cf319718d15aff96152d70fa19f7f)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
Jelmer Vernooij [Mon, 14 Apr 2008 21:30:17 +0000 (23:30 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
(This used to be commit 0239011ced6c864f85b47a342438228a8f6940ee)

16 years agoUse RpcInterfaceTestCase everywhere.
Jelmer Vernooij [Mon, 14 Apr 2008 21:28:14 +0000 (23:28 +0200)]
Use RpcInterfaceTestCase everywhere.
(This used to be commit 799095b4e567f4495adf7d1d7bcb81dda6782959)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
Jelmer Vernooij [Mon, 14 Apr 2008 20:57:07 +0000 (22:57 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
(This used to be commit 7fd98e492e2bf71d111ea8fa3ca9108506f60264)

16 years agoExplicitly specify the paths when installing pidl.
Jelmer Vernooij [Mon, 14 Apr 2008 17:41:13 +0000 (19:41 +0200)]
Explicitly specify the paths when installing pidl.
(This used to be commit 5e988a34ded288660c6e543e59b566ec12d2fba7)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into fixbuild
Jelmer Vernooij [Mon, 14 Apr 2008 20:34:22 +0000 (22:34 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into fixbuild
(This used to be commit d2d564ad2e9b7cb0440a30a302176cce333649c7)

16 years agoFix the build.
Jelmer Vernooij [Mon, 14 Apr 2008 18:39:12 +0000 (20:39 +0200)]
Fix the build.
(This used to be commit a70cbd63d9c398ddcbbaa595ee29343335e89aa7)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
Jelmer Vernooij [Mon, 14 Apr 2008 18:00:32 +0000 (20:00 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
(This used to be commit 1ef3830bb0d6e91e3b00e880784ca0741d9b4d49)

16 years agoFix unresolved symbols.
Jelmer Vernooij [Mon, 14 Apr 2008 18:00:04 +0000 (20:00 +0200)]
Fix unresolved symbols.
(This used to be commit 8573e828d1b68c47b3c1754e9be230b2e78d9d52)

16 years agoExplicitly specify the paths when installing pidl.
Jelmer Vernooij [Mon, 14 Apr 2008 17:41:13 +0000 (19:41 +0200)]
Explicitly specify the paths when installing pidl.
(This used to be commit 1695e0e1ab3f2151490232462b0e3650eba96237)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Mon, 14 Apr 2008 17:32:42 +0000 (19:32 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 0f0c8519b87481e3473a469cefd51c76b4a7632e)

16 years agoMake sure credentials are specified when running the Python winreg RPC tests.
Jelmer Vernooij [Mon, 14 Apr 2008 17:20:43 +0000 (19:20 +0200)]
Make sure credentials are specified when running the Python winreg RPC tests.
(This used to be commit 280339e3d126f5c72dc271051b72839fde0c5c9f)

16 years agoAllow command line options in the subunitrun script.
Jelmer Vernooij [Mon, 14 Apr 2008 17:13:41 +0000 (19:13 +0200)]
Allow command line options in the subunitrun script.
(This used to be commit 524ec0796efebd48e7b5b2eb5fcc92ecc13c0071)

16 years agoAlso look in the environment for smb.conf path.
Jelmer Vernooij [Mon, 14 Apr 2008 17:01:32 +0000 (19:01 +0200)]
Also look in the environment for smb.conf path.
(This used to be commit 8be7d93735a357a3b73a1c4413d6fd9ec09b7555)

16 years agoFix problems with event context not being the parent.
Simo Sorce [Mon, 14 Apr 2008 16:43:37 +0000 (12:43 -0400)]
Fix problems with event context not being the parent.
(This used to be commit 957c4d893acf9e6db06a3fc3a4687ab6bb238635)

16 years agoAdd convenience TestCase class for testing RPC interfaces.
Jelmer Vernooij [Mon, 14 Apr 2008 16:30:07 +0000 (18:30 +0200)]
Add convenience TestCase class for testing RPC interfaces.
(This used to be commit 2f19f981449bf6f4d29f231259817c8b66104a9b)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Mon, 14 Apr 2008 16:01:40 +0000 (18:01 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit f610862dc900cb3ddf0f275641bc3b66ad1f3bc4)

16 years agoEnsure we initialise s->lp_ctx for the way into the provision.
Andrew Bartlett [Mon, 14 Apr 2008 15:58:09 +0000 (17:58 +0200)]
Ensure we initialise s->lp_ctx for the way into the provision.

Andrew Bartlett
(This used to be commit b191a1953c24545e9dc1869fc33cb29343d4e3f2)

16 years agoFix order of variables in the makefile.
Jelmer Vernooij [Mon, 14 Apr 2008 15:54:19 +0000 (17:54 +0200)]
Fix order of variables in the makefile.
(This used to be commit f64c1d53ba50bb50d32f819adf8727513468ccd7)

16 years agoUse _OBJ_FILES variables in a couple more places.
Jelmer Vernooij [Mon, 14 Apr 2008 15:22:58 +0000 (17:22 +0200)]
Use _OBJ_FILES variables in a couple more places.
(This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)

16 years agoMove object files lists to makefile rather than smb_build.
Jelmer Vernooij [Mon, 14 Apr 2008 14:53:00 +0000 (16:53 +0200)]
Move object files lists to makefile rather than smb_build.
(This used to be commit 5628d58990144463fd87f8c847c9384ac2193681)

16 years agolib/events: fix missing prototype of s4_events_aio_init()
Stefan Metzmacher [Mon, 14 Apr 2008 14:45:38 +0000 (16:45 +0200)]
lib/events: fix missing prototype of s4_events_aio_init()

metze
(This used to be commit 8dca5b9bbb8706a98ad9a15f1b479be497dd44e7)

16 years agoMakefile: fix variable name automatic_deps -> automatic_dependencies
Stefan Metzmacher [Mon, 14 Apr 2008 14:41:46 +0000 (16:41 +0200)]
Makefile: fix variable name automatic_deps -> automatic_dependencies

metze
(This used to be commit 7ffc44b7c126dc08d928e63af30111b2c556146f)

16 years agoInclude the smbconf parameter to the provision
Andrew Bartlett [Mon, 14 Apr 2008 14:01:15 +0000 (16:01 +0200)]
Include the smbconf parameter to the provision

Otherwise this fails, if the targetdir is not specified

Andrew Bartlett
(This used to be commit cd2d3d1c7a0aad7beb167459276c012c7a6d2e88)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Mon, 14 Apr 2008 13:26:26 +0000 (15:26 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 79854f0aa6a9899bb72d302cbca695b8b3a3b0dc)

16 years agoMove standard make compilation rules to build/make.
Jelmer Vernooij [Mon, 14 Apr 2008 12:51:57 +0000 (14:51 +0200)]
Move standard make compilation rules to build/make.
(This used to be commit ceda3312a98b069d0711f3cb33de3ae71e91ebaa)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Mon, 14 Apr 2008 11:49:47 +0000 (13:49 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 92751a73cd854365d365db854179bfd5aeabe7a2)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
Jelmer Vernooij [Mon, 14 Apr 2008 09:55:19 +0000 (11:55 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
(This used to be commit 9d3d64e1387e9f20383c255bba27128cf4b9519e)

16 years agoRemove prototypes from build.h in preparation of removing build.h
Jelmer Vernooij [Mon, 14 Apr 2008 09:54:50 +0000 (11:54 +0200)]
Remove prototypes from build.h in preparation of removing build.h
altogether.
(This used to be commit dbeab2a9cdee4e5f69afeb2603ba29cbed56debd)

16 years agoRe-run SWIG
Andrew Bartlett [Mon, 14 Apr 2008 09:53:28 +0000 (11:53 +0200)]
Re-run SWIG
(This used to be commit 2f8010582607ad7389cac3de4945ea0ee46941b3)

16 years agoFix newuser and setpassword scripts, and port to idmap.
Andrew Bartlett [Mon, 14 Apr 2008 09:51:02 +0000 (11:51 +0200)]
Fix newuser and setpassword scripts, and port to idmap.

The new idmap world does not use the unixUser any more, so we need to
set up the entry (if wanted) in the idmap database.  Users without a
backing unix user will get an allocated uid by idmap later.

Andrew Bartlett
(This used to be commit 8bd8bc1475ddf22d4702dcd17028a9043a5e629f)

16 years agoAdd in a way to get at the private_path() function from python
Andrew Bartlett [Mon, 14 Apr 2008 09:48:43 +0000 (11:48 +0200)]
Add in a way to get at the private_path() function from python

Andrew Bartlett
(This used to be commit 416d2e3a5233f0c243e45857cfda5126c34ac265)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Andrew Tridgell [Mon, 14 Apr 2008 09:32:04 +0000 (11:32 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit 068c973dbeed5b0f5ccab4f780ae7db3535f5910)

16 years agofill in unknown fields in SMB2 READ call
Andrew Tridgell [Mon, 14 Apr 2008 09:31:17 +0000 (11:31 +0200)]
fill in unknown fields in SMB2 READ call
(This used to be commit 9b686c138037f613da15168d0722786e00f023e5)

16 years agoshow what type of idmapping has failed
Andrew Tridgell [Mon, 14 Apr 2008 09:30:10 +0000 (11:30 +0200)]
show what type of idmapping has failed
(This used to be commit 8a222419528153b889cb1a7eae09a155f196b9b5)

16 years agosmb_build: Make sure LIBRARY_SONAME is never uninitialized.
James Peach [Sun, 13 Apr 2008 21:09:09 +0000 (14:09 -0700)]
smb_build: Make sure LIBRARY_SONAME is never uninitialized.
(This used to be commit 2b8cf1b2a447711d123c563dfbd9a54941155267)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into cprovision
Jelmer Vernooij [Sun, 13 Apr 2008 20:49:08 +0000 (22:49 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into cprovision
(This used to be commit 9b8448c1e4567be26fa4890c647e0d4d46efbe20)

16 years agoUse torture_assert_mem_equal() in a couple more places.
Jelmer Vernooij [Sun, 13 Apr 2008 20:00:36 +0000 (22:00 +0200)]
Use torture_assert_mem_equal() in a couple more places.
(This used to be commit e2c3fab9d1bf0482c15a115e7d373562ffe50b29)

16 years agoUse new torture_assert_mem_equal.
Jelmer Vernooij [Sun, 13 Apr 2008 19:33:59 +0000 (21:33 +0200)]
Use new torture_assert_mem_equal.
(This used to be commit b6319b64d7ef9c58f771f338317d4d525d39a8f2)

16 years agoAttempt to fix get_value() test on sparc machines.
Jelmer Vernooij [Sun, 13 Apr 2008 19:31:06 +0000 (21:31 +0200)]
Attempt to fix get_value() test on sparc machines.
(This used to be commit 10102d80d0f78777a69f6b3b1e5606d7d56b7254)

16 years agoActually test the different 'fill levels' in the provision process.
Andrew Bartlett [Fri, 11 Apr 2008 09:38:36 +0000 (19:38 +1000)]
Actually test the different 'fill levels' in the provision process.

This should cover a few more codepaths in the provision script.

Andrew Bartlett
(This used to be commit 75c8dc6c6f3134bb78356630f24617aaeb869344)

16 years agoReuse the lp_ctx and samdb returned by the python provision.
Andrew Bartlett [Fri, 11 Apr 2008 09:37:23 +0000 (19:37 +1000)]
Reuse the lp_ctx and samdb returned by the python provision.

Apply the same fix as in libnet_vampire in the old DRS test code.

Andrew Bartlett
(This used to be commit 34adb0e0bb1b3c340d7098e7a3d12f73f798d0e7)

16 years agoDon't specify the ntds_guid to the C -> python provision interface
Andrew Bartlett [Fri, 11 Apr 2008 09:35:15 +0000 (19:35 +1000)]
Don't specify the ntds_guid to the C -> python provision interface

This paramter was not used anyway.

Andrew Bartlett
(This used to be commit 6875e6823f7a1fe9066bff4dffcab658a17d3b8c)

16 years agoDon't reopen the sam.ldb again
Andrew Bartlett [Fri, 11 Apr 2008 09:33:52 +0000 (19:33 +1000)]
Don't reopen the sam.ldb again

Andrew Bartlett
(This used to be commit b51b8a2d846284de4dff736fc18cf747c188de96)

16 years agoUse the python-provided ldb and lp_ctx pointers in libnet_vampire.c
Andrew Bartlett [Fri, 11 Apr 2008 09:15:24 +0000 (19:15 +1000)]
Use the python-provided ldb and lp_ctx pointers in libnet_vampire.c

By using the already open smb.conf and sam.ldb, we not only avoid
overhead, but also remove the risk we could touch a different
database.

Andrew Bartlett
(This used to be commit 38634183a074556c8dfdcb6affc60f4bcc15a3f0)

16 years agoFar less cryptic traceback when you have an existing smb.conf
Andrew Bartlett [Fri, 11 Apr 2008 09:04:43 +0000 (19:04 +1000)]
Far less cryptic traceback when you have an existing smb.conf

When the user has an existing smb.conf, but no [netlogon] or [sysvol]
share, the provision script would trigger a traceback.  While we still
need to abort in this situation, we do so now with a useful error.

Andrew Bartlett
(This used to be commit 10a8b7ea487f9725f69b02c4dd9cf5e1f67a23ab)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Fri, 11 Apr 2008 04:35:26 +0000 (14:35 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit de5349cc7a5a97c0d2d7288436a4090dfd9bd093)

16 years agoFixed a crash bug in unixuid module on failed ID mapping
Andrew Tridgell [Fri, 11 Apr 2008 04:12:34 +0000 (14:12 +1000)]
Fixed a crash bug in unixuid module on failed ID mapping

We need to intialise *ids regardless of the status of the call, as the
IDL specifies that the out[] array always exists. If we don't
initialise out then we get a segv when a id mapping fails.

This still doesn't explain why the idmapping is failing, but at least
the client now gets NT_STATUS_NONE_MAPPED rather than a crashed
server.
(This used to be commit 4449ce381aca25e7f510a2f24b43c3a81e870032)

16 years agoFix merge errors on C provision interface after jelmer's good work.
Andrew Bartlett [Fri, 11 Apr 2008 01:11:42 +0000 (11:11 +1000)]
Fix merge errors on C provision interface after jelmer's good work.

Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet

Conflicts:

source/torture/local/torture.c
(This used to be commit 5bf1c89cf8af08fbcf4f5089079920840daad7b8)

16 years agoSet a netbios name into provision, and zero the rest.
Andrew Bartlett [Fri, 11 Apr 2008 01:09:34 +0000 (11:09 +1000)]
Set a netbios name into provision, and zero the rest.

Remove dns_name initialisation.

Andrew Bartlett
(This used to be commit e77ab2fbd1836bc2f9c7b2a819b06ddccf1fa78f)

16 years agoReturn SAM ldb context and loadparm context as part of C provision
Jelmer Vernooij [Thu, 10 Apr 2008 22:43:23 +0000 (00:43 +0200)]
Return SAM ldb context and loadparm context as part of C provision
result.
(This used to be commit a3e1b835656470f1a80f0fa69f53a9df849baee3)

16 years agoFix extra argument to provision_bare().
Jelmer Vernooij [Thu, 10 Apr 2008 04:07:46 +0000 (06:07 +0200)]
Fix extra argument to provision_bare().
(This used to be commit 623f64a1a782086728a325e21e3dfb40c64871b7)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into cprovision
Jelmer Vernooij [Thu, 10 Apr 2008 03:25:18 +0000 (05:25 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into cprovision
(This used to be commit 3522c7e2cf8c6d6129d941a08adcbe2ecbe0758d)

16 years agoAdd infrastructure for returning ProvisionResult in C provision code.
Jelmer Vernooij [Thu, 10 Apr 2008 03:23:17 +0000 (05:23 +0200)]
Add infrastructure for returning ProvisionResult in C provision code.
(This used to be commit 98c3d34eb233be284e8c8994cca337be25c72968)

16 years agoMake sure we do not reference req after it has been freed
Simo Sorce [Wed, 9 Apr 2008 21:11:57 +0000 (17:11 -0400)]
Make sure we do not reference req after it has been freed
(This used to be commit a13f64bf54afc22516d1f6a786dfec67389cb754)

16 years agoNo longer install unused smbscript binary.
Jelmer Vernooij [Wed, 9 Apr 2008 15:43:37 +0000 (17:43 +0200)]
No longer install unused smbscript binary.
(This used to be commit ca0e373e57eb225a1f5d96813e9ea9ccee971b96)

16 years agoFix so version of hostconfig library.
Jelmer Vernooij [Wed, 9 Apr 2008 15:14:01 +0000 (17:14 +0200)]
Fix so version of hostconfig library.
(This used to be commit 62322f302fc92703cce1142bad17349987341cb6)

16 years agoFix up provision to specify SERVERDN in more places.
Andrew Bartlett [Wed, 9 Apr 2008 05:32:49 +0000 (15:32 +1000)]
Fix up provision to specify SERVERDN in more places.

Andrew Bartlett
(This used to be commit d01d542502f25d6c731204ecb3d33720a1706581)

16 years agoLink the new vampire code togeather.
Andrew Bartlett [Wed, 9 Apr 2008 04:59:32 +0000 (14:59 +1000)]
Link the new vampire code togeather.

This adds in the newly attached secrets handling, as well as an
interface to the command line 'net' tool.

Andrew Bartlett
(This used to be commit 1282e3c39479aa580124206814b493370d10690a)

16 years agoDon't fill in the secrets DB unless we make the entries.
Andrew Bartlett [Wed, 9 Apr 2008 04:57:57 +0000 (14:57 +1000)]
Don't fill in the secrets DB unless we make the entries.

Leave filling in (we still initialise it) the secrets DB for the join
or vampire code.

Andrew Bartlett
(This used to be commit c93208c13ce91b334eadf0ea02fa41354e761e97)

16 years agoFactor out filling in the secrets database.
Andrew Bartlett [Wed, 9 Apr 2008 04:56:24 +0000 (14:56 +1000)]
Factor out filling in the secrets database.

This allows the vampire code to start with a join, but fill in the
secrets only when the process is compleated.

Andrew Bartlett
(This used to be commit c90751040e941d10234131852815e1cec1a54efe)

16 years agoRemove dns_name element
Andrew Bartlett [Wed, 9 Apr 2008 04:55:01 +0000 (14:55 +1000)]
Remove dns_name element

This is only used in the DEBUG() message, so let's remove it.

Andrew Bartlett
(This used to be commit 5ebb64bdad7e80ee81d6b9d84d77c03fb9237eee)

16 years agoBe consistant in using ${SEVERDN}.
Andrew Bartlett [Wed, 9 Apr 2008 04:51:22 +0000 (14:51 +1000)]
Be consistant in using ${SEVERDN}.

This ensures we don't fall out of sync with the provision scripts.

Andrew Bartlett
(This used to be commit 566c60b4649e2b94bf467993acd4bf72c7368e5a)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Wed, 9 Apr 2008 02:03:36 +0000 (12:03 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 58e00594d8c191f499225aa2755a06bac2937300)

16 years agoStart implementation of real 'net vampire' code.
Andrew Bartlett [Wed, 9 Apr 2008 02:02:11 +0000 (12:02 +1000)]
Start implementation of real 'net vampire' code.

This will use DRS Replication (metze's thesis work) and possibly
samsync, and will work outside the smbtorture process.

Andrew Bartlett
(This used to be commit 02a33165ca700f71cf09680ded35c87aa2e88552)

16 years agoMerge branch 'openchange' into cprovision
Jelmer Vernooij [Wed, 9 Apr 2008 01:51:54 +0000 (03:51 +0200)]
Merge branch 'openchange' into cprovision
(This used to be commit 596fc05785020cd7bd6d15d91b49172039f83bab)

16 years agoAdd docstring, PEP8.
Jelmer Vernooij [Wed, 9 Apr 2008 01:51:41 +0000 (03:51 +0200)]
Add docstring, PEP8.
(This used to be commit f8cac3735c9a19baa313c4b61abee144da303ce1)

16 years agoMove provision C bindings to param/.
Jelmer Vernooij [Wed, 9 Apr 2008 01:23:13 +0000 (03:23 +0200)]
Move provision C bindings to param/.
(This used to be commit 7d45ed0c3ebc57f7131603f768f8e022d7139530)

16 years agoBASE-DELAYWRITE: be more friendly to filesystems without high resolution timestamps
Stefan Metzmacher [Tue, 8 Apr 2008 17:04:44 +0000 (19:04 +0200)]
BASE-DELAYWRITE: be more friendly to filesystems without high resolution timestamps

metze
(This used to be commit 9c18cf670889c9eb8c12b505c3b9ce5f9a516839)

16 years agoBASE-DELAYWRITE: use timeval_* and make it possible to spefic the writetime update...
Stefan Metzmacher [Tue, 8 Apr 2008 08:25:51 +0000 (10:25 +0200)]
BASE-DELAYWRITE: use timeval_* and make it possible to spefic the writetime update delay

metze
(This used to be commit 751ab2992afd13548af6e67a03d3ced566cb136f)

16 years agoClearer names for singleton return types.
Jelmer Vernooij [Tue, 8 Apr 2008 13:18:24 +0000 (15:18 +0200)]
Clearer names for singleton return types.
(This used to be commit 19d0560464304f79224a946278105edafb285453)

16 years agoRemove length arguments, add tests for unixinfo.GidToSid and unixinfo.UidToSid.
Jelmer Vernooij [Tue, 8 Apr 2008 12:58:38 +0000 (14:58 +0200)]
Remove length arguments, add tests for unixinfo.GidToSid and unixinfo.UidToSid.
(This used to be commit cae61e32e5b61a02c2986b74bd1d7e58460b1e80)

16 years agoFix bug handling size arguments in a direction without actual data.
Jelmer Vernooij [Tue, 8 Apr 2008 12:56:09 +0000 (14:56 +0200)]
Fix bug handling size arguments in a direction without actual data.
(This used to be commit 169d505e9e2285aedc21547e44986b8b841b8e37)

16 years agoArray lengths can be obtained from Python objects so remove them from the Python...
Jelmer Vernooij [Tue, 8 Apr 2008 12:19:26 +0000 (14:19 +0200)]
Array lengths can be obtained from Python objects so remove them from the Python API.
(This used to be commit 652810ff46c6db9034e930d0fb018a02ee385f15)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into pidldocs
Jelmer Vernooij [Tue, 8 Apr 2008 11:32:38 +0000 (13:32 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into pidldocs
(This used to be commit c8dbf00b4490d804e1aac96a3fb66ff726bf9ef6)

16 years agoSet VENDORPREFIX rather than PREFIX to try to fix installation on some
Jelmer Vernooij [Tue, 8 Apr 2008 11:31:07 +0000 (13:31 +0200)]
Set VENDORPREFIX rather than PREFIX to try to fix installation on some
buildfarm hosts.
(This used to be commit 2d9bb0db6c9e1e9b68844f2eede00fd249466cbb)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Tue, 8 Apr 2008 07:31:36 +0000 (17:31 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit c0416a0b73f06ef57db1b83a75433e36b93a9981)

16 years agoRe-add support for the --ldap-backend-port option to provision-backend
Andrew Bartlett [Tue, 8 Apr 2008 07:28:25 +0000 (17:28 +1000)]
Re-add support for the --ldap-backend-port option to provision-backend

This option allows Fedora DS multi-master replication to work.  I've
tried to update the wiki and scripts to the largely consistant with
each other.

Andrew Bartlett
(This used to be commit 42393c830733b2cc99ebccdafe944fcf3d82734f)

16 years agoRework talloc hirarchy for C provision setup.
Andrew Bartlett [Tue, 8 Apr 2008 07:26:55 +0000 (17:26 +1000)]
Rework talloc hirarchy for C provision setup.

This seems to fix (or sweep under the covers) a crash in this code.

Andrew Bartlett
(This used to be commit 2fcddfe583f9833cea80d02e08ac12dd1f91742c)

16 years agoAdd manually written Python binding for libnet_Join.
Jelmer Vernooij [Tue, 8 Apr 2008 03:16:07 +0000 (05:16 +0200)]
Add manually written Python binding for libnet_Join.
(This used to be commit 374654b43d9f9e8381991cedc433ce410a914f7a)

16 years agoAdd trivial test for unixinfo interface.
Jelmer Vernooij [Tue, 8 Apr 2008 01:29:12 +0000 (03:29 +0200)]
Add trivial test for unixinfo interface.
(This used to be commit b6b7171f70114bd27ca8db09964c65cacb9cea92)

16 years agoAdd python bindings for drsuapi.
Jelmer Vernooij [Tue, 8 Apr 2008 01:23:53 +0000 (03:23 +0200)]
Add python bindings for drsuapi.
(This used to be commit ba3f0312f0dda47fb16ed9b8eee3750b209e0dad)