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
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 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
Stefan Metzmacher
4677ac6e70
BASE-DELAYWRITE: be more friendly to filesystems without high resolution timestamps
...
metze
(This used to be commit 9c18cf6708
)
2008-04-08 19:42:06 +02:00
Stefan Metzmacher
edb3a83a06
BASE-DELAYWRITE: use timeval_* and make it possible to spefic the writetime update delay
...
metze
(This used to be commit 751ab2992a
)
2008-04-08 16:55:16 +02:00
Jelmer Vernooij
66b529029a
Clearer names for singleton return types.
...
(This used to be commit 19d0560464
)
2008-04-08 15:18:24 +02:00
Jelmer Vernooij
ad823b04da
Remove length arguments, add tests for unixinfo.GidToSid and unixinfo.UidToSid.
...
(This used to be commit cae61e32e5
)
2008-04-08 14:58:38 +02:00
Jelmer Vernooij
90c8841bef
Fix bug handling size arguments in a direction without actual data.
...
(This used to be commit 169d505e9e
)
2008-04-08 14:56:09 +02:00
Jelmer Vernooij
5db62a16ff
Array lengths can be obtained from Python objects so remove them from the Python API.
...
(This used to be commit 652810ff46
)
2008-04-08 14:19:26 +02:00
Jelmer Vernooij
dcc44f1757
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into pidldocs
...
(This used to be commit c8dbf00b44
)
2008-04-08 13:32:38 +02:00
Jelmer Vernooij
8dd6f735bc
Set VENDORPREFIX rather than PREFIX to try to fix installation on some
...
buildfarm hosts.
(This used to be commit 2d9bb0db6c
)
2008-04-08 13:31:07 +02:00
Andrew Bartlett
0e59c73fe3
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit c0416a0b73
)
2008-04-08 17:31:36 +10:00
Andrew Bartlett
b2805c50ee
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 42393c8307
)
2008-04-08 17:28:25 +10:00
Andrew Bartlett
3f2e403a86
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 2fcddfe583
)
2008-04-08 17:26:55 +10:00