Andrew Tridgell
275f32ae2d
fill in unknown fields in SMB2 READ call
...
(This used to be commit 9b686c138037f613da15168d0722786e00f023e5)
2008-04-14 11:31:17 +02:00
Andrew Tridgell
6abdaefb0f
show what type of idmapping has failed
...
(This used to be commit 8a222419528153b889cb1a7eae09a155f196b9b5)
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 2b8cf1b2a447711d123c563dfbd9a54941155267)
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 9b8448c1e4567be26fa4890c647e0d4d46efbe20)
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 e2c3fab9d1bf0482c15a115e7d373562ffe50b29)
2008-04-13 22:00:36 +02:00
Jelmer Vernooij
ae553dfcec
Use new torture_assert_mem_equal.
...
(This used to be commit b6319b64d7ef9c58f771f338317d4d525d39a8f2)
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 10102d80d0f78777a69f6b3b1e5606d7d56b7254)
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 75c8dc6c6f3134bb78356630f24617aaeb869344)
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 34adb0e0bb1b3c340d7098e7a3d12f73f798d0e7)
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 6875e6823f7a1fe9066bff4dffcab658a17d3b8c)
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 b51b8a2d846284de4dff736fc18cf747c188de96)
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 38634183a074556c8dfdcb6affc60f4bcc15a3f0)
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 10a8b7ea487f9725f69b02c4dd9cf5e1f67a23ab)
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 de5349cc7a5a97c0d2d7288436a4090dfd9bd093)
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 4449ce381aca25e7f510a2f24b43c3a81e870032)
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 5bf1c89cf8af08fbcf4f5089079920840daad7b8)
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 e77ab2fbd1836bc2f9c7b2a819b06ddccf1fa78f)
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 a3e1b835656470f1a80f0fa69f53a9df849baee3)
2008-04-11 00:43:23 +02:00
Jelmer Vernooij
574bf79f3b
Fix extra argument to provision_bare().
...
(This used to be commit 623f64a1a782086728a325e21e3dfb40c64871b7)
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 3522c7e2cf8c6d6129d941a08adcbe2ecbe0758d)
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 98c3d34eb233be284e8c8994cca337be25c72968)
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 a13f64bf54afc22516d1f6a786dfec67389cb754)
2008-04-09 17:12:56 -04:00
Jelmer Vernooij
12840597c8
No longer install unused smbscript binary.
...
(This used to be commit ca0e373e57eb225a1f5d96813e9ea9ccee971b96)
2008-04-09 17:43:37 +02:00
Jelmer Vernooij
a45f33f277
Fix so version of hostconfig library.
...
(This used to be commit 62322f302fc92703cce1142bad17349987341cb6)
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 d01d542502f25d6c731204ecb3d33720a1706581)
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 1282e3c39479aa580124206814b493370d10690a)
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 c93208c13ce91b334eadf0ea02fa41354e761e97)
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 c90751040e941d10234131852815e1cec1a54efe)
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 5ebb64bdad7e80ee81d6b9d84d77c03fb9237eee)
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 566c60b4649e2b94bf467993acd4bf72c7368e5a)
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 58e00594d8c191f499225aa2755a06bac2937300)
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 02a33165ca700f71cf09680ded35c87aa2e88552)
2008-04-09 12:02:11 +10:00
Jelmer Vernooij
5c3e4797b6
Merge branch 'openchange' into cprovision
...
(This used to be commit 596fc05785020cd7bd6d15d91b49172039f83bab)
2008-04-09 03:51:54 +02:00
Jelmer Vernooij
ac10ac62c1
Add docstring, PEP8.
...
(This used to be commit f8cac3735c9a19baa313c4b61abee144da303ce1)
2008-04-09 03:51:41 +02:00
Jelmer Vernooij
82c7872639
Move provision C bindings to param/.
...
(This used to be commit 7d45ed0c3ebc57f7131603f768f8e022d7139530)
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 9c18cf670889c9eb8c12b505c3b9ce5f9a516839)
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 751ab2992afd13548af6e67a03d3ced566cb136f)
2008-04-08 16:55:16 +02:00
Jelmer Vernooij
66b529029a
Clearer names for singleton return types.
...
(This used to be commit 19d0560464304f79224a946278105edafb285453)
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 cae61e32e5b61a02c2986b74bd1d7e58460b1e80)
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 169d505e9e2285aedc21547e44986b8b841b8e37)
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 652810ff46c6db9034e930d0fb018a02ee385f15)
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 c8dbf00b4490d804e1aac96a3fb66ff726bf9ef6)
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 2d9bb0db6c9e1e9b68844f2eede00fd249466cbb)
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 c0416a0b73f06ef57db1b83a75433e36b93a9981)
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 42393c830733b2cc99ebccdafe944fcf3d82734f)
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 2fcddfe583f9833cea80d02e08ac12dd1f91742c)
2008-04-08 17:26:55 +10:00
Jelmer Vernooij
8db14bf26b
Add manually written Python binding for libnet_Join.
...
(This used to be commit 374654b43d9f9e8381991cedc433ce410a914f7a)
2008-04-08 05:16:07 +02:00
Jelmer Vernooij
b5d84a74d1
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
...
Conflicts:
source/auth/credentials/config.mk
source/auth/gensec/config.mk
source/build/smb_build/makefile.pm
source/heimdal_build/config.mk
source/lib/events/config.mk
source/lib/nss_wrapper/config.mk
source/lib/policy/config.mk
source/lib/registry/config.mk
source/lib/socket_wrapper/config.mk
source/lib/tdb/config.mk
source/lib/tls/config.mk
source/lib/util/config.mk
source/libcli/config.mk
source/libcli/ldap/config.mk
source/libnet/config.mk
source/librpc/config.mk
source/param/config.mk
source/rpc_server/config.mk
source/scripting/ejs/config.mk
source/smbd/process_model.mk
(This used to be commit 760378e0294dd0cd4523a83448328478632d7e3d)
2008-04-08 03:45:06 +02:00
Jelmer Vernooij
1f474f4a54
Add trivial test for unixinfo interface.
...
(This used to be commit b6b7171f70114bd27ca8db09964c65cacb9cea92)
2008-04-08 03:29:12 +02:00
Jelmer Vernooij
5cf6c42658
Add python bindings for drsuapi.
...
(This used to be commit ba3f0312f0dda47fb16ed9b8eee3750b209e0dad)
2008-04-08 03:23:53 +02:00