ira/wip.git
18 years agoFix --with-fhs for swatdir
Jelmer Vernooij [Sun, 11 Jan 2004 13:40:06 +0000 (13:40 +0000)]
Fix --with-fhs for swatdir

18 years agoadded dom_sid_string() function
Andrew Tridgell [Sun, 11 Jan 2004 05:16:07 +0000 (05:16 +0000)]
added dom_sid_string() function

18 years agoUpdate Copyright to 1992-2004
Stefan Metzmacher [Fri, 9 Jan 2004 06:59:48 +0000 (06:59 +0000)]
Update Copyright to 1992-2004

Jerry should I change this in 3_0 and HEAD as well?

metze

18 years agofixed the rpc epmapper server. This fixes rpc over tcp.
Andrew Tridgell [Fri, 9 Jan 2004 02:43:23 +0000 (02:43 +0000)]
fixed the rpc epmapper server. This fixes rpc over tcp.

18 years agoThis patch adds a better dcerpc server infastructure.
Stefan Metzmacher [Thu, 8 Jan 2004 22:55:27 +0000 (22:55 +0000)]
This patch adds a better dcerpc server infastructure.

1.) We now register endpoint servers add startup via register_backend()
    and later use the smb.conf 'dcerpc endpoint servers' parameter to setup the dcesrv_context

2.) each endpoint server can register at context creation time as much interfaces as it wants
    (multiple interfaces on one endpoint are supported!)
    (NOTE:  there's a difference between 'endpoint server' and 'endpoint'!
    for details look at rpc_server/dcesrv_server.h)

3.) one endpoint can have a security descriptor registered to it self
    this will be checked in the future when a client wants to connect
    to an smb pipe endpoint.

4.) we now have a 'remote' endpoint server, which works like the ntvfs_cifs module
    it takes this options in the [globals] section:

    dcerpc remote:interfaces = srvsvc, winreg, w32time, epmapper
    dcerpc remote:binding = ...
    dcerpc remote:user = ...
    dcerpc remote:password = ...

5.) we currently have tree endpoint servers: epmapper, rpcecho and remote

    the default for the 'dcerpc endpiont servers = epmapper, rpcecho'

    for testing you can also do
    dcerpc endpoint servers = rpcecho, remote, epmapper
    dcerpc remote:interfaces = srvsvc, samr, netlogon

6,) please notice the the epmapper now only returns NO_ENTRIES
    (but I think we'll find a solution for this too:-)

7.) also there're some other stuff left, but step by step :-)

This patch also includes updates for the
register_subsystem() , ntvfs_init(), and some other funtions
to check for duplicate subsystem registration

metze

(hmmm, my first large commit...I hope it works as supposed :-)

18 years agoremove a useless assignment
Stefan Metzmacher [Thu, 8 Jan 2004 06:48:54 +0000 (06:48 +0000)]
remove a useless assignment

metze

18 years agoAdd note about new configure structure.
Jelmer Vernooij [Fri, 2 Jan 2004 13:47:13 +0000 (13:47 +0000)]
Add note about new configure structure.

18 years agoAutodetect service_type in cli_tree_full_connection() if the caller
Tim Potter [Fri, 2 Jan 2004 01:04:59 +0000 (01:04 +0000)]
Autodetect service_type in cli_tree_full_connection() if the caller
passes in NULL.

18 years agothe endpoint mapper now works in bigendian mode
Andrew Tridgell [Wed, 31 Dec 2003 01:32:33 +0000 (01:32 +0000)]
the endpoint mapper now works in bigendian mode

18 years ago"subsystems" should be static
Andrew Tridgell [Tue, 30 Dec 2003 22:55:12 +0000 (22:55 +0000)]
"subsystems" should be static

18 years agoremove some unused files
Andrew Tridgell [Mon, 22 Dec 2003 02:52:33 +0000 (02:52 +0000)]
remove some unused files

18 years agominor updates to make the srvsvc test compile
Andrew Tridgell [Sun, 21 Dec 2003 07:57:49 +0000 (07:57 +0000)]
minor updates to make the srvsvc test compile

18 years agowkssvc test updates from metze
Andrew Tridgell [Sun, 21 Dec 2003 07:53:57 +0000 (07:53 +0000)]
wkssvc test updates from metze

18 years agolatest srvsvc and wkssvc IDL from metze
Andrew Tridgell [Sat, 20 Dec 2003 21:50:51 +0000 (21:50 +0000)]
latest srvsvc and wkssvc IDL from metze

18 years agotim, I'm guessing you really didn't want to add this :)
Andrew Tridgell [Sat, 20 Dec 2003 21:09:04 +0000 (21:09 +0000)]
tim, I'm guessing you really didn't want to add this :)

18 years agoRemove Makefile targets for old python extensions.
Tim Potter [Sat, 20 Dec 2003 09:23:48 +0000 (09:23 +0000)]
Remove Makefile targets for old python extensions.

18 years agoaddition of samr_SetSecurity() from kai
Andrew Tridgell [Fri, 19 Dec 2003 23:44:26 +0000 (23:44 +0000)]
addition of samr_SetSecurity() from kai

we needed to adjust the alignment of [relative] buffers for this to
work. I wonder if they are always 4 byte aligned?

18 years agofixed removal of moe than one ncacn_* option from option list
Andrew Tridgell [Fri, 19 Dec 2003 04:26:26 +0000 (04:26 +0000)]
fixed removal of moe than one ncacn_* option from option list

18 years agofixed the AddAliasMem test code
Andrew Tridgell [Fri, 19 Dec 2003 04:13:39 +0000 (04:13 +0000)]
fixed the AddAliasMem test code

18 years agoadded a bunch of alias functions in samr.idl based on work by Kai.
Andrew Tridgell [Fri, 19 Dec 2003 03:59:27 +0000 (03:59 +0000)]
added a bunch of alias functions in samr.idl based on work by Kai.

18 years agoadded code to the IDL validator to check for common errors with
Andrew Tridgell [Fri, 19 Dec 2003 00:40:40 +0000 (00:40 +0000)]
added code to the IDL validator to check for common errors with
pointers are arrays

18 years agofixed a segv in RPC-* when debug level > 2
Andrew Tridgell [Wed, 17 Dec 2003 21:37:34 +0000 (21:37 +0000)]
fixed a segv in RPC-* when debug level > 2
thanks to Kai for spotting this!

18 years agoFix typo.
Tim Potter [Wed, 17 Dec 2003 03:38:06 +0000 (03:38 +0000)]
Fix typo.

18 years agofixed a bug in the acct_flags checking on CreateUser2 in the RPC-SAMR test
Andrew Tridgell [Wed, 17 Dec 2003 02:35:04 +0000 (02:35 +0000)]
fixed a bug in the acct_flags checking on CreateUser2 in the RPC-SAMR test

18 years agoDelete old python bindings.
Tim Potter [Wed, 17 Dec 2003 02:18:36 +0000 (02:18 +0000)]
Delete old python bindings.

18 years agoadded a smb.conf flag "rpc big endian" that tells our rpc server to
Andrew Tridgell [Wed, 17 Dec 2003 02:06:44 +0000 (02:06 +0000)]
added a smb.conf flag "rpc big endian" that tells our rpc server to
send packets in bigendian format.

18 years agoremoved some unused functions
Andrew Tridgell [Tue, 16 Dec 2003 12:59:20 +0000 (12:59 +0000)]
removed some unused functions

18 years agofixed formatting of uuids in debug output
Andrew Tridgell [Tue, 16 Dec 2003 12:11:00 +0000 (12:11 +0000)]
fixed formatting of uuids in debug output

18 years agoadded a define for the DCERPC little-endian data representation flag
Andrew Tridgell [Tue, 16 Dec 2003 11:24:28 +0000 (11:24 +0000)]
added a define for the DCERPC little-endian data representation flag

18 years agofixed the RPC-MGMT and RPC-SCANNER tests to work with the new
Andrew Tridgell [Tue, 16 Dec 2003 10:57:17 +0000 (10:57 +0000)]
fixed the RPC-MGMT and RPC-SCANNER tests to work with the new
dcerpc_binding_string code

18 years agono longer require the pipe name or tcp port number to be the first
Andrew Tridgell [Tue, 16 Dec 2003 10:15:21 +0000 (10:15 +0000)]
no longer require the pipe name or tcp port number to be the first
option in the ncacn_* syntax

18 years agouse bigendian mode to fix the idl for samr_LogonHours
Andrew Tridgell [Tue, 16 Dec 2003 10:09:02 +0000 (10:09 +0000)]
use bigendian mode to fix the idl for samr_LogonHours

18 years agomuch better docs on the smbtorture ncacn syntax, including how to
Andrew Tridgell [Tue, 16 Dec 2003 09:55:09 +0000 (09:55 +0000)]
much better docs on the smbtorture ncacn syntax, including how to
choose bigendian smbtorture on the command line

18 years agoit turns out that a wire policy handle isn't a blob either, its a
Andrew Tridgell [Tue, 16 Dec 2003 09:50:49 +0000 (09:50 +0000)]
it turns out that a wire policy handle isn't a blob either, its a
uint32 followed by a GUID. I needed to fix this to support running in
mixed-mode rpc (where smbtorture is bigendian and w2k3 is
little-endian). Otherwise when you send back a policy handle the
server doesn't recognise it.

18 years agoadded support for big-endian ucs2 strings (as used by big-endian
Andrew Tridgell [Tue, 16 Dec 2003 09:20:34 +0000 (09:20 +0000)]
added support for big-endian ucs2 strings (as used by big-endian
msrpc).

this was easier than I expected!

18 years agoa fairly large commit!
Andrew Tridgell [Tue, 16 Dec 2003 09:02:58 +0000 (09:02 +0000)]
a fairly large commit!

This adds support for bigendian rpc in the client. I have installed
SUN pcnetlink locally and am using it to test the samba4 rpc
code. This allows us to easily find places where we have stuffed up
the types (such as 2 uint16 versus a uint32), as testing both
big-endian and little-endian easily shows which is correct. I have now
used this to fix several bugs like that in the samba4 IDL.

In order to make this work I also had to redefine a GUID as a true
structure, not a blob. From the pcnetlink wire it is clear that it is
indeed defined as a structure (the byte order changes). This required
changing lots of Samba code to use a GUID as a structure.

I also had to fix the if_version code in dcerpc syntax IDs, as it
turns out they are a single uint32 not two uint16s.

The big-endian support is a bit ugly at the moment, and breaks the
layering in some places. More work is needed, especially on the server
side.

18 years agothe out substructure is not empty if there is a return from the
Andrew Tridgell [Tue, 16 Dec 2003 04:15:51 +0000 (04:15 +0000)]
the out substructure is not empty if there is a return from the
function

18 years agoenable rep_inet_ntoa() for non-pthread builds
Andrew Tridgell [Tue, 16 Dec 2003 04:10:47 +0000 (04:10 +0000)]
enable rep_inet_ntoa() for non-pthread builds

18 years agomore mutex portability.
Andrew Tridgell [Tue, 16 Dec 2003 03:45:04 +0000 (03:45 +0000)]
more mutex portability.

18 years agosome compilers can't handle structures with no elements. Generate
Andrew Tridgell [Tue, 16 Dec 2003 03:44:32 +0000 (03:44 +0000)]
some compilers can't handle structures with no elements. Generate
dummy elements if need be.

18 years agomore portability fixes. We now almost compile on solaris
Andrew Tridgell [Tue, 16 Dec 2003 03:34:23 +0000 (03:34 +0000)]
more portability fixes. We now almost compile on solaris

18 years agouse smb_rwlock_t instead of rwlock_t to avoid conflicts with system
Andrew Tridgell [Tue, 16 Dec 2003 03:27:36 +0000 (03:27 +0000)]
use smb_rwlock_t instead of rwlock_t to avoid conflicts with system
types on some platforms (eg. solaris)

18 years agodon't rely on the ability of perl 5.6.x to remove elements from arrays
Andrew Tridgell [Tue, 16 Dec 2003 03:21:34 +0000 (03:21 +0000)]
don't rely on the ability of perl 5.6.x to remove elements from arrays
using delete(). This makes pidl portable back to perl 5.0.

18 years agomake sure we have a value for DEFAULT_PRINTING on all platforms
Andrew Tridgell [Tue, 16 Dec 2003 02:59:30 +0000 (02:59 +0000)]
make sure we have a value for DEFAULT_PRINTING on all platforms

18 years agoremove a redundent second check for PAM
Andrew Tridgell [Tue, 16 Dec 2003 01:10:03 +0000 (01:10 +0000)]
remove a redundent second check for PAM

18 years agocope with different cpp formatting on some systems, and make sure we
Andrew Tridgell [Tue, 16 Dec 2003 00:38:33 +0000 (00:38 +0000)]
cope with different cpp formatting on some systems, and make sure we
don't loop forever if we get a cpp format line we don't understand

18 years agouse the @CPP@ value from configure if possible when determining cpp in
Andrew Tridgell [Mon, 15 Dec 2003 22:06:18 +0000 (22:06 +0000)]
use the @CPP@ value from configure if possible when determining cpp in
pidl

18 years agolets see if "cc -E" keeps more of the build farm happy then "cpp"
Andrew Tridgell [Mon, 15 Dec 2003 21:55:42 +0000 (21:55 +0000)]
lets see if "cc -E" keeps more of the build farm happy then "cpp"

We'll probably need a configure entry for this

18 years agolots of shells don't have the -nt test, so use hackish find command
Andrew Tridgell [Mon, 15 Dec 2003 12:13:34 +0000 (12:13 +0000)]
lots of shells don't have the -nt test, so use hackish find command
instead

18 years agoadded "pidl.pl --template" to dump a rough template to save typing
Andrew Tridgell [Mon, 15 Dec 2003 10:55:10 +0000 (10:55 +0000)]
added "pidl.pl --template" to dump a rough template to save typing
when starting a pipe. Thanks to metze for a script that gave the idea.

do something like this to use it:

  pidl.pl --parse --template librpc/idl/XXX.idl > rpc_server/XXX/rpc_XXX.c

then fill in the functions in rpc_XXX.c

18 years agofixed srvsvc DiskEnum call
Andrew Tridgell [Mon, 15 Dec 2003 10:21:09 +0000 (10:21 +0000)]
fixed srvsvc DiskEnum call
strangely, the output doesn't seem to contain an info level. Some
programmer stuffed up the IDL :)

18 years agopatch from metze with updates to srvsvc and changes to pidl to allow
Andrew Tridgell [Mon, 15 Dec 2003 09:18:53 +0000 (09:18 +0000)]
patch from metze with updates to srvsvc and changes to pidl to allow
for the server rpc boilerplate to correctly generate for multiple
interfaces on an endpoint

18 years agomake sure we allow clients to negotiate ntlmssp seal if they want it
Andrew Tridgell [Mon, 15 Dec 2003 08:59:25 +0000 (08:59 +0000)]
make sure we allow clients to negotiate ntlmssp seal if they want it

18 years agomake pidl no longer dependent on Data::Dumper, which isn't installed
Andrew Tridgell [Mon, 15 Dec 2003 08:58:00 +0000 (08:58 +0000)]
make pidl no longer dependent on Data::Dumper, which isn't installed
on some systems

18 years agofixed a typo in the m4 file
Andrew Tridgell [Mon, 15 Dec 2003 08:37:42 +0000 (08:37 +0000)]
fixed a typo in the m4 file

18 years ago"make idl" is now incremental and "make idl_full" is a full idl build
Andrew Tridgell [Mon, 15 Dec 2003 05:41:05 +0000 (05:41 +0000)]
"make idl" is now incremental and "make idl_full" is a full idl build

18 years agoa script fix for the build farm
Andrew Tridgell [Mon, 15 Dec 2003 05:37:15 +0000 (05:37 +0000)]
a script fix for the build farm

18 years agodisable pam in samba4 until someone fixes it (hi andrew!)
Andrew Tridgell [Mon, 15 Dec 2003 04:35:56 +0000 (04:35 +0000)]
disable pam in samba4 until someone fixes it (hi andrew!)

18 years agodon't try and build the libclient stuff in samba4 yet
Andrew Tridgell [Mon, 15 Dec 2003 04:07:16 +0000 (04:07 +0000)]
don't try and build the libclient stuff in samba4 yet

18 years agomore flexible handling of [] in binding strings
Andrew Tridgell [Mon, 15 Dec 2003 03:41:08 +0000 (03:41 +0000)]
more flexible handling of [] in binding strings

18 years agoadded some ncacn_* binding string examples
Andrew Tridgell [Mon, 15 Dec 2003 03:40:45 +0000 (03:40 +0000)]
added some ncacn_* binding string examples

18 years agoallow the specification of full dcerpc endpoint binding strings on the
Andrew Tridgell [Mon, 15 Dec 2003 03:29:55 +0000 (03:29 +0000)]
allow the specification of full dcerpc endpoint binding strings on the
command line. This allows you to (for example) control signing/sealing
of smbtorture RPC sessions

18 years agoswitch off the default of ntlmssp on rpc on smb as some windows pipes
Andrew Tridgell [Mon, 15 Dec 2003 01:09:45 +0000 (01:09 +0000)]
switch off the default of ntlmssp on rpc on smb as some windows pipes
can't handle it (I'd switched it on while experimenting, and forgot to
switch it off before committing)

18 years agofixed the handling of zero-length top level arrays in pidl
Andrew Tridgell [Mon, 15 Dec 2003 01:07:08 +0000 (01:07 +0000)]
fixed the handling of zero-length top level arrays in pidl

18 years agozero length echo is not an error
Andrew Tridgell [Mon, 15 Dec 2003 01:06:01 +0000 (01:06 +0000)]
zero length echo is not an error

18 years agofixed the transfer syntax in the dcerpc bind reply
Andrew Tridgell [Mon, 15 Dec 2003 00:40:57 +0000 (00:40 +0000)]
fixed the transfer syntax in the dcerpc bind reply

18 years agoadded auto-generation of the server side boilerplate code for each
Andrew Tridgell [Sun, 14 Dec 2003 13:22:12 +0000 (13:22 +0000)]
added auto-generation of the server side boilerplate code for each
pipe.

The server side code gets generated as librpc/gen_ndr/ndr_NAME_s.c and
gets included in the pipe module

18 years agotypo
Simo Sorce [Sun, 14 Dec 2003 12:27:51 +0000 (12:27 +0000)]
typo

18 years agofixed fragmented signed connections to our rpc server over SMB
Andrew Tridgell [Sun, 14 Dec 2003 12:21:21 +0000 (12:21 +0000)]
fixed fragmented signed connections to our rpc server over SMB

18 years agoreduce double explanation of FIXED ARRAYS
Simo Sorce [Sun, 14 Dec 2003 12:04:55 +0000 (12:04 +0000)]
reduce double explanation of FIXED ARRAYS

18 years agontlmssp over rpc over tcp now fully works
Andrew Tridgell [Sun, 14 Dec 2003 10:45:50 +0000 (10:45 +0000)]
ntlmssp over rpc over tcp now fully works

I needed to hack the ntlmssp code a little, as the auth code in samba4
is out of date relative to the samba3 auth code. I need to do a merge :)

18 years agofix _ptr_ declaration
Andrew Tridgell [Sun, 14 Dec 2003 08:44:38 +0000 (08:44 +0000)]
fix _ptr_ declaration

18 years agofixed some memory leaks in the rpc server code
Andrew Tridgell [Sun, 14 Dec 2003 03:51:48 +0000 (03:51 +0000)]
fixed some memory leaks in the rpc server code

18 years agofixed a bug handling multiple PDUs being read from a socket at one
Andrew Tridgell [Sun, 14 Dec 2003 01:09:10 +0000 (01:09 +0000)]
fixed a bug handling multiple PDUs being read from a socket at one
time in the rpc server.

started on the framework for the dcerpc authentication server code

18 years agoadd the ntlmssp calls back into smbtorture on rpc over tcp. The samba4
Andrew Tridgell [Sat, 13 Dec 2003 23:30:43 +0000 (23:30 +0000)]
add the ntlmssp calls back into smbtorture on rpc over tcp. The samba4
rpc server doesn't do ntlmssp yet, so this breaks the tests, but that
is the next step.

18 years agocompleted the linkage between the endpoint mapper and the dcerpc
Andrew Tridgell [Sat, 13 Dec 2003 23:25:15 +0000 (23:25 +0000)]
completed the linkage between the endpoint mapper and the dcerpc
server endpoints. We can now successfully setup listening endpoints on
high ports, then use our endpoint mapper redirect incoming clients to
the right port.

also greatly cleanup the rpc over tcp session handling.

18 years agomake the IO in the dcerpc over TCP server completely async, handling
Andrew Tridgell [Sat, 13 Dec 2003 11:44:28 +0000 (11:44 +0000)]
make the IO in the dcerpc over TCP server completely async, handling
partial packets on both input and output

18 years agodcerpc over tcp in the samba4 server now works to some extent. It
Andrew Tridgell [Sat, 13 Dec 2003 10:58:48 +0000 (10:58 +0000)]
dcerpc over tcp in the samba4 server now works to some extent. It
needs quite a bit more work to get it finished. The biggest missing
feature is the lack of NTLMSSP which is needed for basic
authentication over tcp

18 years agorpcdump.exe now works fine against a Samba4 server
Andrew Tridgell [Sat, 13 Dec 2003 04:46:50 +0000 (04:46 +0000)]
rpcdump.exe now works fine against a Samba4 server

for some reason the epm_Lookup replies can't be parsed by ethereal,
although w2k parses then fine as does the Samba4 NDR code.

18 years agoadded the epm_Map() call.
Andrew Tridgell [Sat, 13 Dec 2003 03:23:41 +0000 (03:23 +0000)]
added the epm_Map() call.

the RPC-EPMAPPER torture test now passes

18 years agoadded a basic dcerpc endpoint mapper to Samba4. Currently only
Andrew Tridgell [Sat, 13 Dec 2003 02:20:40 +0000 (02:20 +0000)]
added a basic dcerpc endpoint mapper to Samba4. Currently only
implements the epm_Lookup() call, I'll add the other important calls
soon. I was rather pleased to find that epm_Lookup() worked first
time, which is particularly surprising given its complexity.

This required quite a bit of new infrastructure:

  * a generic way of handling dcerpc policy handles in the rpc server

  * added type checked varients of talloc. These are much less error
    prone. I'd like to move to using these for nearly all uses of
    talloc.

  * added more dcerpc fault handling code, and translation from
    NTSTATUS to a dcerpc fault code

  * added data_blob_talloc_zero() for allocating an initially zero
    blob

  * added a endpoint enumeration hook in the dcerpc endpoint server
    operations

18 years agoafter chatting with jeremy I decided to use a separate directory for
Andrew Tridgell [Fri, 12 Dec 2003 22:48:57 +0000 (22:48 +0000)]
after chatting with jeremy I decided to use a separate directory for
each rpc endpoint implementation, so we will have rpc_server/samr/
rpc_server/lsa/ etc.

this should encourage each pipe to be written in a more complete
manner, as it gives easy ways to split the pipe into multiple modules.

18 years agoSmall cleanup of test code. Rename enum indexes to be the same name
Tim Potter [Fri, 12 Dec 2003 11:49:29 +0000 (11:49 +0000)]
Small cleanup of test code.  Rename enum indexes to be the same name
for EnumKey and EnumValue.

18 years agoGot winreg_EnumValue working - what a mess!
Tim Potter [Fri, 12 Dec 2003 06:29:21 +0000 (06:29 +0000)]
Got winreg_EnumValue working - what a mess!

18 years agoAdded routines for arrays of uint16s.
Tim Potter [Fri, 12 Dec 2003 06:26:34 +0000 (06:26 +0000)]
Added routines for arrays of uint16s.

18 years agoadded support for sending bind_nak replies in the rpc server
Andrew Tridgell [Fri, 12 Dec 2003 06:12:41 +0000 (06:12 +0000)]
added support for sending bind_nak replies in the rpc server

18 years agoadded the echo pipe test calls
Andrew Tridgell [Fri, 12 Dec 2003 05:40:26 +0000 (05:40 +0000)]
added the echo pipe test calls

18 years agowe now support pdu fragmentation on both input and output in the rpc
Andrew Tridgell [Fri, 12 Dec 2003 05:30:00 +0000 (05:30 +0000)]
we now support pdu fragmentation on both input and output in the rpc
server code

18 years agoadded handling of fragmented requests in the rpc server
Andrew Tridgell [Fri, 12 Dec 2003 05:01:41 +0000 (05:01 +0000)]
added handling of fragmented requests in the rpc server

now we just need to handle fragmented replies ....

18 years agohandle the auto-allocation of [ref] output arrays in pidl. This
Andrew Tridgell [Fri, 12 Dec 2003 04:18:21 +0000 (04:18 +0000)]
handle the auto-allocation of [ref] output arrays in pidl. This
can simplify rpc servers a lot.

18 years ago * the RPC-ECHO pipe now works in smbd, as long as the data sizes
Andrew Tridgell [Fri, 12 Dec 2003 03:59:09 +0000 (03:59 +0000)]
 * the RPC-ECHO pipe now works in smbd, as long as the data sizes
   don't cause fragmented pdus (I'll add fragments shortly)

 * change data_blob_talloc() to not zero memory when the 2nd argument
   is NULL. The zeroing just masks bugs, and can't even allow a DOS
   attack

 * modified pidl to ensure that [ref] arguments to the out side of
   functions are allocated when parsing the in side. This allows rpc
   backends to assume that [ref] variables are all setup. Doesn't work
   correctly for [ref] arrays yet

 * changed DLIST_ADD_END() to take the type instead of a tmp
   variable. This means you don't need to declare a silly tmp variable in
   the caller

18 years agothe next step in the dcerpc server code. Added the link between the
Andrew Tridgell [Thu, 11 Dec 2003 09:07:45 +0000 (09:07 +0000)]
the next step in the dcerpc server code. Added the link between the
IPC IO routines and the dcerpc endpoint servers.

18 years agomore portable array of endpoints code from pidl
Andrew Tridgell [Wed, 10 Dec 2003 23:49:55 +0000 (23:49 +0000)]
more portable array of endpoints code from pidl

18 years agothe rest of the initial rpc server side infrastructure
Andrew Tridgell [Wed, 10 Dec 2003 22:24:33 +0000 (22:24 +0000)]
the rest of the initial rpc server side infrastructure

18 years agoinitial rpc server side infrastructure
Andrew Tridgell [Wed, 10 Dec 2003 22:21:04 +0000 (22:21 +0000)]
initial rpc server side infrastructure

18 years ago * removed some unused code
Andrew Tridgell [Wed, 10 Dec 2003 03:02:12 +0000 (03:02 +0000)]
 * removed some unused code

 * updated tdb to latest version from Samba3

 * removed some extraneous ';' in tdbutil.c (Thanks to Erlend Aasland
   for pointing this out)

18 years agoremove the tdbsam code for now. I have other plans for SAM backends :)
Andrew Tridgell [Mon, 8 Dec 2003 08:21:04 +0000 (08:21 +0000)]
remove the tdbsam code for now. I have other plans for SAM backends :)

18 years agosome systems don't have "which" and some systems don't have the "-nt"
Andrew Tridgell [Mon, 8 Dec 2003 07:37:38 +0000 (07:37 +0000)]
some systems don't have "which" and some systems don't have the "-nt"
flag to test. It's amazing that systems like that are ever sold.

18 years agofixed shell scripting error
Andrew Tridgell [Mon, 8 Dec 2003 04:05:57 +0000 (04:05 +0000)]
fixed shell scripting error

18 years agocope with yapp not being installed
Andrew Tridgell [Mon, 8 Dec 2003 03:57:03 +0000 (03:57 +0000)]
cope with yapp not being installed