1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

15692 Commits

Author SHA1 Message Date
Andrew Bartlett
e1b3c0fa89 Use the struct based winbind tests, but mark as known fail.
Andrew Bartlett
(This used to be commit 85c9b21a45)
2008-04-17 10:40:16 +02:00
Andrew Tridgell
769ebe9171 make smb2 read and write size configurable
(This used to be commit 2090e75e0c)
2008-04-17 09:37:29 +02:00
Andrew Tridgell
30b9c37420 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Conflicts:

	source/ntvfs/ntvfs_generic.c
(This used to be commit a626a9c69c)
2008-04-17 09:36:09 +02:00
Stefan Metzmacher
baad7a7e56 ntvfs_generic: map SMB2 oplock levels to the generic ones
metze
(This used to be commit 9013748273)
2008-04-17 03:54:26 +02:00
Stefan Metzmacher
8d6af0a8ad SMB2-PERSISTENT-HANDLES1: verify some more fields
metze
(This used to be commit ae0a7d0918)
2008-04-17 03:52:45 +02:00
Stefan Metzmacher
4dc59022e8 torture/smb2: add SMB2-PERSISTENT-HANDLES1 test
This demonstrates that the file seek position
is still available on reconnected persistent handles.

metze
(This used to be commit 30e04ae3a0)
2008-04-17 02:39:32 +02:00
Stefan Metzmacher
9064aad727 selftest: ignore failures in the SMB2-PERSISTENT-HANDLES1 test
metze
(This used to be commit 02bfe20fd3)
2008-04-17 02:39:31 +02:00
Stefan Metzmacher
17e41720d9 torture/smb2: add torture_suite_add_2smb2_test() helper function
metze
(This used to be commit d70afbb067)
2008-04-17 02:39:30 +02:00
Stefan Metzmacher
1fe057f2e8 torture/smb2: fix whitespaces
metze
(This used to be commit 66c0f331a2)
2008-04-17 02:39:30 +02:00
Stefan Metzmacher
79b2980cf5 smb_server/smb2: initialize new create.in.blobs element untill it'll be supported
metze
(This used to be commit fbfbd74e65)
2008-04-17 02:39:29 +02:00
Jelmer Vernooij
ab07a60d6e Avoid recursive make for code coverage.
(This used to be commit 2d1ca8cb7a)
2008-04-17 02:06:07 +02:00
Stefan Metzmacher
578539216f libcli/smb2: make it possible to pass additional extra blobs in smb2_create()
This also fixes the alignment from 8 to 4 byte bounderies.

metze
(This used to be commit e0a0d8e36a)
2008-04-17 01:58:25 +02:00
Stefan Metzmacher
b0f34bc8ca libcli/smb2: also offer the SMB2 dialect that what used in longhorn beta3
With this smbtorture works against longhorn beta3 again,
hopefully it still works with new versions...

metze
(This used to be commit 874924a85a)
2008-04-17 01:58:24 +02:00
Jelmer Vernooij
bbb826bdac Add convenience function for getting at event context from ejs code.
(This used to be commit b659e83cd6)
2008-04-17 01:37:42 +02:00
Jelmer Vernooij
a145d21de6 Avoid using event_context_find where possible.
(This used to be commit 04420b4689)
2008-04-17 01:37:02 +02:00
Jelmer Vernooij
9de0594175 Fix the build.
(This used to be commit 40b7b0e503)
2008-04-17 01:30:21 +02:00
Jelmer Vernooij
14023e502b Require explicit event context rather than looking if it is not specified.
(This used to be commit 1da0063bd5)
2008-04-17 01:22:39 +02:00
Jelmer Vernooij
c15ffa27cb Explicitly require event context to be specified.
(This used to be commit a95a71fe45)
2008-04-17 01:19:53 +02:00
Jelmer Vernooij
06d06c6c94 Use provided event context rather than looking for it.
(This used to be commit fd0bb96ace)
2008-04-17 01:19:20 +02:00
Jelmer Vernooij
f875669314 Require passing in an event context to endpoint mapper utility function.
(This used to be commit 906b9fe158)
2008-04-17 01:09:33 +02:00
Jelmer Vernooij
1efbd5fbf6 Remove event context tracking from the credentials struct.
(This used to be commit 4d7fc946b2)
2008-04-17 01:03:18 +02:00
Jelmer Vernooij
4b9c7df9b7 Avoid event_find_context when a event context is already available.
(This used to be commit 4ca264679e)
2008-04-16 23:06:27 +02:00
Jelmer Vernooij
a195cd9d8f Use readily available event context.
(This used to be commit 2823fca23a)
2008-04-16 22:52:07 +02:00
Jelmer Vernooij
a5d52174bd Avoid event_find_context() when the event context is already available
in the net utility.
(This used to be commit d40804777e)
2008-04-16 22:30:15 +02:00
Jelmer Vernooij
b815b81fb0 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit b175e7bf16)
2008-04-16 18:17:10 +02:00
Jelmer Vernooij
c47286e57a Fix todo element on actually implemented function.
(This used to be commit dedbeea4d2)
2008-04-16 18:11:37 +02:00
Andrew Bartlett
f9ca1a80c6 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit eab5f6a7f5)
2008-04-16 17:35:32 +02:00
Andrew Bartlett
80ad7025cf 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 29d5de9e8f)
2008-04-16 17:33:58 +02:00
Jelmer Vernooij
d49f94621b Provide stubs when the [todo] attribute is set.
(This used to be commit 356a5d2474)
2008-04-16 17:21:48 +02:00
Andrew Tridgell
4bbaf36f6f fixed popt handling on 64bit boxes in gentest
(This used to be commit 40c93ffbe9)
2008-04-16 17:11:21 +02:00
Andrew Bartlett
9586462b8f Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 18dd8120cc)
2008-04-16 16:12:58 +02:00
Andrew Bartlett
a58df2f54c 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 df05f11883)
2008-04-16 16:11:17 +02:00
Andrew Bartlett
008c8adfe3 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 86694d429d)
2008-04-16 16:10:16 +02:00
Jelmer Vernooij
68b2d9372f Remove policy library - it's now in a separate git repository.
(This used to be commit 9b364bf390)
2008-04-16 14:41:42 +02:00
Jelmer Vernooij
7c4a45de26 make sure header can be included more than once.
(This used to be commit 38ed501ac8)
2008-04-16 11:43:37 +02:00
Andrew Bartlett
8eaf64b47b 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 664f2fc49f)
2008-04-16 09:02:12 +02:00
Jelmer Vernooij
2ef07ad551 Remove unused arguments from reg_open_local().
(This used to be commit fee7ea7080)
2008-04-16 01:32:54 +02:00
Jelmer Vernooij
c60a914052 Mention the actual exit code when a suite failed.
(This used to be commit 46ad68ad0b)
2008-04-16 00:17:03 +02:00
Jelmer Vernooij
f5c0be9208 Merge branch 'wbinfo-test' of git://git.samba.org/kai/samba/kai-work-in-progress into v4-0-selftest
(This used to be commit 56340a5fa1)
2008-04-16 00:05:36 +02:00
Jelmer Vernooij
4b4a56fb1e Provide the right error count to formatters.
(This used to be commit f22602797f)
2008-04-16 00:04:11 +02:00
Jelmer Vernooij
8eb6d59a46 Properly warn about exit codes that indicate success while tests claim
failure.
(This used to be commit 92873264d7)
2008-04-16 00:03:45 +02:00
Jelmer Vernooij
d3729a8efa Support knownfail Subunit command.
(This used to be commit ad58a50854)
2008-04-16 00:03:00 +02:00
Jelmer Vernooij
e4cfb2d316 Deal with commands not even starting.
(This used to be commit 0f789e6779)
2008-04-15 23:52:06 +02:00
Kai Blin
3413cfefb8 blackbox: Add many more tests for wbinfo
(This used to be commit 0a2942f6e9)
2008-04-15 23:36:41 +02:00
Jelmer Vernooij
8170956b68 Add some documentation about the expected testsuite output.
(This used to be commit a24651d649)
2008-04-15 23:21:43 +02:00
Jelmer Vernooij
9062214d09 Add some documentation on test behaviour in selftest.
(This used to be commit e8e9f2cc7b)
2008-04-15 22:42:52 +02:00
Jelmer Vernooij
b708a3d1e7 Split binding structure handling out into a separate file.
For easier synchronisation with Samba 3.
(This used to be commit b9cac469f3)
2008-04-15 18:03:09 +02:00
Andrew Bartlett
2ddd23a875 Re-add 'db' subdirectory for LDAP backend provision
Andrew Bartlett
(This used to be commit 19890c0d15)
2008-04-15 17:10:47 +02:00
Andrew Bartlett
dfedfae1cd Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 66327b8bd8)
2008-04-15 16:56:15 +02:00
Andrew Bartlett
cb5873f36d Fix some of the winbind tests.
Some of the test expectations were incorrect.

Andrew Bartlett
(This used to be commit bc0e94360e)
2008-04-15 16:31:08 +02:00
Andrew Bartlett
e0eba5232d 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 abefa12029)
2008-04-15 16:29:13 +02:00
Jelmer Vernooij
7bb2ebb884 Fix size to memcpy call in generated Samba 3 client code.
Reported-By: vl
(This used to be commit a28807569d)
2008-04-15 16:00:07 +02:00
Andrew Bartlett
f8f4856ab7 Fix provision-backend script
Andrew Bartlett
(This used to be commit ee6e4f8da2)
2008-04-15 15:52:52 +02:00
Jelmer Vernooij
fd52fe8616 Fix pointers when pushing strings to python during pidl generation.
(This used to be commit ca72187b3e)
2008-04-15 14:32:13 +02:00
Jelmer Vernooij
983b66b8f1 Saner names for Python objects.
(This used to be commit f4de8d2c1c)
2008-04-15 12:51:31 +02:00
Jelmer Vernooij
1a8bfba545 Fix warnings.
(This used to be commit 88013ca977)
2008-04-15 12:15:43 +02:00
Jelmer Vernooij
961f412190 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into HEAD
(This used to be commit a039acb915)
2008-04-15 11:10:56 +02:00
Jelmer Vernooij
c937efc1a6 Attempt to fix the pidl installation on fedora.
(This used to be commit 4dd29284bd)
2008-04-15 10:55:32 +02:00
Andrew Tridgell
b967afca64 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit e891157b4e)
2008-04-15 09:54:41 +02:00
Andrew Bartlett
afaba23131 Add blackbox test for ndrdump, to ensure it at least does not
segfault.

Andrew Bartlett
(This used to be commit d2fe61a13a)
2008-04-15 09:13:32 +02:00
Jelmer Vernooij
223df634c8 Work around 'test' quirks - use make's string comparison instead.
(This used to be commit 434b61623e)
2008-04-15 04:08:28 +02:00
Jelmer Vernooij
98a4dd9b5e Fix ALL_OBJS value.
(This used to be commit 8710087728)
2008-04-15 03:59:56 +02:00
Jelmer Vernooij
08baea013b Move SOVERSION, VERSION and PC_FILE out of smb_build but use make variables directly instead.
(This used to be commit 9d0ae012b0)
2008-04-15 02:25:16 +02:00
Jelmer Vernooij
b62d7aa8eb Make sure init function sentinels are set for modules.
(This used to be commit fac3463dd5)
2008-04-15 01:52:55 +02:00
Jelmer Vernooij
d04926914a Fix the build.
(This used to be commit ecaa5bb83b)
2008-04-15 01:40:32 +02:00
Jelmer Vernooij
91baa45dfd Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
(This used to be commit 0239011ced)
2008-04-14 23:30:17 +02:00
Jelmer Vernooij
1b5f32128d Use RpcInterfaceTestCase everywhere.
(This used to be commit 799095b4e5)
2008-04-14 23:28:14 +02:00
Jelmer Vernooij
b1bdcd4a8a Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
(This used to be commit 7fd98e492e)
2008-04-14 22:57:07 +02:00
Jelmer Vernooij
9b50347076 Explicitly specify the paths when installing pidl.
(This used to be commit 5e988a34de)
2008-04-14 22:43:08 +02:00
Jelmer Vernooij
7be47a3665 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into fixbuild
(This used to be commit d2d564ad2e)
2008-04-14 22:34:22 +02:00
Jelmer Vernooij
2bc26db97f Fix the build.
(This used to be commit a70cbd63d9)
2008-04-14 20:39:12 +02:00
Jelmer Vernooij
18f8f5d656 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
(This used to be commit 1ef3830bb0)
2008-04-14 20:00:32 +02:00
Jelmer Vernooij
a15b6f1606 Fix unresolved symbols.
(This used to be commit 8573e828d1)
2008-04-14 20:00:04 +02:00
Jelmer Vernooij
43896320dd Explicitly specify the paths when installing pidl.
(This used to be commit 1695e0e1ab)
2008-04-14 19:41:13 +02:00
Andrew Bartlett
68a2c547d0 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 0f0c8519b8)
2008-04-14 19:32:42 +02:00
Jelmer Vernooij
2cdfaedee2 Make sure credentials are specified when running the Python winreg RPC tests.
(This used to be commit 280339e3d1)
2008-04-14 19:20:43 +02:00
Jelmer Vernooij
1bcbc4afcf Allow command line options in the subunitrun script.
(This used to be commit 524ec0796e)
2008-04-14 19:13:41 +02:00
Andrew Tridgell
9cd04363f5 make the SMB2 negotiated read and write size settable in smb.conf
parametic options:

  smb2:max read size = NNN  
  smb2:max write size = NNN

The defaults are 65536, which is what Vista sets, and what we
previously set
(This used to be commit 9e60164cae)
2008-04-14 19:09:57 +02:00
Jelmer Vernooij
c1d9167fbc Also look in the environment for smb.conf path.
(This used to be commit 8be7d93735)
2008-04-14 19:01:32 +02:00
Andrew Tridgell
79af7ff2f7 fixed a valgrind error in id mapping
the status field is sent on both call and reply, but was only being
initialised on reply
(This used to be commit 2ebd7b8099)
2008-04-14 18:59:40 +02:00
Simo Sorce
4f51b0246d Fix problems with event context not being the parent.
(This used to be commit 957c4d893a)
2008-04-14 12:45:51 -04:00
Andrew Tridgell
292ed5d04f fixed an unitialised write warning in valgrind
the 'reserved' field was not being initialised before being pushed to
the wire
(This used to be commit dfe4b50098)
2008-04-14 18:44:43 +02:00
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
Jelmer Vernooij
0fa663cc5d Fix order of variables in the makefile.
(This used to be commit f64c1d53ba)
2008-04-14 17:54:19 +02:00
Jelmer Vernooij
e9017ba418 Use _OBJ_FILES variables in a couple more places.
(This used to be commit 92856d5054)
2008-04-14 17:22:58 +02:00
Jelmer Vernooij
ffc5cbfe80 Move object files lists to makefile rather than smb_build.
(This used to be commit 5628d58990)
2008-04-14 16:53:00 +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
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
Jelmer Vernooij
8db14bf26b Add manually written Python binding for libnet_Join.
(This used to be commit 374654b43d)
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 760378e029)
2008-04-08 03:45:06 +02:00
Jelmer Vernooij
1f474f4a54 Add trivial test for unixinfo interface.
(This used to be commit b6b7171f70)
2008-04-08 03:29:12 +02:00
Jelmer Vernooij
5cf6c42658 Add python bindings for drsuapi.
(This used to be commit ba3f0312f0)
2008-04-08 03:23:53 +02:00
Jelmer Vernooij
f253c3ad91 Add python bindings for unixinfo.
(This used to be commit 068c2f858a)
2008-04-08 03:18:43 +02:00
Jelmer Vernooij
4fcd6cfb75 Add [todo] for functions that are obviously incomplete.
(This used to be commit b7b46ddd41)
2008-04-08 03:15:55 +02:00
Jelmer Vernooij
e5aa9f7e8d Raise NotImplementedError from functions that don't have complete IDL.
(This used to be commit 685aab0c99)
2008-04-08 02:58:18 +02:00
Jelmer Vernooij
ab27e718fd Support [todo] attribute on functions.
(This used to be commit a3e22bbcea)
2008-04-08 02:57:59 +02:00
Jelmer Vernooij
57bf8d2e33 Add Python bindings for DFS.
(This used to be commit 4319971ccb)
2008-04-08 02:48:54 +02:00
Jelmer Vernooij
b99d24419f Add signature of connect function to docstrings.
(This used to be commit 51441376d3)
2008-04-08 02:08:31 +02:00
Jelmer Vernooij
0bea00f481 use builtin getset stuff rather than custom getattr/setattr implementation.
(This used to be commit bb59f3084f)
2008-04-08 01:42:27 +02:00
Jelmer Vernooij
a5d51180ba Add function signature to docstrings in python.
(This used to be commit 61f331e974)
2008-04-08 01:23:19 +02:00
Jelmer Vernooij
6f02fdea23 Register types rather than constructors, display structs as classes.
(This used to be commit aad07f4825)
2008-04-08 00:59:27 +02:00
Jelmer Vernooij
a3bfabefd7 Set tp_flags for Python types.
(This used to be commit f214206a36)
2008-04-08 00:13:09 +02:00
Jelmer Vernooij
a057c7369a Set docstrings from helpstring attribute where possible.
(This used to be commit 07f52ca51c)
2008-04-08 00:10:24 +02:00
Jelmer Vernooij
f07ded6d89 Add simple docstring for Python modules.
(This used to be commit 57c7b4e896)
2008-04-07 23:21:38 +02:00
Andrew Bartlett
5454dc044d Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit beff331e15)
2008-04-06 19:16:43 +10:00
Jelmer Vernooij
c30f9add8c Add test for authservice struct.
(This used to be commit da8b8364b0)
2008-04-06 00:57:14 +02:00
Jelmer Vernooij
f5e6534ee7 Fix authservice count.
(This used to be commit 761536a5e4)
2008-04-06 00:42:27 +02:00
Andrew Bartlett
4c449fe95f Extend credentials python API to include set_machine_account.
Andrew Bartlett
(This used to be commit 88b7a3980c)
2008-04-05 21:39:26 +11:00
Andrew Bartlett
cb98235a83 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 7355055569)
2008-04-05 21:35:36 +11:00
Jelmer Vernooij
cb1af202be Don't install libevents for now, just its headers. It is already part of other libs, and only used as part of those libs.
(This used to be commit c96a68b7b7)
2008-04-04 17:28:32 +02:00
Jelmer Vernooij
7672cdfe94 Avoid installing unused header file.
(This used to be commit eba5d8b4ce)
2008-04-04 17:25:20 +02:00
Jelmer Vernooij
184c53d180 Don't install talloc manpage from samba, it's already installed from the standalone talloc build.
(This used to be commit 7bfda82895)
2008-04-04 17:20:32 +02:00
Jelmer Vernooij
faa3dec34a Install pidl by default if ExtUtils::MakeMaker is available. This should make the build process for openchange users easier.
(This used to be commit 7fccd85cc6)
2008-04-04 16:03:54 +02:00
Jelmer Vernooij
30ccc36b8d Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into openchange
Conflicts:

	source/headermap.txt
(This used to be commit 1b084e85c1)
2008-04-04 16:02:17 +02:00
Andrew Bartlett
9f96f39ca0 Pass discovered server DN down to provision.
This uses the new 'serverdn' argument added to provision in the
previous commit.

Andrew Bartlett
(This used to be commit 74480c7de7)
2008-04-04 12:55:45 +11:00
Andrew Bartlett
c764791100 Clean up provision and rootdse module to hard-code less stuff.
In particular, allow for the server DN to be in a different site
(possible outcome of a DRS replication).

Andrew Bartlett
(This used to be commit 9ee4e39fe1)
2008-04-04 12:25:19 +11:00
Jelmer Vernooij
adc0985742 Install libevents since it's required by samba-gtk.
(This used to be commit 2073346828)
2008-04-03 02:28:31 +02:00
Jelmer Vernooij
8495d17c1a Fix installation of dcerpc_atsvc and registry as required by samba-gtk.
(This used to be commit 64a6887ecd)
2008-04-03 01:36:03 +02:00
Kai Blin
c26387a473 provision: Remove backup group mapping
Some distros seem to neither have a backup nor a staff group.
(This used to be commit 21fcf7c419)
2008-04-03 00:01:34 +02:00
Kai Blin
8ac91d9132 provision: Set up id mappings in the idmap db, only map Administrator.
(This used to be commit 206b7d387c)
2008-04-02 23:07:53 +02:00
Kai Blin
b6c48091d4 idmap: Also store sid type in the idmap db
(This used to be commit 018eb64f03)
2008-04-02 23:07:41 +02:00
Kai Blin
4133bd85e9 ntvfs: Use wbclient for pvfs_acl and pvfs_acl_nfs4
(This used to be commit ac5e5fee1d)
2008-04-02 23:07:27 +02:00
Kai Blin
a71f36e2b8 ntvfs: Use wbclient in vsf_unixuid, not sidmap
(This used to be commit 2908a77fa5)
2008-04-02 23:07:17 +02:00
Kai Blin
c9fa788ca2 rpc_server: Remove references to sidmap from the lsa pipe code.
(This used to be commit 25cbb1b767)
2008-04-02 23:07:00 +02:00
Kai Blin
48b3c38f0f rpc_server: Use wbclient instead of sidmap in unixinfo pipe
(This used to be commit 033db9730f)
2008-04-02 23:06:44 +02:00
Kai Blin
6ce0781413 wbclient: Add an async winbind client library.
(This used to be commit 3e3563f284)
2008-04-02 23:06:27 +02:00
Kai Blin
6ae76e5cdc winbind: Bump down the debuglevel.
(This used to be commit 02c7913bf2)
2008-04-02 23:06:07 +02:00
Kai Blin
294c55faf6 IRPC: Add include guards for the header.
(This used to be commit 0e66e443ad)
2008-04-02 23:05:56 +02:00
Kai Blin
2d12b275f3 util: Add talloc_get_type_abort() call.
(This used to be commit 38413ed4b6)
2008-04-02 23:05:44 +02:00
Jelmer Vernooij
753824e9cf Re-add params file to git.
(This used to be commit fc50e78e26)
2008-04-02 19:05:31 +02:00
Jelmer Vernooij
4e5e7a7c68 Reintroduce header previously autogenerated but ignored by git.
Also fixed extra include in regpatch.
(This used to be commit 0e371cf169)
2008-04-02 16:47:17 +02:00
Jelmer Vernooij
b17484a70f Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into openchange
(This used to be commit 8c3591d98f)
2008-04-02 14:33:56 +02:00
Jelmer Vernooij
caaa8f5b93 Remove no longer installed files.
(This used to be commit 3e8aecbc2e)
2008-04-02 14:23:22 +02:00
Jelmer Vernooij
1cf8130e11 Move handle utility functions to public header, remove more public headers.
(This used to be commit 92e71c19f4)
2008-04-02 14:18:31 +02:00
Jelmer Vernooij
4924446969 Trim down installed headers some more.
(This used to be commit 71aa38842c)
2008-04-02 14:10:16 +02:00
Jelmer Vernooij
ec7394e7d2 Merge hive.h into registry.h
(This used to be commit 3ca14fdf74)
2008-04-02 13:59:48 +02:00
Jelmer Vernooij
5be50a222f Merge patchfile.h into registry.h
(This used to be commit 7b434df67a)
2008-04-02 13:58:05 +02:00
Jelmer Vernooij
236fc02913 Reduce the number of installed headers.
(This used to be commit 2243e24024)
2008-04-02 13:41:10 +02:00
Jelmer Vernooij
afe3e8172d Install public header files again and include required prototypes.
(This used to be commit 47ffbbf674)
2008-04-02 04:53:27 +02:00
Andrew Bartlett
67bf4bab3d Fix conflicts in setup/provision script.
(This used to be commit 696b58f5dd)
2008-04-02 12:31:24 +11:00
Andrew Bartlett
4ccb384327 Fix merge of my host GUID removal and the IPv6 addition to provision
Merge branch 'v4-0-ipv6' of git://git.id10ts.net/samba into 4-0-abartlet

Andrew Bartlett
(This used to be commit d3336684f0)
2008-04-02 12:03:03 +11:00
Andrew Kroeger
3c0c6acc59 provision: Add support for IPv6 (bz #4593).
(This used to be commit 8585a3c77d)
2008-04-01 19:51:24 -05:00