summaryrefslogtreecommitdiff
path: root/source4/include
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r13019: Again protect us against format string mismatches, with the new splitAndrew Bartlett1-3/+4
out proto headers. The reason this is done in this way is that the attribute must be on the prototype, not the actual function defintion. Hence the macros which expand to nothing in the C file, but expand to an __attribute__ in the prototype header. Andrew Bartlett (This used to be commit a88933668f908a398bb0d8bc7dc39c96cee40de6)
2007-10-10r12844: don't include system headers directlyStefan Metzmacher1-0/+8
metze (This used to be commit 75a98047d6829cadf4b9082bec2733055dad3465)
2007-10-10r12832: make it possible to pass -D_PUBLIC_... to the compilerStefan Metzmacher1-0/+2
metze (This used to be commit 5540509f10e3fee4c653081a3bc56213d40869df)
2007-10-10r12804: This patch reworks the Samba4 sockets layer to use a socket_addressAndrew Bartlett1-0/+1
structure that is more generic than just 'IP/port'. It now passes make test, and has been reviewed and updated by metze. (Thankyou *very* much). This passes 'make test' as well as kerberos use (not currently in the testsuite). The original purpose of this patch was to have Samba able to pass a socket address stucture from the BSD layer into the kerberos routines and back again. It also removes nbt_peer_addr, which was being used for a similar purpose. It is a large change, but worthwhile I feel. Andrew Bartlett (This used to be commit 88198c4881d8620a37086f80e4da5a5b71c5bbb2)
2007-10-10r12801: Some more include/ cleanups (remove unused macros + move filesJelmer Vernooij5-155/+13
to specific dirs) (This used to be commit 243cf760b077e155f5ac508aeebf819f7708a84e)
2007-10-10r12799: print out function and location tooStefan Metzmacher1-2/+2
metze (This used to be commit a5ef3eef9cbedd273556068ba59c07ccb0060098)
2007-10-10r12798: print timestamps into the log file, this is not nice code,Stefan Metzmacher1-3/+12
but it works for now metze (This used to be commit ec7dbb5a98c112e86399ffcff14eb42c99d8e31d)
2007-10-10r12725: some minor updatesStefan Metzmacher1-1/+1
metze (This used to be commit f2e97983f278211c6d70400ce1f43d6a69df0d8a)
2007-10-10r12711: Update copyrightsJelmer Vernooij1-5/+2
(This used to be commit a02b0c5568977e1a2a396460d13a24076d4681f0)
2007-10-10r12698: Declare model_ops (required for NetBSD)Jelmer Vernooij1-0/+1
(This used to be commit 5e6df39363fba961e09e836e4b5a0115b278be90)
2007-10-10r12696: Reduce the size of include/structs.hJelmer Vernooij1-220/+7
(This used to be commit 63917616016133c623fc6ff59454bc313ee7dd8f)
2007-10-10r12694: Move some headers to the directory of the subsystem they belong to.Jelmer Vernooij12-328/+18
(This used to be commit c722f665c90103f3ed57621c460e32ad33e7a8a3)
2007-10-10r12693: Move core data structures out of smb.h into core.hJelmer Vernooij3-32/+62
torture prototypes in seperate header (This used to be commit 73610639b23ca3743077193fa0b1de7c7f65944d)
2007-10-10r12601: Syncronise both copies of dlinklist.h.Andrew Bartlett1-4/+23
Should we somehow link these, or just use the version in ldb? Andrew Bartlett (This used to be commit e98d14668e3fdee01b103adb5aec733790eee96d)
2007-10-10r12542: Move some more prototypes out to seperate headersJelmer Vernooij2-2/+3
(This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
2007-10-10r12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server.Jelmer Vernooij2-7/+4
(This used to be commit 87f665a1d5ba74289974bf9d8f9441c162e6f1b1)
2007-10-10r12523: Convert the registry subsystem to use a seperate prototype headerJelmer Vernooij1-4/+2
(note that this doesn't use the distinction between private and public prototypes yet) (This used to be commit 60e11f575821c1762b25ad66441b6e69ad1167ef)
2007-10-10r12499: Move smb_build.h out of includes.hJelmer Vernooij1-4/+0
(This used to be commit c92ace494f92084ddf178626cdf392d151043bc7)
2007-10-10r12494: Support loading modules from .so files for most subsystems.Jelmer Vernooij3-1/+6
We now use a different system for initializing the modules for a subsystem. Most subsystems now have an init function that looks something like this: init_module_fn static_init[] = STATIC_AUTH_MODULES; init_module_fn *shared_init = load_samba_modules(NULL, "auth"); run_init_functions(static_init); run_init_functions(shared_init); talloc_free(shared_init); I hope to eliminate the other init functions later on (the init_programname_subsystems; defines). (This used to be commit b6d2ad4ce0a91c4be790dd258820c492ff1787ea)
2007-10-10r12489: Forward declare nbtd_iface_nameJelmer Vernooij1-0/+1
(This used to be commit cfaa52cdbaf0b97a8830137a74976e08cabeac8d)
2007-10-10r12454: Forward declare struct nbt_iface_nameJelmer Vernooij1-0/+1
(This used to be commit d54fea5d0e5dc87f686b2134735e76ce7cd208af)
2007-10-10r12451: Add 'struct libnet_context;' - apparently the order of the prototypesJelmer Vernooij1-0/+1
in proto.h previously already did this somehow, probably because it was used as a return value before it was used as a parameter. (This used to be commit 30861b0f0e6496d13fb61b2927e3f24d16a9b911)
2007-10-10r12446: Merge mkproto.sh's functionality into mkproto.plJelmer Vernooij2-0/+4
Allow specifying the _PUBLIC_ keyword on functions to indicate a function is public. Public prototypes can now be written to a seperate header, although this functionality is not used yet. (This used to be commit e3466df6dfb62bbf8bee3acfa92996945054c2dd)
2007-10-10r12411: Add 'net samdump keytab <keytab>'.Andrew Bartlett1-0/+1
This extracts a remote windows domain into a keytab, suitable for use in ethereal for kerberos decryption. For the moment, like net samdump and net samsync, the 'password server' smb.conf option must be set to the binding string for the server. eg: password server = ncacn_np:mypdc Andrew Bartlett (This used to be commit 272013438f53bb168f74e09eb70fc96112b84772)
2007-10-10r12216: Couple of small fixes: reduce include/includes.h a bit, simplify headersJelmer Vernooij3-14/+4
in build/smb_build/, remove unused pstring macros (This used to be commit 432296207400636dd81d0929ec7b1b4cebbcaa62)
2007-10-10r12200: - move the the winsreplication client and server code to the ↵Stefan Metzmacher1-0/+1
packet_context system - this needs to be in one big patch, because of the merging code, that changes client in server connections and the other way around - use socket_connect_send/_recv() in the client code metze (This used to be commit f0105b7fcdc3032d22444a1973927fff2dd9a06f)
2007-10-10r12122: add forward declaration for packet_contextStefan Metzmacher1-0/+2
metze (This used to be commit 2ea8e61f2383c1d375c852bb0a44aac5a5af2d96)
2007-10-10r12022: add NBTD IRPC proxy calls for wins challenge and wins release demand,Stefan Metzmacher1-0/+3
used for replication conflicts metze (This used to be commit d7d14cb2bd9823d7e7d81266ca4014ea5263c714)
2007-10-10r11980: ronnie worked out that opcode 0xb in SMB2 is in fact ioctl, and thatAndrew Tridgell2-1/+4
it only appeared to be like a SMBtrans request as it was being called with function 0x11c017 which is "named pipe read write" I wonder if this means we could do DCE/RPC over SMB using ntioctl calls as well? (This used to be commit f2b8857797328be64b0b85e875ae6d108e2aeaaa)
2007-10-10r11905: added SMB2_FLUSH as opcode 7. Thanks to metze and volker for helpAndrew Tridgell1-0/+1
brainstorming this one. (This used to be commit a969ad592ae4cd8f7c66b1df4763fdc70328c967)
2007-10-10r11892: forgot to commit these changesAndrew Tridgell1-1/+2
(This used to be commit 07ee8ba126752a4f2ab82ce345c3513d38e5af68)
2007-10-10r11891: - added pipe_flags field in smb2_transAndrew Tridgell1-0/+1
- while running dcerpc over SMB2, the server will occasionally send us a oh-so-useful STATUS_PENDING result meaning "I don't have a result for you yet, but I'm working on it". These can be discarded :-) (This used to be commit 24588a9c499536299d7aaf5b56ff73fb255290ca)
2007-10-10r11888: - added SMB2 trans supportAndrew Tridgell1-0/+1
- added session key to SMB2 - renamed 'unknown2' in create to 'impersonation' (This used to be commit aef915f312a78bf8a4123f7c40fcd14ff293d934)
2007-10-10r11885: Add forgotten filesVolker Lendecke1-0/+1
(This used to be commit 470cc5952981c3625c7e35f44c9fd41d19593396)
2007-10-10r11801: - added basic SMB2 find supportAndrew Tridgell2-3/+2
- added SMB2-SCANFIND test - cleaned up continue flags in EAs and find requests (This used to be commit 8792bc07d927e6470874230153177748afae3ee8)
2007-10-10r11800: - filled in unknown fields in SMB2 all_info levelAndrew Tridgell1-2/+3
- allow setting of the ALL_EAS flags bits in SMB2 getinfo (This used to be commit 8c7c54a46dfb91c053d07a5e606892a41213c605)
2007-10-10r11789: - add the start of a SMB2 serverStefan Metzmacher1-4/+9
- it does Negprot and SessionSetup yet the rest returns NT_STATUS_NOT_IMPLEMENTED - it's off by default, enable with: smbsrv:enable smb2 = yes - negotition in the SMB Negprot isn't supported yet - it's only tested with smbtorture SMB2-CONNECT not with vista as client metze (This used to be commit 08b31d5f618d2e416cb9812ad3a49754cd7212b8)
2007-10-10r11772: - setfileinfo needs a smb2_handle for SMB2 supportAndrew Tridgell2-0/+2
- added smb2_setinfo to structs.h (This used to be commit 5be1d334760b8422b65758d1891f9fe29185a244)
2007-10-10r11758: unified the parse code for the SMB and SMB2 qfsinfo and qfileinfo callsAndrew Tridgell2-6/+52
(This used to be commit ba897e537b9a1544dc214e9d5504c87fee6fced2)
2007-10-10r11756: split out the parsers for the pass-through levels of QFSINFO andAndrew Tridgell2-0/+2
QFILEINFO levels in trans2, so they can be shared with SMB2 (This used to be commit 5ca2d609e6a3766ebd07763f850ecc62209a7db7)
2007-10-10r11740: add some EA error codesStefan Metzmacher1-1/+4
metze (This used to be commit b1afcced395812477365befad1ed37a7cdafa275)
2007-10-10r11737: use _smb_setlen2() to allow for 24 bit lengths in SMB2 packetsAndrew Tridgell1-0/+2
(This used to be commit 54fda24379ca1a20d6de2edf64dd79b3fe80a37d)
2007-10-10r11724: - move checks packet size and protocol version,Stefan Metzmacher1-0/+2
before we create the request structure - move code into one function metze (This used to be commit 96345b1c465c6cdf480f6e49d3c437cfe4d93c2c)
2007-10-10r11723: fix the buildStefan Metzmacher1-0/+2
metze (This used to be commit 838aac5e2020802b18ae34a5fcd85c085fc98501)
2007-10-10r11721: Fix warningsVolker Lendecke1-0/+5
(This used to be commit d760583e388157ff25e317da06c57e5a42f171bd)
2007-10-10r11697: - added a generic SMB2 getinfo callAndrew Tridgell1-0/+1
- added a SMB2-SCANGETINFO test for scanning for available info levels - added names for the info levels I recognise to smb2.h (This used to be commit fe5986067e2aaca039d70393ccc8761434f18fe6)
2007-10-10r11680: added smb2_close(). This also demonstrates that file handles are 16Andrew Tridgell1-2/+1
bytes, not 20 bytes (metze, you were right!) (This used to be commit d3bcc6628cde9ddedf0fd408cbee573f133ce582)
2007-10-10r11679: opening/creating files in SMB2 now works. Lots of unknown parametersAndrew Tridgell1-0/+1
in the call tho. (This used to be commit 548fbd86b3b114493943b50669bdcba2f4ed87f2)
2007-10-10r11675: a more general way of getting rid of compiler warnings and errorsStefan Metzmacher1-1/+1
metze (This used to be commit 653f5ccd61f2555bbd49b81c5cc660962b31aa68)
2007-10-10r11674: SMB2 tree connect now works. We do 2 session setups and 2 treeAndrew Tridgell1-0/+5
connects, giving the following output: Running SMB2-CONNECT Negprot reply: current_time = Fri Nov 11 20:10:42 2005 EST boot_time = Sat Nov 12 10:34:33 2005 EST Session setup gave UID 0x40000000071 Session setup gave UID 0x140000000075 Tree connect gave tid = 0x7500000001 Tree connect gave tid = 0x7500000005 SMB2-CONNECT took 0.049024 secs (This used to be commit a24a4c311005dec4c5638e9c7c10e5e2f9872f4d)