CVS update: samba4/source/ntvfs/ipc

2004-02-02 Thread Stefan Metzmacher

Date:   Mon Feb  2 13:28:29 2004
Author: metze

Update of /home/cvs/samba4/source/ntvfs/ipc
In directory dp.samba.org:/tmp/cvs-serv14658/ipc

Modified Files:
vfs_ipc.c 
Log Message:
some DEBUG and comment fixes

metze


Revisions:
vfs_ipc.c   1.12 = 1.13

http://www.samba.org/cgi-bin/cvsweb/samba4/source/ntvfs/ipc/vfs_ipc.c.diff?r1=1.12r2=1.13


CVS update: samba4/source/ntvfs/ipc

2004-01-19 Thread tridge

Date:   Tue Jan 20 05:54:12 2004
Author: tridge

Update of /home/cvs/samba4/source/ntvfs/ipc
In directory dp.samba.org:/tmp/cvs-serv8192

Modified Files:
vfs_ipc.c 
Log Message:
dcerpc server output now copes with the client blocking part way
through a read. This happens to also avoid a memcpy on output for
dcerpc over tcp.



Revisions:
vfs_ipc.c   1.11 = 1.12

http://www.samba.org/cgi-bin/cvsweb/samba4/source/ntvfs/ipc/vfs_ipc.c.diff?r1=1.11r2=1.12


CVS update: samba4/source/ntvfs/ipc

2004-01-08 Thread Stefan Metzmacher

Date:   Thu Jan  8 22:55:26 2004
Author: metze

Update of /home/cvs/samba4/source/ntvfs/ipc
In directory dp.samba.org:/tmp/cvs-serv9405/ntvfs/ipc

Modified Files:
vfs_ipc.c 
Log Message:
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 :-)



Revisions:
vfs_ipc.c   1.10 = 1.11

http://www.samba.org/cgi-bin/cvsweb/samba4/source/ntvfs/ipc/vfs_ipc.c.diff?r1=1.10r2=1.11


CVS update: samba4/source/ntvfs/ipc

2003-12-16 Thread tridge

Date:   Tue Dec 16 09:02:26 2003
Author: tridge

Update of /home/cvs/samba4/source/ntvfs/ipc
In directory dp.samba.org:/tmp/cvs-serv30838

Modified Files:
vfs_ipc.c 
Log Message:
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.


Revisions:
vfs_ipc.c   1.9 = 1.10

http://www.samba.org/cgi-bin/cvsweb/samba4/source/ntvfs/ipc/vfs_ipc.c.diff?r1=1.9r2=1.10


CVS update: samba4/source/ntvfs/ipc

2003-12-13 Thread tridge

Date:   Sat Dec 13 10:58:22 2003
Author: tridge

Update of /home/cvs/samba4/source/ntvfs/ipc
In directory dp.samba.org:/tmp/cvs-serv4206

Modified Files:
vfs_ipc.c 
Log Message:
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



Revisions:
vfs_ipc.c   1.8 = 1.9

http://www.samba.org/cgi-bin/cvsweb/samba4/source/ntvfs/ipc/vfs_ipc.c.diff?r1=1.8r2=1.9


CVS update: samba4/source/ntvfs/ipc

2003-12-12 Thread tridge

Date:   Sat Dec 13 04:46:38 2003
Author: tridge

Update of /home/cvs/samba4/source/ntvfs/ipc
In directory dp.samba.org:/tmp/cvs-serv29961

Modified Files:
vfs_ipc.c 
Log Message:
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.


Revisions:
vfs_ipc.c   1.7 = 1.8

http://www.samba.org/cgi-bin/cvsweb/samba4/source/ntvfs/ipc/vfs_ipc.c.diff?r1=1.7r2=1.8


CVS update: samba4/source/ntvfs/ipc

2003-12-11 Thread tridge

Date:   Thu Dec 11 09:07:25 2003
Author: tridge

Update of /home/cvs/samba4/source/ntvfs/ipc
In directory dp.samba.org:/tmp/cvs-serv2072

Modified Files:
vfs_ipc.c 
Log Message:
the next step in the dcerpc server code. Added the link between the
IPC IO routines and the dcerpc endpoint servers.


Revisions:
vfs_ipc.c   1.5 = 1.6

http://www.samba.org/cgi-bin/cvsweb/samba4/source/ntvfs/ipc/vfs_ipc.c.diff?r1=1.5r2=1.6


CVS update: samba4/source/ntvfs/ipc

2003-12-11 Thread tridge

Date:   Fri Dec 12 03:58:42 2003
Author: tridge

Update of /home/cvs/samba4/source/ntvfs/ipc
In directory dp.samba.org:/tmp/cvs-serv16339

Modified Files:
vfs_ipc.c 
Log Message:
 * 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


Revisions:
vfs_ipc.c   1.6 = 1.7

http://www.samba.org/cgi-bin/cvsweb/samba4/source/ntvfs/ipc/vfs_ipc.c.diff?r1=1.6r2=1.7


CVS update: samba4/source/ntvfs/ipc

2003-12-10 Thread tridge

Date:   Wed Dec 10 22:24:26 2003
Author: tridge

Update of /home/cvs/samba4/source/ntvfs/ipc
In directory dp.samba.org:/tmp/cvs-serv20968

Modified Files:
vfs_ipc.c 
Log Message:
the rest of the initial rpc server side infrastructure


Revisions:
vfs_ipc.c   1.4 = 1.5

http://www.samba.org/cgi-bin/cvsweb/samba4/source/ntvfs/ipc/vfs_ipc.c.diff?r1=1.4r2=1.5


CVS update: samba4/source/ntvfs/ipc

2003-12-03 Thread tridge

Date:   Thu Dec  4 02:02:33 2003
Author: tridge

Update of /home/cvs/samba4/source/ntvfs/ipc
In directory dp.samba.org:/tmp/cvs-serv4775

Modified Files:
vfs_ipc.c 
Log Message:
* patch based on work by Jim Myers to unify the ioctl handling to be
  more like the other major SMB functions

* added SMBntrename code


Revisions:
vfs_ipc.c   1.3 = 1.4

http://www.samba.org/cgi-bin/cvsweb/samba4/source/ntvfs/ipc/vfs_ipc.c.diff?r1=1.3r2=1.4


CVS update: samba4/source/ntvfs/ipc

2003-11-24 Thread Jelmer Vernooij

Date:   Tue Nov 25 03:15:26 2003
Author: jelmer

Update of /home/cvs/samba4/source/ntvfs/ipc
In directory dp.samba.org:/tmp/cvs-serv11841/ntvfs/ipc

Modified Files:
vfs_ipc.c 
Log Message:

CVS: --
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS: 
CVS: Committing in .
CVS: 
CVS: Modified Files:
CVS:Makefile.in configure.in include/includes.h include/ntvfs.h 
CVS:include/smb.h lib/iconv.c lib/module.c ntvfs/ntvfs_base.c 
CVS:ntvfs/cifs/vfs_cifs.c ntvfs/ipc/vfs_ipc.c 
CVS:ntvfs/posix/vfs_posix.c ntvfs/print/vfs_print.c 
CVS:ntvfs/reference/vfs_ref.c ntvfs/simple/vfs_simple.c 
CVS:passdb/pdb_interface.c 
CVS: Added Files:
CVS:include/module.h 
CVS: --
Update to the modules system. Fixed:
 - get rid of smb_probe_module
 - merge older updates from 3.0
 - introduced register_subsystem() and register_backend() functions
 - adapt ntvfs and charset to use new register functions
 - made smb_load_modules() work recursively (e.g. 'preload modules = /usr/lib/samba')
 - got rid of some old remains

Things that still need work:
 - Did I break tankFS? I don't think so, but I can't test it here :-(
 - Add 'postload modules = ' (for modules that need to be loaded after fork() in smbd, 
if applicable)
 - Convert RPC, auth, passdb, etc to use new register_{subsystem,backend}() functions
 - Accept wildcards in 'preload modules' option, instead of loading recursively


Revisions:
vfs_ipc.c   1.2 = 1.3

http://www.samba.org/cgi-bin/cvsweb/samba4/source/ntvfs/ipc/vfs_ipc.c.diff?r1=1.2r2=1.3


CVS update: samba4/source/ntvfs/ipc

2003-08-14 Thread tridge

Date:   Wed Aug 13 16:04:09 2003
Author: tridge

Update of /home/cvs/samba4/source/ntvfs/ipc
In directory dp.samba.org:/tmp/cvs-serv14637

Modified Files:
vfs_ipc.c 
Log Message:
- added SMBntrename test suite

- allow username of form DOMAIN\username or DOMAIN/username

- added ntrename to gentest


Revisions:
vfs_ipc.c   1.1.1.1 = 1.2

http://www.samba.org/cgi-bin/cvsweb/samba4/source/ntvfs/ipc/vfs_ipc.c.diff?r1=1.1.1.1r2=1.2