Andrew Tridgell
f50d4b602a
enable rep_inet_ntoa() for non-pthread builds
-
Andrew Tridgell
42dd8d888a
more mutex portability.
-
Andrew Tridgell
b6fdc98402
some compilers can't handle structures with no elements. Generate
...
dummy elements if need be.
-
Andrew Tridgell
f4abd20b84
more portability fixes. We now almost compile on solaris
-
Andrew Tridgell
ac8a23af8c
use smb_rwlock_t instead of rwlock_t to avoid conflicts with system
...
types on some platforms (eg. solaris)
-
Andrew Tridgell
9175293535
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.
-
Andrew Tridgell
d0bef33ffa
make sure we have a value for DEFAULT_PRINTING on all platforms
-
Andrew Tridgell
dbc6f31df8
remove a redundent second check for PAM
-
Andrew Tridgell
003c6c493b
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
-
Andrew Tridgell
c47e88dabf
use the @CPP@ value from configure if possible when determining cpp in
...
pidl
-
Andrew Tridgell
66e648f20f
lets see if "cc -E" keeps more of the build farm happy then "cpp"
...
We'll probably need a configure entry for this
-
Andrew Tridgell
2d57346c2d
lots of shells don't have the -nt test, so use hackish find command
...
instead
-
Andrew Tridgell
68e71d7497
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
-
Andrew Tridgell
a39ee5d003
fixed srvsvc DiskEnum call
...
strangely, the output doesn't seem to contain an info level. Some
programmer stuffed up the IDL :)
-
Andrew Tridgell
56143689ec
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
-
Andrew Tridgell
a1275c1e89
make sure we allow clients to negotiate ntlmssp seal if they want it
-
Andrew Tridgell
a4aa9168c0
make pidl no longer dependent on Data::Dumper, which isn't installed
...
on some systems
-
Andrew Tridgell
e472053bcc
fixed a typo in the m4 file
-
Andrew Tridgell
113e772e37
"make idl" is now incremental and "make idl_full" is a full idl build
-
Andrew Tridgell
5f6b0baa30
a script fix for the build farm
-
Andrew Tridgell
1012c6e3f7
disable pam in samba4 until someone fixes it (hi andrew!)
-
Andrew Tridgell
65d2bda950
don't try and build the libclient stuff in samba4 yet
-
Andrew Tridgell
edc67fffea
more flexible handling of [] in binding strings
-
Andrew Tridgell
4a6822eb5b
added some ncacn_* binding string examples
-
Andrew Tridgell
a73825eb49
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
-
Andrew Tridgell
837d8f73a9
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)
-
Andrew Tridgell
fa45529af7
fixed the handling of zero-length top level arrays in pidl
-
Andrew Tridgell
f21d6351d0
zero length echo is not an error
-
Andrew Tridgell
39a7c660f4
fixed the transfer syntax in the dcerpc bind reply
-
Andrew Tridgell
bd3dcfe582
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
-
Simo Sorce
2afbd1e000
typo
-
Andrew Tridgell
f5df126c25
fixed fragmented signed connections to our rpc server over SMB
-
Simo Sorce
6f33109b10
reduce double explanation of FIXED ARRAYS
-
Andrew Tridgell
6ee0935afe
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 :)
-
Andrew Tridgell
5fed4681ed
fix _ptr_ declaration
-
Andrew Tridgell
2045855601
fixed some memory leaks in the rpc server code
-
Andrew Tridgell
74041b6a0a
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
-
Andrew Tridgell
ebe29305af
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.
-
Andrew Tridgell
593bc29bbe
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.
-
Andrew Tridgell
4f46606af8
make the IO in the dcerpc over TCP server completely async, handling
...
partial packets on both input and output
-
Andrew Tridgell
9fb0f03693
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
-
Andrew Tridgell
097e7ca99d
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.
-
Andrew Tridgell
fbdcf9ef54
added the epm_Map() call.
...
the RPC-EPMAPPER torture test now passes
-
Andrew Tridgell
3f85f9b782
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
-
Andrew Tridgell
30a996b682
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.
-
Tim Potter
817a2fe2e5
Small cleanup of test code. Rename enum indexes to be the same name
...
for EnumKey and EnumValue.
-
Tim Potter
cc494086e7
Got winreg_EnumValue working - what a mess!
-
Tim Potter
370512f664
Added routines for arrays of uint16s.
-
Andrew Tridgell
6e7c50bcd9
added support for sending bind_nak replies in the rpc server
-
Andrew Tridgell
8ad47eff49
added the echo pipe test calls
-