Jelmer Vernooij [Wed, 16 Apr 2008 23:03:18 +0000 (01:03 +0200)]
Remove event context tracking from the credentials struct.
(This used to be commit
4d7fc946b2ec50e774689c9036423b6feef99b8e)
Jelmer Vernooij [Wed, 16 Apr 2008 21:06:27 +0000 (23:06 +0200)]
Avoid event_find_context when a event context is already available.
(This used to be commit
4ca264679ecfd938c538a93f4efff1bfa23c3744)
Jelmer Vernooij [Wed, 16 Apr 2008 20:52:07 +0000 (22:52 +0200)]
Use readily available event context.
(This used to be commit
2823fca23a4cacc996c808f22cba50b4482b5921)
Jelmer Vernooij [Wed, 16 Apr 2008 20:30:15 +0000 (22:30 +0200)]
Avoid event_find_context() when the event context is already available
in the net utility.
(This used to be commit
d40804777edf41889bd461f63f7a07cc1cc60e27)
Jelmer Vernooij [Wed, 16 Apr 2008 16:17:10 +0000 (18:17 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit
b175e7bf16eb26c0bae9731a9147d1d379ca8888)
Jelmer Vernooij [Wed, 16 Apr 2008 16:11:37 +0000 (18:11 +0200)]
Fix todo element on actually implemented function.
(This used to be commit
dedbeea4d28ae10a15766e38e59593a2799183f3)
Andrew Bartlett [Wed, 16 Apr 2008 15:35:32 +0000 (17:35 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit
eab5f6a7f5efa8608cb23af2cab8ab19f9f62485)
Andrew Bartlett [Wed, 16 Apr 2008 15:33:58 +0000 (17:33 +0200)]
Adjust the expectations of the struct based winbind test.
These expectations (such as what happens when we have no trusted
domains) were incorrect, compared with Samba3 (which is the reference
for this protocol).
Andrew Bartlett
(This used to be commit
29d5de9e8fb69346e29a95c6fcaefabd018c9447)
Jelmer Vernooij [Wed, 16 Apr 2008 15:21:48 +0000 (17:21 +0200)]
Provide stubs when the [todo] attribute is set.
(This used to be commit
356a5d24747bb5e1ef9774c690a5ec386a4a165e)
Andrew Bartlett [Wed, 16 Apr 2008 14:12:58 +0000 (16:12 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit
18dd8120cc35fe3d1cd4455c1f6a32b503274d97)
Andrew Bartlett [Wed, 16 Apr 2008 14:11:17 +0000 (16:11 +0200)]
Fix struct_based winbind test for 'check machine account'.
The problem here was that we did not fill in the error strings in the
success case, and the testsuite checked against the incorrect
'freindly' error string.
Andrew Bartlett
(This used to be commit
df05f118831245bdb19573711545bdb1b01a0c50)
Andrew Bartlett [Wed, 16 Apr 2008 14:10:16 +0000 (16:10 +0200)]
Fix wbinfo --trusted-domains.
The problems here were that we did not bind to the LSA pipe, and we
did not consider it possible to have 0 trusted domains.
Andrew Bartlett
(This used to be commit
86694d429d62940882ac9b7af83b3e7d00e67c5a)
Jelmer Vernooij [Wed, 16 Apr 2008 12:52:29 +0000 (14:52 +0200)]
Use the subunit shell library.
(This used to be commit
49367e044e3ab94639ab3209bfd06c6286b44b59)
Jelmer Vernooij [Wed, 16 Apr 2008 12:41:42 +0000 (14:41 +0200)]
Remove policy library - it's now in a separate git repository.
(This used to be commit
9b364bf390524fa34db1b3d7e6f875a6b8f35f24)
Jelmer Vernooij [Wed, 16 Apr 2008 10:34:53 +0000 (12:34 +0200)]
Use library for subunit test functions.
(This used to be commit
690924dc7f43b69b9c4cfc1dd0c9c6e83d333518)
Jelmer Vernooij [Wed, 16 Apr 2008 09:43:37 +0000 (11:43 +0200)]
make sure header can be included more than once.
(This used to be commit
38ed501ac8993e84ea7f02d4633bc83b490dfe61)
Andrew Bartlett [Wed, 16 Apr 2008 07:02:12 +0000 (09:02 +0200)]
Now that we don't create a new event context, don't free it.
This previously would free the torture provided global event context.
Andrew Bartlett
(This used to be commit
664f2fc49f32a081f14638571ee0db01a7863347)
Jelmer Vernooij [Tue, 15 Apr 2008 23:32:54 +0000 (01:32 +0200)]
Remove unused arguments from reg_open_local().
(This used to be commit
fee7ea7080ec40182efc6ffe57b267444eb9389a)
Jelmer Vernooij [Tue, 15 Apr 2008 23:10:20 +0000 (01:10 +0200)]
Fix -r test, knownfailure return code.
(This used to be commit
4f0954905a902381e66eec74fd30ff7adde232b8)
Jelmer Vernooij [Tue, 15 Apr 2008 22:17:03 +0000 (00:17 +0200)]
Mention the actual exit code when a suite failed.
(This used to be commit
46ad68ad0b9c604a6519de68c9bce8f5154b5c14)
Jelmer Vernooij [Tue, 15 Apr 2008 22:05:36 +0000 (00:05 +0200)]
Merge branch 'wbinfo-test' of git://git.samba.org/kai/samba/kai-work-in-progress into v4-0-selftest
(This used to be commit
56340a5fa1b075001bba829686861a59406e1f5d)
Jelmer Vernooij [Tue, 15 Apr 2008 22:05:12 +0000 (00:05 +0200)]
Fix executable bit on blackbox ndrdump tests.
(This used to be commit
a3f0e4151bd87399a8bab9b71bad36bdc53c365c)
Jelmer Vernooij [Tue, 15 Apr 2008 22:04:11 +0000 (00:04 +0200)]
Provide the right error count to formatters.
(This used to be commit
f22602797fe841859c67558bb78e04c98b9e27e0)
Jelmer Vernooij [Tue, 15 Apr 2008 22:03:45 +0000 (00:03 +0200)]
Properly warn about exit codes that indicate success while tests claim
failure.
(This used to be commit
92873264d707bed88beac54a73a29d66c011f80c)
Jelmer Vernooij [Tue, 15 Apr 2008 22:03:00 +0000 (00:03 +0200)]
Support knownfail Subunit command.
(This used to be commit
ad58a508542bd93115be0ad826fb93aa3d349658)
Jelmer Vernooij [Tue, 15 Apr 2008 21:52:06 +0000 (23:52 +0200)]
Deal with commands not even starting.
(This used to be commit
0f789e6779eca38d93b968a0ffbbb8559ce483f1)
Kai Blin [Tue, 15 Apr 2008 15:04:36 +0000 (17:04 +0200)]
blackbox: Add many more tests for wbinfo
(This used to be commit
0a2942f6e948177fcc671eae705e6e61644de81c)
Jelmer Vernooij [Tue, 15 Apr 2008 21:21:43 +0000 (23:21 +0200)]
Add some documentation about the expected testsuite output.
(This used to be commit
a24651d649d24589a6c65e7bc4be9c49fdc80b2a)
Jelmer Vernooij [Tue, 15 Apr 2008 20:42:52 +0000 (22:42 +0200)]
Add some documentation on test behaviour in selftest.
(This used to be commit
e8e9f2cc7b0503e30b211094f452829395a73eec)
Jelmer Vernooij [Tue, 15 Apr 2008 16:03:09 +0000 (18:03 +0200)]
Split binding structure handling out into a separate file.
For easier synchronisation with Samba 3.
(This used to be commit
b9cac469f3c869a26f415a6c551cf6e8fbb06ed6)
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)
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)
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)
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)
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)
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)
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)
Jelmer Vernooij [Tue, 15 Apr 2008 10:51:31 +0000 (12:51 +0200)]
Saner names for Python objects.
(This used to be commit
f4de8d2c1c956bc85b91dc7aab20e5e7671f51bc)
Jelmer Vernooij [Tue, 15 Apr 2008 10:15:43 +0000 (12:15 +0200)]
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)
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)
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)
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)
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)
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)
Jelmer Vernooij [Tue, 15 Apr 2008 01:59:56 +0000 (03:59 +0200)]
Fix ALL_OBJS value.
(This used to be commit
8710087728cc44761ae85f66c541ab1650e1b952)
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)
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)
Jelmer Vernooij [Mon, 14 Apr 2008 23:40:32 +0000 (01:40 +0200)]
Fix the build.
(This used to be commit
ecaa5bb83b5cf319718d15aff96152d70fa19f7f)
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)
Jelmer Vernooij [Mon, 14 Apr 2008 21:28:14 +0000 (23:28 +0200)]
Use RpcInterfaceTestCase everywhere.
(This used to be commit
799095b4e567f4495adf7d1d7bcb81dda6782959)
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)
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)
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)
Jelmer Vernooij [Mon, 14 Apr 2008 18:39:12 +0000 (20:39 +0200)]
Fix the build.
(This used to be commit
a70cbd63d9c398ddcbbaa595ee29343335e89aa7)
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)
Jelmer Vernooij [Mon, 14 Apr 2008 18:00:04 +0000 (20:00 +0200)]
Fix unresolved symbols.
(This used to be commit
8573e828d1b68c47b3c1754e9be230b2e78d9d52)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
Andrew Bartlett [Mon, 14 Apr 2008 09:53:28 +0000 (11:53 +0200)]
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)