summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2003-12-13make the IO in the dcerpc over TCP server completely async, handlingAndrew Tridgell3-3/+61
partial packets on both input and output (This used to be commit 4f46606af880f6dd86c20b8dc5799102a8e80cc9)
2003-12-13dcerpc over tcp in the samba4 server now works to some extent. ItAndrew Tridgell15-91/+496
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 (This used to be commit 9fb0f0369356909c99389e2cbc525be27c08793c)
2003-12-13rpcdump.exe now works fine against a Samba4 serverAndrew Tridgell5-13/+68
for some reason the epm_Lookup replies can't be parsed by ethereal, although w2k parses then fine as does the Samba4 NDR code. (This used to be commit 097e7ca99d947932df5674c36e628ca6b8f31d3a)
2003-12-13added the epm_Map() call.Andrew Tridgell4-68/+170
the RPC-EPMAPPER torture test now passes (This used to be commit fbdcf9ef548aefb1233cbb22a60bff3eacba996f)
2003-12-13added a basic dcerpc endpoint mapper to Samba4. Currently onlyAndrew Tridgell14-39/+562
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 (This used to be commit 3f85f9b782dc17417baf1ca557fcae22f5b6a83a)
2003-12-12after chatting with jeremy I decided to use a separate directory forAndrew Tridgell2-1/+1
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. (This used to be commit 30a996b68222de72dd7959a09ff884f266f2fc9a)
2003-12-12Small cleanup of test code. Rename enum indexes to be the same nameTim Potter2-114/+88
for EnumKey and EnumValue. (This used to be commit 817a2fe2e5824e6bb9547697d27c66c0c8356181)
2003-12-12Got winreg_EnumValue working - what a mess!Tim Potter2-20/+86
(This used to be commit cc494086e796c0090a92ac36012727c67e3587d1)
2003-12-12Added routines for arrays of uint16s.Tim Potter1-0/+33
(This used to be commit 370512f6644507ed0457de71ab5a50207e00e750)
2003-12-12added support for sending bind_nak replies in the rpc serverAndrew Tridgell2-17/+79
(This used to be commit 6e7c50bcd9929b6b1400b3155f55e6c9a4a730b3)
2003-12-12added the echo pipe test callsAndrew Tridgell1-2/+45
(This used to be commit 8ad47eff4971e86763f9bd8f298e07d3de7e1089)
2003-12-12we now support pdu fragmentation on both input and output in the rpcAndrew Tridgell2-41/+103
server code (This used to be commit 4dac9517188f2dba06df481071063543ede89495)
2003-12-12added handling of fragmented requests in the rpc serverAndrew Tridgell2-8/+67
now we just need to handle fragmented replies .... (This used to be commit 14005c95d7c6c68f7da0f1ad7b7d7952a04a125b)
2003-12-12handle the auto-allocation of [ref] output arrays in pidl. ThisAndrew Tridgell2-11/+9
can simplify rpc servers a lot. (This used to be commit 28fa62d63d020052a0d2f467f3f9cc6344aaf0ce)
2003-12-12 * the RPC-ECHO pipe now works in smbd, as long as the data sizesAndrew Tridgell21-68/+485
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 (This used to be commit 46e0a358198eeb9af1907ee2a29025d3ab23b6d1)
2003-12-11the next step in the dcerpc server code. Added the link between theAndrew Tridgell9-33/+232
IPC IO routines and the dcerpc endpoint servers. (This used to be commit 4929c53bc8dddda8a763fdfbcf81a79776d01113)
2003-12-10more portable array of endpoints code from pidlAndrew Tridgell2-5/+8
(This used to be commit c598590a117d4281c530cded4bf9dae16ac1ee76)
2003-12-10the rest of the initial rpc server side infrastructureAndrew Tridgell7-80/+195
(This used to be commit 5fb01b0ec0321724c25669151ea7c20e6ec182d0)
2003-12-10initial rpc server side infrastructureAndrew Tridgell3-0/+280
(This used to be commit 3706af7a6cb2090e0baeff5ee54bf49ebda2cce1)
2003-12-10 * removed some unused codeAndrew Tridgell20-911/+552
* updated tdb to latest version from Samba3 * removed some extraneous ';' in tdbutil.c (Thanks to Erlend Aasland for pointing this out) (This used to be commit f3eaf270e57d8d2e2157a6a36e260860c7f71c19)
2003-12-08remove the tdbsam code for now. I have other plans for SAM backends :)Andrew Tridgell1-10/+2
(This used to be commit bbd35e7c31310f012bf328329ad11d4ed62903bc)
2003-12-08some systems don't have "which" and some systems don't have the "-nt"Andrew Tridgell3-61/+54
flag to test. It's amazing that systems like that are ever sold. (This used to be commit fe91635da87104544946983c7c63d5c584db614a)
2003-12-08fixed shell scripting errorAndrew Tridgell1-1/+1
(This used to be commit b18dce549dd390681e70bc0e290d7ec4e44791c3)
2003-12-08cope with yapp not being installedAndrew Tridgell1-2/+6
(This used to be commit e41d95acc016087d77712d214a52813c00923d4d)
2003-12-08"make proto" now depends on "make idl_test"Andrew Tridgell1-1/+1
this should give the build farm a fighting chance (This used to be commit 9246b4a331d7399e201bdf81e73ab7072ea862e7)
2003-12-08commit idl.pm now, as many build farm machines don't have 'yapp'Andrew Tridgell4-36/+1999
(This used to be commit 2b1300386dc8a3e3e802c8b1dafdbea286cfbb46)
2003-12-08 * reduced the number of grammer conflicts a lot using (arbitrary)Andrew Tridgell3-8/+14
precedence rules * build a standalone parser. When we come to distributing Samba4 we can just include idl.pm and other developers won't need Parse::Yapp installed * avoid the recursive make in most cases in build_idl.sh (This used to be commit be2c2be459d1bed41c113590e70711cb89ad12b9)
2003-12-07don't save the intermediate form to disk unless we need toAndrew Tridgell1-19/+14
(This used to be commit 4e1a5a21a4c8da0d2a23d5ba02168eac1987c260)
2003-12-07a bit more speed and better line matching in errorsAndrew Tridgell1-4/+8
(This used to be commit 788f6c44dbae48e13c9eeaca3bfa3ac7efbbd4e2)
2003-12-07make pidl a little less verboseAndrew Tridgell1-4/+2
(This used to be commit 76f48affe5d1e8fd96d5dc9af2ec1059f3dd741c)
2003-12-07re-wrote pidl to use Parse::Yapp instead of Parse::RecDescent, ThisAndrew Tridgell7-3075/+317
makes pidl about 3x faster, and also gives us much better error reporting and a more standard grammer definition that will be much easier to code in lex/yacc if we want to do so at a later date. (Parse::Yapp uses essentially the same grammer file as lex/yacc) It also means we no longer need Parse::RecDescent, which should make pidl much more portable. (This used to be commit 4bbaffeb44dca99ad8c0245beb1fddbe01557215)
2003-12-04removed an unused fileAndrew Tridgell1-325/+0
(This used to be commit 77c622c3acf8bc950afe23e30770a658d018406c)
2003-12-04merged more updates from Jim MyersAndrew Tridgell7-53/+662
(This used to be commit 03bf30659640d684073f92d64da6e911edb65a73)
2003-12-04* added a debug thread id hook from jim myersAndrew Tridgell3-1/+18
* change to select() from sys_select() in events.c, as sys_select() is not thread safe. We need a new unified signal handling scheme for Samba4, but for now just use select() (This used to be commit 126fcd4a76ac029ee4f662ed41b84c791406c324)
2003-12-04* patch based on work by Jim Myers to unify the ioctl handling to beAndrew Tridgell13-100/+224
more like the other major SMB functions * added SMBntrename code (This used to be commit f2d3dc9893fa0e089c407fa16ce9ff13587e70cd)
2003-12-04don't use c++ commentsAndrew Tridgell2-4/+8
(This used to be commit 3d48fa8f37a510959c8958b5c025c7f19f632c54)
2003-12-04we can't have two functions with the same nameAndrew Tridgell1-1/+1
(This used to be commit 5f1cdc4839a1ba0b18bcd4525847f9c284d181ca)
2003-12-04don't use c++ style commentsAndrew Tridgell1-2/+2
(This used to be commit b11a19cc767e20189710d7d9428168ed74c59d1c)
2003-12-04some OSes already have a uint_tAndrew Tridgell2-7/+1
(This used to be commit d7b6aa1e2ec1dc475e1bd5dce1c537720bc65eac)
2003-12-04my debian unstable box uses "autoconf2.50" - i wish there were aAndrew Tridgell1-2/+2
better way than this! (This used to be commit ad52fd9baf2180a89634eaaa5af22e9bed1de0a7)
2003-12-03Updated some of the function names in the IDL.Tim Potter1-56/+57
(This used to be commit 718ee8bccc2357ffa7ea7cdec1bda6103e0fa24f)
2003-12-03My first stab at Samba4 IDL!Andrew Bartlett2-4/+150
This patch adds the samr_CreateUser2 function, which is create_user in Samba 3.0. This also adds a torture suite that checks for various valid and invalid account flags, and that they are persistant. Also, a patch by Anthony Liguori to fix the build Andrew Bartlett (This used to be commit 53e657b74572ab329d4598a85e6989547c324209)
2003-12-02added netr_LogonControl2Ex()Andrew Tridgell2-16/+100
I also added IDL for netr_DatabaseRedo() but I don't yet know how it works thats the last of the netlogon IDL ! (This used to be commit 387d8f25ff4858943d1389974127d03a58bf4c8f)
2003-12-02added netr_DatabaseSync2()Andrew Tridgell2-10/+65
(This used to be commit 0f6af0c4bde0eb3758192b74dab797b558c944a1)
2003-12-02added netr_LogonControl2() and netr_ServerAuthenticate2()Andrew Tridgell2-27/+173
(This used to be commit cc4123db4baec6a217500dc55113f89e1ea8ef61)
2003-12-02Initial step at cleaning and splitting up configure.in.Jelmer Vernooij10-563/+515
(This used to be commit 369a9c1ac1ff94a1d3f51eac20a39577f9cf2155)
2003-12-02added netr_LogonControl() and netr_GetAnyDCName()Andrew Tridgell2-43/+109
(This used to be commit 17b2be4e859bd7f625214d7e7de9758b5ab5fb90)
2003-12-02Add script useful for finding checks for headers that are never usedJelmer Vernooij1-0/+38
(This used to be commit 0e5fdbc01bba7f1b000587d01a128c3bdbbbe03c)
2003-12-02added netr_GetDcName() - quite a useful callAndrew Tridgell2-10/+36
(This used to be commit 63f46b223e16a3495b4a4a48c6489f1f0d7d84c4)
2003-12-02added netr_AccountSync(), another NT_STATUS_NOT_IMPLEMENTED callAndrew Tridgell2-17/+56
according to w2k3 (This used to be commit b2ca00ebc57774000af2de6132c29db4c6daae28)