summaryrefslogtreecommitdiff
path: root/source4/libcli
AgeCommit message (Collapse)AuthorFilesLines
2008-07-28libcli/smb2: the session key for SMB2 signing is truncated to 16 bytesStefan Metzmacher2-7/+6
To make that work (as a client) with aes128 and aes256 krb5 keys we need to use gsskrb5_get_subkey(). metze (This used to be commit 0c6d988f2083067e1ac7b07a492f88cefd3ba906)
2008-07-28libcli/smb2: fix per session signing stateStefan Metzmacher4-17/+12
metze (This used to be commit 8bc12dc77a59e792830d96e84a4e8d1b2c651505)
2008-07-28libcli/smb2: sign SMB2 Logoff requestsStefan Metzmacher1-0/+2
metze (This used to be commit 35ee165b146b9157b0cff49e1139a0cb37d98926)
2008-07-18More 'must be ignored' options from the MS-SMB doc.Andrew Bartlett1-20/+26
Also in particular the 'sync' flags (which Samba has traditionally ignored). Thanks to Olivier Salamin <olivier.salamin@gmail.com> for pointing out more flags that needed to be handled. Andrew Bartlett (This used to be commit 370bb39cd79fe49efd36a1ceb3e896d386e6d3ce)
2008-07-16Ignore and handle more NT Create & X options.Andrew Bartlett1-3/+8
The MS-SMB document explains that some of these options should be ignored. The test proves it. /* Must be ignored by the server, per MS-SMB 2.2.8 */ /* Must be ignored by the server, per MS-SMB 2.2.8 */ If we implement HSM in samba4 (likely) we should honour this bit. /* Don't pull this file off tape in a HSM system */ Andrew Bartlett (This used to be commit 502739ff90d56d2c9aabe8e224317f6ceb175c17)
2008-07-15Make up a full hostname for ldapi connections.Andrew Bartlett1-2/+7
The DIGEST-MD5 SASL method requires a hostname, so provide one. Andrew Bartlett (This used to be commit edfb2ed1f22bc735af5a0c3d3ae6ab6771d28f2c)
2008-07-15Cleanup ldap_bind_sasl.Andrew Bartlett1-4/+3
With these changes, we don't leak the LDAP socket, and don't reset all credentials feature flags, just the ones we are actually incompatible with. Andrew Bartlett (This used to be commit 72e52a301102941c41ab423e0212fe9a1aed0405)
2008-07-07libcli/raw: remove unused smb_raw_max_trans_data() functionStefan Metzmacher1-12/+0
metze (This used to be commit d235ce673705641e06b4ad5f5679e146b59a19e1)
2008-07-07libcli/raw: make multi fragmented nttrans requests possibleStefan Metzmacher1-17/+178
metze (This used to be commit a6aa055097313975299f214d8ebe8d45aa51d10a)
2008-07-07libcli/raw: trans(2) setup count is uint8_tStefan Metzmacher1-4/+6
metze (This used to be commit 48ccb51caf7976ec07c8a9bfc1afd3076bf4ee22)
2008-07-07libcli/raw: remove unused smbcli_request_receive_more() functionStefan Metzmacher1-13/+0
metze (This used to be commit e1d81388fcabba9a947ed0be9ccae875e2b19135)
2008-07-07libcli/raw: use the new recv_helper infrastructure for trans/trans2 repliesStefan Metzmacher1-184/+313
metze (This used to be commit ec67c61b6a82e4f39a15f37a98ae3fe93bb81316)
2008-07-07libcli/raw: use the new recv_helper infrastructure for nttrans repliesStefan Metzmacher1-102/+145
metze (This used to be commit 5bf136e233e26b4372155f494bae5118ef777a76)
2008-07-07libcli/raw: add a recv_helper hook infrastructureStefan Metzmacher2-1/+23
The recv helper will be called when a response comes and the recv helper can decide to let the request on the SMBCLI_REQUEST_RECV when more reponse packets are expected. It's up to the helper function to keep a reference to the in buffers, each incoming response overwrites req->in. metze (This used to be commit 6d84af89ba96627abe142ba7080c24ae2421ed6c)
2008-07-07libcli/raw: the nttrans setup count is only 8-bitStefan Metzmacher1-1/+1
metze (This used to be commit a65599cc83a12ec61e5a6ba6ad9628619a0dc8a3)
2008-06-27pynbt: eliminate "initialization from incompatible pointer type" warningMichael Adam1-1/+1
by fixing the signature of py_nbt_node_init(). Jelmer - please check! Michael (This used to be commit a7ee17a10f330297dc4d9d15499276b3985c7a51)
2008-06-17Use friendly NTSTATUS message in python code when possible.Jelmer Vernooij1-1/+1
(This used to be commit 09cf8c7dd82bb95e2f8782782286869654d96375)
2008-06-14Use a custom init function for samba4 that sets a samba4Simo Sorce2-2/+2
specific debug function. By default do not debug, this is the most appropriate action for a library as we cannot assume what stderr is use for in the main app. The main app is responsible to set ev_debug_stderr if they so desire. (This used to be commit e566a2f308ac6fb4b526a744f7059b565670aea5)
2008-06-14Make up the right dependencies now that ldb depends on libeventsSimo Sorce2-0/+2
(This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
2008-06-11Add working Python bindings for NBT.Jelmer Vernooij5-5004/+411
(This used to be commit 9c88f5e1de9db34751f16c2247fa91ae2445c5f7)
2008-06-07make signing per session in the SMB2 client libraryAndrew Tridgell4-10/+11
Thanks to Metze for spotting this (This used to be commit e9fd9b821c04d1cb7b574f539dd8169611e662aa)
2008-06-06added server side SMB2 signingAndrew Tridgell3-70/+44
(This used to be commit 8e919dcb0826a5b25d037ee6144af5f7cb21f3ae)
2008-06-06ensure we don't end up with a partially initialised EA structureAndrew Tridgell1-0/+2
(This used to be commit 388f4fde3655146bf57b4c51c59c39f475aa7fe8)
2008-06-03SMB2 signing now works. The spec was wrong (and will be fixed in theAndrew Tridgell1-12/+9
next version) (This used to be commit 436cb17b869e2d6cc57936ccc5e81680fb992341)
2008-06-02updated some info levels based on WSPP docsAndrew Tridgell3-21/+52
(This used to be commit f84620324a8cebcd2fd19388d910928ca1ad1334)
2008-05-30implemented client side SMB2 signingAndrew Tridgell8-38/+283
This doessn't work against Windows yet, and I've submitted a WSPP request for clarification of the docs to try and find out why. Meanwhile this is no worse than what we had, as it only gets used when the server demands signing, and we didn't work then anyway. (This used to be commit b788096add3586d7277efcd3bf5ca7f3a604cb7a)
2008-05-29added support for returning the maximal access MXAC tag in SMB2 createAndrew Tridgell1-1/+8
(This used to be commit 4eb49335d5f0319f9aa47ded5215a2977d3336bf)
2008-05-29fixed offset for maximal access responseAndrew Tridgell1-1/+1
(This used to be commit ddd0bb32510d615c7b943fb4ce4c9c275b98ab89)
2008-05-28updated comment based on MS-SMB2 docsAndrew Tridgell1-1/+2
(This used to be commit 5754cc13514a0f5fe4c47ce53521c256c9d96487)
2008-05-28ensure we don't change the incoming blobs in a SMB2 createAndrew Tridgell1-1/+16
(This used to be commit a6cc89fffe8c149b540f2125cea57f31331d5460)
2008-05-28expose a function for pushing all SMB2 create blobsAndrew Tridgell1-17/+36
(This used to be commit f5985a0490e4105a9b0208f6b7b19e635db324f9)
2008-05-28added support for all of the known SMB2 create tags in our clientAndrew Tridgell2-11/+195
library (This used to be commit 597b38e97b01d2137e6ac96ca07cd56fadb2c09e)
2008-05-27Use variable for ndr_netlogon.o path.Jelmer Vernooij1-3/+2
(This used to be commit b5d9d7a0affb4dcd8b89830e6967e4a14b512619)
2008-05-27ensure that we honor SMB2 read min_count properlyAndrew Tridgell1-1/+1
(This used to be commit 318038d6f670efffa96d8b0db63f46b3752e1cd3)
2008-05-27added support for the output fields of SMB2 closeAndrew Tridgell1-6/+25
(This used to be commit 2633bc749792c224acc73a2e4ca723404331c19c)
2008-05-27cope better with read only files in smb2_deltreeAndrew Tridgell1-0/+10
(This used to be commit 88a2c7b2f44f160836e477e460812df557204f51)
2008-05-27don't alter the in blobs in a SMB2 create, otherwise two calls in aAndrew Tridgell1-5/+6
row will fail (This used to be commit 3b811a52fe9a8356337ad149d01a3498c09d900a)
2008-05-26Remove evil hack which breaks Python bindings.Jelmer Vernooij1-0/+21
(This used to be commit 1c179566cb39eb09e522dbce69230472a5d4e655)
2008-05-26stricter checks for valid inputs in SMB2 open and lockAndrew Tridgell2-2/+8
(This used to be commit a7b5689a73adde59de28770aa3949660441291ea)
2008-05-24Add convenience functions for setting Python objects from errors.Jelmer Vernooij1-2/+6
(This used to be commit f1de723b89251cbc8140b838941f304a34871bf3)
2008-05-24Export functions for setting NTSTATUS and WERRORs in python.Jelmer Vernooij2-4/+35
(This used to be commit 4bcb92d2d49d90863b1e64b15d055517fbfd263c)
2008-05-24Add docstrings to a couple more python modules.Jelmer Vernooij3-7/+71
(This used to be commit b4560c90e5e8d3a35367d3a21d361dc4c9c0de23)
2008-05-23Regenerate with SWIG 1.3.35.Jelmer Vernooij4-40/+94
(This used to be commit ce063eca498036937f99161a1f12e076c2ab313f)
2008-05-23fix make test for EAs againAndrew Tridgell1-2/+2
- go back to 4 byte alignment until I work out the rules that Vista wants more exactly - add the zero sized EA handling for SMB2 more generically (This used to be commit 326b69bc8064cbea357864cecd6bd27b50c57184)
2008-05-22pass in the required alignment to the EA construction routinesAndrew Tridgell3-8/+9
(This used to be commit af31030e0b78b6b220740529901ec8d2d9f5a3fe)
2008-05-22added a define for all valid file attributesAndrew Tridgell1-0/+1
(This used to be commit 198ed9336756f973cebd7cc3df7f51e2c4575205)
2008-05-22Merge commit 'origin/v4-0-test' into v4-0-testAndrew Tridgell5-28/+68
(This used to be commit d7f3348c891e14de0e1b195714468ff998400f60)
2008-05-22fixed parsing of the SMB2 ALL_INFO qfileinfo levelAndrew Tridgell2-2/+4
(This used to be commit a7be5ba22e0cf2c61501f5a05e64673f31ba145c)
2008-05-22Fix CFLAGS for SWIG files.Jelmer Vernooij2-3/+3
(This used to be commit 8ee4f075046e0b181ec8a4ac1eaf3ea5621a56bf)
2008-05-21Move more modules inside of the samba package.Jelmer Vernooij3-4/+4
(This used to be commit 9b39e99f48266a54ed0b8890c2efde218b4b118a)