summaryrefslogtreecommitdiff
path: root/source4/include
AgeCommit message (Collapse)AuthorFilesLines
2003-12-16added support for big-endian ucs2 strings (as used by big-endianAndrew Tridgell1-2/+2
msrpc). this was easier than I expected! (This used to be commit a0a51af6b746b1f82faaa49d33c17fea9d708fb0)
2003-12-16a fairly large commit!Andrew Tridgell4-9/+6
This adds support for bigendian rpc in the client. I have installed SUN pcnetlink locally and am using it to test the samba4 rpc code. This allows us to easily find places where we have stuffed up the types (such as 2 uint16 versus a uint32), as testing both big-endian and little-endian easily shows which is correct. I have now used this to fix several bugs like that in the samba4 IDL. In order to make this work I also had to redefine a GUID as a true structure, not a blob. From the pcnetlink wire it is clear that it is indeed defined as a structure (the byte order changes). This required changing lots of Samba code to use a GUID as a structure. I also had to fix the if_version code in dcerpc syntax IDs, as it turns out they are a single uint32 not two uint16s. The big-endian support is a bit ugly at the moment, and breaks the layering in some places. More work is needed, especially on the server side. (This used to be commit bb1af644a5a7b188290ce36232f255da0e5d66d2)
2003-12-16more mutex portability.Andrew Tridgell1-5/+5
(This used to be commit 42dd8d888a1d4c09aebb199e8636f49df6d2e36a)
2003-12-16more portability fixes. We now almost compile on solarisAndrew Tridgell1-6/+6
(This used to be commit f4abd20b8437703211676fb12ea23af8f0e4642a)
2003-12-16use smb_rwlock_t instead of rwlock_t to avoid conflicts with systemAndrew Tridgell1-6/+6
types on some platforms (eg. solaris) (This used to be commit ac8a23af8c67d2e39bb6cfd409c50f1f429cf271)
2003-12-16make sure we have a value for DEFAULT_PRINTING on all platformsAndrew Tridgell1-2/+0
(This used to be commit d0bef33ffa21ce5caaf8e052cbbd2bb32db40b0c)
2003-12-14ntlmssp over rpc over tcp now fully worksAndrew Tridgell1-1/+4
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 :) (This used to be commit 6ee0935afe9444bf9bb24eed4e02e8377dc746b7)
2003-12-13completed the linkage between the endpoint mapper and the dcerpcAndrew Tridgell2-0/+7
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. (This used to be commit 593bc29bbe0e46d356d001160e8a3332a88f2fa8)
2003-12-13dcerpc over tcp in the samba4 server now works to some extent. ItAndrew Tridgell1-0/+3
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-13added a basic dcerpc endpoint mapper to Samba4. Currently onlyAndrew Tridgell1-0/+5
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-12 * the RPC-ECHO pipe now works in smbd, as long as the data sizesAndrew Tridgell6-42/+49
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 Tridgell1-1/+4
IPC IO routines and the dcerpc endpoint servers. (This used to be commit 4929c53bc8dddda8a763fdfbcf81a79776d01113)
2003-12-10the rest of the initial rpc server side infrastructureAndrew Tridgell3-51/+3
(This used to be commit 5fb01b0ec0321724c25669151ea7c20e6ec182d0)
2003-12-10 * removed some unused codeAndrew Tridgell2-57/+2
* 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-04* added a debug thread id hook from jim myersAndrew Tridgell1-0/+3
* 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 Tridgell2-21/+54
more like the other major SMB functions * added SMBntrename code (This used to be commit f2d3dc9893fa0e089c407fa16ce9ff13587e70cd)
2003-12-04some OSes already have a uint_tAndrew Tridgell1-7/+0
(This used to be commit d7b6aa1e2ec1dc475e1bd5dce1c537720bc65eac)
2003-12-02make sure we can expand the critical versions structure withoutAndrew Tridgell1-0/+1
causing crashes in old modules. Thanks to metze for pointing this out! (This used to be commit 2ee5540629e7922cd76d87ed53b70bf37b83e100)
2003-12-02initial netlogon database sync partly works - needs some IDL tweaksAndrew Tridgell2-73/+0
(This used to be commit 75ea276c147e2b4b0617eb0b77276d5fb5da2043)
2003-12-01removed more old codeAndrew Tridgell8-977/+0
(This used to be commit fbccf58539827ef368f8a0be122e45edcd0f070e)
2003-12-01got rid of more group mapping codeAndrew Tridgell1-40/+0
(This used to be commit 2955ce55ee3bd9a8702a446db3ace20c703c451f)
2003-12-01 * got rid of UNISTR2 and everything that depends on itAndrew Tridgell6-2069/+0
* removed a bunch of code that needs to be rewritten using the new interfaces (This used to be commit 9b02b486ef5906516f8cad79dbff5e3dd54cde66)
2003-11-30more unused headersAndrew Tridgell6-1784/+0
(This used to be commit 39b726d068dbd31efeb2c0dd8584425d1996f991)
2003-11-30got rid of a bunch of unused header files (now replaced with IDLAndrew Tridgell11-6493/+0
generated headers) (This used to be commit 7f2ac326f9d6019ca72f3b70ad1cdbeff6c2c9a5)
2003-11-26signed DCERPC over TCP now works !Andrew Tridgell2-134/+1
* 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 c18c9b5585a3e5f7868562820c14f7cb529cdbcd)
2003-11-25CVS: ----------------------------------------------------------------------Jelmer Vernooij4-4/+35
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 (This used to be commit 7512b9ab1a8b3103f7a6c13f736353c46a26b668)
2003-11-23get rid of some more unused headersAndrew Tridgell1-28/+0
(This used to be commit 48276c768bc58aa531771e0172a7480ec94d3254)
2003-11-23reduced the number of magic types we need in mkproto.plAndrew Tridgell2-3/+3
In general I prefer "struct foo" to just "foo" for most structures. There are exceptions. (This used to be commit 04eb12b56c653f98801ab29411f47564ab32fa58)
2003-11-17 * add another WERR err codeAndrew Tridgell1-0/+1
* use the top-level function argument printing to show more detail in RPC-* tests (This used to be commit 33bb8785625b1845750f28f2d810e7096afe9f8e)
2003-11-17added OpenPrinter and a test function. Note that the Samba3 structureAndrew Tridgell1-0/+4
for OpenPrinter was wrong. (This used to be commit 186ddbbf8774d0960852ea9186c8e4e6f7be7a0f)
2003-11-11added 9 more info levels to lsa_QueryInfoPolicyAndrew Tridgell1-1/+9
(This used to be commit b2ced24fc0be4944dd96f160e435f4c6773debcd)
2003-11-06another major bit of restructuring of rpc in Samba4. Mostly movingAndrew Tridgell1-2/+2
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 6b222d3b6541ee74cf8bf3f0913cd444903ca991)
2003-11-03started adding RPC-ECHO torture casesAndrew Tridgell1-1/+0
(This used to be commit 8cff335dab438aa2dbcca91a717e14ef5a8288dd)
2003-11-03a major revamp of the low level dcerpc code in samba4, We can now do aAndrew Tridgell4-97/+4
successful LSA OpenPolicy using smbtorture (This used to be commit e925c315f55905060fcca1b188ae1f7e40baf514)
2003-10-30- a few portability fixes from Jim MyersAndrew Tridgell3-3/+11
- 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 9bf904fc34f88e0581f93656e73d3c01ca96f761)
2003-10-28Add data structures for initial dcerpc support.Tim Potter2-0/+94
(This used to be commit 35ee9fdeababea8fd00f69d7d8f9d55eef57994c)
2003-10-28Implement raw SMBtrans by backending the SMBtrans2 send code. Receive isTim Potter1-1/+2
the same for trans and trans2. (This used to be commit 7d21af3fdf6cf5144a41021425179ca2bba553b3)
2003-09-29Remove obsolete fileJelmer Vernooij2-240/+0
(This used to be commit ac05e976f20796202deb1731f9488d5a52e2b25f)
2003-09-02thanks to ntfsd and some google searches I worked out what the unknownAndrew Tridgell2-16/+12
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 b69f54eb028a24144a2e813f059b08644118ab09)
2003-08-31I think I've finally got the ascii/unicode issues right in trans2 findAndrew Tridgell2-4/+5
first Also expanded the rename test a little (This used to be commit 723af7f097a8c7f23dac23039e479811559ac3cb)
2003-08-15fixed an enumerated type error found on irixAndrew Tridgell1-1/+1
(This used to be commit 19acf60fceda04482047cfff24ee728bb66f3971)
2003-08-15IRIX already defines uint_tHerb Lewis1-0/+2
(This used to be commit a019e54a46539a9f76fc782fd5eb826c32afb318)
2003-08-15signed bitfields cannot be 1 bit longHerb Lewis1-7/+7
(This used to be commit 5fce80e7575e6c4d5df46d02d9505f56a93511c4)
2003-08-15rename mutex_t to smb_mutex_t to prevent name collisionHerb Lewis1-5/+5
(This used to be commit d32f14959277a5b7d1302638b65ff1fc568f08a9)
2003-08-14client/client.c - cannot initialize struct with non-const valuesHerb Lewis2-4/+1
include/byteorder.h - fix for IRIX compiler - cannot cast an LVALUE include/smb_interfaces.h - remove empty structure source/lib/debug.c - void functions cannot return value libcli/clifile.c - cannot assign *struct to struct (This used to be commit 9a724762012f55d21d44ea87add7daf21f7414d1)
2003-08-14added the ancient SMBcreate operation to the testsuite and client libAndrew Tridgell1-2/+3
(This used to be commit 3eef35e581b5e1802711b9b5297f61800a7e242e)
2003-08-13- added a raw smb scannerAndrew Tridgell1-1/+1
- its not a root_fid in ntrename (This used to be commit 74be55efdc77d4ba7e70d0554cbd72472522abff)
2003-08-13process_model.h is not used at all - hangover from earlier designAndrew Tridgell2-52/+0
(This used to be commit 6b49bc41d4e38bf9a5b02f6cb8d8af1db9ac020a)
2003-08-13- added SMBntrename test suiteAndrew Tridgell3-6/+37
- allow username of form DOMAIN\username or DOMAIN/username - added ntrename to gentest (This used to be commit 2b464472c17b791eb5b117f89d5aaea2bf60f6ad)
2003-08-13add support for 32 bit pid using the PIDHIGH field. This allows theAndrew Tridgell1-1/+1
test suite to see if it is supported. w2k3 doesn't seem to support it. (This used to be commit c946be06a49e9a187045f2372ef7c1b987eaf6e5)