1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-07 12:23:51 +03:00
Commit Graph

3875 Commits

Author SHA1 Message Date
Simo Sorce
d58be9e74b r5585: LDB interfaces change:
changes:
- ldb_wrap disappears from code and become a private structure of db_wrap.c
  thanks to our move to talloc in ldb code, we do not need to expose it anymore

- removal of ldb_close() function form the code
  thanks to our move to talloc in ldb code, we do not need it anymore
  use talloc_free() to close and free an ldb database

- some minor updates to ldb modules code to cope with the change and fix some
  bugs I found out during the process
2007-10-10 13:10:55 -05:00
Simo Sorce
e77a070c84 r5584: add new experimental ldb module 2007-10-10 13:10:55 -05:00
Simo Sorce
d7751e3181 r5583: some more docs 2007-10-10 13:10:54 -05:00
Rafal Szczesniak
e5daf6911b r5576: Bunch of fixes pointed by tridge. A few more to come...
rafal
2007-10-10 13:10:54 -05:00
Tim Potter
eed816e20f r5554: Constants and untested IDL for spoolss_SetPrinter() 2007-10-10 13:10:54 -05:00
Tim Potter
ba4730a378 r5553: Add idl and test for spoolss_AddPort(). It always seems to return
WERR_NOT_SUPPORTED though.
2007-10-10 13:10:54 -05:00
Tim Potter
0e83a306b0 r5552: Don't try to read the value of r.out.result when the dcerpc client
function returns non-OK.  If a non-OK status is returned then some or
all or r.out is likely to be uninitialised.
2007-10-10 13:10:54 -05:00
Tim Potter
c23f767a9f r5551: Protect against falling off the end of the name resolve order list
if a name is not found.
2007-10-10 13:10:54 -05:00
Tim Potter
328f37a3e8 r5550: Initialise retry count - valgrind was freaking out because this value
was not set.
2007-10-10 13:10:54 -05:00
Stefan Metzmacher
6cdc717f3f r5540: - some more input checking in OpenPrinerEx()
- fix EnumPrinters() output

- add dummy EnumPorts

metze
2007-10-10 13:10:53 -05:00
Stefan Metzmacher
98e32260f5 r5539: more bad name checks and don't check for \\localhost and \\127.0.0.1
we maybe use this in the build farm

metze
2007-10-10 13:10:53 -05:00
Alexander Bokovoy
1d033d9dba r5538: Fix typo in comment -- non-existant constant name mentioned 2007-10-10 13:10:53 -05:00
Stefan Metzmacher
14b88ca20d r5537: - make use of bitmaps and enums
- add and fix some PrinterInfo levels

- add and fix some DriverInfo levels

- fix EnumPrinterDriver torture test

the curent RPC-SPOOLSS now passes on w2k3

metze
2007-10-10 13:10:53 -05:00
Jeremy Allison
84f6d2b3dd r5533: Patch to detect infinite loops when traversing a tdb from "Shlomi Yaakobovich" <Shlomi@exanet.com>
Jeremy.
2007-10-10 13:10:53 -05:00
Stefan Metzmacher
81f4afcbfa r5516: NT4 doesn't support GetPrinterDataEx()
metze
2007-10-10 13:10:53 -05:00
Stefan Metzmacher
0f5b0ec349 r5515: fix PrinterInfo3
metze
2007-10-10 13:10:53 -05:00
Jelmer Vernooij
48d54a9b57 r5506: Simplify the use of subcontexts and make them a bit less a special case. 2007-10-10 13:10:52 -05:00
Stefan Metzmacher
bc31e19f38 r5505: make usage of bitmap's :-)
metze
2007-10-10 13:10:52 -05:00
Stefan Metzmacher
2bb29cc68a r5504: fix typo
metze
2007-10-10 13:10:52 -05:00
Stefan Metzmacher
3085d3728e r5503: - add torture test which tests for invalid printernames
- add OpenPrinter() server code that just calls OpenPrinterEx()

- fix OpenPrinterEx logic, we pass the invalid printer names test now

metze
2007-10-10 13:10:52 -05:00
Stefan Metzmacher
ac062a2979 r5502: announce us as a print server by default
metze
2007-10-10 13:10:51 -05:00
Stefan Metzmacher
9ec6c0e977 r5501: check the return of talloc with the NT_STATUS_HAVE_NO_MEMORY()
macro...

metze
2007-10-10 13:10:51 -05:00
Stefan Metzmacher
e8b081d5d1 r5500: ntvfs modules that are the final backend needs to set the
dev and fs types

this prevents the main smbsrv code from crashing when someone does a
tree connect on a print share

metze
2007-10-10 13:10:51 -05:00
Rafal Szczesniak
1294db747e r5499: Commit forgotten change what tridge immediately pointed out
in his comments to new rpc composite code.

rafal
2007-10-10 13:10:51 -05:00
Stefan Metzmacher
fd7950abe6 r5498: fix OpenPrinter() idl and torture test
metze
2007-10-10 13:10:51 -05:00
Jelmer Vernooij
e601f51b82 r5494: Some more code simplification, some additional comments. 2007-10-10 13:10:51 -05:00
Jelmer Vernooij
70b58aa779 r5493: Some code simplification 2007-10-10 13:10:51 -05:00
Jelmer Vernooij
3c31cbaac0 r5492: Update example coclass, autogenerate some parts. 2007-10-10 13:10:50 -05:00
Jelmer Vernooij
e2cbe16c1e r5491: Don't load the DCOM-specific services by default (yet) 2007-10-10 13:10:50 -05:00
Jelmer Vernooij
71fd3e5c3a r5490: The big (D)COM commit! :-) Contains most of the changes described in the
DCOM paper in lorikeet. This is the result of 1.5 months work (mainly
figuring out how things *really* work) at the end of 2004.

In general:
- Clearer distinction between COM and DCOM. DCOM is now merely
  the glue between DCE/RPC+ORPC and COM. COM can also work without
  DCOM now. This makes the code a lot clearer.
- Clearer distinction between NDR and DCOM. Before, NDR had a couple of
  "if"s to cope with DCOM, which are now gone.
- Use "real" arguments rather then structures for function arguments in
  COM, mainly because most of these calls are local so packing/unpacking
  data for every call is too much overhead (both speed- and code-wise)
- Support several mechanisms to load class objects:
  - from memory (e.g. part of the current executable, registered at start-up)
  - from shared object files
  - remotely
- Most things are now also named COM rather then DCOM because that's what it
  really is. After an object is created, it no longer matters whether it
  was created locally or remotely.

There is a very simple example class that contains
both a class factory and a class that implements the IStream interface.
It can be tested (locally only, remotely is broken at the moment)
by running the COM-SIMPLE smbtorture test.

Still to-do:
 - Autogenerate parts of the class implementation code (using the coclass definitions in IDL)
 - Test server-side
 - Implement some of the common classes, add definitions for common interfaces.
2007-10-10 13:10:50 -05:00
Stefan Metzmacher
bfcc86e706 r5489: hide handwritten pull/push/print code from the caller
for the spoolss_Enum* functions

metze
2007-10-10 13:10:50 -05:00
Stefan Metzmacher
0bcbd694e9 r5488: - let the request be a child of the pipe struct
to fix dcerpc_pipe_close() on a secondary connection,
  while the callers mem_ctx of a request is still valid

- fix up some memory contexts

TODO: split up output mem_ctx from ndr_pull context

metze
2007-10-10 13:10:50 -05:00
Jelmer Vernooij
f298f2a547 r5487: - Allow disabling modules
- Disable all current DCOM functionality (I hope to commit
	a large bunch of COM and DCOM changes later today)
- Make remact and oxidresolver depend on orpc rather then dcom
2007-10-10 13:10:50 -05:00
Jelmer Vernooij
3110c2ec44 r5486: - Use references to interfaces in coclasses rather then
full interfaces.
- Couple of bugfixes in odl.pm
- First use of multiple pointers in dcom.idl
2007-10-10 13:10:49 -05:00
Jelmer Vernooij
d0d4251d6f r5485: Support nopull,nopush in header.pm as well. 2007-10-10 13:10:49 -05:00
Stefan Metzmacher
0e82e7f02b r5480: allow nopush and nopull on functions
metze
2007-10-10 13:10:49 -05:00
Jelmer Vernooij
a339765d99 r5479: Add ODL input support.
The ODL module can convert an ODL structure to an IDL structure so that:
 - The COM subsystem can use the ODL structure
 - The DCE/RPC subsystem can use the IDL structure
2007-10-10 13:10:49 -05:00
Jelmer Vernooij
fd8fc22a79 r5478: Bunch of small optimizations and generalizations. 2007-10-10 13:10:49 -05:00
Jelmer Vernooij
d914cd1804 r5477: - Move some more of the typelist stuff out of ndr.pm
- Remember INTERFACEs as well (they can be types in DCOM)
2007-10-10 13:10:49 -05:00
Jelmer Vernooij
75d8fc8338 r5476: Move ORPC extensions to DCE/RPC into seperate file. 2007-10-10 13:10:49 -05:00
Jelmer Vernooij
280df52538 r5475: Move some existing and new type information functions to typelist.pm 2007-10-10 13:10:49 -05:00
Rafal Szczesniak
bfb4dfaa8c r5474: Remove random notes put in code.
rafal
2007-10-10 13:10:48 -05:00
Rafal Szczesniak
dcab843da3 r5472: First approach to composite rpc call fetchin user info.
It does only compile. Completely untested yet, so almost certainly
broken, but I don't want it to lay on my laptop only.

rafal
2007-10-10 13:10:48 -05:00
Jelmer Vernooij
fbce7464b2 r5466: Put the type information list in a seperate module
(require for some of the COM stuff)
2007-10-10 13:10:48 -05:00
Jelmer Vernooij
e5eb5e847e r5465: Add support to multiple levels of pointers in pidl.
Also add a new function to echo.idl that tests this behaviour.
2007-10-10 13:10:48 -05:00
Jelmer Vernooij
6d1ad1ce7a r5464: Simplify print function generator code. 2007-10-10 13:10:48 -05:00
Jelmer Vernooij
d40a49c8a7 r5463: Make need_wire_pointer() return the number of required
pointers rather then a bool.
2007-10-10 13:10:48 -05:00
Andrew Tridgell
0bb997127f r5454: moved the WINS server code into its own directory 2007-10-10 13:10:48 -05:00
Jelmer Vernooij
5f7882341f r5453: Treat "embedded" arrays (surrounding structures) somewhat
more generically. The default functions for remembering array sizes
are now used rather then a special local variable.
2007-10-10 13:10:47 -05:00
Jelmer Vernooij
1b71000cc1 r5452: Add implementation + torture test for echo_Surrounding 2007-10-10 13:10:47 -05:00