1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

16187 Commits

Author SHA1 Message Date
Jelmer Vernooij
9b50347076 Explicitly specify the paths when installing pidl.
(This used to be commit 5e988a34ded288660c6e543e59b566ec12d2fba7)
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 d2d564ad2e9b7cb0440a30a302176cce333649c7)
2008-04-14 22:34:22 +02:00
Jelmer Vernooij
2bc26db97f Fix the build.
(This used to be commit a70cbd63d9c398ddcbbaa595ee29343335e89aa7)
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 1ef3830bb0d6e91e3b00e880784ca0741d9b4d49)
2008-04-14 20:00:32 +02:00
Jelmer Vernooij
a15b6f1606 Fix unresolved symbols.
(This used to be commit 8573e828d1b68c47b3c1754e9be230b2e78d9d52)
2008-04-14 20:00:04 +02:00
Jelmer Vernooij
43896320dd Explicitly specify the paths when installing pidl.
(This used to be commit 1695e0e1ab3f2151490232462b0e3650eba96237)
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 0f0c8519b87481e3473a469cefd51c76b4a7632e)
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 280339e3d126f5c72dc271051b72839fde0c5c9f)
2008-04-14 19:20:43 +02:00
Jelmer Vernooij
1bcbc4afcf Allow command line options in the subunitrun script.
(This used to be commit 524ec0796efebd48e7b5b2eb5fcc92ecc13c0071)
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 9e60164cae42b5dd95720e48301a2ac57e95482a)
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 8be7d93735a357a3b73a1c4413d6fd9ec09b7555)
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 2ebd7b80998775168959d511fbc987f8b5b7bd34)
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 957c4d893acf9e6db06a3fc3a4687ab6bb238635)
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 dfe4b5009885c4eeca24569f35b9fc85bfe6346b)
2008-04-14 18:44:43 +02:00
Jelmer Vernooij
02f3695897 Add convenience TestCase class for testing RPC interfaces.
(This used to be commit 2f19f981449bf6f4d29f231259817c8b66104a9b)
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 f610862dc900cb3ddf0f275641bc3b66ad1f3bc4)
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 b191a1953c24545e9dc1869fc33cb29343d4e3f2)
2008-04-14 17:58:09 +02:00
Jelmer Vernooij
0fa663cc5d Fix order of variables in the makefile.
(This used to be commit f64c1d53ba50bb50d32f819adf8727513468ccd7)
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 92856d5054106894b65cd1a1b5119c0facfc4cff)
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 5628d58990144463fd87f8c847c9384ac2193681)
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 8dca5b9bbb8706a98ad9a15f1b479be497dd44e7)
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 7ffc44b7c126dc08d928e63af30111b2c556146f)
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 cd2d3d1c7a0aad7beb167459276c012c7a6d2e88)
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 79854f0aa6a9899bb72d302cbca695b8b3a3b0dc)
2008-04-14 15:26:26 +02:00
Jelmer Vernooij
f800cf250f Move standard make compilation rules to build/make.
(This used to be commit ceda3312a98b069d0711f3cb33de3ae71e91ebaa)
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 92751a73cd854365d365db854179bfd5aeabe7a2)
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 9d3d64e1387e9f20383c255bba27128cf4b9519e)
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 dbeab2a9cdee4e5f69afeb2603ba29cbed56debd)
2008-04-14 11:54:50 +02:00
Andrew Bartlett
ca78fa8cae Re-run SWIG
(This used to be commit 2f8010582607ad7389cac3de4945ea0ee46941b3)
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 8bd8bc1475ddf22d4702dcd17028a9043a5e629f)
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 416d2e3a5233f0c243e45857cfda5126c34ac265)
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 068c973dbeed5b0f5ccab4f780ae7db3535f5910)
2008-04-14 11:32:04 +02:00
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