Jelmer Vernooij
02f3695897
Add convenience TestCase class for testing RPC interfaces.
...
(This used to be commit 2f19f98144
)
2008-04-14 18:30:07 +02:00
Andrew Bartlett
3170ae538a
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit f610862dc9
)
2008-04-14 18:01:40 +02:00
Andrew Bartlett
b54e6a8155
Ensure we initialise s->lp_ctx for the way into the provision.
...
Andrew Bartlett
(This used to be commit b191a1953c
)
2008-04-14 17:58:09 +02:00
Stefan Metzmacher
97e09c2f87
lib/events: fix missing prototype of s4_events_aio_init()
...
metze
(This used to be commit 8dca5b9bbb
)
2008-04-14 16:45:38 +02:00
Stefan Metzmacher
76a7ea3dc4
Makefile: fix variable name automatic_deps -> automatic_dependencies
...
metze
(This used to be commit 7ffc44b7c1
)
2008-04-14 16:41:46 +02:00
Andrew Bartlett
0fa62eb275
Include the smbconf parameter to the provision
...
Otherwise this fails, if the targetdir is not specified
Andrew Bartlett
(This used to be commit cd2d3d1c7a
)
2008-04-14 16:01:15 +02:00
Andrew Bartlett
5a73810e12
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 79854f0aa6
)
2008-04-14 15:26:26 +02:00
Jelmer Vernooij
f800cf250f
Move standard make compilation rules to build/make.
...
(This used to be commit ceda3312a9
)
2008-04-14 14:51:57 +02:00
Andrew Bartlett
a96bba21fa
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 92751a73cd
)
2008-04-14 13:49:47 +02:00
Jelmer Vernooij
7cf29ac84e
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
...
(This used to be commit 9d3d64e138
)
2008-04-14 11:55:19 +02:00
Jelmer Vernooij
f78bc8c489
Remove prototypes from build.h in preparation of removing build.h
...
altogether.
(This used to be commit dbeab2a9cd
)
2008-04-14 11:54:50 +02:00
Andrew Bartlett
ca78fa8cae
Re-run SWIG
...
(This used to be commit 2f80105826
)
2008-04-14 11:53:28 +02:00
Andrew Bartlett
5a37b3fc5d
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 8bd8bc1475
)
2008-04-14 11:51:02 +02:00
Andrew Bartlett
434e625e45
Add in a way to get at the private_path() function from python
...
Andrew Bartlett
(This used to be commit 416d2e3a52
)
2008-04-14 11:48:43 +02:00
Andrew Tridgell
7361899e80
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit 068c973dbe
)
2008-04-14 11:32:04 +02:00
Andrew Tridgell
275f32ae2d
fill in unknown fields in SMB2 READ call
...
(This used to be commit 9b686c1380
)
2008-04-14 11:31:17 +02:00
Andrew Tridgell
6abdaefb0f
show what type of idmapping has failed
...
(This used to be commit 8a22241952
)
2008-04-14 11:30:10 +02:00
James Peach
2bb20aa8a8
smb_build: Make sure LIBRARY_SONAME is never uninitialized.
...
(This used to be commit 2b8cf1b2a4
)
2008-04-13 14:09:09 -07:00
Jelmer Vernooij
60a6682c85
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into cprovision
...
(This used to be commit 9b8448c1e4
)
2008-04-13 22:49:08 +02:00
Jelmer Vernooij
148d3b170a
Use torture_assert_mem_equal() in a couple more places.
...
(This used to be commit e2c3fab9d1
)
2008-04-13 22:00:36 +02:00
Jelmer Vernooij
ae553dfcec
Use new torture_assert_mem_equal.
...
(This used to be commit b6319b64d7
)
2008-04-13 21:33:59 +02:00
Jelmer Vernooij
225a65da2d
Attempt to fix get_value() test on sparc machines.
...
(This used to be commit 10102d80d0
)
2008-04-13 21:31:06 +02:00
Andrew Bartlett
6b013c90fd
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 75c8dc6c6f
)
2008-04-11 19:38:36 +10:00
Andrew Bartlett
6a7acf3952
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 34adb0e0bb
)
2008-04-11 19:37:23 +10:00
Andrew Bartlett
c82e9c9f6d
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 6875e6823f
)
2008-04-11 19:35:15 +10:00
Andrew Bartlett
e44f0e7b75
Don't reopen the sam.ldb again
...
Andrew Bartlett
(This used to be commit b51b8a2d84
)
2008-04-11 19:33:52 +10:00
Andrew Bartlett
a1a3089199
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 38634183a0
)
2008-04-11 19:15:24 +10:00
Andrew Bartlett
393007315d
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 10a8b7ea48
)
2008-04-11 19:04:43 +10:00
Andrew Bartlett
67faa71c5b
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit de5349cc7a
)
2008-04-11 14:35:26 +10:00
Andrew Tridgell
3d01c8eb6d
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 4449ce381a
)
2008-04-11 14:12:34 +10:00
Andrew Bartlett
ae977ef247
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 5bf1c89cf8
)
2008-04-11 11:11:42 +10:00
Andrew Bartlett
9198a519be
Set a netbios name into provision, and zero the rest.
...
Remove dns_name initialisation.
Andrew Bartlett
(This used to be commit e77ab2fbd1
)
2008-04-11 11:09:34 +10:00
Jelmer Vernooij
8ed6f6d5a8
Return SAM ldb context and loadparm context as part of C provision
...
result.
(This used to be commit a3e1b83565
)
2008-04-11 00:43:23 +02:00
Jelmer Vernooij
574bf79f3b
Fix extra argument to provision_bare().
...
(This used to be commit 623f64a1a7
)
2008-04-10 06:07:46 +02:00
Jelmer Vernooij
73302b8b08
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into cprovision
...
(This used to be commit 3522c7e2cf
)
2008-04-10 05:25:18 +02:00
Jelmer Vernooij
ad8e3e4192
Add infrastructure for returning ProvisionResult in C provision code.
...
(This used to be commit 98c3d34eb2
)
2008-04-10 05:23:17 +02:00
Simo Sorce
55809f5029
Make sure we do not reference req after it has been freed
...
(This used to be commit a13f64bf54
)
2008-04-09 17:12:56 -04:00
Jelmer Vernooij
12840597c8
No longer install unused smbscript binary.
...
(This used to be commit ca0e373e57
)
2008-04-09 17:43:37 +02:00
Jelmer Vernooij
a45f33f277
Fix so version of hostconfig library.
...
(This used to be commit 62322f302f
)
2008-04-09 17:14:01 +02:00
Andrew Bartlett
b202b6e7d4
Fix up provision to specify SERVERDN in more places.
...
Andrew Bartlett
(This used to be commit d01d542502
)
2008-04-09 15:32:49 +10:00
Andrew Bartlett
8a982108a4
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 1282e3c394
)
2008-04-09 14:59:32 +10:00
Andrew Bartlett
9d2948f4bd
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 c93208c13c
)
2008-04-09 14:57:57 +10:00
Andrew Bartlett
29b25a1b04
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 c90751040e
)
2008-04-09 14:56:24 +10:00
Andrew Bartlett
3f990fdf7c
Remove dns_name element
...
This is only used in the DEBUG() message, so let's remove it.
Andrew Bartlett
(This used to be commit 5ebb64bdad
)
2008-04-09 14:55:01 +10:00
Andrew Bartlett
e8a3621a8f
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 566c60b464
)
2008-04-09 14:51:22 +10:00
Andrew Bartlett
5eda5e5197
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 58e00594d8
)
2008-04-09 12:03:36 +10:00
Andrew Bartlett
2f8ac9a422
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 02a33165ca
)
2008-04-09 12:02:11 +10:00
Jelmer Vernooij
5c3e4797b6
Merge branch 'openchange' into cprovision
...
(This used to be commit 596fc05785
)
2008-04-09 03:51:54 +02:00
Jelmer Vernooij
ac10ac62c1
Add docstring, PEP8.
...
(This used to be commit f8cac3735c
)
2008-04-09 03:51:41 +02:00
Jelmer Vernooij
82c7872639
Move provision C bindings to param/.
...
(This used to be commit 7d45ed0c3e
)
2008-04-09 03:23:13 +02:00