summaryrefslogtreecommitdiffstats
path: root/source4/libcli
Commit message (Collapse)AuthorAgeFilesLines
* s4/libcli: when we get a DNS lookup failure show the nameAndrew Tridgell2009-09-111-0/+2
| | | | | When tracking down complex connection problems its useful knowing what name lookups failed.
* s4:libcli/ldap Explain why we set a hostname for ldapi:// connectionsAndrew Bartlett2009-08-171-1/+3
| | | | | | | It is a pretty odd thing to do, and it's only because of the restrictions of DIGEST-MD5 in Cyrus SASL that we do it. Andrew Bartlett
* libcli/smb: move smb2_create_blob code to libcli/smb/Stefan Metzmacher2009-08-123-165/+2
| | | | | | I want to use this in source3/smbd/ metze
* libcli: move some common SMB and SMB2 stuff into libcli/smb/Stefan Metzmacher2009-08-123-177/+1
| | | | | | This will hold code that's shared between source3 and source4. metze
* s4:libcli/smb2: move SMB2_GETINFO_* flags into smb2_constants.hStefan Metzmacher2009-08-072-6/+6
| | | | metze
* s4:libcli/smb2: remove unused and redundant SMB2 security flagsStefan Metzmacher2009-08-071-6/+0
| | | | metze
* s4:libcli: move SMB2 Find constants to smb2_constants.hStefan Metzmacher2009-08-072-16/+16
| | | | metze
* s4:libcli/raw: we don't need to include "smb.h" explicitStefan Metzmacher2009-08-074-4/+0
| | | | metze
* s4:libcli/raw: also include smb2_constants.h into interfaces.hStefan Metzmacher2009-08-071-1/+2
| | | | metze
* fixed several places that unnecessarily take a reference to the event contextAndrew Tridgell2009-08-075-12/+7
| | | | | | | | | | | | | | | These references were triggering the ambiguous talloc_free errors from the recent talloc changes when the server is run using the 'standard' process model instead of the 'single' process model. I am aiming to move the build farm to use the 'standard' process model soon, as part of an effort to make our test environment better match the real deployment of Samba4. The references are not needed as the way that the event context is used is as the 'top parent', so when the event context is freed then all of the structures that were taking a reference to the event context were actually freed as well, thus making the references redundent.
* handle large directories in smb2_deltree()Andrew Tridgell2009-08-051-36/+42
|
* Adds new error codes (needed for enhancing error messages for SAMBA 4 AD ↵Matthias Dieter Wallnöfer2009-07-311-1/+1
| | | | LDAP server)
* s4:libcli/ldap: the tls code steals the original socket on its own nowStefan Metzmacher2009-07-311-3/+0
| | | | metze
* s4:libcli/ldap: add support for new Recycle Bin Feature LDAP ControlsStefan Metzmacher2009-07-231-0/+40
| | | | | | | LDAP_SERVER_SHOW_RECYCLED_OID 1.2.840.113556.1.4.2064 LDAP_SERVER_SHOW_DEACTIVATED_LINK_OID 1.2.840.113556.1.4.2065 metze
* Fix typoMatthias Dieter Wallnöfer2009-07-191-1/+1
|
* s4:libcli/smb2: add smb2_transport_credits_set_charge() to change the ↵Stefan Metzmacher2009-07-153-4/+14
| | | | | | CreditsCharge value for the next request metze
* s4:libcli: move SMB2 lock flags to smb2_constants.hStefan Metzmacher2009-07-022-7/+8
| | | | metze
* two more NT status codes that we get on DRS with w2k8-R2Andrew Tridgell2009-06-121-0/+2
|
* s4:heimdal: import lorikeet-heimdal-200906080040 (commit ↵Andrew Bartlett2009-06-121-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
* fixed the encoding/decoding of the reverse attribute for server side sortAndrew Tridgell2009-06-101-3/+10
|
* s4: smbcli_transport_send hit the socket right away if possibleSam Liddicott2009-06-091-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>
* s4:libcli/smb2: add smb2_transport_credits_ask_num()Stefan Metzmacher2009-06-093-2/+13
| | | | metze
* s4:libcli/smb2: only add the 1 byte dynamic buffer padding for non ↵Stefan Metzmacher2009-06-091-2/+6
| | | | | | compounded requests metze
* s4:libcli/smb2: add support sending compounded requestsStefan Metzmacher2009-06-093-50/+205
| | | | metze
* s4:libcli/smb2: prepare SMB2 signing code for compounded requestsStefan Metzmacher2009-06-091-2/+8
| | | | metze
* libwbclient: Add async call framework.Kai Blin2009-05-301-2/+2
|
* s4: Add additional 2-letter SID/RID mappings.Andrew Kroeger2009-05-291-0/+23
| | | | Information from http://msdn.microsoft.com/en-us/library/aa379602(VS.85).aspx
* s4:libcli/smb2: remove old dialect revision constantsStefan Metzmacher2009-05-261-4/+0
| | | | metze
* s4:libcli/smb2: use new SMB2_DIVELECT_REVISION constantsStefan Metzmacher2009-05-261-2/+5
| | | | | | | Also send them in the order a windows client would send them (the lowest first). metze
* s4:libcli/smb2: add some more SMB2 constantsStefan Metzmacher2009-05-261-4/+14
| | | | metze
* s4:libcli/smb2: fix session setup with raw NTLMSSPStefan Metzmacher2009-05-201-13/+17
| | | | metze
* s4:libcli/smb2: use raw ntlmssp if the server didn't provide a sec blobStefan Metzmacher2009-05-201-1/+8
| | | | metze
* s4:libcli/smb2: fill in transport->negotiate.secblob with the correct dataStefan Metzmacher2009-05-201-0/+2
| | | | metze
* s4: try to fix privileges implementation in order to pass the ↵Günther Deschner2009-05-201-1/+5
| | | | | | RPC-SAMR-USERS-PRIVILEGES test. Guenther
* s4:libcli/raw: initialy read the first 4 bytes onlyStefan Metzmacher2009-05-201-0/+1
| | | | metze
* errormap: Remove wbc -> NTSTATUS error map for now. It is not used.Jelmer Vernooij2009-05-151-37/+0
| | | | | | | This was breaking the Samba 4 installation since it added dependencies on header files we weren't installing. Confirmed with Kai.
* Move SMB2 constants to a separate fileVolker Lendecke2009-05-112-114/+140
|
* Fix SMB2_CAP_DFSVolker Lendecke2009-05-111-1/+1
|
* s4:libcli: remember operating system and lan manager strings from session setupStefan Metzmacher2009-05-012-0/+24
| | | | metze
* s4:libcli/raw: write can return STATUS_BUFFER_OVERFLOW as a real errorStefan Metzmacher2009-05-011-1/+1
| | | | | | We should not try to parse the result if the status is not NT_STATUS_OK. metze
* Fix of a bug in the security.descriptor.as_sddl() methodnadezhda ivanova2009-04-231-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>
* errormap: Change the WBC_ERR_UNKNOWN_ERROR to map to NT_STATUS_UNSUCCESSFULKai Blin2009-04-231-1/+1
| | | | | This allows us to distinguish on NTSTATUS level if we got a WBC_ERR_UNKNOWN_ERROR or WBC_ERR_NSS_ERROR.
* errormap: Add wbcErr to NTSTATUS mappingsKai Blin2009-04-221-0/+37
|
* libcli: fix a "not handled in switch" compile warningBjörn Jacke2009-04-221-0/+1
| | | | return NULL also for RAW_CLOSE_GENERIC
* ѕ4: fix a "not handled in switch" compile warningBjörn Jacke2009-04-221-0/+2
|
* Move the security_descriptor utility code to the top-level.Jelmer Vernooij2009-04-213-535/+2
|
* Merge commit 'origin/master' into libcli-auth-merge-without-netlogondAndrew Bartlett2009-04-201-0/+10
|\
| * Add a unit test for security_descriptor.as_sddl() without arguments.Jelmer Vernooij2009-04-201-0/+10
| |
* | Move libcli/auth to the top levelAndrew Bartlett2009-04-148-1657/+0
|/
* s/NT_STATUS_WIN7_INVALID_RANGE/NT_STATUS_INVALID_LOCK_RANGE/gZach Loafman2009-04-011-1/+1
|