1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

7768 Commits

Author SHA1 Message Date
Andrew Tridgell
e4dbcc0d5d r12531: 'make quicktest' was taking 15 minutes on my system due to failing DNS
lookups in load_interfaces(). The reason was my eth0 interface was
down, and it was being interpreted as a DNS name.

This patch changes load_interfaces() to happening automatically when
interfaces are first needed instead of on the startup of every samba
binary. This means that (for example) ldbadd doesn't call
load_interfaces(), which means no slow DNS lookups.

I also reduced the number of static globals in interface.c to 1, and
changed from malloc to talloc

When you want to force a reload of the interfaces list, you now call
unload_interfaces(), which means the next call that needs the
interfaces list will reload it
(This used to be commit f79d90bd13)
2007-10-10 13:47:52 -05:00
Jelmer Vernooij
1f70087663 r12530: Let include/includes.h depend on lib/basic.h (which it includes)
(This used to be commit 90129b081e)
2007-10-10 13:47:52 -05:00
Jelmer Vernooij
0a3c167f6b r12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server.
(This used to be commit 87f665a1d5)
2007-10-10 13:47:51 -05:00
Jelmer Vernooij
7285e102f0 r12523: Convert the registry subsystem to use a seperate prototype header
(note that this doesn't use the distinction between private
 and public prototypes yet)
(This used to be commit 60e11f5758)
2007-10-10 13:47:51 -05:00
Jelmer Vernooij
10c183d9ae r12520: Add support for --help to mkproto.pl
Allow the use of {PRIVATE,PUBLIC}_PROTO_HEADER for [SUBSYSTEM]
and [LIBRARY] sections in .mk files. Public functions can be marked
by adding _PUBLIC_ between their return type and function name.

This should eventually make include/proto.h and include/structs.h obsolete.
(This used to be commit cdfd20fa17)
2007-10-10 13:47:51 -05:00
Jelmer Vernooij
d49f11df21 r12517: Don't generate empty init functions
(This used to be commit 832a1092c9)
2007-10-10 13:47:51 -05:00
Jelmer Vernooij
00ace36e07 r12516: Fix drsuapi and netlogon javascript bindings
(This used to be commit b46eeba9fc)
2007-10-10 13:47:51 -05:00
Jelmer Vernooij
05b141c5c9 r12515: Use UUID directly rather then string containing UUID
(This used to be commit 465b973870)
2007-10-10 13:47:49 -05:00
Jelmer Vernooij
0ad7b308a1 r12514: Move DCE/RPC interface table to a seperate file
Be a bit more strict when checking for duplicate interfaces
(This used to be commit b1286a6d27)
2007-10-10 13:47:49 -05:00
Jelmer Vernooij
e748b53e43 r12513: Similar change as my previous commit, but now for transfer syntaxes.
Avoids converting a static string to GUID every time we check whether
a transfer syntax is equal to that of NDR.
(This used to be commit 8dcfcaf75a)
2007-10-10 13:47:49 -05:00
Jelmer Vernooij
d658de65d3 r12512: Use GUID structs in API functions everywhere rather then converting back and
forth between GUID structs and strings in several places.
(This used to be commit 3564e2f967)
2007-10-10 13:47:48 -05:00
Jelmer Vernooij
8270e1e310 r12511: Remove authservice from binding string
(This used to be commit 2188168209)
2007-10-10 13:47:48 -05:00
Jelmer Vernooij
acd6a086b3 r12510: Change the DCE/RPC interfaces to take a pointer to a
dcerpc_interface_table struct rather then a tuple of interface
name, UUID and version.

This removes the requirement for having a global list of DCE/RPC interfaces,
except for these parts of the code that use that list explicitly
(ndrdump and the scanner torture test).

This should also allow us to remove the hack that put the authservice parameter
in the dcerpc_binding struct as it can now be read directly from
dcerpc_interface_table.

I will now modify some of these functions to take a dcerpc_syntax_id
structure rather then a full dcerpc_interface_table.
(This used to be commit 8aae0f168e)
2007-10-10 13:47:48 -05:00
Stefan Metzmacher
1f8bb5bd85 r12509: make the output for the buildfarm nicer
metze
(This used to be commit f03170cc52)
2007-10-10 13:47:47 -05:00
Andrew Bartlett
9b67a07e62 r12507: This file has had my grubby paws all over it ;-)
Andrew Bartlett
(This used to be commit 865a2552e6)
2007-10-10 13:47:47 -05:00
Andrew Bartlett
40166d7ecb r12506: Fix up issues shown up by the expanded RPC-SAMR testsuite, and add ldb
transactions to the SAMR password change code.

Andrew Bartlett
(This used to be commit dc091c6c06)
2007-10-10 13:47:47 -05:00
Andrew Bartlett
53b23c0b5a r12505: Cope better with NT_STATUS_PASSWORD_RESTRICTION (due to minimum
password age), and test for the incorrect password error case.

Andrew Bartlett
(This used to be commit 85b7e3c493)
2007-10-10 13:47:47 -05:00
Andrew Bartlett
9a3be162b8 r12504: Fix one more transaction cancel bail-out path, and correct comments.
Andrew Bartlett
(This used to be commit 07b885d0c7)
2007-10-10 13:47:46 -05:00
Andrew Bartlett
90535d31c6 r12503: This function was just too simple to leave unimplemented.
Andrew Bartlett
(This used to be commit 2eebd7b3cf)
2007-10-10 13:47:46 -05:00
Andrew Bartlett
32fb97aead r12502: A bit of work on the RPC-SAMR torture test. Prove that ridToSid is
really as simple as it looks.

Andrew Bartlett
(This used to be commit a7e4062547)
2007-10-10 13:47:46 -05:00
Jelmer Vernooij
c1c01df22f r12501: Merge EJSHeader.pm into EJS.pm and simplify smbcalls_rpc.c a bit,
now that it is guaranteed that the smbcalls modules are always initialized
after the EJS subsystem itself.
(This used to be commit 1e8670874b)
2007-10-10 13:47:46 -05:00
Jelmer Vernooij
09c44f6cae r12500: Use init functions explicitly in a few more places. 'gensec' and 'librpc'
are the only two subsystems left to convert.
(This used to be commit f6bbc72996)
2007-10-10 13:47:46 -05:00
Jelmer Vernooij
6aafed9600 r12499: Move smb_build.h out of includes.h
(This used to be commit c92ace494f)
2007-10-10 13:47:45 -05:00
Jelmer Vernooij
d8e35f8828 r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not using
the difference between these at all, and in the future the
fact that INIT_OBJ_FILES include smb_build.h will be sufficient to
have recompiles at the right time.
(This used to be commit b24f2583ed)
2007-10-10 13:47:45 -05:00
Jelmer Vernooij
448483199f r12494: Support loading modules from .so files for most subsystems.
We now use a different system for initializing the modules for a subsystem.
Most subsystems now have an init function that looks something like this:

	init_module_fn static_init[] = STATIC_AUTH_MODULES;
	init_module_fn *shared_init = load_samba_modules(NULL, "auth");

	run_init_functions(static_init);
	run_init_functions(shared_init);

	talloc_free(shared_init);

I hope to eliminate the other init functions later on (the
init_programname_subsystems; defines).
(This used to be commit b6d2ad4ce0)
2007-10-10 13:47:45 -05:00
Jelmer Vernooij
ee10fb1a12 r12490: Fix --warn-compat
(This used to be commit ba6a767f1b)
2007-10-10 13:47:44 -05:00
Jelmer Vernooij
788f7cc59a r12489: Forward declare nbtd_iface_name
(This used to be commit cfaa52cdba)
2007-10-10 13:47:44 -05:00
Jelmer Vernooij
d7eaaf48e4 r12488: Fix MANIFEST to match recent changes
(This used to be commit 6ab0ce1508)
2007-10-10 13:47:44 -05:00
Jelmer Vernooij
ac914ed4a1 r12487: Remove obsolete function
(This used to be commit 865a2c9eca)
2007-10-10 13:47:44 -05:00
Jelmer Vernooij
94793b80d7 r12484: Initial work on supporting non-typedeffed types
(This used to be commit e7ac6c708d)
2007-10-10 13:47:44 -05:00
Jelmer Vernooij
25d57c0ad8 r12483: Remove --tdr-header option (merged into --tdr-parser)
(This used to be commit 45013467f5)
2007-10-10 13:47:43 -05:00
Jelmer Vernooij
d3ced46329 r12482: Add some more tests
(This used to be commit 516b66e0f1)
2007-10-10 13:47:43 -05:00
Jelmer Vernooij
a4fe56c06a r12481: Move parser-specific utility functions to idl.yp, remove some unused functions
Allow the use of non-typedef structs and unions when declaring variables. Allow the
use of the 'signed' and 'unsigned' qualifiers for integer types
(This used to be commit bc6b45e242)
2007-10-10 13:47:43 -05:00
Jelmer Vernooij
8e924678b2 r12480: Extend testsuite
(This used to be commit 1fa6c3568b)
2007-10-10 13:47:43 -05:00
Jelmer Vernooij
7717f180ca r12470: Add helper module for pidl tests
Convert other pidl tests to use Test::More and run them from 'make test'
(This used to be commit 3a57d29a62)
2007-10-10 13:47:43 -05:00
Jelmer Vernooij
620d375320 r12465: Merge Parse::Pidl::Samba4::NDR::Header into Parse::Pidl::Samba4::NDR::Parser.
Small optimization to avoid including NDR headers multiple times
(This used to be commit 6967b98849)
2007-10-10 13:47:42 -05:00
Jelmer Vernooij
68ef82aac7 r12464: Add simple IDL parsing tests for pidl using the standard perl
testing framework (Test::Simple, distributed with perl itself).
Run these tests from 'make test'
(This used to be commit 975d8816db)
2007-10-10 13:47:42 -05:00
Jelmer Vernooij
ebfbb2a7ab r12463: Rename 'Samba' namespace to 'Samba4'
(This used to be commit f25358270d)
2007-10-10 13:47:42 -05:00
Jelmer Vernooij
e791dd73b9 r12462: Hide oo magic from callers of the parser
(This used to be commit 0c225d2978)
2007-10-10 13:47:42 -05:00
Jelmer Vernooij
557ad72e7a r12461: Some updates to the srvsvc IDL from Ronnie Sahlberg
(This used to be commit ff7ef98f34)
2007-10-10 13:47:42 -05:00
Jelmer Vernooij
07b52f5cd9 r12454: Forward declare struct nbt_iface_name
(This used to be commit d54fea5d0e)
2007-10-10 13:47:41 -05:00
Jelmer Vernooij
81eb29da2a r12451: Add 'struct libnet_context;' - apparently the order of the prototypes
in proto.h previously already did this somehow, probably because it
was used as a return value before it was used as a parameter.
(This used to be commit 30861b0f0e)
2007-10-10 13:47:41 -05:00
Jelmer Vernooij
1ac5c35ed9 r12450: Move generation of proto and full object lists to makefile.pm. 'make' now
handles expanding the protoheader object list, rather then the build system,
	which makes the makefile quite a bit shorter.
(This used to be commit a4088ccc70)
2007-10-10 13:47:41 -05:00
Jelmer Vernooij
69a694d7ba r12449: Fix some warnings
(This used to be commit 95f6e49cb8)
2007-10-10 13:47:41 -05:00
Stefan Metzmacher
bc97484e39 r12448: add some usefull debug messages
metze
(This used to be commit 806d76134d)
2007-10-10 13:47:41 -05:00
Jelmer Vernooij
52728b7d41 r12446: Merge mkproto.sh's functionality into mkproto.pl
Allow specifying the _PUBLIC_ keyword on functions to indicate a function
is public.

Public prototypes can now be written to a seperate header, although this
functionality is not used yet.
(This used to be commit e3466df6df)
2007-10-10 13:47:40 -05:00
Jelmer Vernooij
4bbb73894c r12445: Fix header in manpage, make script executable
(This used to be commit 7ca00cd918)
2007-10-10 13:47:40 -05:00
Jelmer Vernooij
adddaa797c r12444: Initial version of a NEWS file that should contain a summary of changes
that matter to the user.
(This used to be commit e06757a863)
2007-10-10 13:47:40 -05:00
Jelmer Vernooij
300ed48aea r12443: Forgot to rename two files
(This used to be commit abec930163)
2007-10-10 13:47:40 -05:00
Stefan Metzmacher
2cd2c87e88 r12442: only set the "wins server" parameter if it's not set
metze
(This used to be commit 5054890b68)
2007-10-10 13:47:40 -05:00