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

686 Commits

Author SHA1 Message Date
Stefan Metzmacher
54d5b418a7 r3960: fix compiler warnings
metze
2007-10-10 13:06:08 -05:00
Stefan Metzmacher
a9cbaa3cff r3926: fix compiler warnings
metze
2007-10-10 13:06:06 -05:00
Jelmer Vernooij
98afb504d9 r3898: Work towards local/server DCOM support, start working
on Simple example server side implementation
2007-10-10 13:06:02 -05:00
Simo Sorce
a99c0adb09 r3897: add a locking infrastructure 2007-10-10 13:06:02 -05:00
Jelmer Vernooij
4840eaeed3 r3891: Add rot (Running Object Table) interface 2007-10-10 13:06:02 -05:00
Jelmer Vernooij
16d905f6b0 r3881: Split up the LIBNDR_GEN subsystem into NDR_* and RPC_NDR_* subsystems.
This reduces the total size of the samba binaries from 119 Mb to 73 Mb.
Next step will be to have the build system obtain some of this information
by itself, so that we don't have to write ~10 lines per interface manually.
2007-10-10 13:06:01 -05:00
Stefan Metzmacher
b620bdd672 r3810: create a LIB_SECURITY subsystem
- move dom_sid, security_descriptor, security_* funtions to one place
  and rename some of them

metze
2007-10-10 13:05:56 -05:00
Stefan Metzmacher
f5ee40d6ce r3783: - don't use make proto for ldb anymore
- split ldh.h out of samba's includes.h

- make ldb_context and ldb_module private to the subsystem

- use ltdb_ prefix for all ldb_tdb functions

metze
2007-10-10 13:05:52 -05:00
Stefan Metzmacher
9003698e0f r3782: use ldb_ namespace
metze
2007-10-10 13:05:52 -05:00
Simo Sorce
0e7d875310 r3760: mention -o switch in help message 2007-10-10 13:05:52 -05:00
Simo Sorce
0d58b1dc5a r3757: Some fixes for ldb_ldap
Now we pass also the test-ldap tests :-)
2007-10-10 13:05:51 -05:00
Simo Sorce
0b715b6ce2 r3755: add missing files 2007-10-10 13:05:51 -05:00
Simo Sorce
71323f424b r3754: merge in ldb modules support from the tmp branch ldbPlugins 2007-10-10 13:05:51 -05:00
Jelmer Vernooij
8e7e98ae5f r3753: Have some modules default to "NOT" and enable them again when
their dependencies are found
2007-10-10 13:05:51 -05:00
Stefan Metzmacher
51630caeb1 r3750: fix the build
metze
2007-10-10 13:05:50 -05:00
Jelmer Vernooij
3d885562c9 r3744: Support building subsystems as a shared library. Modules don't work yet,
so while this does compile, it does not work yet.
2007-10-10 13:05:50 -05:00
Andrew Tridgell
4fc794d0b4 r3743: auto-support the RH schema location as well 2007-10-10 13:05:49 -05:00
Andrew Tridgell
88b03ffc85 r3742: make test-ldap give a sane error message when the openldap schema files are missing
and auto-link the files if they are found in /etc/ldap/schema/
2007-10-10 13:05:49 -05:00
Jelmer Vernooij
0d7bb2c40b r3737: - Get rid of the register_subsystem() and register_backend() functions.
- Re-disable tdbtool (it was building fine on my Debian box but other
					machines were having problems)
2007-10-10 13:05:48 -05:00
Jelmer Vernooij
3add9e7de5 r3734: Fix some incorrect dependencies 2007-10-10 13:05:47 -05:00
Jelmer Vernooij
64826da834 r3733: More build system fixes/features:
- Use .mk files directly (no need for a SMB_*_MK() macro when adding a new SUBSYSTEM, MODULE or BINARY). This allows addition of new modules and subsystems without running configure
 - Add support for generating .dot files with the Samba4 dependency tree (as used by the graphviz and springgraph utilities)
2007-10-10 13:05:47 -05:00
Jelmer Vernooij
cbe819a755 r3730: More build system fixes and simplifications
the hierarchy in the init functions is correct now
will also make it easier to implement some other features
2007-10-10 13:05:47 -05:00
Andrew Bartlett
d6aca06793 r3723: Now that timestring() always returns talloc'ed memory, we don't need
this talloc strdup here (do we?).

Andrew Bartlett
2007-10-10 13:05:46 -05:00
Jelmer Vernooij
7466947a23 r3689: Large number of COM updates:
- Work on server side and local COM support (should work, just no
	  example classes yet)
 - Use vtables so that local and remote calls can be used transparently
 - Generate 'proxies and stubs' rather then heavily modified code in client.pm and server.pm. proxies (client side code) are generated in proxy.pm, stubs (server side dispatchers) are generated in stubs.pm
 - Support registering classes and interfaces
 - DCOM interfaces no longer have to be in the same IDL file as their
    base interface, which will allow us to split up dcom.idl
2007-10-10 13:05:44 -05:00
Jelmer Vernooij
7484b9be74 r3667: Small COM fixes 2007-10-10 13:05:43 -05:00
Andrew Tridgell
70e53a21f2 r3656: allow easy testing of the "realloc changes the pointer" type of problem that abartlet
recently fixed.
2007-10-10 13:05:42 -05:00
Jelmer Vernooij
709f279b19 r3626: More minor DCOM fixes 2007-10-10 13:05:40 -05:00
Jelmer Vernooij
6f5bf44ade r3625: Couple of minor DCOM bugfixes 2007-10-10 13:05:40 -05:00
Jelmer Vernooij
8693344772 r3611: DCOM client support works!!
The torture test DCOM-SIMPLE now successfully does an
IStream_Read and a IStream_Write call.

This test can now be run successfully against the "Simple DCOM" Visual
Studio example.

(You have to quote out line 337 in pidl. pidl complains if the variable
 that contains the array size follows the array. I still need to fix this
 properly)

Next goals:
 - Clean up code
 - Server side support
 - Support custom marshalling
 - Support DCOM interfaces in files other then dcom.idl
2007-10-10 13:05:39 -05:00
Jelmer Vernooij
54e1e5edca r3606: More DCOM fixes:
- OXID tables work now. IOXIDResolver is used if there is used for getting a STRINGBINDING if none is known yet
 - Add custom dissectors for STRINGARRAY and DUALSTRINGARRAY. If there's a way to get rid of these later on (by supporting them thru pidl somehow), I'd be happy to use that instead of doing it manually.

I can now get to the point where we have created an object and are connected to
it. The only thing left to do is being able to set the Object UUID properly..
2007-10-10 13:05:38 -05:00
Jelmer Vernooij
93eb3cd99c r3601: Lots of smaller DCOM updates and fixes. Adds oxid tables, proper
use of contexts.
2007-10-10 13:05:38 -05:00
Andrew Tridgell
e6e8a9c7f0 r3598: hopefully fix the build on stratos 2007-10-10 13:05:37 -05:00
Jelmer Vernooij
7a8244761b r3586: Fix some of the issues with the module init functions.
Both subsystems and modules can now have init functions, which can be
specified in .mk files (INIT_FUNCTION = ...)

The build system will define :
 - SUBSYSTEM_init_static_modules that calls the init functions of all statically compiled modules. Failing to load will generate an error which is not fatal
 - BINARY_init_subsystems that calls the init functions (if defined) for the subsystems the binary depends on

This removes the hack with the "static bool Initialised = " and the
"lazy_init" functions
2007-10-10 13:05:36 -05:00
Stefan Metzmacher
dfb062c63c r3581: fix some signedness warnings with gcc-4.0
(there some callers to be fixed later)

metze
2007-10-10 13:05:35 -05:00
Andrew Tridgell
041f77b6a1 r3579: with the gcc warning flag from abartlet we don't need sys_strftime() 2007-10-10 13:05:34 -05:00
Andrew Tridgell
d8c4a660a0 r3578: a couple of include changes that should help with FreeBSD 2007-10-10 13:05:33 -05:00
Andrew Bartlett
c1d025793f r3572: Thanks to tridge for his patience with my build breakage.
This concludes the proper fixes.

Andrew Bartlett
2007-10-10 13:05:33 -05:00
Andrew Tridgell
bffd18d09d r3571: rough guesses at what abartlet really wanted to do in his last commit
(which I suspect was missing some pieces)

this at least fixes the build so i can keep going on pvfs. Please review/fix Andrew.
2007-10-10 13:05:32 -05:00
Andrew Bartlett
59757c7f9d r3553: Allow talloc_reference to take a NULL pointer for the "ptr" argument.
This allows potentially NULL pointers to be referenced, without an if ()
for every use.  (previously, it would segfault).

Update doco, and allow talloc_unlink to match.

Andrew Bartlett
2007-10-10 13:05:31 -05:00
Andrew Tridgell
1551f211d9 r3548: removed extra net/if.h include 2007-10-10 13:05:31 -05:00
Andrew Tridgell
51c1c2af68 r3546: including includes.h twice causes gcc 3.4 to crash with pch 2007-10-10 13:05:30 -05:00
Andrew Tridgell
321fb06a62 r3543: fixed some #include lines to make them more consistent, and fixed
conditional compilation of xattr client code
2007-10-10 13:05:30 -05:00
Stefan Metzmacher
d264aacfd5 r3527: I hate compiler warnings...
metze
2007-10-10 13:05:28 -05:00
Andrew Tridgell
0dc1deabd0 r3518: fixed some includes to be consistent.
- use #include <XXX.h> for operating system includes
 - use includes relative to include/ for things like system/wait.h

also fixed the thread backend to work somewhat. To fix it properly we need to do this:

 - add a configure test for support for thread local storage (the __thread keyword)
 - refuse to do pthreads if tls doesn't work
 - refuse to do pthreads if seteuid() affects process instead of thread
 - defined THREAD_LOCAL as __thread when WITH_PTHREADS
 - add THREAD_LOCAL to all the global data structures that should be
   thread local (there are quite a few)

right now the thread backend falls over when you hit it with several
connections at once, due to the lack of __thread on some critical
structures.
2007-10-10 13:05:27 -05:00
Jelmer Vernooij
1104667190 r3515: Fix RemoteActivation correctly this time (-:
Thanks to tridge for some help on this one!
2007-10-10 13:05:27 -05:00
Jelmer Vernooij
8076db7a1f r3514: Allow specification of username, password and domain and try to set up connection. 2007-10-10 13:05:24 -05:00
Jelmer Vernooij
c052f2e1ed r3513: Add (the infrastructure for) DCOM support. Contents:
- Support for sending over the object UUID in DCERPC calls
 - Simple torture test for the DCOM "Simple" object
 - Generate extra argument for "object" interfaces in pidl
 - Some stubs for common DCOM functions
2007-10-10 13:05:23 -05:00
Stefan Metzmacher
9cc1ab4eb2 r3510: fix build on SuSE 9.1
metze
2007-10-10 13:05:23 -05:00
Andrew Tridgell
0d51511d40 r3507: - added deferred replies on sharing violation in pvfs open. The
deferred reply is short-circuited immediately when the file is
  closed by another user, allowing it to be opened by the waiting user.

- added a sane set of timeval manipulation routines

- converted all the events code and code that uses it to use struct
  timeval instead of time_t, which allows for microsecond resolution
  instead of 1 second resolution. This was needed for doing the pvfs
  deferred open code, and is why the patch is so big.
2007-10-10 13:05:23 -05:00
Andrew Tridgell
558de54ec6 r3494: got rid of include/rewrite.h, and split out the dynconfig.h header 2007-10-10 13:05:22 -05:00