samba.git
14 years agor5603: add "authservice()" property to the interface property list
Stefan Metzmacher [Tue, 1 Mar 2005 16:08:36 +0000 (16:08 +0000)]
r5603: add "authservice()" property to the interface property list
so we can specify allowed target service names in the idl file

the default is "host"

metze
(This used to be commit bf40d5321f3257bf9354a42d31265f1a9b0d53ad)

14 years agor5601: add a gsskrb5 backend that uses lorikeet-heimdal's new gssapi with
Stefan Metzmacher [Tue, 1 Mar 2005 15:19:18 +0000 (15:19 +0000)]
r5601: add a gsskrb5 backend that uses lorikeet-heimdal's new gssapi with
GSS_C_DCE_STYLE support, it's just a start and does work correctly yet

metze
(This used to be commit 87ff661703f467db3dfcb33084041c3e2951e0ee)

14 years agor5598: GTK+ cleanups, remove some globals
Jelmer Vernooij [Tue, 1 Mar 2005 00:10:56 +0000 (00:10 +0000)]
r5598: GTK+ cleanups, remove some globals
(This used to be commit 12bfb37e1b633e8176286601fa38e565dd1f85e2)

14 years agor5588: We currently use a string representing an hex number so conform to that.
Simo Sorce [Sun, 27 Feb 2005 19:57:03 +0000 (19:57 +0000)]
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)

14 years agor5587: more work around the samldb module
Simo Sorce [Sun, 27 Feb 2005 16:35:19 +0000 (16:35 +0000)]
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)

14 years agor5585: LDB interfaces change:
Simo Sorce [Sun, 27 Feb 2005 11:35:47 +0000 (11:35 +0000)]
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)

14 years agor5584: add new experimental ldb module
Simo Sorce [Sun, 27 Feb 2005 11:31:38 +0000 (11:31 +0000)]
r5584: add new experimental ldb module
(This used to be commit e77a070c841c7a1b73dfcea2d43651618557d0f4)

14 years agor5583: some more docs
Simo Sorce [Sun, 27 Feb 2005 11:30:22 +0000 (11:30 +0000)]
r5583: some more docs
(This used to be commit d7751e3181dc82ddd416ccd35c806c6f105b0825)

14 years agor5576: Bunch of fixes pointed by tridge. A few more to come...
Rafal Szczesniak [Sat, 26 Feb 2005 11:39:32 +0000 (11:39 +0000)]
r5576: Bunch of fixes pointed by tridge. A few more to come...

rafal
(This used to be commit e5daf6911b49cd4aa0bff050fe8c559d6604859e)

14 years agor5554: Constants and untested IDL for spoolss_SetPrinter()
Tim Potter [Fri, 25 Feb 2005 06:26:11 +0000 (06:26 +0000)]
r5554: Constants and untested IDL for spoolss_SetPrinter()
(This used to be commit eed816e20f9cfcfc7bc475f1007578dcd2fd8ae0)

14 years agor5553: Add idl and test for spoolss_AddPort(). It always seems to return
Tim Potter [Fri, 25 Feb 2005 06:16:13 +0000 (06:16 +0000)]
r5553: Add idl and test for spoolss_AddPort().  It always seems to return
WERR_NOT_SUPPORTED though.
(This used to be commit ba4730a37838f45db1b77b777af8efdb45a06006)

14 years agor5552: Don't try to read the value of r.out.result when the dcerpc client
Tim Potter [Fri, 25 Feb 2005 05:39:01 +0000 (05:39 +0000)]
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)

14 years agor5551: Protect against falling off the end of the name resolve order list
Tim Potter [Fri, 25 Feb 2005 05:25:17 +0000 (05:25 +0000)]
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)

14 years agor5550: Initialise retry count - valgrind was freaking out because this value
Tim Potter [Fri, 25 Feb 2005 04:59:46 +0000 (04:59 +0000)]
r5550: Initialise retry count - valgrind was freaking out because this value
was not set.
(This used to be commit 328f37a3e8d10f97f361fb041be24f1ac88b6b0a)

14 years agor5540: - some more input checking in OpenPrinerEx()
Stefan Metzmacher [Thu, 24 Feb 2005 15:21:46 +0000 (15:21 +0000)]
r5540: - some more input checking in OpenPrinerEx()

- fix EnumPrinters() output

- add dummy EnumPorts

metze
(This used to be commit 6cdc717f3fa61fa053b20bad723d1f62b8d9a57a)

14 years agor5539: more bad name checks and don't check for \\localhost and \\127.0.0.1
Stefan Metzmacher [Thu, 24 Feb 2005 15:06:30 +0000 (15:06 +0000)]
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)

14 years agor5538: Fix typo in comment -- non-existant constant name mentioned
Alexander Bokovoy [Thu, 24 Feb 2005 14:38:12 +0000 (14:38 +0000)]
r5538: Fix typo in comment -- non-existant constant name mentioned
(This used to be commit 1d033d9dba7bc567b5458c08672ce9e570bb374b)

14 years agor5537: - make use of bitmaps and enums
Stefan Metzmacher [Thu, 24 Feb 2005 14:05:52 +0000 (14:05 +0000)]
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)

14 years agor5533: Patch to detect infinite loops when traversing a tdb from "Shlomi Yaakobovich...
Jeremy Allison [Thu, 24 Feb 2005 01:10:57 +0000 (01:10 +0000)]
r5533: Patch to detect infinite loops when traversing a tdb from "Shlomi Yaakobovich" <Shlomi@exanet.com>
Jeremy.
(This used to be commit 84f6d2b3dd29c1aa478708db9617a79382158f64)

14 years agor5516: NT4 doesn't support GetPrinterDataEx()
Stefan Metzmacher [Wed, 23 Feb 2005 15:08:41 +0000 (15:08 +0000)]
r5516: NT4 doesn't support GetPrinterDataEx()

metze
(This used to be commit 81f4afcbfa296f54634ba2a88e9ef3e966405fc3)

14 years agor5515: fix PrinterInfo3
Stefan Metzmacher [Wed, 23 Feb 2005 15:06:25 +0000 (15:06 +0000)]
r5515: fix PrinterInfo3

metze
(This used to be commit 0f5b0ec34984d27a33bed3a5c7c627e9a2d96ccc)

14 years agor5506: Simplify the use of subcontexts and make them a bit less a special case.
Jelmer Vernooij [Tue, 22 Feb 2005 19:44:14 +0000 (19:44 +0000)]
r5506: Simplify the use of subcontexts and make them a bit less a special case.
(This used to be commit 48d54a9b57c0b233c7c60392b23876b426bbdec1)

14 years agor5505: make usage of bitmap's :-)
Stefan Metzmacher [Tue, 22 Feb 2005 12:54:13 +0000 (12:54 +0000)]
r5505: make usage of bitmap's :-)

metze
(This used to be commit bc31e19f38319b098402d1f348bb5f5952fdcf40)

14 years agor5504: fix typo
Stefan Metzmacher [Tue, 22 Feb 2005 12:53:02 +0000 (12:53 +0000)]
r5504: fix typo

metze
(This used to be commit 2bb29cc68ae795bbb4baa12501103ae9555f1898)

14 years agor5503: - add torture test which tests for invalid printernames
Stefan Metzmacher [Tue, 22 Feb 2005 11:51:18 +0000 (11:51 +0000)]
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)

14 years agor5502: announce us as a print server by default
Stefan Metzmacher [Tue, 22 Feb 2005 11:47:06 +0000 (11:47 +0000)]
r5502: announce us as a print server by default

metze
(This used to be commit ac062a29799665121c15f60a8f5d25a3c68e51ae)

14 years agor5501: check the return of talloc with the NT_STATUS_HAVE_NO_MEMORY()
Stefan Metzmacher [Tue, 22 Feb 2005 11:35:38 +0000 (11:35 +0000)]
r5501: check the return of talloc with the NT_STATUS_HAVE_NO_MEMORY()
macro...

metze
(This used to be commit 9ec6c0e97765e60ef195296f17d6a27b5d0dcca9)

14 years agor5500: ntvfs modules that are the final backend needs to set the
Stefan Metzmacher [Tue, 22 Feb 2005 11:33:33 +0000 (11:33 +0000)]
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)

14 years agor5499: Commit forgotten change what tridge immediately pointed out
Rafal Szczesniak [Tue, 22 Feb 2005 10:36:13 +0000 (10:36 +0000)]
r5499: Commit forgotten change what tridge immediately pointed out
in his comments to new rpc composite code.

rafal
(This used to be commit 1294db747e8c894d1c773b1fd028e7ae6deabc2c)

14 years agor5498: fix OpenPrinter() idl and torture test
Stefan Metzmacher [Tue, 22 Feb 2005 08:04:52 +0000 (08:04 +0000)]
r5498: fix OpenPrinter() idl and torture test

metze
(This used to be commit fd7950abe62e91108157619ace8e96e99110b668)

14 years agor5494: Some more code simplification, some additional comments.
Jelmer Vernooij [Tue, 22 Feb 2005 01:49:57 +0000 (01:49 +0000)]
r5494: Some more code simplification, some additional comments.
(This used to be commit e601f51b82e99a999f0a9c62b487d56c715a3502)

14 years agor5493: Some code simplification
Jelmer Vernooij [Mon, 21 Feb 2005 22:59:06 +0000 (22:59 +0000)]
r5493: Some code simplification
(This used to be commit 70b58aa7790a93b9c7cdaa644689b2b1fa5e5405)

14 years agor5492: Update example coclass, autogenerate some parts.
Jelmer Vernooij [Mon, 21 Feb 2005 20:51:26 +0000 (20:51 +0000)]
r5492: Update example coclass, autogenerate some parts.
(This used to be commit 3c31cbaac0cd916e6af49bfd2260bc3b1a75b677)

14 years agor5491: Don't load the DCOM-specific services by default (yet)
Jelmer Vernooij [Mon, 21 Feb 2005 15:08:57 +0000 (15:08 +0000)]
r5491: Don't load the DCOM-specific services by default (yet)
(This used to be commit e2cbe16c1e4e3912ecdccc6480a147478fff3d9e)

14 years agor5490: The big (D)COM commit! :-) Contains most of the changes described in the
Jelmer Vernooij [Mon, 21 Feb 2005 14:30:49 +0000 (14:30 +0000)]
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)

14 years agor5489: hide handwritten pull/push/print code from the caller
Stefan Metzmacher [Mon, 21 Feb 2005 13:54:06 +0000 (13:54 +0000)]
r5489: hide handwritten pull/push/print code from the caller
for the spoolss_Enum* functions

metze
(This used to be commit bfcc86e706cf32672323eda939e5def6694509a8)

14 years agor5488: - let the request be a child of the pipe struct
Stefan Metzmacher [Mon, 21 Feb 2005 13:48:11 +0000 (13:48 +0000)]
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)

14 years agor5487: - Allow disabling modules
Jelmer Vernooij [Mon, 21 Feb 2005 13:13:21 +0000 (13:13 +0000)]
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)

14 years agor5486: - Use references to interfaces in coclasses rather then
Jelmer Vernooij [Mon, 21 Feb 2005 12:13:42 +0000 (12:13 +0000)]
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)

14 years agor5485: Support nopull,nopush in header.pm as well.
Jelmer Vernooij [Mon, 21 Feb 2005 11:44:36 +0000 (11:44 +0000)]
r5485: Support nopull,nopush in header.pm as well.
(This used to be commit d0d4251d6f8718256fd3baf7db4969dcf6073283)

14 years agor5480: allow nopush and nopull on functions
Stefan Metzmacher [Mon, 21 Feb 2005 11:01:57 +0000 (11:01 +0000)]
r5480: allow nopush and nopull on functions

metze
(This used to be commit 0e82e7f02bdd61d8fd27ef3eab9b23ecaadb1e5a)

14 years agor5479: Add ODL input support.
Jelmer Vernooij [Mon, 21 Feb 2005 01:16:47 +0000 (01:16 +0000)]
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)

14 years agor5478: Bunch of small optimizations and generalizations.
Jelmer Vernooij [Mon, 21 Feb 2005 00:21:33 +0000 (00:21 +0000)]
r5478: Bunch of small optimizations and generalizations.
(This used to be commit fd8fc22a79ec5fb7d5902605ca3984c4f8f463d0)

14 years agor5477: - Move some more of the typelist stuff out of ndr.pm
Jelmer Vernooij [Sun, 20 Feb 2005 21:45:51 +0000 (21:45 +0000)]
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)

14 years agor5476: Move ORPC extensions to DCE/RPC into seperate file.
Jelmer Vernooij [Sun, 20 Feb 2005 21:02:30 +0000 (21:02 +0000)]
r5476: Move ORPC extensions to DCE/RPC into seperate file.
(This used to be commit 75d8fc8338ea0345ed0181f5700640029e311599)

14 years agor5475: Move some existing and new type information functions to typelist.pm
Jelmer Vernooij [Sun, 20 Feb 2005 20:35:07 +0000 (20:35 +0000)]
r5475: Move some existing and new type information functions to typelist.pm
(This used to be commit 280df525380d06d67ce33938c4760807d5466966)

14 years agor5474: Remove random notes put in code.
Rafal Szczesniak [Sun, 20 Feb 2005 19:13:19 +0000 (19:13 +0000)]
r5474: Remove random notes put in code.

rafal
(This used to be commit bfb4dfaa8c039378b4c29f130cbcdc89eac951b9)

14 years agor5472: First approach to composite rpc call fetchin user info.
Rafal Szczesniak [Sun, 20 Feb 2005 18:20:51 +0000 (18:20 +0000)]
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)

14 years agor5466: Put the type information list in a seperate module
Jelmer Vernooij [Sun, 20 Feb 2005 12:17:33 +0000 (12:17 +0000)]
r5466: Put the type information list in a seperate module
(require for some of the COM stuff)
(This used to be commit fbce7464b2a61a46f5135ba2a341bea4e53f28e7)

14 years agor5465: Add support to multiple levels of pointers in pidl.
Jelmer Vernooij [Sun, 20 Feb 2005 02:57:38 +0000 (02:57 +0000)]
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)

14 years agor5464: Simplify print function generator code.
Jelmer Vernooij [Sun, 20 Feb 2005 02:20:45 +0000 (02:20 +0000)]
r5464: Simplify print function generator code.
(This used to be commit 6d1ad1ce7a327d016636d8b374bfbe9ec2052d1c)

14 years agor5463: Make need_wire_pointer() return the number of required
Jelmer Vernooij [Sat, 19 Feb 2005 23:46:52 +0000 (23:46 +0000)]
r5463: Make need_wire_pointer() return the number of required
pointers rather then a bool.
(This used to be commit d40a49c8a7ea85335383144b18b1ecfddc0c4ae0)

14 years agor5454: moved the WINS server code into its own directory
Andrew Tridgell [Fri, 18 Feb 2005 23:53:52 +0000 (23:53 +0000)]
r5454: moved the WINS server code into its own directory
(This used to be commit 0bb997127fe6c49361d9f1eaeda5d9321601a52a)

14 years agor5453: Treat "embedded" arrays (surrounding structures) somewhat
Jelmer Vernooij [Fri, 18 Feb 2005 23:43:40 +0000 (23:43 +0000)]
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.
(This used to be commit 5f7882341fa435a495fa7181537b5599e2fc7a0d)

14 years agor5452: Add implementation + torture test for echo_Surrounding
Jelmer Vernooij [Fri, 18 Feb 2005 23:30:26 +0000 (23:30 +0000)]
r5452: Add implementation + torture test for echo_Surrounding
(This used to be commit 1b71000cc15a06bd4868fbf4ce5415f5866d29a5)

14 years agor5451: - added separate wrepl_associate(), wrepl_pull_table() and wrepl_pull_names...
Andrew Tridgell [Fri, 18 Feb 2005 23:13:51 +0000 (23:13 +0000)]
r5451: - added separate wrepl_associate(), wrepl_pull_table() and wrepl_pull_names() functions, with reasonable
  parameters, so callers don't need to deal directly with wins replication packet structures

- converted the NBT-WINSREPLICATION torture test to use the new APIs
(This used to be commit cec1672662b7e5b1bdf843e9dee317aa4b03f719)

14 years agor5450: Add test function for "embedded" conformant arrays
Jelmer Vernooij [Fri, 18 Feb 2005 23:06:13 +0000 (23:06 +0000)]
r5450: Add test function for "embedded" conformant arrays
(This used to be commit 900477226ddd0644626827d66cd45624f02b636b)

14 years agor5449: More array handling cleanups. This should make the code more
Jelmer Vernooij [Fri, 18 Feb 2005 21:49:11 +0000 (21:49 +0000)]
r5449: More array handling cleanups. This should make the code more
readable. (Output C and header files have not changed, just internal pidl
changes)
(This used to be commit b86b299197f2c3b314d0fc33c0139bd19ef637f2)

14 years agor5448: another portability fix for solaris
Andrew Tridgell [Fri, 18 Feb 2005 21:10:31 +0000 (21:10 +0000)]
r5448: another portability fix for solaris
(This used to be commit 1909a0695295e984b948b7410addac0022904ab8)

14 years agor5447: Add some utility functions for arrays and use them.
Jelmer Vernooij [Fri, 18 Feb 2005 20:02:32 +0000 (20:02 +0000)]
r5447: Add some utility functions for arrays and use them.
(This used to be commit a251712670e1daac949221407ae979b363dbc105)

14 years agor5446: fix pulling of arrays in EnumXXX functions
Stefan Metzmacher [Fri, 18 Feb 2005 17:24:21 +0000 (17:24 +0000)]
r5446: fix pulling of arrays in EnumXXX functions

metze
(This used to be commit 0aea8522d7ddaf1ce4cc708c13888e44d14cda32)

14 years agor5445: move FormInfo1 struct to the place where it's used
Stefan Metzmacher [Fri, 18 Feb 2005 17:23:24 +0000 (17:23 +0000)]
r5445: move FormInfo1 struct to the place where it's used

metze
(This used to be commit 748c456641bfc6717a0aaa9d1da903b041c7de5a)

14 years agor5443: Fix HeaderProperties(). Not re-enabling yet because I don't know why it
Jelmer Vernooij [Fri, 18 Feb 2005 12:04:51 +0000 (12:04 +0000)]
r5443: Fix HeaderProperties(). Not re-enabling yet because I don't know why it
was disabled in the first place.
(This used to be commit e52256aec27e2aba8893cd2e570874482696b230)

14 years agor5442: Use argument list generator functions from NdrParser in NdrHeader
Jelmer Vernooij [Fri, 18 Feb 2005 11:45:26 +0000 (11:45 +0000)]
r5442: Use argument list generator functions from NdrParser in NdrHeader
(This used to be commit e912f36dc827d7ad38994b93967fe48aade27b2b)

14 years agor5441: Put push, pull and print arguments in hash as well
Jelmer Vernooij [Fri, 18 Feb 2005 11:39:52 +0000 (11:39 +0000)]
r5441: Put push, pull and print arguments in hash as well
(This used to be commit a5bf662b52e270d45bba2605f844625cc30c7f89)

14 years agor5440: Some more generalizations
Jelmer Vernooij [Fri, 18 Feb 2005 11:11:21 +0000 (11:11 +0000)]
r5440: Some more generalizations
(This used to be commit cf1208471247e2d734f90008d29827541f177952)

14 years agor5439: (hopefully) fix build on older perls. Thanks to tridge for pointing this out.
Jelmer Vernooij [Fri, 18 Feb 2005 01:29:18 +0000 (01:29 +0000)]
r5439: (hopefully) fix build on older perls. Thanks to tridge for pointing this out.
(This used to be commit 0a78a1f90887afc695204f67af38138271aab2b8)

14 years agor5438: Keep new CFLAGS if the compiler accepted them.
Jelmer Vernooij [Thu, 17 Feb 2005 23:39:56 +0000 (23:39 +0000)]
r5438: Keep new CFLAGS if the compiler accepted them.
(This used to be commit d0a6b973307ba3b740f18214f14682495a607c63)

14 years agor5437: Allow Samba4 to be compiled by tcc (www.tinycc.org). It still crashes when...
Jelmer Vernooij [Thu, 17 Feb 2005 23:11:26 +0000 (23:11 +0000)]
r5437: Allow Samba4 to be compiled by tcc (tinycc.org). It still crashes when linking though.
(This used to be commit 2e1e8db6dc877eb32b51cfc3d9c8f463d14530ec)

14 years agor5427: NTSTATUS is treated by pidl as a 'real' scalar now.
Jelmer Vernooij [Thu, 17 Feb 2005 11:42:38 +0000 (11:42 +0000)]
r5427: NTSTATUS is treated by pidl as a 'real' scalar now.
(This used to be commit fa97059d000859b3d0192ed4a0135770888aba6f)

14 years agor5426: Warn about embedded ref pointers.
Jelmer Vernooij [Thu, 17 Feb 2005 11:20:28 +0000 (11:20 +0000)]
r5426: Warn about embedded ref pointers.
(This used to be commit 40547ed33fea57ee8f68a8f864f8f10c9a6d24dc)

14 years agor5425: Convert function tables to new structure (with description)
Rafal Szczesniak [Wed, 16 Feb 2005 21:54:01 +0000 (21:54 +0000)]
r5425: Convert function tables to new structure (with description)
and remove unnecessary help functions as help is generated
automatically. Usage functions with precise information about
usage of each leaf node remain.

rafal
(This used to be commit eb66180d14a14cafbfc0df2b39eeaf4ad7bb43a9)

14 years agor5424: Automatically generate basic help display on basis of name
Rafal Szczesniak [Wed, 16 Feb 2005 21:51:37 +0000 (21:51 +0000)]
r5424: Automatically generate basic help display on basis of name
and description from function table.

rafal
(This used to be commit 24f7a3860e82bf632ebd6b3416e5e874e832be5f)

14 years agor5423: Change function table structure to allow short description
Rafal Szczesniak [Wed, 16 Feb 2005 21:50:38 +0000 (21:50 +0000)]
r5423: Change function table structure to allow short description
of command groups. Also give up help function pointer in the
structure since it's needed only in leaf nodes of command tree,
and leaf nodes decide about help on their own. Usage function
is still available on all levels.

rafal
(This used to be commit 48568959a86ee60c188b84078eb3872b8e185b6c)

14 years agor5422: Fix ethereal parser generator.
Jelmer Vernooij [Wed, 16 Feb 2005 21:40:55 +0000 (21:40 +0000)]
r5422: Fix ethereal parser generator.
(This used to be commit f5224d40c01b495f2607199f0d85a8c9afb056b0)

14 years agor5418: - added version numbers to WINS database records in preparation for adding...
Andrew Tridgell [Wed, 16 Feb 2005 15:19:49 +0000 (15:19 +0000)]
r5418: - added version numbers to WINS database records in preparation for adding server side
  replication support

- on a WACK registration success, check that the database record
  hasn't changed during the WACK processing. If it has, then fail
  the registration
(This used to be commit 2acd79b95931b57efae9f7c239bc08dc143f5225)

14 years agor5417: Add wrapper function for typedefs hash rather then using the "our" keyword,
Jelmer Vernooij [Wed, 16 Feb 2005 11:09:10 +0000 (11:09 +0000)]
r5417: Add wrapper function for typedefs hash rather then using the "our" keyword,
move pointer parsing to seperate function.
(This used to be commit ea872b9a2b9a51ba9f6c2842303d067e9e85d11a)

14 years agor5416: nicer output when trying to replicate with a server that hasn't been setup as
Andrew Tridgell [Wed, 16 Feb 2005 10:10:47 +0000 (10:10 +0000)]
r5416: nicer output when trying to replicate with a server that hasn't been setup as
a partner
(This used to be commit b94301b357801767e65e19be5d9464c58ecf621e)

14 years agor5415: added a NBT-WINSREPLICATION torture test. It asks the server for the
Andrew Tridgell [Wed, 16 Feb 2005 10:04:52 +0000 (10:04 +0000)]
r5415: added a NBT-WINSREPLICATION torture test. It asks the server for the
list of partners, and for each partner dumps the complete list of
names
(This used to be commit dacf5f166a0d5a7bc1d96e730748811c9f47bba6)

14 years agor5414: - added libcli/wins/, a basic client library for WINS replication
Andrew Tridgell [Wed, 16 Feb 2005 10:03:18 +0000 (10:03 +0000)]
r5414: - added libcli/wins/, a basic client library for WINS replication

- added a new IDL type "udlongr", which is like udlong, but with the
  two uint32 halves reversed

- modified the winsrepl.idl to cope with a wider range of packets
(This used to be commit bc8d60c918f2e268d591aac464fc6a78c38a4cf9)

14 years agor5413: enable standard samba command line options in ndrdump (so -d works)
Andrew Tridgell [Wed, 16 Feb 2005 06:55:24 +0000 (06:55 +0000)]
r5413: enable standard samba command line options in ndrdump (so -d works)
(This used to be commit 6f9eb74ef8536004d08ffd01ad41622b83526af6)

14 years agor5412: don't force initial debug level up in ndrdump
Andrew Tridgell [Wed, 16 Feb 2005 03:21:34 +0000 (03:21 +0000)]
r5412: don't force initial debug level up in ndrdump
(This used to be commit 9536936992795629d19d4004fcad78cec3a3caff)

14 years agor5411: make network interface selection a bit saner
Andrew Tridgell [Wed, 16 Feb 2005 01:48:11 +0000 (01:48 +0000)]
r5411: make network interface selection a bit saner

- if we have no configured network interfaces, then don't start nbtd (when I add dynamic
  interface loading this will change to a delay until a network interface comes up)

- choose the best interface by netmask for torture tests that need a
  specific IP (such as the WINS test). Added iface_best_ip() for that.

- if specific interfaces are chosen in smb.conf, then keep that ordering, and
  default to the first one listed
(This used to be commit 4d08c114079ef6d1d10a96195046fe43631aefa2)

14 years agor5410: Automatically determine indenting for the ndr parsers
Jelmer Vernooij [Tue, 15 Feb 2005 12:53:58 +0000 (12:53 +0000)]
r5410: Automatically determine indenting for the ndr parsers
(just like header.pm already did).
(This used to be commit 90b262398b471acf560a8d05765cab1f25e24b5a)

14 years agor5409: - add a gtk events plugin
Stefan Metzmacher [Tue, 15 Feb 2005 11:57:43 +0000 (11:57 +0000)]
r5409: - add a gtk events plugin
- this is used in our gtk apps
- make the main() functions of the gtk apps look
  more simular (we need to get rid of the globals
  in gregedit!)

metze
(This used to be commit 1051f9b32f4a5c69a1a6928e6849c8ada047032e)

14 years agor5408: - added testing for the behaviour of the special 0x1c name
Andrew Tridgell [Tue, 15 Feb 2005 11:14:04 +0000 (11:14 +0000)]
r5408: - added testing for the behaviour of the special 0x1c name

- added WINS server support for the 0x1c name
(This used to be commit 1558a545285ae0432c70e0a3e2b132a5132e7b3b)

14 years agor5407: - this patch makes samba's event loop code more generic and makes
Stefan Metzmacher [Tue, 15 Feb 2005 10:36:59 +0000 (10:36 +0000)]
r5407: - this patch makes samba's event loop code more generic and makes
  using other implementations possible. This will be mostly usefull
  for client apps which have there own event loop and want to
  use our client libs

- add a example plugin for liboop (see http://liboop.org)
  NOTE: this just compiles and is completly untested
        and is commited only as example

metze
(This used to be commit b3d0a410efe856e3bcf127f00c31905f5a23cc04)

14 years agor5406: fixed dependencies for the WREPL subsystem
Andrew Tridgell [Tue, 15 Feb 2005 06:46:31 +0000 (06:46 +0000)]
r5406: fixed dependencies for the WREPL subsystem
(This used to be commit 00b0ec8a599c9467ba52aebf978dc33648d33136)

14 years agor5405: try to use NBT name pointers when a netbios name is repeated in a NBT
Andrew Tridgell [Tue, 15 Feb 2005 05:39:12 +0000 (05:39 +0000)]
r5405: try to use NBT name pointers when a netbios name is repeated in a NBT
packet. This allows much longer names to fit within the limits of NBT
name packets (rfc1002.txt also says this should be done, although
Samba3 never generates them).

The main reason for doing this is it means that our NBT name pointer
decoding code is tested with the smbtorture tests
(This used to be commit 6e2feef125daceb143c44c0c4ab73b010b311792)

14 years agor5404: allow spaces in the string representation of nbt names
Andrew Tridgell [Tue, 15 Feb 2005 05:14:09 +0000 (05:14 +0000)]
r5404: allow spaces in the string representation of nbt names
(This used to be commit dd3d4ded21e50130243de3b35927368875620d47)

14 years agor5403: a simple WINS benchmarking program
Andrew Tridgell [Tue, 15 Feb 2005 04:55:56 +0000 (04:55 +0000)]
r5403: a simple WINS benchmarking program
(This used to be commit d0f8b5bc6d64688cf9ad19d203d173ad2735f001)

14 years agor5402: a initial attempt at a IDL definition of the WINS replication protocol
Andrew Tridgell [Tue, 15 Feb 2005 02:27:45 +0000 (02:27 +0000)]
r5402: a initial attempt at a IDL definition of the WINS replication protocol
on tcp port 42. This is enough to reasonably decode (with ndrdump) all
the packets I have seen on the wire. It will need some fine tuning
once I understand the protocol a bit more.
(This used to be commit 3f90bc132139815c23c7322d3d47268d92ba00ac)

14 years agor5401: using talloc_array() is neater here
Andrew Tridgell [Tue, 15 Feb 2005 02:24:57 +0000 (02:24 +0000)]
r5401: using talloc_array() is neater here
(This used to be commit b35ee83536e01c000aace2f4764f6727efd63170)

14 years agor5400: Slightly better handling of help messages in net tool.
Rafal Szczesniak [Tue, 15 Feb 2005 01:11:20 +0000 (01:11 +0000)]
r5400: Slightly better handling of help messages in net tool.

rafal
(This used to be commit 5cebb4feedf7d6542c497fe55763d66f51b1c989)

14 years agor5398: fixed encoding of *SMBSERVER name (thanks to Karl Melcher for spotting this)
Andrew Tridgell [Mon, 14 Feb 2005 23:36:42 +0000 (23:36 +0000)]
r5398: fixed encoding of *SMBSERVER name (thanks to Karl Melcher for spotting this)
(This used to be commit 76c49851b921c137c59c45084c5dab95f1c16f58)

14 years agor5397: added testing and server support for the special handling required for the...
Andrew Tridgell [Mon, 14 Feb 2005 12:46:03 +0000 (12:46 +0000)]
r5397: added testing and server support for the special handling required for the 0x1d local master browser name
in WINS
(This used to be commit 2650b43ca903fb478d2943fa9bbdba8b2bf74966)

14 years agor5396: fixed parsing of NBT type 0xc0 compressed name pointers
Andrew Tridgell [Mon, 14 Feb 2005 11:31:48 +0000 (11:31 +0000)]
r5396: fixed parsing of NBT type 0xc0 compressed name pointers
(This used to be commit 666cc65d10012fa2a413dfa619fbc4599f752728)

14 years agor5395: fixed some loadparm memory leaks
Andrew Tridgell [Mon, 14 Feb 2005 10:08:10 +0000 (10:08 +0000)]
r5395: fixed some loadparm memory leaks
(This used to be commit b75f8fe1844c539d8a4e369225bcbe0e6f81e9de)

14 years agor5394: as the timing should be fixed in the server now, don't accept to early replies
Stefan Metzmacher [Mon, 14 Feb 2005 09:44:58 +0000 (09:44 +0000)]
r5394: as the timing should be fixed in the server now, don't accept to early replies
anymore, also print out usecs in the debug messages

metze
(This used to be commit 9a657f358e7aa3f96c414de033808de82fdb831a)

14 years agor5393: trigger timed events not to early, better do it a bit to late
Stefan Metzmacher [Mon, 14 Feb 2005 09:43:36 +0000 (09:43 +0000)]
r5393: trigger timed events not to early, better do it a bit to late

metze
(This used to be commit 67bf637e9a44202061fd71c92142f835ba76da89)