1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-14 01:57:53 +03:00

4116 Commits

Author SHA1 Message Date
Simo Sorce
7d7aacc347 r5588: We currently use a string representing an hex number so conform to that.
But we should move to a signed integer in future to be AD compatible.
(This used to be commit b67512c5139af121b6579a5c6318a489c2132ebb)
2007-10-10 13:10:55 -05:00
Simo Sorce
625a2673c1 r5587: more work around the samldb module
fix the provision.ldif the layout of the @MODULES dn has changed since last commit
(This used to be commit acb99e63d40e71fa843c1b7a1719a350a353ed28)
2007-10-10 13:10:55 -05:00
Simo Sorce
b1b14817ea 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
(This used to be commit d58be9e74b786a11a57e89df36081d55730dfe0a)
2007-10-10 13:10:55 -05:00
Simo Sorce
d2dc86994e r5584: add new experimental ldb module
(This used to be commit e77a070c841c7a1b73dfcea2d43651618557d0f4)
2007-10-10 13:10:55 -05:00
Simo Sorce
e8eee542d3 r5583: some more docs
(This used to be commit d7751e3181dc82ddd416ccd35c806c6f105b0825)
2007-10-10 13:10:54 -05:00
Rafal Szczesniak
181da32361 r5576: Bunch of fixes pointed by tridge. A few more to come...
rafal
(This used to be commit e5daf6911b49cd4aa0bff050fe8c559d6604859e)
2007-10-10 13:10:54 -05:00
Tim Potter
23076eaa80 r5554: Constants and untested IDL for spoolss_SetPrinter()
(This used to be commit eed816e20f9cfcfc7bc475f1007578dcd2fd8ae0)
2007-10-10 13:10:54 -05:00
Tim Potter
04d3e8046a r5553: Add idl and test for spoolss_AddPort(). It always seems to return
WERR_NOT_SUPPORTED though.
(This used to be commit ba4730a37838f45db1b77b777af8efdb45a06006)
2007-10-10 13:10:54 -05:00
Tim Potter
84d632ab5e 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.
(This used to be commit 0e83a306b06442a1adfe02ea6bdb727a42c7bacf)
2007-10-10 13:10:54 -05:00
Tim Potter
c9b766a9af r5551: Protect against falling off the end of the name resolve order list
if a name is not found.
(This used to be commit c23f767a9f5dd2dcae31bded540263b08876ecc2)
2007-10-10 13:10:54 -05:00
Tim Potter
7fc5f4a6f7 r5550: Initialise retry count - valgrind was freaking out because this value
was not set.
(This used to be commit 328f37a3e8d10f97f361fb041be24f1ac88b6b0a)
2007-10-10 13:10:54 -05:00
Stefan Metzmacher
9401b2bbd2 r5540: - some more input checking in OpenPrinerEx()
- fix EnumPrinters() output

- add dummy EnumPorts

metze
(This used to be commit 6cdc717f3fa61fa053b20bad723d1f62b8d9a57a)
2007-10-10 13:10:53 -05:00
Stefan Metzmacher
ae223fadd0 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
(This used to be commit 98e32260f5f4bf3b66fd9238c061618a3b49197c)
2007-10-10 13:10:53 -05:00
Alexander Bokovoy
95bb95715c r5538: Fix typo in comment -- non-existant constant name mentioned
(This used to be commit 1d033d9dba7bc567b5458c08672ce9e570bb374b)
2007-10-10 13:10:53 -05:00
Stefan Metzmacher
68ce448fbd 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
(This used to be commit 14b88ca20dc64702f1c1b457a09b1f13b1964654)
2007-10-10 13:10:53 -05:00
Jeremy Allison
b14727583d r5533: Patch to detect infinite loops when traversing a tdb from "Shlomi Yaakobovich" <Shlomi@exanet.com>
Jeremy.
(This used to be commit 84f6d2b3dd29c1aa478708db9617a79382158f64)
2007-10-10 13:10:53 -05:00
Stefan Metzmacher
09879ff119 r5516: NT4 doesn't support GetPrinterDataEx()
metze
(This used to be commit 81f4afcbfa296f54634ba2a88e9ef3e966405fc3)
2007-10-10 13:10:53 -05:00
Stefan Metzmacher
6fbcb3534c r5515: fix PrinterInfo3
metze
(This used to be commit 0f5b0ec34984d27a33bed3a5c7c627e9a2d96ccc)
2007-10-10 13:10:53 -05:00
Jelmer Vernooij
1b11ca3e51 r5506: Simplify the use of subcontexts and make them a bit less a special case.
(This used to be commit 48d54a9b57c0b233c7c60392b23876b426bbdec1)
2007-10-10 13:10:52 -05:00
Stefan Metzmacher
001dfe73dd r5505: make usage of bitmap's :-)
metze
(This used to be commit bc31e19f38319b098402d1f348bb5f5952fdcf40)
2007-10-10 13:10:52 -05:00
Stefan Metzmacher
9eed5a0cce r5504: fix typo
metze
(This used to be commit 2bb29cc68ae795bbb4baa12501103ae9555f1898)
2007-10-10 13:10:52 -05:00
Stefan Metzmacher
d900aed90c 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
(This used to be commit 3085d3728eaf76097319f648ab4bc7f9447bbe10)
2007-10-10 13:10:52 -05:00
Stefan Metzmacher
c13baabc91 r5502: announce us as a print server by default
metze
(This used to be commit ac062a29799665121c15f60a8f5d25a3c68e51ae)
2007-10-10 13:10:51 -05:00
Stefan Metzmacher
218f289ed7 r5501: check the return of talloc with the NT_STATUS_HAVE_NO_MEMORY()
macro...

metze
(This used to be commit 9ec6c0e97765e60ef195296f17d6a27b5d0dcca9)
2007-10-10 13:10:51 -05:00
Stefan Metzmacher
90428a44a9 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
(This used to be commit e8b081d5d10ef617eaed88fd05990e7753a85b99)
2007-10-10 13:10:51 -05:00
Rafal Szczesniak
1bee0173ec r5499: Commit forgotten change what tridge immediately pointed out
in his comments to new rpc composite code.

rafal
(This used to be commit 1294db747e8c894d1c773b1fd028e7ae6deabc2c)
2007-10-10 13:10:51 -05:00
Stefan Metzmacher
4926b8f5c0 r5498: fix OpenPrinter() idl and torture test
metze
(This used to be commit fd7950abe62e91108157619ace8e96e99110b668)
2007-10-10 13:10:51 -05:00
Jelmer Vernooij
2787b5af41 r5494: Some more code simplification, some additional comments.
(This used to be commit e601f51b82e99a999f0a9c62b487d56c715a3502)
2007-10-10 13:10:51 -05:00
Jelmer Vernooij
a2223ef458 r5493: Some code simplification
(This used to be commit 70b58aa7790a93b9c7cdaa644689b2b1fa5e5405)
2007-10-10 13:10:51 -05:00
Jelmer Vernooij
9c6ad1f762 r5492: Update example coclass, autogenerate some parts.
(This used to be commit 3c31cbaac0cd916e6af49bfd2260bc3b1a75b677)
2007-10-10 13:10:50 -05:00
Jelmer Vernooij
4d10f2a86a r5491: Don't load the DCOM-specific services by default (yet)
(This used to be commit e2cbe16c1e4e3912ecdccc6480a147478fff3d9e)
2007-10-10 13:10:50 -05:00
Jelmer Vernooij
80d3047333 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.
(This used to be commit 71fd3e5c3aac5f0002001ab29d2248e6c6842d6f)
2007-10-10 13:10:50 -05:00
Stefan Metzmacher
6b4cac2c00 r5489: hide handwritten pull/push/print code from the caller
for the spoolss_Enum* functions

metze
(This used to be commit bfcc86e706cf32672323eda939e5def6694509a8)
2007-10-10 13:10:50 -05:00
Stefan Metzmacher
9bec9cb6b8 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
(This used to be commit 0bcbd694e903a3caeb0daa81b2f115ec8a1b93d5)
2007-10-10 13:10:50 -05:00
Jelmer Vernooij
a62ade362f 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
(This used to be commit f298f2a5478a905fe385b8d68318db92ee984374)
2007-10-10 13:10:50 -05:00
Jelmer Vernooij
600c49e772 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
(This used to be commit 3110c2ec44a872a53e7d6015b85c68fdb604b4de)
2007-10-10 13:10:49 -05:00
Jelmer Vernooij
3d507012fe r5485: Support nopull,nopush in header.pm as well.
(This used to be commit d0d4251d6f8718256fd3baf7db4969dcf6073283)
2007-10-10 13:10:49 -05:00
Stefan Metzmacher
c708ef8015 r5480: allow nopush and nopull on functions
metze
(This used to be commit 0e82e7f02bdd61d8fd27ef3eab9b23ecaadb1e5a)
2007-10-10 13:10:49 -05:00
Jelmer Vernooij
7e400d38ec 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
(This used to be commit a339765d99c90c46f29e2bd71a6aa271febb096d)
2007-10-10 13:10:49 -05:00
Jelmer Vernooij
e770d5696e r5478: Bunch of small optimizations and generalizations.
(This used to be commit fd8fc22a79ec5fb7d5902605ca3984c4f8f463d0)
2007-10-10 13:10:49 -05:00
Jelmer Vernooij
0dd7f645a4 r5477: - Move some more of the typelist stuff out of ndr.pm
- Remember INTERFACEs as well (they can be types in DCOM)
(This used to be commit d914cd1804636eb1a34805d48c18e016835e973b)
2007-10-10 13:10:49 -05:00
Jelmer Vernooij
d3996e944d r5476: Move ORPC extensions to DCE/RPC into seperate file.
(This used to be commit 75d8fc8338ea0345ed0181f5700640029e311599)
2007-10-10 13:10:49 -05:00
Jelmer Vernooij
73477e05de r5475: Move some existing and new type information functions to typelist.pm
(This used to be commit 280df525380d06d67ce33938c4760807d5466966)
2007-10-10 13:10:49 -05:00
Rafal Szczesniak
595228c4c3 r5474: Remove random notes put in code.
rafal
(This used to be commit bfb4dfaa8c039378b4c29f130cbcdc89eac951b9)
2007-10-10 13:10:48 -05:00
Rafal Szczesniak
dd411b005e 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
(This used to be commit dcab843da35f5dd2ffc694922ee762b3c36dbd35)
2007-10-10 13:10:48 -05:00
Jelmer Vernooij
c33c4569e5 r5466: Put the type information list in a seperate module
(require for some of the COM stuff)
(This used to be commit fbce7464b2a61a46f5135ba2a341bea4e53f28e7)
2007-10-10 13:10:48 -05:00
Jelmer Vernooij
64112074e9 r5465: Add support to multiple levels of pointers in pidl.
Also add a new function to echo.idl that tests this behaviour.
(This used to be commit e5eb5e847e75f2b7b041a66f84d9b919ddf27739)
2007-10-10 13:10:48 -05:00
Jelmer Vernooij
111b6c2b9a r5464: Simplify print function generator code.
(This used to be commit 6d1ad1ce7a327d016636d8b374bfbe9ec2052d1c)
2007-10-10 13:10:48 -05:00
Jelmer Vernooij
840bb19dcd r5463: Make need_wire_pointer() return the number of required
pointers rather then a bool.
(This used to be commit d40a49c8a7ea85335383144b18b1ecfddc0c4ae0)
2007-10-10 13:10:48 -05:00
Andrew Tridgell
b0fc1bfbcb r5454: moved the WINS server code into its own directory
(This used to be commit 0bb997127fe6c49361d9f1eaeda5d9321601a52a)
2007-10-10 13:10:48 -05:00