summaryrefslogtreecommitdiff
path: root/source4/libcli
AgeCommit message (Collapse)AuthorFilesLines
2009-07-19Fix typoMatthias Dieter Wallnöfer1-1/+1
2009-07-15s4:libcli/smb2: add smb2_transport_credits_set_charge() to change the ↵Stefan Metzmacher3-4/+14
CreditsCharge value for the next request metze
2009-07-02s4:libcli: move SMB2 lock flags to smb2_constants.hStefan Metzmacher2-7/+8
metze
2009-06-12two more NT status codes that we get on DRS with w2k8-R2Andrew Tridgell1-0/+2
2009-06-12s4:heimdal: import lorikeet-heimdal-200906080040 (commit ↵Andrew Bartlett1-16/+16
904d0124b46eed7a8ad6e5b73e892ff34b6865ba) Also including the supporting changes required to pass make test A number of heimdal functions and constants have changed since we last imported a tree (for the better, but inconvenient for us). Andrew Bartlett
2009-06-10fixed the encoding/decoding of the reverse attribute for server side sortAndrew Tridgell1-3/+10
2009-06-09s4: smbcli_transport_send hit the socket right away if possibleSam Liddicott1-0/+7
[Metze; "make test" on git master outputs exactly the same test summary with our without this patch (apart from the "using seed" lines)] If the transport socket is writable, then push the queue along rather than wait until the caller returns back to the tevent loop. This strategy keeps the sockets piping hot, and is particularly good for cases where reading requests from one socket causes lots of writes on another socket, or where lots of writes are made in a batch. It doesn't matter if the socket is not writeable yet, packet_queue_run will return quite cheaply in such a case. Signed-off-by: Sam Liddicott <sam@liddicott.com> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-06-09s4:libcli/smb2: add smb2_transport_credits_ask_num()Stefan Metzmacher3-2/+13
metze
2009-06-09s4:libcli/smb2: only add the 1 byte dynamic buffer padding for non ↵Stefan Metzmacher1-2/+6
compounded requests metze
2009-06-09s4:libcli/smb2: add support sending compounded requestsStefan Metzmacher3-50/+205
metze
2009-06-09s4:libcli/smb2: prepare SMB2 signing code for compounded requestsStefan Metzmacher1-2/+8
metze
2009-05-30libwbclient: Add async call framework.Kai Blin1-2/+2
2009-05-29s4: Add additional 2-letter SID/RID mappings.Andrew Kroeger1-0/+23
Information from http://msdn.microsoft.com/en-us/library/aa379602(VS.85).aspx
2009-05-26s4:libcli/smb2: remove old dialect revision constantsStefan Metzmacher1-4/+0
metze
2009-05-26s4:libcli/smb2: use new SMB2_DIVELECT_REVISION constantsStefan Metzmacher1-2/+5
Also send them in the order a windows client would send them (the lowest first). metze
2009-05-26s4:libcli/smb2: add some more SMB2 constantsStefan Metzmacher1-4/+14
metze
2009-05-20s4:libcli/smb2: fix session setup with raw NTLMSSPStefan Metzmacher1-13/+17
metze
2009-05-20s4:libcli/smb2: use raw ntlmssp if the server didn't provide a sec blobStefan Metzmacher1-1/+8
metze
2009-05-20s4:libcli/smb2: fill in transport->negotiate.secblob with the correct dataStefan Metzmacher1-0/+2
metze
2009-05-20s4: try to fix privileges implementation in order to pass the ↵Günther Deschner1-1/+5
RPC-SAMR-USERS-PRIVILEGES test. Guenther
2009-05-20s4:libcli/raw: initialy read the first 4 bytes onlyStefan Metzmacher1-0/+1
metze
2009-05-15errormap: Remove wbc -> NTSTATUS error map for now. It is not used.Jelmer Vernooij1-37/+0
This was breaking the Samba 4 installation since it added dependencies on header files we weren't installing. Confirmed with Kai.
2009-05-11Move SMB2 constants to a separate fileVolker Lendecke2-114/+140
2009-05-11Fix SMB2_CAP_DFSVolker Lendecke1-1/+1
2009-05-01s4:libcli: remember operating system and lan manager strings from session setupStefan Metzmacher2-0/+24
metze
2009-05-01s4:libcli/raw: write can return STATUS_BUFFER_OVERFLOW as a real errorStefan Metzmacher1-1/+1
We should not try to parse the result if the status is not NT_STATUS_OK. metze
2009-04-23Fix of a bug in the security.descriptor.as_sddl() methodnadezhda ivanova1-0/+6
security.descriptor.as_sddl() method did not work correctly when invoked without supplying the domain sid. Returned the same value as when the sid was provided. Test added for this case in libcli/security/tests/bindings.py Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-04-23errormap: Change the WBC_ERR_UNKNOWN_ERROR to map to NT_STATUS_UNSUCCESSFULKai Blin1-1/+1
This allows us to distinguish on NTSTATUS level if we got a WBC_ERR_UNKNOWN_ERROR or WBC_ERR_NSS_ERROR.
2009-04-22errormap: Add wbcErr to NTSTATUS mappingsKai Blin1-0/+37
2009-04-22libcli: fix a "not handled in switch" compile warningBjörn Jacke1-0/+1
return NULL also for RAW_CLOSE_GENERIC
2009-04-22ѕ4: fix a "not handled in switch" compile warningBjörn Jacke1-0/+2
2009-04-21Move the security_descriptor utility code to the top-level.Jelmer Vernooij3-535/+2
2009-04-20Merge commit 'origin/master' into libcli-auth-merge-without-netlogondAndrew Bartlett1-0/+10
2009-04-20Add a unit test for security_descriptor.as_sddl() without arguments.Jelmer Vernooij1-0/+10
2009-04-14Move libcli/auth to the top levelAndrew Bartlett8-1657/+0
2009-04-01s/NT_STATUS_WIN7_INVALID_RANGE/NT_STATUS_INVALID_LOCK_RANGE/gZach Loafman1-1/+1
2009-04-01s4:smb2: Add lease break support for SMB2.1Zach Loafman6-12/+167
Add the structures and marshalling for the lease break variants of the oplock break / oplock break ack messages.
2009-03-28s4:smb2: Add rudimentary SMB2.1 lease support to libcliZach Loafman3-0/+50
Add the structures, constants, and marshalling for SMB2.1 leases.
2009-03-25display_sec: Move to common libcli/security directory.Jelmer Vernooij1-2/+0
2009-03-19move source4/libcli/cldap => libcli/cldapStefan Metzmacher3-1263/+0
metze
2009-03-19s4:cldap: rewrite the cldap library based on tsocketStefan Metzmacher3-476/+812
metze
2009-03-18s4 libcli: Add back Longhorn beta dialect as a constantZach Loafman2-4/+4
Also tweak how the dialect array and count is initialized.
2009-03-17s4 torture: Add a string version for NT_STATUS_WIN7_INVALID_RANGEZach Loafman1-0/+1
Also submitted a request to cifs-protocol for a real name for this thing. Use win7 target logic in smb2 lock test, SMB2-LOCK now passes against Win7.
2009-03-17s4 libcli: Add SMB2.1 dialect to libcliZach Loafman2-2/+5
Negotiate 2.1 if possible, leave negotiate results in transport->negotiate.dialect_revision.
2009-03-06s4:errormap: map ECANCELED to NT_STATUS_CANCELLEDStefan Metzmacher1-0/+4
metze
2009-03-01Merge branch 'master' of git://git.samba.org/samba into convenienceJelmer Vernooij2-2/+5
2009-03-01Use common header file for character set handling in Samba 3 and Samba 4.Jelmer Vernooij1-15/+17
2009-03-01Add header files for secace and secacl.Jelmer Vernooij1-1/+2
2009-03-01s4: Use same function signature for convert_* as s3.Jelmer Vernooij3-27/+31
2009-03-01Move secacl to top-level.Jelmer Vernooij1-1/+2