15 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


15 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()


15 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


15 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.


15 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


15 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.

15 years agor5493: Some code simplification
Jelmer Vernooij [Mon, 21 Feb 2005 22:59:06 +0000 (22:59 +0000)]
r5493: Some code simplification

15 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.

15 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)

15 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.

15 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


15 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


15 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

15 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
- First use of multiple pointers in dcom.idl

15 years agor5485: Support nopull,nopush in as well.
Jelmer Vernooij [Mon, 21 Feb 2005 11:44:36 +0000 (11:44 +0000)]
r5485: Support nopull,nopush in as well.

15 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


15 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

15 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.

15 years agor5477: - Move some more of the typelist stuff out of
Jelmer Vernooij [Sun, 20 Feb 2005 21:45:51 +0000 (21:45 +0000)]
r5477: - Move some more of the typelist stuff out of
- Remember INTERFACEs as well (they can be types in DCOM)

15 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.

15 years agor5475: Move some existing and new type information functions to
Jelmer Vernooij [Sun, 20 Feb 2005 20:35:07 +0000 (20:35 +0000)]
r5475: Move some existing and new type information functions to

15 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.


15 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.


15 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)

15 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.

15 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.

15 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.

15 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

15 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.

15 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

15 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

15 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

15 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

15 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

15 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.

15 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


15 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


15 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.

15 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

15 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

15 years agor5440: Some more generalizations
Jelmer Vernooij [Fri, 18 Feb 2005 11:11:21 +0000 (11:11 +0000)]
r5440: Some more generalizations

15 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.

15 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.

15 years agor5437: Allow Samba4 to be compiled by tcc ( 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 ( It still crashes when linking though.

15 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.

15 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.

15 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.


15 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.


15 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.


15 years agor5422: Fix ethereal parser generator.
Jelmer Vernooij [Wed, 16 Feb 2005 21:40:55 +0000 (21:40 +0000)]
r5422: Fix ethereal parser generator.

15 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

15 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.

15 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

15 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

15 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

15 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)

15 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

15 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

15 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 already did).

15 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!)


15 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

15 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
  NOTE: this just compiles and is completly untested
        and is commited only as example


15 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

15 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

15 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

15 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

15 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.

15 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

15 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.


15 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)

15 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

15 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

15 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

15 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


15 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


15 years agor5392: added "secure" WINS server processing. Send a WACK on name
Andrew Tridgell [Mon, 14 Feb 2005 09:15:24 +0000 (09:15 +0000)]
r5392: added "secure" WINS server processing. Send a WACK on name
registrations from anyone who isn't a current owner, then query the
owner addresses to see if they still want it.

15 years agor5391: cope with w2k3 getting the timeout wrong in wack replies
Andrew Tridgell [Mon, 14 Feb 2005 06:05:35 +0000 (06:05 +0000)]
r5391: cope with w2k3 getting the timeout wrong in wack replies

15 years agor5390: use __location__ to make tracking down errors in RPC-SAMSYNC easier
Andrew Tridgell [Mon, 14 Feb 2005 05:11:23 +0000 (05:11 +0000)]
r5390: use __location__ to make tracking down errors in RPC-SAMSYNC easier

15 years agor5389: initialise the WINS ttl max/min values to something sensible
Andrew Tridgell [Mon, 14 Feb 2005 05:10:33 +0000 (05:10 +0000)]
r5389: initialise the WINS ttl max/min values to something sensible

15 years agor5388: uppercase the server name on ncacn_ip_tcp
Andrew Tridgell [Mon, 14 Feb 2005 05:09:53 +0000 (05:09 +0000)]
r5388: uppercase the server name on ncacn_ip_tcp

15 years agor5387: - added automatic WINS server record expiry
Andrew Tridgell [Mon, 14 Feb 2005 05:00:22 +0000 (05:00 +0000)]
r5387: - added automatic WINS server record expiry

- added support for group names in registration and query

15 years agor5386: added testing of registration of group names
Andrew Tridgell [Mon, 14 Feb 2005 03:39:25 +0000 (03:39 +0000)]
r5386: added testing of registration of group names

15 years agor5384: for RPC-NETLOGON to pass we need to set the realm as well as the domain to...
Andrew Tridgell [Mon, 14 Feb 2005 01:58:41 +0000 (01:58 +0000)]
r5384: for RPC-NETLOGON to pass we need to set the realm as well as the domain to the target

A better fix would be to have a dcerpc_server_realm() helper
function. Andrew, maybe you could see how to extract that out of
gensec? Calling lp_realm() in our torture tests is the wrong approach
I think.

15 years agor5382: another place where we need to uppercase the called name for port 139 connects
Andrew Tridgell [Mon, 14 Feb 2005 01:02:47 +0000 (01:02 +0000)]
r5382: another place where we need to uppercase the called name for port 139 connects

15 years agor5381: Added net_user.c with net tool interface for managing user accounts.
Rafal Szczesniak [Mon, 14 Feb 2005 00:59:52 +0000 (00:59 +0000)]
r5381: Added net_user.c with net tool interface for managing user accounts.


15 years agor5380: Removed extra newline.
Rafal Szczesniak [Mon, 14 Feb 2005 00:58:30 +0000 (00:58 +0000)]
r5380: Removed extra newline.


15 years agor5378: Put ndr size generators and alignment calc functions in hash as well.
Jelmer Vernooij [Sun, 13 Feb 2005 16:08:51 +0000 (16:08 +0000)]
r5378: Put ndr size generators and alignment calc functions in hash as well.

15 years agor5377: Put push/pull/print functions for the various types in a hash.
Jelmer Vernooij [Sun, 13 Feb 2005 13:55:22 +0000 (13:55 +0000)]
r5377: Put push/pull/print functions for the various types in a hash.

15 years agor5376: ORPC is NDR specific, so move it to
Jelmer Vernooij [Sun, 13 Feb 2005 12:38:56 +0000 (12:38 +0000)]
r5376: ORPC is NDR specific, so move it to
Get rid of register_enum/register_bitmap, etc. (use list of
types in instead)

15 years agor5375: use a real DN in the WINS database. We now pass the NBT-WINS test.
Andrew Tridgell [Sun, 13 Feb 2005 12:34:54 +0000 (12:34 +0000)]
r5375: use a real DN in the WINS database. We now pass the NBT-WINS test.

15 years agor5374: - changed the dn key code in the ldb tdb backend to correctly honor
Andrew Tridgell [Sun, 13 Feb 2005 12:27:57 +0000 (12:27 +0000)]
r5374: - changed the dn key code in the ldb tdb backend to correctly honor
  the case sensitive/insensitive flags on sections of a dn. So if a dn
  is made up of 4 attributes, and 2 of those are case insensitive and 2
  are case sensitive, then all the attribute names are uppercases, but
  only the values of the case insensitive attributes are uppercased when
  forming the tdb key.

- added code to canonicalise the dn, removing leading and trailing
  spaces from attribute names and values

- when the @ATTRIBUTES record changes, fix the dn keys of any records that should now have new
  dn keys due to changes in the case sensitivity of the record

I really did this to allow me to make the WINS database properly case
insensitive, but it is also the correct general fix for ldb, as it
matches the LDAP specification (and w2k LDAP server behaviour)

15 years agor5373: prepare infrastructure for maing different events
Stefan Metzmacher [Sun, 13 Feb 2005 11:32:11 +0000 (11:32 +0000)]
r5373: prepare infrastructure for maing different events
implementations possible


15 years agor5372: fixed the build
Andrew Tridgell [Sun, 13 Feb 2005 09:33:31 +0000 (09:33 +0000)]
r5372: fixed the build

15 years agor5371: on port 139 the called name needs to be in uppercase
Andrew Tridgell [Sun, 13 Feb 2005 09:10:33 +0000 (09:10 +0000)]
r5371: on port 139 the called name needs to be in uppercase

15 years agor5370: epoll gives more precise event bits like EPOLLHUP instead of just EPOLLIN...
Andrew Tridgell [Sun, 13 Feb 2005 08:52:12 +0000 (08:52 +0000)]
r5370: epoll gives more precise event bits like EPOLLHUP instead of just EPOLLIN. We need to map
these to "read" events for the events code to work on errors like connection refused
(thanks to vl for noticing this bug)

15 years agor5369: Rename torture modules so they don't conflict with files in scripting/swig.
Tim Potter [Sun, 13 Feb 2005 00:59:26 +0000 (00:59 +0000)]
r5369: Rename torture modules so they don't conflict with files in scripting/swig.

Start porting samr torture test to new API.

15 years agor5368: Fix ups for domain_name field name change.
Tim Potter [Sun, 13 Feb 2005 00:58:28 +0000 (00:58 +0000)]
r5368: Fix ups for domain_name field name change.

Implement GetDomPwInfo(), CreateUser2(), RemoveMemberFromForeignDomain(),

15 years agor5367: Minor typo fixes.
Rafal Szczesniak [Sun, 13 Feb 2005 00:52:45 +0000 (00:52 +0000)]
r5367: Minor typo fixes.


15 years agor5366: added initial code for adding user accounts to libnet makefile.
Rafal Szczesniak [Sun, 13 Feb 2005 00:50:38 +0000 (00:50 +0000)]
r5366: added initial code for adding user accounts to libnet makefile.
It doesn't do anything useful yet, but at least doesn't break
the build.


15 years agor5365: Initial code for adding user accounts via libnet call.
Rafal Szczesniak [Sun, 13 Feb 2005 00:48:21 +0000 (00:48 +0000)]
r5365: Initial code for adding user accounts via libnet call.