Andrew Bartlett [Wed, 20 Feb 2008 22:53:11 +0000 (09:53 +1100)]
Until the new ldb changes land, make ldb_wait set the error string.
This makes it easier to track down which module only returned and
error code, but not the error string.
Andrew Bartlett
(This used to be commit
c4d502f68fbd5d5bc2ac5bb6369950379c9176fc)
Andrew Bartlett [Sat, 9 Feb 2008 03:13:58 +0000 (14:13 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit
4aff02ecf18d52ae8e64e0c938ac5edf82a6dcef)
Andrew Bartlett [Sat, 9 Feb 2008 03:13:23 +0000 (14:13 +1100)]
Remove the forced 'krb5' from the NET-API-BECOME-DC test.
If we want to try this authenication mechanism, we can always manually
specify the binding string.
Andrew Bartlett
(This used to be commit
191d56d41e5af34e78e1ad711fb1c63c189f0b48)
Andrew Bartlett [Sat, 9 Feb 2008 03:03:25 +0000 (14:03 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit
774b54141a3549448b7bbc5bc69a661ac525df48)
Andrew Bartlett [Sat, 9 Feb 2008 03:02:14 +0000 (14:02 +1100)]
Give a more useful error when the templates.ldb can't be found.
Andrew Bartlett
(This used to be commit
26108eb66b4b5d4b339dfc845e8a018190068e81)
Andrew Bartlett [Sat, 9 Feb 2008 03:01:37 +0000 (14:01 +1100)]
Make the provision test more real, use a foo.example.com for the realm.
Andrew Bartlett
(This used to be commit
b7ea06850a91b0593178227f713803e9ce98cc47)
Jelmer Vernooij [Sat, 9 Feb 2008 02:59:45 +0000 (03:59 +0100)]
Fix upgrade after provision parameter rename.
(This used to be commit
361b9f43fb2abb64f2cbae7740b89a616a3c2646)
Jelmer Vernooij [Sat, 9 Feb 2008 02:11:04 +0000 (03:11 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
(This used to be commit
d4fb8b0d8644cddfa39655fac87a96edc71b2a73)
Jelmer Vernooij [Sat, 9 Feb 2008 02:09:56 +0000 (03:09 +0100)]
Fix provision python test.
(This used to be commit
b173fa6bd2b24b5a3e7b4fbcb926f6c9771c10ba)
Jelmer Vernooij [Sat, 9 Feb 2008 01:10:49 +0000 (02:10 +0100)]
Add tests for findnss(), add some docstrings.
(This used to be commit
4eec2bbc9a139e927ce21c615ebfbb3026b26384)
Jelmer Vernooij [Sat, 9 Feb 2008 00:42:38 +0000 (01:42 +0100)]
Remove unused class members.
(This used to be commit
373ef4287f998b79bf9ba6364d6a67e5c522833d)
Andrew Bartlett [Fri, 8 Feb 2008 23:00:14 +0000 (10:00 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit
1bf9d0401012cd3c830d50844f5be35e53835322)
Andrew Bartlett [Fri, 8 Feb 2008 22:59:45 +0000 (09:59 +1100)]
From a request from Peter Huang, include IPsec sechema.
(We may need to include more defaults in the template, but I want to
start small for now).
Andrew Bartlett
(This used to be commit
a466dda118f785bf784548106637577a5e25a30e)
Michael Adam [Fri, 8 Feb 2008 15:28:04 +0000 (16:28 +0100)]
Reformat SMB_EXT_LIB_FROM_PKGCONFIG: fix spacing and indentation.
Sorry, could not resist: While trying to understand this bit of magic,
I had to bring indentation into shape to see more clearly what is going on.
Also, mixed tabs/spaces are changed to tabs.
Michael
(This used to be commit
cbed074f2841b79cc0f23ad52b1fa34515f706a9)
Jelmer Vernooij [Fri, 8 Feb 2008 13:12:46 +0000 (14:12 +0100)]
build: Remove unused functions Import() and GetInfo().
(This used to be commit
5c2be1e8a985332e1e81eeab1dc9b50d7f867f98)
Jelmer Vernooij [Fri, 8 Feb 2008 13:02:22 +0000 (14:02 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Conflicts:
source/scripting/python/samba/provision.py
(This used to be commit
e367df5d994181f08ad1a20a0ce01991ca30bcc8)
Andrew Bartlett [Fri, 8 Feb 2008 06:20:03 +0000 (17:20 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit
ae9d0343e0599ac62c3011a3d6c1948a9cb7a8f1)
Andrew Bartlett [Fri, 8 Feb 2008 06:12:54 +0000 (17:12 +1100)]
Remove unused parameter from provision()
Andrew Bartlett
(This used to be commit
c8b0a8a196d8d187a86aef497953d0105436aff8)
Andrew Bartlett [Fri, 8 Feb 2008 06:12:25 +0000 (17:12 +1100)]
LDAP now works with the python provision!
Andrew Bartlett
(This used to be commit
8f0a89ca19d6a3986dacd981fab1ebbc8b1a4ad0)
Andrew Bartlett [Fri, 8 Feb 2008 06:11:26 +0000 (17:11 +1100)]
Fix LDAP backend with python
We were still setting the hard-coded users.ldb etc, rather than
switching to the ldapi:// URI
Andrew Bartlett
(This used to be commit
603e981250b26b533ec35dd607cb635226cf99df)
Andrew Bartlett [Fri, 8 Feb 2008 06:09:49 +0000 (17:09 +1100)]
Reset error strings
Avoid leaking error strings up to the application, when we are ignoring them.
(This used to be commit
57b4b43b6548d1cd81cfaebc5ea8abc88aaca989)
Andrew Tridgell [Fri, 8 Feb 2008 03:13:48 +0000 (14:13 +1100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit
fd9cc4eb5afae8b255e753d480190b490cd3f7ab)
Andrew Tridgell [Fri, 8 Feb 2008 03:13:19 +0000 (14:13 +1100)]
merge tdb changes from ctdb
(This used to be commit
b3e60a388d338ef90540007239e88563cb9ba27a)
Andrew Bartlett [Fri, 8 Feb 2008 02:23:45 +0000 (13:23 +1100)]
Fix syntax in LDAP test
We don't get this far in the test at the moment however.
Andrew Bartlett
(This used to be commit
c3098d5c52505e143a6ce498273a5ce6a66220b0)
Jelmer Vernooij [Fri, 8 Feb 2008 02:03:44 +0000 (03:03 +0100)]
Fix formatting.
(This used to be commit
73d1b0fcb64fdc7be1e1e1002f3f182fcbe476ae)
Andrew Bartlett [Fri, 8 Feb 2008 01:54:09 +0000 (12:54 +1100)]
Revert to ejs for 'provision'
Andrew Bartlett
(This used to be commit
fa1098959ad0016770ce1c327665df08ce3f69d2)
Andrew Bartlett [Fri, 8 Feb 2008 01:52:54 +0000 (12:52 +1100)]
Remove unused argument to provision().
Andrew Bartlett
(This used to be commit
2f98ec1e6417c70a48370a62e7a54dfc4f6291c1)
Andrew Bartlett [Fri, 8 Feb 2008 01:49:30 +0000 (12:49 +1100)]
LDAP backend provision now works with python.
Andrew Bartlett
(This used to be commit
3e6a6e6b210a4089cf9f9db80c1ab30da3872845)
Andrew Bartlett [Fri, 8 Feb 2008 01:48:58 +0000 (12:48 +1100)]
Remove unused ldap_backend argument from provision.py
Andrew Bartlett
(This used to be commit
fbce84a87b086a0024379ab26f6f628e5d210251)
Andrew Bartlett [Fri, 8 Feb 2008 01:48:11 +0000 (12:48 +1100)]
Fix LDAP backend with python provision
The backend databases were still hard-coded as 'users.ldb' etc.
Andrew Bartlett
(This used to be commit
3c5f6cc739b4a8787ce4cc5dc16ffd3027cc4a57)
Andrew Bartlett [Fri, 8 Feb 2008 01:45:51 +0000 (12:45 +1100)]
Ensure expected errors do not leak up to the application.
(reset the error string to be sure).
Andrew Bartlett
(This used to be commit
741d33bf8c9b2e2b1ba4762ca63e90885a702184)
Jelmer Vernooij [Fri, 8 Feb 2008 00:19:14 +0000 (01:19 +0100)]
Skip offline tests.
(This used to be commit
3c71aae2a3e3de0e2372410dd363a7d6015174e6)
Jelmer Vernooij [Thu, 7 Feb 2008 23:34:29 +0000 (00:34 +0100)]
Put temporary test files in test directory.
(This used to be commit
16382999bebf158996e16219e7053ef4821550c1)
Jelmer Vernooij [Thu, 7 Feb 2008 23:19:50 +0000 (00:19 +0100)]
Put ldb test output in prefix.
(This used to be commit
af283cd787ef4642fc4ba642ea37a1eede2d2f41)
Jelmer Vernooij [Thu, 7 Feb 2008 23:03:02 +0000 (00:03 +0100)]
Mark RAW-OFFLINE as known failing for Samba 4 (because it doesn't have offline support yet).
(This used to be commit
36167dc85248ed31922cc5ff4a364559f562c51b)
Jelmer Vernooij [Thu, 7 Feb 2008 22:47:18 +0000 (23:47 +0100)]
Override KRB5CCNAME so existing Kerberos tickets in the users environment don't get overwritten.
(This used to be commit
5e740c0dfbda9a6b2f47d953eb27a1fbfcff78b3)
Andrew Tridgell [Thu, 7 Feb 2008 12:06:44 +0000 (23:06 +1100)]
merge growing tdb for tdb_wipe_all() fix from ctdb
(This used to be commit
df4efb902ec5053ae9d7c6e4fd1e21255ca66914)
Andrew Tridgell [Thu, 7 Feb 2008 12:05:44 +0000 (23:05 +1100)]
make the multiplier in the RAW-OFFLINE test settable
(This used to be commit
f4b363d7a65023c816264b58d6f3f07730b43c0c)
Stefan Metzmacher [Sun, 3 Feb 2008 01:54:23 +0000 (02:54 +0100)]
wkssvc.idl: fix idl for wkssvc_NetrGetJoinableOus[2]()
metze
(This used to be commit
3f2edcc341e5b0e4369e8f601ef0cb6ecf73b4c7)
Stefan Metzmacher [Thu, 31 Jan 2008 14:04:22 +0000 (15:04 +0100)]
pidl/Samba4::NDR::Parser: fix support for embedded "ref" pointers
The memory allocation of embedded "ref" pointers needs to be the
same as for all other embedded pointers.
metze
(This used to be commit
6b3817c2250b94307ffcbd9f8eeb9a593eb7a82d)
Stefan Metzmacher [Fri, 1 Feb 2008 22:09:37 +0000 (23:09 +0100)]
pidl/NDR: fix handling of multilevel pointers in function elements
The 2nd or higher level of wire pointers needs to be marked as deferred.
metze
(This used to be commit
d7970d70329e0d4f9de30ccfcedd03e583817fa2)
Stefan Metzmacher [Fri, 1 Feb 2008 09:30:47 +0000 (10:30 +0100)]
pidl: get the pointer types correct when an element has multiple pointers
Only the first level gets the pointer type from the
pointer property, the others get them from
the pointer_default() interface property
see http://msdn2.microsoft.com/en-us/library/
aa378984(VS.85).aspx
(Here they talk about the rightmost pointer, but testing shows
they mean the leftmost pointer.)
metze
(This used to be commit
aa8518521b2a6a7110c84c4981c53acce7389ee9)
Stefan Metzmacher [Wed, 6 Feb 2008 15:34:36 +0000 (16:34 +0100)]
win32-tests: add a very usefull w32 programm to explore midl features
You have to define idl, call the client function
and add a server implementation.
Then you need to compile midltests.exe
and run it, it will dump the generated NDR on the
screen.
metze
(This used to be commit
dc15c8833599a1cb8f51c2b5390925410cbf4e12)
Stefan Metzmacher [Tue, 5 Feb 2008 08:16:57 +0000 (09:16 +0100)]
prefork: also reload stuff in the client processes
metze
(This used to be commit
36012c386b30af98f10ada1b77ca3e43dbd7b144)
Andrew Bartlett [Wed, 6 Feb 2008 05:14:09 +0000 (16:14 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartlet
(This used to be commit
594ff923295c7420167aa899ec6030de07038625)
Kai Blin [Tue, 5 Feb 2008 10:40:23 +0000 (11:40 +0100)]
sidmap: Some source code cleanups.
(This used to be commit
16466b543bf8dd35bc79a030696f78598ca82f54)
Andrew Bartlett [Tue, 5 Feb 2008 03:51:01 +0000 (14:51 +1100)]
Clarify nomaclature of socket names in process_single and process_prefork
Fix talloc_steal in both cases to steal connected socket (from accept)
onto it's private structure, rather than stealing the bound socket.
Remove termination code from the prefork modal, we want the process to
still stay around, to serve future clients.
Andrew Bartlett and David Disseldorp
(This used to be commit
07590d893e993919cf6cb7582310777f534e756f)
Andrew Bartlett [Mon, 4 Feb 2008 22:16:37 +0000 (09:16 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartlet
(This used to be commit
7fc3669b9dc34514d8749d3941514fdae7d0f700)
Stefan Metzmacher [Sat, 2 Feb 2008 09:18:33 +0000 (10:18 +0100)]
pidl: remove 'pointer_default_top()' support
metze
(This used to be commit
145d6c8ea0eafc69cdeca45fbf296148b890133d)
Stefan Metzmacher [Fri, 1 Feb 2008 21:25:32 +0000 (22:25 +0100)]
spoolss.idl: don't use pointer_default_top() and specify "unique" explizit
Note: this doesn't change the generated output!
metze
(This used to be commit
c472935c984016f0a26ef7851b6472d45b4ac510)
Stefan Metzmacher [Fri, 1 Feb 2008 21:11:43 +0000 (22:11 +0100)]
samr.idl: don't use pointer_default_top() and specify "unique" explizit
Note: this doesn't change the generated output!
metze
(This used to be commit
14ee13c1fe2d17ebfd031a1cd2fbf2a9b72cdfc9)
Stefan Metzmacher [Fri, 1 Feb 2008 20:53:41 +0000 (21:53 +0100)]
netlogon.idl: don't use pointer_default_top() and specify "unique" explizit
Note: this doesn't change the generated output!
metze
(This used to be commit
e4b12aa9a44210a7d76a75db6a1fa4fecaf3e76f)
Stefan Metzmacher [Fri, 1 Feb 2008 20:35:52 +0000 (21:35 +0100)]
winreg.idl: don't use pointer_default_top() and specify "unique" explizit
Note: this doesn't change the generated output!
metze
(This used to be commit
f195093a86e1359572aacd7411e4a0cb8a2af0cf)
Stefan Metzmacher [Fri, 1 Feb 2008 20:24:54 +0000 (21:24 +0100)]
svcctl.idl: don't use pointer_default_top() and specify "unique" explizit
Note: this doesn't change the generated output!
metze
(This used to be commit
7561e8fa51bf616916a1f87e16e971de29290dcf)
Stefan Metzmacher [Fri, 1 Feb 2008 20:22:39 +0000 (21:22 +0100)]
wkssvc.idl: don't use pointer_default_top() and specify "unique" explizit
Note: this doesn't change the generated output!
metze
(This used to be commit
f2227b3bb8dc74788614cc7eb9b84475f0a4a949)
Stefan Metzmacher [Fri, 1 Feb 2008 19:41:26 +0000 (20:41 +0100)]
srvsvc.idl: don't use pointer_default_top() and specify "unique" explizit
Note: this doesn't change the generated output!
metze
(This used to be commit
6d20a2f3f98217ba78e905d0f85dd91cee218238)
Andrew Bartlett [Mon, 4 Feb 2008 12:04:35 +0000 (23:04 +1100)]
Fix a few more breakages from our recent changes to the server_id
structure. The BASE-TORTURE test found this problem - caused because
the messaging path was not unique.
If we didn't use a macro for cluster_id_equal(), we could make it
opaque, and avoid this...
Andrew Bartlett
(This used to be commit
c3387545c57d2dd4922b4f3806b4552cee8035a3)
Andrew Bartlett [Mon, 4 Feb 2008 10:58:29 +0000 (21:58 +1100)]
Remove useless layer of indirection, where every service called
task_service_init() manually. Now this is called from service.c for
all services.
Andrew Bartlett
(This used to be commit
9c9a4731cafd0dcf6c8523a7b06759cd4f14e4db)
Andrew Bartlett [Mon, 4 Feb 2008 06:59:16 +0000 (17:59 +1100)]
Remaining changes to implement the prefork process model
To use, run 'smbd -M prefork'
By default, only the smb service is preforked. 4 children are
created, and all listen for new connections. The Linux Kernel 'wake
one' behaviour should ensure that only one is given the oportunity to
accept. We need to look into the ideal number of worker children, as
well as load balancing behaviours.
To change, set:
prefork children : smb = 6
valid service names (smb in this example) match those in 'server services'.
Andrew Bartlett and David Disseldorp
(This used to be commit
35313c0aa3fbfdd943edfb7bafd7645b1a0c54e9)
Andrew Bartlett [Mon, 4 Feb 2008 06:53:01 +0000 (17:53 +1100)]
Rework process_single.c to take advantage of cluster_id() now taking an additional argument.
Andrew Bartlett and David Disseldorp
(This used to be commit
c961e7d74e33a0dd61b1053620fb41521322e20d)
Andrew Bartlett [Mon, 4 Feb 2008 06:51:38 +0000 (17:51 +1100)]
Rework cluster_id() to take an additional argument, as we need
<node>.<pid>.<fd> to be unique in a prefork process environment.
Andrew Bartlett and David Disseldorp
(This used to be commit
931994a7f185bbc98924823e9e8cef1011dd0957)
Andrew Bartlett [Mon, 4 Feb 2008 06:48:51 +0000 (17:48 +1100)]
Rework service init functions to pass down service name. This is
needed to change prefork behaviour based on what service is being
started.
Andrew Bartlett and David Disseldorp
(This used to be commit
0d830580e3539c96da3aa6c72fafe6eacd7a74a0)
Andrew Bartlett [Sun, 3 Feb 2008 22:56:24 +0000 (09:56 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartlet
(This used to be commit
377a7c633d4813c134b91739c507dcefb55c9691)
Stefan Metzmacher [Thu, 31 Jan 2008 13:57:35 +0000 (14:57 +0100)]
pidl/Samba4::NDR::Parser: correctly get the name of an array element
When we have "*r->out.ous"
(char ***ous, a pointer to a pointer to an array of pointers).
we need to use "(*r->out.ous)[3]" to access the 3rd
element of the array "*r->out.ous[3]" was generated before,
but that's the same as "*(r->out.ous[3])" which would mean
the array would apply to a different level.
This patch prepares support for:
[out,ref,size_is(,num)] [string,charset(UTF16)] uint16 ***names;
It means a [ref] pointer to a [unique] pointer to an array
of [unique] pointers which point to an UTF16 string.
metze
(This used to be commit
ec0ee2aa5f4bef32f09a426d91c28c985f843038)
Stefan Metzmacher [Fri, 1 Feb 2008 08:54:25 +0000 (09:54 +0100)]
pidl/Samba4::NDR::Parser: fix $var_name for arrays of scalar reference types
uint32 num;
nstring strings[num];
this should use 'r->strings' instead of
'*r->strings' as the pointer to the array.
metze
(This used to be commit
7c7acae817cd00ab5c915742338b019af79e9193)
Stefan Metzmacher [Fri, 1 Feb 2008 08:49:54 +0000 (09:49 +0100)]
pidl/Samba4::NDR::Parser: move logic for extra get_pointer_of() into a function
metze
(This used to be commit
26d7f5bf96cd7e950ceb532402afd6b8a58871ea)
Stefan Metzmacher [Sat, 2 Feb 2008 10:13:03 +0000 (11:13 +0100)]
pidl: revert changes it didn't want to push...sorry!
8ebf16c0741085fa769fcc2929f275ab49b1ea5d Works!!!...pidl/Samba4::NDR::Parser: fix support for embedded "ref" pointers
6fcf2456d0e81898b5779ef1650f38b4c5363a80 WORKS!!!...pidl/NDR: fix handling of multilevel pointers in function elements
0569139ca2960ec5478829c3e66f7ff69bdb55cd LOOKS OK... pidl: get the pointer types correct when an element has multiple pointe
rs
13afc89a87716063180723f0e9cb4f76daca837e CHECKED... pidl/Samba4::NDR::Parser: correctly get the name of an array element
29c104944bcad30c6a2a3fa70d527bf0ee8969de CHECKED... TODO:MSG pidl/Samba4::NDR::Parser: fix ...
3369015f5d8c425e1a9f9d861471028f03f163bb CHECKED... pidl/Samba4::NDR::Parser: move logic for extra get_pointer_of() into a f
unction
metze
(This used to be commit
0bcc8e53d1470ba9dfe93e5d6925b8f4c20c7c66)
Stefan Metzmacher [Thu, 31 Jan 2008 14:04:22 +0000 (15:04 +0100)]
Works!!!...pidl/Samba4::NDR::Parser: fix support for embedded "ref" pointers
The memory allocation of embedded "ref" pointers needs to be the
same as for all other embedded pointers.
metze
(This used to be commit
8ebf16c0741085fa769fcc2929f275ab49b1ea5d)
Stefan Metzmacher [Fri, 1 Feb 2008 22:09:37 +0000 (23:09 +0100)]
WORKS!!!...pidl/NDR: fix handling of multilevel pointers in function elements
The 2nd or higher level of wire pointers needs to be marked as deferred.
metze
(This used to be commit
6fcf2456d0e81898b5779ef1650f38b4c5363a80)
Stefan Metzmacher [Fri, 1 Feb 2008 09:30:47 +0000 (10:30 +0100)]
LOOKS OK... pidl: get the pointer types correct when an element has multiple pointers
Only the first level gets the pointer type from the
pointer property, the others get them from
the pointer_default() interface property
see http://msdn2.microsoft.com/en-us/library/
aa378984(VS.85).aspx
(Here they talk about the rightmost pointer, but testing shows
they mean the leftmost pointer.)
metze
(This used to be commit
0569139ca2960ec5478829c3e66f7ff69bdb55cd)
Stefan Metzmacher [Thu, 31 Jan 2008 13:57:35 +0000 (14:57 +0100)]
CHECKED... pidl/Samba4::NDR::Parser: correctly get the name of an array element
When we have "*r->out.ous"
(char ***ous, a pointer to a pointer to an array).
we need to use "(*r->out.ous)[3]" to access the 3rd
element of the array "*r->out.ous[3]" was generated before,
but that's the same as "*(r->out.ous[3])".
metze
(This used to be commit
13afc89a87716063180723f0e9cb4f76daca837e)
Stefan Metzmacher [Fri, 1 Feb 2008 08:54:25 +0000 (09:54 +0100)]
CHECKED... TODO:MSG pidl/Samba4::NDR::Parser: fix ...
metze
(This used to be commit
29c104944bcad30c6a2a3fa70d527bf0ee8969de)
Stefan Metzmacher [Fri, 1 Feb 2008 08:49:54 +0000 (09:49 +0100)]
CHECKED... pidl/Samba4::NDR::Parser: move logic for extra get_pointer_of() into a function
metze
(This used to be commit
3369015f5d8c425e1a9f9d861471028f03f163bb)
Stefan Metzmacher [Fri, 1 Feb 2008 17:20:32 +0000 (18:20 +0100)]
pidl: cosmetic fix to use the same value everywhere
metze
(This used to be commit
3c191981436ab3f7dd166a87875ffbac127fbdf5)
Amin Azez [Fri, 1 Feb 2008 16:19:36 +0000 (16:19 +0000)]
Samba4 poor mans debug_ctx()
DEBUG(), DEBUGADD() and friends can now use debug_ctx() in the
formatting expressions again,
e.g.
DEBUG(5,("Guid failed to match: %s\n", GUID_string(debug_ctx(), r->guid)));
Sadly it's done with macros (again) but when we need to save the 8 or 16
bytes of object code per DEBUG() expression we can do it the Samba 3 way
with added thread-safety for Samba 4. That could save up to 200K,
allowing 12 bytes for each occurrance of DEBUG...
Signed-off-by: Amin Azez <azez@ufomechanic.net>
(This used to be commit
9781967542b00c279563d435aec72dac1e8c7e9a)
Stefan Metzmacher [Thu, 31 Jan 2008 14:30:50 +0000 (15:30 +0100)]
pidl/IDL: don't strip ',' from the properties content
metze
(This used to be commit
fdf9bcb163516f7d96675ae0dce2917afb8f86d3)
Stefan Metzmacher [Fri, 1 Feb 2008 06:00:50 +0000 (07:00 +0100)]
pidl/Samba4::NDR::Parse: move the calculation of NDR_PULL_SET_MEM_CTX() flags into one function
metze
(This used to be commit
74bf021aa7016ace02a0238e71573f18016e3722)
Amin Azez [Thu, 31 Jan 2008 17:04:30 +0000 (17:04 +0000)]
Fix sending of large nttrans responses.
req_grow_data was growing the original req, not this_req which
was being used for the current fragment.
(This used to be commit
2ac47f5ab670f971f41f99700dbfb3655fd6737f)
Stefan Metzmacher [Thu, 31 Jan 2008 13:48:15 +0000 (14:48 +0100)]
pidl/Samba4::NDR::Parser: pass down the correct $var_name to AllocateArrayLevel()
metze
(This used to be commit
c630bece38eed3278466c2934763fcd8dcfb0610)
Andrew Tridgell [Wed, 30 Jan 2008 22:49:15 +0000 (09:49 +1100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit
f6a5848e5e211d4d4d66b7eca46b4b0ad4c9daab)
Andrew Tridgell [Wed, 30 Jan 2008 22:48:46 +0000 (09:48 +1100)]
merged tdb transaction fix
(This used to be commit
eb3af24926977208a8099c848a510704d2ae3524)
Stefan Metzmacher [Wed, 30 Jan 2008 19:30:27 +0000 (20:30 +0100)]
libndr: depend on samba-config, so that callers doesn't need to know about it
metze
(This used to be commit
fc69e3f829a83aae311b4849d91509fcfa47816b)
Stefan Metzmacher [Wed, 30 Jan 2008 19:25:40 +0000 (20:25 +0100)]
pidl: be consistent and always ask pkg-config only for 'ndr'
metze
(This used to be commit
ab2e1394d0a66ca13750e1b6f4ced07f4a0f3453)
Andrew Bartlett [Wed, 30 Jan 2008 00:47:52 +0000 (11:47 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartlet
(This used to be commit
8011716734cb8e3c34f85d9d68201f13cb5b8e0a)
Jelmer Vernooij [Tue, 29 Jan 2008 13:27:27 +0000 (14:27 +0100)]
python: Provide PyAPI_DATA macro for older versions of Python (< 2.3).
(This used to be commit
421bdd203eab09e560f4919715fa4cc4497e406f)
Jelmer Vernooij [Tue, 29 Jan 2008 12:10:43 +0000 (13:10 +0100)]
Andrew Bartlett [Mon, 28 Jan 2008 23:59:14 +0000 (10:59 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartlet
(This used to be commit
81a0a7967b8f659f1f35a7a25de469725417ab43)
Andrew Bartlett [Mon, 28 Jan 2008 05:39:03 +0000 (16:39 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartlet
(This used to be commit
f0a4db22e58d393be5b28f767ee6d0abfc8f11dc)
Jelmer Vernooij [Mon, 28 Jan 2008 01:49:44 +0000 (02:49 +0100)]
torture: Fix too early free in spoolss notify test.
(This used to be commit
f5ea5de797f4fe35baf4f2bcd2913902c6703f44)
Jelmer Vernooij [Sat, 26 Jan 2008 22:49:33 +0000 (23:49 +0100)]
ldb: Add ldb_oom() calls in a couple of places.
(This used to be commit
1163c2ad54b122487fa25960b8989f0f6d0b8c64)
Jelmer Vernooij [Sat, 26 Jan 2008 03:22:42 +0000 (04:22 +0100)]
python: Use relative paths for registry.
(This used to be commit
079200b824de6dd8c7de3e5b76ed1805fde02965)
Jelmer Vernooij [Sat, 26 Jan 2008 01:55:03 +0000 (02:55 +0100)]
python: Load smb.conf file for the provision tests.
(This used to be commit
41571bbb933c763a9608f4ba56f1a5a97af133ab)
Günther Deschner [Fri, 25 Jan 2008 21:42:14 +0000 (22:42 +0100)]
Fix netlogon rpc-server build.
Guenther
(This used to be commit
7a10be2ac77124a78fcc4ddda5e05c036ed920fa)
Günther Deschner [Fri, 25 Jan 2008 16:43:15 +0000 (17:43 +0100)]
Add IDL for netr_DsrDeregisterDNSHostRecords (just for completion).
Guenther
(This used to be commit
722b4dfdc4821ecf349f87f57146f3b52e719b3d)
Stefan Metzmacher [Fri, 25 Jan 2008 14:45:18 +0000 (15:45 +0100)]
NET-BECOME-DC: always try to build ejs and python code
We let getenv("PROVISION_PYTHON") decide what we want
at runtime.
metze
(This used to be commit
acb5661f61ad62c02b5ec83d0f1f0c969f356c9f)
Stefan Metzmacher [Fri, 25 Jan 2008 14:41:51 +0000 (15:41 +0100)]
torture: the libnet torture test depend on python
metze
(This used to be commit
d64a2288a2cb3a8f74a18b740b265a460773635d)
Stefan Metzmacher [Fri, 25 Jan 2008 14:40:55 +0000 (15:40 +0100)]
configure: define HAVE_WORKING_PYTHON
metze
(This used to be commit
351c2e99ab8b6a91f7355077b2d2944fd820839c)
Andrew Tridgell [Fri, 25 Jan 2008 12:16:34 +0000 (23:16 +1100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit
1e042908992cdf3149ffc24472c7f0b1c3f9edef)
Jelmer Vernooij [Fri, 25 Jan 2008 11:16:13 +0000 (12:16 +0100)]
python: Give precedence to Samba's syspath over the already set system one.
(This used to be commit
f3ebaf0a0c0b881da28063c69bb6306f6aa1c774)
Jelmer Vernooij [Fri, 25 Jan 2008 10:50:00 +0000 (11:50 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Conflicts:
source/scripting/python/samba/provision.py
(This used to be commit
64babbec22f165e34799d36ff4b76806d9fead50)