summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-01-22(merge from 3.0)Andrew Bartlett1-0/+2
Fix for debian Bug#225328 by LaMont Jones <lamont@debian.org>, where the failure of our LFS test on ia64 caused the _GNU_SOURCE define not to be added, causeing strndup() not to be defined... This was due to strdup() bein implicitly declared, and casting pointer->int->pointer. I'll into when we really should define _GNU_SOURCE shortly, but the fix is correct anyway. Andrew Bartlett (This used to be commit f1cf5b8aa9897b79dfd00b963bc3803b6ff00dcb)
2004-01-22- move the vars used by the backtrace stuff into the #ifdefStefan Metzmacher1-26/+39
- handle SIBABRT with a backtrace metze (This used to be commit e9f584143d5bbcbbdaaac2c231efd85c7bd5a922)
2004-01-22fix last commit, which went in by mistakeStefan Metzmacher1-2/+0
('cvs ci filename' should be my friend:-) get rid of some more global unconst vars. I didn't find a referenz of this vars: SIG_ATOMIC_T reload_after_sighup = 0; SIG_ATOMIC_T got_sig_term = 0; tridge: is it ok to remove them? it compiles for me metze (This used to be commit b34a3104c63b36cec47acdedef36caaf571eb383)
2004-01-22sorry, the last commit went in by mistake:-(Stefan Metzmacher1-6/+6
- implement the interface_by_name() and interface_by_uuid() hooks for the autogenerated dcerpc server boilerplates. metze (This used to be commit 0b6a291eb4b353259ad5b72f8731a5504d9dc8c7)
2004-01-22initilize ev->maxfd = EVENT_INVALID_MAXFD; before the while() loop.Stefan Metzmacher3-2/+14
metze (This used to be commit 61ec710518469876ccc48d57b5fee5d6ead3d482)
2004-01-22- make the recalculation of ev->maxfd a bit more efficient.Stefan Metzmacher1-35/+50
- fix the case when we have no fd_events left on the event_context we now exit after doing the timed events and not block in select() waiting for no fd's to become ready... metze (This used to be commit 857e76ef6b891c199534db6ce229410340286461)
2004-01-22make dcerpc_pipes[] completely const.Stefan Metzmacher1-2/+2
so it now apears in the text section of 'size librpc/gen_ndr/tables.o' metze (This used to be commit f3b917402aeb9d749abf2df34413e61b71fd5fff)
2004-01-22added a little bit of const magic to get rid of the data in librpc/gen_ndr/*.oAndrew Tridgell2-2/+2
(This used to be commit 866ef2edab91996964c8b43dbdd417f5908a00e1)
2004-01-21let the event_add_XXX() function return a pointer of the allocated event ↵Stefan Metzmacher1-12/+12
structure and NULL on allacation error. metze (This used to be commit fffc6cfb6b9946155d209dd14faa79c5b9d43d1d)
2004-01-21cope with a wider range of broken servers in the RAW-QFILEINFO testAndrew Tridgell1-8/+10
(This used to be commit eb6fc29caf5be8446c31668748a5cce387c71627)
2004-01-20check for the correct fault code when the server fails a use of aAndrew Tridgell1-3/+9
incorrect policy handle (This used to be commit 8cd6e90eb8716ba43f5940245d7be580aab4ba83)
2004-01-20added code to the RPC-SPOOLSS test that demonstrates that policyAndrew Tridgell5-3/+102
handles are not shared between open dcerpc connections, even when those connections are on the same SMB socket. I have tested this with w2k3, w2k and NT4. It seems that policy handles have a strict scope of the dcerpc connection on which they were opened. I realise that this goes against existing folk-law in the team, but it seems that the previous testing (I'm not sure who did this?) was wrong. Perhaps clients do send us policy handles from other connections, but if they do then the correct thing to do is to fail the operation with a dcerpc fault. I suspect that failing it with exactly the right dcerpc fault code is important. (This used to be commit 2ed24d29bafd9055d5782acdd595cd0f378a651a)
2004-01-20dcerpc server output now copes with the client blocking part wayAndrew Tridgell3-24/+64
through a read. This happens to also avoid a memcpy on output for dcerpc over tcp. (This used to be commit e7c53ad1856e299d82d84b5837189ae3191c32de)
2004-01-20avoid a copy of the data being input to the dcerpc server in the mostAndrew Tridgell1-4/+29
common case of there being no pending partial data and a full dcerpc packet being received. We should use this same model for the smb server. It gives us efficient memory usage while allowing for completely async socket operations. (This used to be commit 9aab321fb6e2f3499efd8ca5bc88ce2cb8e68219)
2004-01-19add make [un]installtortureStefan Metzmacher1-3/+9
and let this be called by make [un]install we can later change this and the make all to not do the torture stuff, but for know only developers will use samba4... metze (This used to be commit cb5f1e581fcb9eaf36926c3f341b0ab784031282)
2004-01-19remove all unused stuff from Makefile.inStefan Metzmacher4-646/+75
and some stuff from configure.in and dynconfig.[ch] make all makes bin/gentest bin/masktest bin/smbd bin/locktest bin/smbclient bin/smbtorture bin/ndrdump now metze (This used to be commit e0043693a66a319ab7fef0e4202239c0b5d4bff8)
2004-01-19Add test to set single fields in fields_present with info21.Simo Sorce1-37/+53
(This used to be commit 2372321eedb6d446c1555ed318bd98743cabaaa0)
2004-01-17make sure we initialise r.out.handle in openeventlogAndrew Tridgell1-0/+1
(This used to be commit 6319166420ba7cd7bb3a69d88510d8e6216c7c89)
2004-01-15* fixed a segv when -U is not used in smbtorture.Andrew Tridgell2-6/+18
* fixed the handling of anonymous logins (This used to be commit 7cbc4ad8710ad33387145bfc9974d0ed4b0fb231)
2004-01-13a script which find unused or undefined vars in Makefile or Makefile.inStefan Metzmacher1-0/+45
call it like: script/find_unused_makefilevars.pl Makefile or script/find_unused_makefilevars.pl Makefile.in metze (This used to be commit ebecb6d05b97dc5bac8d9e48f8fad75dfbb44a74)
2004-01-13Add script for finding unused function checks in configure.inJelmer Vernooij1-0/+37
(This used to be commit 7c6a261871d2b44fe6eccfda7cb4f3c558dbf5e3)
2004-01-11Fix --with-fhs for swatdirJelmer Vernooij1-0/+1
(This used to be commit 5c8abbcbe520d8dc5de6df304f5a64048977b340)
2004-01-11added dom_sid_string() functionAndrew Tridgell1-7/+15
(This used to be commit 399f95536bf64890284a51e4a2bbb7a15c91c3be)
2004-01-09Update Copyright to 1992-2004Stefan Metzmacher1-1/+1
Jerry should I change this in 3_0 and HEAD as well? metze (This used to be commit 664f1e30f816ef64f85b5df841592675a6fe06f2)
2004-01-09fixed the rpc epmapper server. This fixes rpc over tcp.Andrew Tridgell1-1/+18
(This used to be commit 6ac547fa5fe4b1926bafc46e500b51486c7d500d)
2004-01-08This patch adds a better dcerpc server infastructure.Stefan Metzmacher24-408/+970
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 :-) (This used to be commit 917e45dafd5be4c2cd90ff425b8d6f8403122349)
2004-01-08remove a useless assignmentStefan Metzmacher1-1/+1
metze (This used to be commit 189ef6e73d04c3c02309b51a5b73e322abb82cdb)
2004-01-02Add note about new configure structure.Jelmer Vernooij1-1/+3
(This used to be commit 43130f370b84828fce3eb5501464eb2c47138acc)
2004-01-02Autodetect service_type in cli_tree_full_connection() if the callerTim Potter1-0/+6
passes in NULL. (This used to be commit b63ebaa770940a276ab63583a13d8cc349b6efe6)
2003-12-31the endpoint mapper now works in bigendian modeAndrew Tridgell4-9/+16
(This used to be commit 1f89d89954a3501e08efa97d1276ba9bb2d2305f)
2003-12-30"subsystems" should be staticAndrew Tridgell1-1/+1
(This used to be commit 64cf9b3fd3ad971973f6f1d73b924af225252837)
2003-12-22remove some unused filesAndrew Tridgell9-4386/+0
(This used to be commit a6f43de7f832fd1a9da8ccaadd293a4aa4647e6c)
2003-12-21minor updates to make the srvsvc test compileAndrew Tridgell1-5/+5
(This used to be commit 564e505e925d67be00ca2cbe21b2b9b33a1ac0c7)
2003-12-21wkssvc test updates from metzeAndrew Tridgell1-15/+21
(This used to be commit 9d3e06f0e312c5585701aa385132f23dfb2917eb)
2003-12-20latest srvsvc and wkssvc IDL from metzeAndrew Tridgell2-122/+744
(This used to be commit 59557a557df6e61af4f01534489691416398fb26)
2003-12-20tim, I'm guessing you really didn't want to add this :)Andrew Tridgell1-2/+1
(This used to be commit a65edfbcd7aa495e91073a076ea131a64e6ed5aa)
2003-12-20Remove Makefile targets for old python extensions.Tim Potter1-27/+17
(This used to be commit 9355538a9249012d1685967a87e5a6cb795e5c2c)
2003-12-19addition of samr_SetSecurity() from kaiAndrew Tridgell4-5/+29
we needed to adjust the alignment of [relative] buffers for this to work. I wonder if they are always 4 byte aligned? (This used to be commit 9cd0a0b8b976e62c6da71b7e55cba5b38483620d)
2003-12-19fixed removal of moe than one ncacn_* option from option listAndrew Tridgell1-0/+1
(This used to be commit 09a9b25c8d916c0467a124d959d5cd911b782dfa)
2003-12-19fixed the AddAliasMem test codeAndrew Tridgell2-13/+44
(This used to be commit abe7ffcece5fcb75b0cf5633dd5871fa3e3c1723)
2003-12-19added a bunch of alias functions in samr.idl based on work by Kai.Andrew Tridgell4-47/+396
(This used to be commit f740b02ac36780740700909da2bcdf672cb146cb)
2003-12-19added code to the IDL validator to check for common errors withAndrew Tridgell2-3/+51
pointers are arrays (This used to be commit e67cbfff6c1041671711e4f73894e6e13151d57e)
2003-12-17fixed a segv in RPC-* when debug level > 2Andrew Tridgell1-1/+1
thanks to Kai for spotting this! (This used to be commit 0fc42c33d3b0930fdf1dc71a407f4fcaac69d82d)
2003-12-17Fix typo.Tim Potter1-1/+1
(This used to be commit 3f1b781c5659361d7e9cc3ab2072e1462d40df55)
2003-12-17fixed a bug in the acct_flags checking on CreateUser2 in the RPC-SAMR testAndrew Tridgell1-5/+5
(This used to be commit 2c9a999c5421a07ae3059595f70d5533f2040a03)
2003-12-17Delete old python bindings.Tim Potter44-9239/+0
(This used to be commit d7b680899fedb0b6f8169845791d7284e8d203ba)
2003-12-17added a smb.conf flag "rpc big endian" that tells our rpc server toAndrew Tridgell5-49/+65
send packets in bigendian format. (This used to be commit 44df662960e662a55a9f27627f838771503a7a59)
2003-12-16removed some unused functionsAndrew Tridgell1-87/+0
(This used to be commit 09d17d705a6e378a7c1a40b29d2e091200b6d757)
2003-12-16fixed formatting of uuids in debug outputAndrew Tridgell1-1/+1
(This used to be commit 7895796ef8a0dfe5de1404e630b2489fdec39a56)
2003-12-16added a define for the DCERPC little-endian data representation flagAndrew Tridgell2-8/+11
(This used to be commit 691f9c1c4448fb54846fcfffeca43601bcd44138)