summaryrefslogtreecommitdiff
path: root/source4/include/smb.h
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r1343: formatingStefan Metzmacher1-16/+16
metze (This used to be commit 442905394b5e2f74baa4d83b2f4ba5159f321dd2)
2007-10-10r1250: We no longer use these #definesAndrew Bartlett1-3/+0
Andrew Bartlett (This used to be commit e03195335931194372468bed2d758d4b9f686fe2)
2007-10-10r1065: some header file cleanupsStefan Metzmacher1-315/+0
smb.h should end with only smb protocol specific stuff in it metze (This used to be commit fda8e59f3d057bf849598f96f78f50f62d8514fe)
2007-10-10r1063: userdom_struct dies!Andrew Bartlett1-7/+0
(Cleanup unused header definitions) Andrew Bartlett (This used to be commit 5941873f558c2af6ab5ef64e468acc8fab96ac01)
2007-10-10r1019: Push the auth subsystem away from using typedef, and over to the 'allAndrew Bartlett1-3/+1
goodness and light' struct ;-) Break apart the auth subsystem's return strucutres, into the parts that a netlogon call cares about, and the parts that are for a local session. This is the 'struct session_info' and it will almost completly replace the current information stored on a vuid, but be generic to all login methods (RPC over TCP, for example). Andrew Bartlett (This used to be commit d199697014d9562f9439a30b950fda798c5ef419)
2007-10-10r962: convert 'unsigned' and 'unsigned int' to uint_tStefan Metzmacher1-1/+1
metze (This used to be commit 57151e80eb1090281401930c8fe25b20a8cf3a38)
2007-10-10r960: convert 'unsigned int' to uint_t in the most placesStefan Metzmacher1-2/+2
metze (This used to be commit 18062d2ed9fc9224c43143c10efbf2f6f1f5bbe0)
2007-10-10r943: change samba4 to use 'uint8_t' instead of 'unsigned char'Stefan Metzmacher1-2/+2
metze (This used to be commit b5378803fdcb3b3afe7c2932a38828e83470f61a)
2007-10-10r898: - remove some unused macrosAndrew Tridgell1-63/+0
- remove unused lib/smbpasswd.c - don't set the pkt size twice when doing SMB signing (This used to be commit 69a2942f7987647a32d43c71f41ac1a82a82ccda)
2007-10-10r890: convert samba4 to use [u]int8_t instead of [u]int8Stefan Metzmacher1-1/+1
metze (This used to be commit 2986c5f08c8f0c26a2ea7b6ce20aae025183109f)
2007-10-10r889: convert samba4 to use [u]int16_t instead of [u]int16Stefan Metzmacher1-2/+2
metze (This used to be commit af6f1f8a01bebbecd99bc8c066519e89966e65e3)
2007-10-10r884: convert samba4 to use [u]int32_t instead of [u]int32Stefan Metzmacher1-4/+4
metze (This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)
2007-10-10r867: removed a couple of unused structuresAndrew Tridgell1-20/+0
(This used to be commit a70eb86a3fda6c48389834c442890a73caa155f9)
2007-10-10r838: got rid of rpc_misc.hAndrew Tridgell1-1/+0
(This used to be commit f61d333b2a280434181451ce735a05ad319a2515)
2007-10-10r837: get rid of some more old rpc headers, and the genparser headersAndrew Tridgell1-24/+0
(This used to be commit 3068b766edb17accbf52f82a81734f6d76e9f9bc)
2007-10-10r818: added server side SMB signing to Samba4Andrew Tridgell1-0/+2
(This used to be commit 8e5ddf5e8eb74f667897f90baa2d00f02ca5818b)
2007-10-10r707: Chainsaw work - SAM_ACCOUNT can die, along with passdbAndrew Bartlett1-116/+0
Andrew Bartlett (This used to be commit bd0e6c9983779e134d206ca939d221dab99521b6)
2007-10-10r685: The SAM is dead! Long live the new SAM! ;-)Andrew Bartlett1-5/+1
This commit kills passdb, which was only hosting the auth subsystem. With the work tridge has done on Samba4's SAM backend, this can (and now is) all hosted on ldb. The auth_sam.c file now references this backend. You will need to assign your users passwords in ldb - adding a new line: unicodePwd: myPass to a record, using ldbedit, should be sufficient. Naturally, this assumes you have had your personal SAMR provisioning tutorial from tridge. Everybody else can still use the anonymous logins. Andrew Bartlett (This used to be commit 2aa0b55fb86648731d5f2201fa5a6aa993b7ca48)
2007-10-10r614: Clean out the POSIX assumptions from the Samba4 auth subsystem.Andrew Bartlett1-12/+0
This removes the code that tried to lookup posix groups, as well as the code that was tied to the SAM_ACCOUNT. This should make auth_ldb much easier to write :-) Andrew Bartlett (This used to be commit e096ee2112adecaa69b6b3eb155a4e8f80dfc0f7)
2007-10-10r601: added the server code for all the samr_SetUserInfo and ↵Andrew Tridgell1-13/+0
samr_QueryUserInfo levels except for the password set levels. This means that a large part of the RPC-SAMR torture test now runs correctly against Samba4 (This used to be commit ec0a51898f543578e755207d81ed5c1524861c64)
2007-10-10r575: moved the SID_NAME_USE enum into samr.idlAndrew Tridgell1-13/+2
(This used to be commit 2cb06b39d91ef18b21c18e9376ccbd8076aeecf8)
2007-10-10r443: Update Samba4 to the auth and NTLMSSP code from Samba3.Andrew Bartlett1-1/+1
Not all the auth code is merged - only those parts that are actually being used in Samba4. There is a lot more work to do in the NTLMSSP area, and I hope to develop that work here. There is a start on this here - splitting NTLMSSP into two parts that my operate in an async fashion (before and after the actual authentication) Andrew Bartlett (This used to be commit 5876c78806e6a6c44613a1354e8d564b427d0c9f)
2007-10-10r359: moved the share type definitions to srvsvc.idlAndrew Tridgell1-9/+0
I'd like to see more protocol defininitions in the IDL files and less in smb.h where possible. (This used to be commit 854b875bbe447955fb0c3876f046931d0bfde06c)
2004-01-28remove a lot of unused stuff from the header filesStefan Metzmacher1-119/+1
and exclude some files from Makefile.in metze (This used to be commit f77990cf2496f72d02566f09477349436be3dfcd)
2003-12-16a fairly large commit!Andrew Tridgell1-0/+2
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-12 * the RPC-ECHO pipe now works in smbd, as long as the data sizesAndrew Tridgell1-31/+0
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-10the rest of the initial rpc server side infrastructureAndrew Tridgell1-0/+1
(This used to be commit 5fb01b0ec0321724c25669151ea7c20e6ec182d0)
2003-12-04some OSes already have a uint_tAndrew Tridgell1-7/+0
(This used to be commit d7b6aa1e2ec1dc475e1bd5dce1c537720bc65eac)
2003-11-30got rid of a bunch of unused header files (now replaced with IDLAndrew Tridgell1-1/+0
generated headers) (This used to be commit 7f2ac326f9d6019ca72f3b70ad1cdbeff6c2c9a5)
2003-11-25CVS: ----------------------------------------------------------------------Jelmer Vernooij1-3/+0
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-23reduced the number of magic types we need in mkproto.plAndrew Tridgell1-1/+1
In general I prefer "struct foo" to just "foo" for most structures. There are exceptions. (This used to be commit 04eb12b56c653f98801ab29411f47564ab32fa58)
2003-11-03a major revamp of the low level dcerpc code in samba4, We can now do aAndrew Tridgell1-1/+0
successful LSA OpenPolicy using smbtorture (This used to be commit e925c315f55905060fcca1b188ae1f7e40baf514)
2003-10-28Add data structures for initial dcerpc support.Tim Potter1-0/+1
(This used to be commit 35ee9fdeababea8fd00f69d7d8f9d55eef57994c)
2003-08-31I think I've finally got the ascii/unicode issues right in trans2 findAndrew Tridgell1-3/+4
first Also expanded the rename test a little (This used to be commit 723af7f097a8c7f23dac23039e479811559ac3cb)
2003-08-15IRIX already defines uint_tHerb Lewis1-0/+2
(This used to be commit a019e54a46539a9f76fc782fd5eb826c32afb318)
2003-08-13- added SMBntrename test suiteAndrew Tridgell1-0/+6
- allow username of form DOMAIN\username or DOMAIN/username - added ntrename to gentest (This used to be commit 2b464472c17b791eb5b117f89d5aaea2bf60f6ad)
2003-08-13first public release of samba4 codeAndrew Tridgell1-0/+1363
(This used to be commit b0510b5428b3461aeb9bbe3cc95f62fc73e2b97f)