1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

7665 Commits

Author SHA1 Message Date
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 60e11f575821c1762b25ad66441b6e69ad1167ef)
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 cdfd20fa17c5c4655689e8611e0106d5716b6995)
2007-10-10 13:47:51 -05:00
Jelmer Vernooij
d49f11df21 r12517: Don't generate empty init functions
(This used to be commit 832a1092c9c11c293b5748e2e78da872fcba2a42)
2007-10-10 13:47:51 -05:00
Jelmer Vernooij
00ace36e07 r12516: Fix drsuapi and netlogon javascript bindings
(This used to be commit b46eeba9fcb059ef83743de8be7dab26f9ef21b2)
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 465b9738709e7415eab58ea773bd138e8f0f20d6)
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 b1286a6d27e2b5aa26f288f6aff70601b0d8ae74)
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 8dcfcaf75ab8cf4a54cf5e56f6be25acc68e3989)
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 3564e2f967ef72d6301b4f7e9a311cebcded4d75)
2007-10-10 13:47:48 -05:00
Jelmer Vernooij
8270e1e310 r12511: Remove authservice from binding string
(This used to be commit 2188168209f07bd87d90d7ff94e8b542ced68249)
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 8aae0f168e54c01d0866ad6e0da141dbd828574f)
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 f03170cc52d8e196b878a3d3ddd2b8d0e633f487)
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 865a2552e66221182ffe5d36473828645ac1f59d)
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 dc091c6c06b5e5488bcc475e88a9f18ead545c85)
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 85b7e3c493c65a9e1ea88325cbeaeb9bffceb9e2)
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 07b885d0c7b56f40f89955f6c49af49ac9085d74)
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 2eebd7b3cf385b8d0680f877655136d721157c83)
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 a7e4062547470620b5b69dc295d5ac7dcec93116)
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 1e8670874bb7415c3e00a42516680fdb4ee2fca1)
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 f6bbc72996aeee8607fc583140fd60be0e06e969)
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 c92ace494f92084ddf178626cdf392d151043bc7)
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 b24f2583edee38abafa58578d8b5c4b43e517def)
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 b6d2ad4ce0a91c4be790dd258820c492ff1787ea)
2007-10-10 13:47:45 -05:00
Jelmer Vernooij
ee10fb1a12 r12490: Fix --warn-compat
(This used to be commit ba6a767f1b3a14e076ebd049b4fdcffd64173523)
2007-10-10 13:47:44 -05:00
Jelmer Vernooij
788f7cc59a r12489: Forward declare nbtd_iface_name
(This used to be commit cfaa52cdbaf0b97a8830137a74976e08cabeac8d)
2007-10-10 13:47:44 -05:00
Jelmer Vernooij
d7eaaf48e4 r12488: Fix MANIFEST to match recent changes
(This used to be commit 6ab0ce15083c23e287f89b5e38b63d267cf3d5fc)
2007-10-10 13:47:44 -05:00
Jelmer Vernooij
ac914ed4a1 r12487: Remove obsolete function
(This used to be commit 865a2c9ecaeae83417509c01142ba4220c0b53d7)
2007-10-10 13:47:44 -05:00
Jelmer Vernooij
94793b80d7 r12484: Initial work on supporting non-typedeffed types
(This used to be commit e7ac6c708dde7afb4c92a8cc4dea7a95b7054e3e)
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 45013467f57d646f3db099862665d2631272b446)
2007-10-10 13:47:43 -05:00
Jelmer Vernooij
d3ced46329 r12482: Add some more tests
(This used to be commit 516b66e0f1c65688abb936b4432039bc431b872c)
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 bc6b45e242c8d7b2ef1a6e6d3eb172c27afd952d)
2007-10-10 13:47:43 -05:00
Jelmer Vernooij
8e924678b2 r12480: Extend testsuite
(This used to be commit 1fa6c3568b9653f637da92e9a66695cd89825a2f)
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 3a57d29a62112ab654e290ccc985fba7f67664c5)
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 6967b9884970b6f1d7617196ab024d401628a13c)
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 975d8816db6697dab828941b69a740e3a0a2c272)
2007-10-10 13:47:42 -05:00
Jelmer Vernooij
ebfbb2a7ab r12463: Rename 'Samba' namespace to 'Samba4'
(This used to be commit f25358270d44a5642adbb85ecaa50b2e5730d7f0)
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 0c225d2978b11898d334ec2d6da910e0cca0f4cd)
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 ff7ef98f34811952331e72095505a2eae430fec0)
2007-10-10 13:47:42 -05:00
Jelmer Vernooij
07b52f5cd9 r12454: Forward declare struct nbt_iface_name
(This used to be commit d54fea5d0e5dc87f686b2134735e76ce7cd208af)
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 30861b0f0e6496d13fb61b2927e3f24d16a9b911)
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 a4088ccc704f1338c040c53596ff606cc1651d03)
2007-10-10 13:47:41 -05:00
Jelmer Vernooij
69a694d7ba r12449: Fix some warnings
(This used to be commit 95f6e49cb897a392c67566b8a0f674a717a1783d)
2007-10-10 13:47:41 -05:00
Stefan Metzmacher
bc97484e39 r12448: add some usefull debug messages
metze
(This used to be commit 806d76134dc50e9f4eb1f17ead9d1ec9e27f7153)
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 e3466df6dfb62bbf8bee3acfa92996945054c2dd)
2007-10-10 13:47:40 -05:00
Jelmer Vernooij
4bbb73894c r12445: Fix header in manpage, make script executable
(This used to be commit 7ca00cd918760dccc51e56234126ead8535a22ef)
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 e06757a863952d4fab486a194149a32139fd8847)
2007-10-10 13:47:40 -05:00
Jelmer Vernooij
300ed48aea r12443: Forgot to rename two files
(This used to be commit abec9301635aea334f32a86a5414f2fd6174ea76)
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 5054890b6871f1e25938ae76a2d660ce168877e8)
2007-10-10 13:47:40 -05:00
Stefan Metzmacher
ac4ee3e20b r12440: fix crash bugs
metze
(This used to be commit c7049f8bb60d075921e1ac4d04bf1a216cd0a5f2)
2007-10-10 13:47:39 -05:00
Andrew Bartlett
97113d0508 r12439: No need to keep walking this list if we find the match.
Andrew Bartlett
(This used to be commit cf1883c3cc1feecf3ddd7f36dbbca3bdf068bee2)
2007-10-10 13:47:39 -05:00
Stefan Metzmacher
f76ee31ccf r12437: if the client gives us an unicast name query with recursion_desired,
it's a wins server request, even if it's a name of one of our interfaces

metze
(This used to be commit 33c1d4a078a16ad45a3957f4d053b089a76f9935)
2007-10-10 13:47:39 -05:00