1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

391 Commits

Author SHA1 Message Date
Andrew Tridgell
4fa3ad3ecb added netr_LogonSamLogon() and test code -
Andrew Tridgell
8c7a9446a0 added netr_ServerAuthenticate() and test code
I would like the netlogon test suite to eventually do a new domain
join using a fake workstation name, then remove itself afterwards, but
for now I'm assuming we are already joined to the domain when the
testsuite runs. This means you need to use the Samba3 net command to
do a join before running RPC-NETLOGON
-
Andrew Tridgell
bb42107dcc added netr_ServerReqChallenge and cleaned up byte array printing -
Andrew Tridgell
3d64eefb46 started adding netlogon IDL and test suite -
Andrew Tridgell
fbccf58539 removed more old code -
Andrew Tridgell
2955ce55ee got rid of more group mapping code -
Andrew Tridgell
9b02b486ef * got rid of UNISTR2 and everything that depends on it
* removed a bunch of code that needs to be rewritten using the new
    interfaces
-
Andrew Tridgell
829b87f30d * removed a bunch of unused code
* made some functions static
-
Tim Potter
a818439b59 Added EnumPrinterDriver, GetPrinterDriver (still in progress) -
Andrew Tridgell
39b726d068 more unused headers -
Andrew Tridgell
7f2ac326f9 got rid of a bunch of unused header files (now replaced with IDL
generated headers)
-
Tim Potter
e8367f5735 GetPrinterDataEx, SetPrinterDataEx, DeletePrinterDataEx. -
Tim Potter
ea534f82d0 Add SetPrinterData, DeletePrinterData. -
Andrew Tridgell
1c2b8a93c5 fixed some warnings -
Andrew Tridgell
d5afe7c6a8 the beginnings of an automated tool for working out IDL properties of
a pipe. I'm not sure how possible this will be without lots of human
intervention, but its an interesting thing to try.
-
Tim Potter
270c4fe389 Fix bug in EnumPrinterData test.
Implement GetPrinterData RPC.
-
Andrew Tridgell
86ab394806 make sure there is at least one valid interface in an IDL file -
Andrew Tridgell
c8b8480244 * added a bunch of placeholder IDL files
* allow for an interface to list its endpoints in the IDL file, so we
   can automatically make the server listen on the right pipes, and
   can scan pipes more easily (I don't take advantage of this yet,
   just putting the infrastructure in place)
-
Tim Potter
a06cbbbf1f Added EnumJobs, GetJob, SetJob RPCs. -
Andrew Tridgell
a2bdf0be01 * support multiple interfaces in one IDL file in pidl
* make far more generated functions static

 * get rid of gen_rpc, and include the client calls in ndr_*.c

 * added placeholder IDL for a number of intefaces (dcom, wzcsvc, browser etc)
-
Andrew Tridgell
ccd9ddeed6 added auto-generation of the IDL interface tables. This makes two less
places that need to be edited when someone adds a new IDL file.
-
Tim Potter
bdb0dfc370 Implemented SetForm RPC. -
Tim Potter
10b31623fd Add DeleteForm, start cleaning up tests. -
Andrew Tridgell
e3d40e3da6 more epmapper and mgmt magic
protocol 0x1f is interesting - its ncacn_http !
-
Tim Potter
cf8cd44852 Implemented AddForm RPC. The mystery of the useless_ptr has been
solved.  It was a pointer in a union member.

RPC-SPOOLSS tests a bit messy and could do with a cleanup.
-
Andrew Tridgell
f5821b2468 added an rpc scanner. This prints messages like this:
uuid 82273fdc-e32a-18c3-3f78-827929dc23ea  version 0x0000:0x0000  'eventlog'
        24 calls available
        WARNING: local IDL defines 4 calls

when all the WARNINGs are gone then we know we have all the calls :)
-
Andrew Tridgell
953ab587dc use EPMAPPER_PORT constant instead of 135 -
Andrew Tridgell
f9857e5685 a couple of tidyups
* don't try to map the epmapper uuid !

 * some preliminary support for alter context pdus
-
Andrew Tridgell
a81f659e9e switched to WERROR return codes in the management IDL -
Andrew Tridgell
8fe4058711 added -m for 'max protocol' as a standard option -
Andrew Tridgell
8246e6ca0b fixed default port handling pointed out by Tom Jansen -
Andrew Tridgell
215852116c by default sign RPC over TCP but not RPC over SMB. I will add command line control soon -
Tim Potter
822750592c Implemented EnumForms and GetForm. -
Andrew Tridgell
939d832e5e added a link to opengroup PDU definitions -
Andrew Tridgell
448dead14d show an error when the epmapper fails to find an interface -
Tim Potter
0deb9179f0 Add bind nak to dcerpc_payload. -
Andrew Tridgell
bb3bb5dc8d transfer syntax V2 isn't as magic as I thought -
Andrew Tridgell
00e0c14b76 use the IDL defined NDR version number -
Andrew Tridgell
4abf5376b0 added auto-determination of the DCERPC over TCP port number by asking
the servers endpoint mapper
-
Andrew Tridgell
abbc9993b8 fixed some memory leaks in the dcerpc use of ntlmssp signing -
Andrew Tridgell
c18c9b5585 signed DCERPC over TCP now works !
* moved ntlmssp code into libcli/auth/, and updated to latest ntlmssp
   code from samba3 (thanks Andrew! the new interface is great)

 * added signing/ntlmssp support in the dcerpc code

 * added a dcerpc_auth.c module for the various dcerpc auth mechanisms
-
Andrew Tridgell
3492f37b0b added some paranoid checking for enums -
Tim Potter
9274ef60b6 Spoolss functions return WERROR not NTSTATUS.
Start writing idl for forms RPCs.
-
Jelmer Vernooij
7512b9ab1a 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
-
Jelmer Vernooij
3433c4c71f 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
-
Andrew Tridgell
8a82050fd6 * fixed byte order in epmapper parsing
* allow rpc transport to be specified on command line in smbtorture
-
Andrew Tridgell
39add48158 initial implementation of dcerpc over tcp. RPC-EPMAPPER works, now to
add epm_Map calls and support the rest of the pipes
-
Andrew Tridgell
8bce61b8af * prepared the dcerpc subsystem for adding the RPC over TCP transport
* fixed a uninitialised variable bug in pidl (found by valgrind)
-
Andrew Tridgell
0fedafd7a0 removed the STFS specific flags in the Makefile.
Jim, we are going to need to redo the STFS backend as a module, as
otherwise maintaining it outside of the samba.org tree will become too
awkward.
-
Andrew Tridgell
570ad78525 added tests for epm_Map endpointer map calls -