Andrew Tridgell
926240428c
* patch based on work by Jim Myers to unify the ioctl handling to be
...
more like the other major SMB functions
* added SMBntrename code
(This used to be commit f2d3dc9893
)
2003-12-04 02:03:06 +00:00
Andrew Tridgell
d65f0095c9
added netr_DatabaseSync(). It doesn't work as I haven't done schannel
...
yet, but at least the request is understood by w2k3
Also modified pidl to allow multiple branches in a union to have the
same element. This is used in netlogon.
(This used to be commit 983c0e9683
)
2003-12-02 03:06:21 +00:00
Andrew Tridgell
2e70035f87
another big improvement in the credentials API. I think it now
...
actually makes sense, and as a nice side effect it matches the debug
output of the w2k3 netlogon.log
(This used to be commit 3c7287c24e
)
2003-12-02 02:15:33 +00:00
Andrew Tridgell
06ae424835
* netr_ServerPasswordSet() now works - the test suite changes the
...
machine account password.
* neater handling on value() options in IDL. The auto-print code
will now display the right value so you don't need to initialise
it in your C code
(This used to be commit 3dd978b12b
)
2003-12-02 00:31:54 +00:00
Andrew Tridgell
8b30b0071c
* another small API change in the credentials code
...
* don't use static variables in the smbdes code
(This used to be commit e6e0906464
)
2003-12-01 22:13:11 +00:00
Andrew Tridgell
f9e2a8af39
neater credentials handling in netlogon client code
...
(This used to be commit b7d748f499
)
2003-12-01 12:41:54 +00:00
Andrew Tridgell
232d6480a7
fixed NTLMSSP_SIGN_VERSION (which I broke earlier today)
...
(This used to be commit c8ef040774
)
2003-12-01 10:07:24 +00:00
Andrew Tridgell
a6cf6cada9
added netr_LogonSamLogon() and test code
...
(This used to be commit 4fa3ad3ecb
)
2003-12-01 09:28:10 +00:00
Andrew Tridgell
b4b0177fdb
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
(This used to be commit 8c7a9446a0
)
2003-12-01 04:13:43 +00:00
Andrew Tridgell
7602aa50fd
* got rid of UNISTR2 and everything that depends on it
...
* removed a bunch of code that needs to be rewritten using the new
interfaces
(This used to be commit 9b02b486ef
)
2003-12-01 00:17:30 +00:00
Andrew Tridgell
3e0501082c
fixed default port handling pointed out by Tom Jansen
...
(This used to be commit 8246e6ca0b
)
2003-11-26 21:57:29 +00:00
Andrew Tridgell
c123c84541
fixed some memory leaks in the dcerpc use of ntlmssp signing
...
(This used to be commit abbc9993b8
)
2003-11-26 02:08:41 +00:00
Andrew Tridgell
e0ac659917
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
(This used to be commit c18c9b5585
)
2003-11-26 01:16:41 +00:00
Andrew Tridgell
d47d14f2ff
reduced the number of magic types we need in mkproto.pl
...
In general I prefer "struct foo" to just "foo" for most
structures. There are exceptions.
(This used to be commit 04eb12b56c
)
2003-11-23 01:53:54 +00:00
Andrew Tridgell
940ce958a6
make the socket send code a little clearer
...
(This used to be commit 48028fbb85
)
2003-11-20 00:36:10 +00:00
Andrew Tridgell
e1e98ab049
updated copyright year
...
(This used to be commit 4dcc06d04c
)
2003-11-19 23:17:55 +00:00
Andrew Tridgell
d285c6f14f
* add another WERR err code
...
* use the top-level function argument printing to show more detail in
RPC-* tests
(This used to be commit 33bb878562
)
2003-11-17 11:55:56 +00:00
Andrew Tridgell
59df3ce5b5
security descriptors are no longer a "special" type, they are handled
...
using the [relative] property
this also fixes level3 of PrinterInfo (a relative secdesc)
(This used to be commit d5a15257fd
)
2003-11-17 06:27:45 +00:00
Andrew Tridgell
bf48b6e69a
added OpenPrinter and a test function. Note that the Samba3 structure
...
for OpenPrinter was wrong.
(This used to be commit 186ddbbf87
)
2003-11-17 03:38:13 +00:00
Andrew Tridgell
7d212460a5
- corrected some lsa idl
...
- updated lsa parse code from pidl
(This used to be commit 3983b2aee7
)
2003-11-08 11:21:57 +00:00
Andrew Tridgell
4fa0f615f2
another major bit of restructuring of rpc in Samba4. Mostly moving
...
files around, but also added the first bits of auto-generated code for
the lsa pipe.
I haven't updated the Makefile to call pidl yet, so for now the code
was cut-and-pasted into librpc/ndr/ndr_lsa.c manually
(This used to be commit 6b222d3b65
)
2003-11-06 12:34:04 +00:00
Andrew Tridgell
eeffb71c72
finished off the ndr_sec.c module
...
(This used to be commit 6a8f297c45
)
2003-11-05 00:49:42 +00:00
Andrew Tridgell
18d7a41ace
fixed another error found by valgrind
...
(This used to be commit 4368eaa523
)
2003-11-04 23:12:44 +00:00
Andrew Tridgell
c1b3ebb1fa
fixed some error found by valgrind
...
(This used to be commit ca5f0ccb6c
)
2003-11-04 22:42:00 +00:00
Andrew Tridgell
41304b3c57
lsa_EnumSids() now works
...
(This used to be commit 25a8692fed
)
2003-11-04 11:16:07 +00:00
Andrew Tridgell
485f930088
lsa_OpenPolicy2 now works
...
(This used to be commit 9cf479873f
)
2003-11-04 09:48:33 +00:00
Andrew Tridgell
46046aa69b
yipee! we can now do lsaOpenPolicy() via the new interfaces, without
...
using any of the old lsa code
(This used to be commit f5bd301ff7
)
2003-11-04 09:10:31 +00:00
Andrew Tridgell
d8cbe76b86
added support for fragmented sends
...
(This used to be commit f51a216136
)
2003-11-04 03:38:46 +00:00
Andrew Tridgell
994301bfec
added fragmentation support on receive for dcerpc packets. I have
...
successfully used SourceData with 200M of data in rpcecho
(This used to be commit a9aa7954fe
)
2003-11-04 02:28:08 +00:00
Andrew Tridgell
0a427a43c4
added SinkData and SourceData tests for rpcecho
...
(This used to be commit 7c356350e6
)
2003-11-03 10:01:20 +00:00
Andrew Tridgell
399fff106d
added rpcecho EchoData test
...
(This used to be commit 9c7e4db471
)
2003-11-03 09:18:38 +00:00
Andrew Tridgell
87ef172531
actually use the passed parameters!
...
(This used to be commit 717803848a
)
2003-11-03 08:39:37 +00:00
Andrew Tridgell
dfc43cdf14
added a helper function to make building rpc functions a bit easier
...
(This used to be commit a8feb80438
)
2003-11-03 08:37:48 +00:00
Andrew Tridgell
dc2ffe07a8
started adding RPC-ECHO torture cases
...
(This used to be commit 8cff335dab
)
2003-11-03 07:26:30 +00:00
Andrew Tridgell
d064846d5f
we only want the per-call stub data
...
(This used to be commit 95fa15cdcf
)
2003-11-03 06:30:33 +00:00
Andrew Tridgell
c5cf474439
a major revamp of the low level dcerpc code in samba4, We can now do a
...
successful LSA OpenPolicy using smbtorture
(This used to be commit e925c315f5
)
2003-11-03 06:22:45 +00:00
Andrew Tridgell
7fd381376f
- a few portability fixes from Jim Myers
...
- added SMBD_LISTEN_BACKLOG in local.h
- added the beginnings of a ndr/rpc parsing framework for Samba4. It
currently correctly parses security descriptors for the nttrans
QUERY_SECDESC call, but I hope it will become a reasonable framework
that an idl based generator can work to
(This used to be commit 9bf904fc34
)
2003-10-30 08:32:26 +00:00
Tim Potter
4cac564d71
A fix for making transfer syntax a pointer instead of an array of pointers
...
in struct p_ctx_list.
(This used to be commit e99e28aa36
)
2003-10-28 10:59:19 +00:00
Tim Potter
8d87d7ede5
Cli level code for initial dcerpc client support.
...
(This used to be commit 94686a3f94
)
2003-10-28 10:25:12 +00:00
Tim Potter
476adf5725
Initial version of raw dcerpc client support.
...
(This used to be commit 34a2cc1099
)
2003-10-28 10:24:13 +00:00
Tim Potter
931dc55390
Implement raw SMBtrans by backending the SMBtrans2 send code. Receive is
...
the same for trans and trans2.
(This used to be commit 7d21af3fdf
)
2003-10-28 10:17:05 +00:00
Andrew Tridgell
4e73a3c0fe
fixed snprintf.c for systems that have only some of the *printf() family of functions
...
cope with servers that return bogus (too large) values in max_xmit
cope with a couple more error conditions in RAW-SFILEINFO
better startup time heuristics in NBENCH
(This used to be commit 89f7261ba5
)
2003-10-10 05:40:32 +00:00
Andrew Tridgell
0becf4d683
thanks to ntfsd and some google searches I worked out what the unknown
...
fields in level 261 and level 262 of directory search are, plus the
names of the levels
the unknown fields are a 64bit unique file id, and match the 64 bit
number from the internal_information qfileinfo level
(This used to be commit b69f54eb02
)
2003-09-02 04:37:33 +00:00
Andrew Tridgell
11c5869a45
I think I've finally got the ascii/unicode issues right in trans2 find
...
first
Also expanded the rename test a little
(This used to be commit 723af7f097
)
2003-08-31 03:16:52 +00:00
Herb Lewis
4809559c64
don't leak memory if cli->tree is NULL
...
(This used to be commit b034c4b86e
)
2003-08-15 23:57:05 +00:00
Herb Lewis
a59229614e
don't dereference null pointer
...
(This used to be commit ba5d1cde98
)
2003-08-15 21:37:42 +00:00
Andrew Tridgell
de10237719
more fixes from the IRIX compiler (thanks herb!)
...
(This used to be commit 02d068ba7d
)
2003-08-15 18:54:44 +00:00
Andrew Tridgell
8e4ab747b0
more fixes from the IRIX compiler (thanks herb!)
...
(This used to be commit 4cf3839b72
)
2003-08-15 18:33:43 +00:00
Herb Lewis
efacfb37fc
wrong typecast
...
(This used to be commit de7674ebef
)
2003-08-15 17:50:16 +00:00
Andrew Tridgell
cc38992e3f
fixed some places where we don't brace (flags & STR_UNICODE)
...
this fixes the samba4 server with ascii clients
(This used to be commit c770603ac6
)
2003-08-15 16:19:48 +00:00