samba.git
16 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
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

16 years agoGive a more useful error when the templates.ldb can't be found.
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

16 years agoMake the provision test more real, use a foo.example.com for the realm.
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

16 years agoFix upgrade after provision parameter rename.
Jelmer Vernooij [Sat, 9 Feb 2008 02:59:45 +0000 (03:59 +0100)]
Fix upgrade after provision parameter rename.

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
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

16 years agoFix provision python test.
Jelmer Vernooij [Sat, 9 Feb 2008 02:09:56 +0000 (03:09 +0100)]
Fix provision python test.

16 years agoAdd tests for findnss(), add some docstrings.
Jelmer Vernooij [Sat, 9 Feb 2008 01:10:49 +0000 (02:10 +0100)]
Add tests for findnss(), add some docstrings.

16 years agoRemove unused class members.
Jelmer Vernooij [Sat, 9 Feb 2008 00:42:38 +0000 (01:42 +0100)]
Remove unused class members.

16 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
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

16 years agoFrom a request from Peter Huang, include IPsec sechema.
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

16 years agoReformat SMB_EXT_LIB_FROM_PKGCONFIG: fix spacing and indentation.
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

16 years agobuild: Remove unused functions Import() and GetInfo().
Jelmer Vernooij [Fri, 8 Feb 2008 13:12:46 +0000 (14:12 +0100)]
build: Remove unused functions Import() and GetInfo().

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
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

16 years agoRemove unused parameter from provision()
Andrew Bartlett [Fri, 8 Feb 2008 06:12:54 +0000 (17:12 +1100)]
Remove unused parameter from provision()

Andrew Bartlett

16 years agoLDAP now works with the python provision!
Andrew Bartlett [Fri, 8 Feb 2008 06:12:25 +0000 (17:12 +1100)]
LDAP now works with the python provision!

Andrew Bartlett

16 years agoFix LDAP backend with python
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

16 years agoReset error strings
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.

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
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

16 years agomerge tdb changes from ctdb
Andrew Tridgell [Fri, 8 Feb 2008 03:13:19 +0000 (14:13 +1100)]
merge tdb changes from ctdb

16 years agoFix syntax in LDAP test
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

16 years agoFix formatting.
Jelmer Vernooij [Fri, 8 Feb 2008 02:03:44 +0000 (03:03 +0100)]
Fix formatting.

16 years agoSkip offline tests.
Jelmer Vernooij [Fri, 8 Feb 2008 00:19:14 +0000 (01:19 +0100)]
Skip offline tests.

16 years agoPut temporary test files in test directory.
Jelmer Vernooij [Thu, 7 Feb 2008 23:34:29 +0000 (00:34 +0100)]
Put temporary test files  in test directory.

16 years agoPut ldb test output in prefix.
Jelmer Vernooij [Thu, 7 Feb 2008 23:19:50 +0000 (00:19 +0100)]
Put ldb test output in prefix.

16 years agoMark RAW-OFFLINE as known failing for Samba 4 (because it doesn't have offline suppor...
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).

16 years agoOverride KRB5CCNAME so existing Kerberos tickets in the users environment don't get...
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.

16 years agomerge growing tdb for tdb_wipe_all() fix from ctdb
Andrew Tridgell [Thu, 7 Feb 2008 12:06:44 +0000 (23:06 +1100)]
merge growing tdb for tdb_wipe_all() fix from ctdb

16 years agomake the multiplier in the RAW-OFFLINE test settable
Andrew Tridgell [Thu, 7 Feb 2008 12:05:44 +0000 (23:05 +1100)]
make the multiplier in the RAW-OFFLINE test settable

16 years agowkssvc.idl: fix idl for wkssvc_NetrGetJoinableOus[2]()
Stefan Metzmacher [Sun, 3 Feb 2008 01:54:23 +0000 (02:54 +0100)]
wkssvc.idl: fix idl for wkssvc_NetrGetJoinableOus[2]()

metze

16 years agopidl/Samba4::NDR::Parser: fix support for embedded "ref" pointers
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

16 years agopidl/NDR: fix handling of multilevel pointers in function elements
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

16 years agopidl: get the pointer types correct when an element has multiple pointers
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

16 years agowin32-tests: add a very usefull w32 programm to explore midl features
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

16 years agoprefork: also reload stuff in the client processes
Stefan Metzmacher [Tue, 5 Feb 2008 08:16:57 +0000 (09:16 +0100)]
prefork: also reload stuff in the client processes

metze

16 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartlet
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

16 years agosidmap: Some source code cleanups.
Kai Blin [Tue, 5 Feb 2008 10:40:23 +0000 (11:40 +0100)]
sidmap: Some source code cleanups.

16 years agoClarify nomaclature of socket names in process_single and process_prefork
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

16 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartlet
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

16 years agopidl: remove 'pointer_default_top()' support
Stefan Metzmacher [Sat, 2 Feb 2008 09:18:33 +0000 (10:18 +0100)]
pidl: remove 'pointer_default_top()' support

metze

16 years agospoolss.idl: don't use pointer_default_top() and specify "unique" explizit
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

16 years agosamr.idl: don't use pointer_default_top() and specify "unique" explizit
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

16 years agonetlogon.idl: don't use pointer_default_top() and specify "unique" explizit
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

16 years agowinreg.idl: don't use pointer_default_top() and specify "unique" explizit
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

16 years agosvcctl.idl: don't use pointer_default_top() and specify "unique" explizit
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

16 years agowkssvc.idl: don't use pointer_default_top() and specify "unique" explizit
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

16 years agosrvsvc.idl: don't use pointer_default_top() and specify "unique" explizit
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

16 years agoFix a few more breakages from our recent changes to the server_id
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

16 years agoRemove useless layer of indirection, where every service called
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

16 years agoRemaining changes to implement the prefork process model
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

16 years agoRework process_single.c to take advantage of cluster_id() now taking an additional...
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

16 years agoRework cluster_id() to take an additional argument, as we need
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

16 years agoRework service init functions to pass down service name. This is
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

16 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartlet
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

16 years agopidl/Samba4::NDR::Parser: correctly get the name of an array element
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

16 years agopidl/Samba4::NDR::Parser: fix $var_name for arrays of scalar reference types
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

16 years agopidl/Samba4::NDR::Parser: move logic for extra get_pointer_of() into a function
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

16 years agopidl: revert changes it didn't want to push...sorry!
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

16 years agoWorks!!!...pidl/Samba4::NDR::Parser: fix support for embedded "ref" pointers
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

16 years agoWORKS!!!...pidl/NDR: fix handling of multilevel pointers in function elements
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

16 years agoLOOKS OK... pidl: get the pointer types correct when an element has multiple pointers
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

16 years agoCHECKED... pidl/Samba4::NDR::Parser: correctly get the name of an array element
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

16 years agoCHECKED... TODO:MSG pidl/Samba4::NDR::Parser: fix ...
Stefan Metzmacher [Fri, 1 Feb 2008 08:54:25 +0000 (09:54 +0100)]
CHECKED... TODO:MSG pidl/Samba4::NDR::Parser: fix ...

metze

16 years agoCHECKED... pidl/Samba4::NDR::Parser: move logic for extra get_pointer_of() into a...
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

16 years agopidl: cosmetic fix to use the same value everywhere
Stefan Metzmacher [Fri, 1 Feb 2008 17:20:32 +0000 (18:20 +0100)]
pidl: cosmetic fix to use the same value everywhere

metze

16 years agoSamba4 poor mans debug_ctx()
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>
16 years agopidl/IDL: don't strip ',' from the properties content
Stefan Metzmacher [Thu, 31 Jan 2008 14:30:50 +0000 (15:30 +0100)]
pidl/IDL: don't strip ',' from the properties content

metze

16 years agopidl/Samba4::NDR::Parse: move the calculation of NDR_PULL_SET_MEM_CTX() flags into...
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

16 years agoFix sending of large nttrans responses.
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.

16 years agopidl/Samba4::NDR::Parser: pass down the correct $var_name to AllocateArrayLevel()
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

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
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

16 years agomerged tdb transaction fix
Andrew Tridgell [Wed, 30 Jan 2008 22:48:46 +0000 (09:48 +1100)]
merged tdb transaction fix

16 years agolibndr: depend on samba-config, so that callers doesn't need to know about it
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

16 years agopidl: be consistent and always ask pkg-config only for 'ndr'
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

16 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartlet
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

16 years agopython: Provide PyAPI_DATA macro for older versions of Python (< 2.3).
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).

16 years agoPartially revert d64a2288a2cb3a8f74a18b740b265a460773635d and 351c2e99ab8b6a91f735507...
Jelmer Vernooij [Tue, 29 Jan 2008 12:10:43 +0000 (13:10 +0100)]
Partially revert d64a2288a2cb3a8f74a18b740b265a460773635d and 351c2e99ab8b6a91f7355077b2d2944fd820839c to see if that fixes the build.

16 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartlet
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

16 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartlet
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

16 years agotorture: Fix too early free in spoolss notify test.
Jelmer Vernooij [Mon, 28 Jan 2008 01:49:44 +0000 (02:49 +0100)]
torture: Fix too early free in spoolss notify test.

16 years agoldb: Add ldb_oom() calls in a couple of places.
Jelmer Vernooij [Sat, 26 Jan 2008 22:49:33 +0000 (23:49 +0100)]
ldb: Add ldb_oom() calls in a couple of places.

16 years agopython: Use relative paths for registry.
Jelmer Vernooij [Sat, 26 Jan 2008 03:22:42 +0000 (04:22 +0100)]
python: Use relative paths for registry.

16 years agopython: Load smb.conf file for the provision tests.
Jelmer Vernooij [Sat, 26 Jan 2008 01:55:03 +0000 (02:55 +0100)]
python: Load smb.conf file for the provision tests.

16 years agoFix netlogon rpc-server build.
Günther Deschner [Fri, 25 Jan 2008 21:42:14 +0000 (22:42 +0100)]
Fix netlogon rpc-server build.

Guenther

16 years agoAdd IDL for netr_DsrDeregisterDNSHostRecords (just for completion).
Günther Deschner [Fri, 25 Jan 2008 16:43:15 +0000 (17:43 +0100)]
Add IDL for netr_DsrDeregisterDNSHostRecords (just for completion).

Guenther

16 years agoNET-BECOME-DC: always try to build ejs and python code
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

16 years agotorture: the libnet torture test depend on python
Stefan Metzmacher [Fri, 25 Jan 2008 14:41:51 +0000 (15:41 +0100)]
torture: the libnet torture test depend on python

metze

16 years agoconfigure: define HAVE_WORKING_PYTHON
Stefan Metzmacher [Fri, 25 Jan 2008 14:40:55 +0000 (15:40 +0100)]
configure: define HAVE_WORKING_PYTHON

metze

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
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

16 years agopython: Give precedence to Samba's syspath over the already set system one.
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.

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
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

16 years agopython/provision: Reload secrets when necessary, fix unix names in mappings.
Jelmer Vernooij [Fri, 25 Jan 2008 10:47:44 +0000 (11:47 +0100)]
python/provision: Reload secrets when necessary, fix unix names in mappings.

Pair programmed with Andrew.

16 years agopidl/Samba4::Header: fix typedefs of unions and structs without elements
Stefan Metzmacher [Fri, 25 Jan 2008 09:07:43 +0000 (10:07 +0100)]
pidl/Samba4::Header: fix typedefs of unions and structs without elements

metze

16 years agoconfigure.ac: we should use AC_CONFIG_FILES() in order to use AC_OUTPUT only once
Stefan Metzmacher [Fri, 25 Jan 2008 07:42:30 +0000 (08:42 +0100)]
configure.ac: we should use AC_CONFIG_FILES() in order to use AC_OUTPUT only once

metze

16 years agoconfigure.ac: we should only create ldb.pc when use the internal ldb
Stefan Metzmacher [Fri, 25 Jan 2008 07:40:03 +0000 (08:40 +0100)]
configure.ac: we should only create ldb.pc when use the internal ldb

metze

16 years agorepl_meta_data: add some TODOs to replmd_modify_originating()
Stefan Metzmacher [Fri, 25 Jan 2008 07:08:33 +0000 (08:08 +0100)]
repl_meta_data: add some TODOs to replmd_modify_originating()

metze

16 years agoadded latency reporting
Andrew Tridgell [Fri, 25 Jan 2008 06:27:36 +0000 (17:27 +1100)]
added latency reporting

16 years agothis is in seconds
Andrew Tridgell [Fri, 25 Jan 2008 06:27:17 +0000 (17:27 +1100)]
this is in seconds

16 years agoTidy up the last regresesions on the python smbscript, from my work
Andrew Bartlett [Fri, 25 Jan 2008 06:11:20 +0000 (17:11 +1100)]
Tidy up the last regresesions on the python smbscript, from my work
with Jelmer today.

The only remaining issue is that for the build farm, we will need to
manually specify the users and groups from the NSS_WRAPPPER, as python
isn't compiled with this.

Andrew Bartlett

16 years agomore useful output
Andrew Tridgell [Fri, 25 Jan 2008 04:00:45 +0000 (15:00 +1100)]
more useful output

16 years agoadded a offline file torture test BASE-OFFLINE
Andrew Tridgell [Fri, 25 Jan 2008 04:00:11 +0000 (15:00 +1100)]
added a offline file torture test BASE-OFFLINE