summaryrefslogtreecommitdiffstats
path: root/libcli
Commit message (Collapse)AuthorAgeFilesLines
* Create a correct talloc hierarchy in make_sec_acl()Volker Lendecke2009-07-141-1/+1
|
* doserrors: print out some more werrors.Günther Deschner2009-07-021-0/+5
| | | | Guenther
* A fix in the ACL code used by both SAMBA 3 and 4Matthias Dieter Wallnöfer2009-06-191-1/+1
| | | | | This fixes an uninitialised structure. It has been found through valgrind in the RAW-ACLs test suite (Bug #6397).
* s4: Call va_end() after all va_start()/va_copy() calls.Andrew Kroeger2009-06-181-0/+4
| | | | | | | | This corrects the issues reaised in bug #6129, and some others that were not originally identified. It also accounts for some code that was in the original bug report but appears to have since been made common between S3 and S4. Thanks to Erik Hovland <erik@hovland.org> for the original bug report.
* Add const to cast, to fix warningAndrew Bartlett2009-06-181-2/+2
|
* two more NT status codes that we get on DRS with w2k8-R2Andrew Tridgell2009-06-121-1/+2
|
* Replace the "ipv4" specific strings in libcli/cldap/cldap.c with "ip". CLDAP canJeremy Allison2009-06-081-2/+2
| | | | | | | | run over IPv4/IPv6, even though some of the netlogon messages are IPv4 specific. Fix the new ads_cldap_netlogon() to be IPv6/IPv4 agnostic. This compiles but I don't have a good test env. for this (although as the previous code was *completely* broken over IPv6 this will expose previously hidden bugs if it's broken :-). Jeremy.
* add NT_STATUS_HAVE_NO_MEMORY_AND_FREE()Andrew Tridgell2009-06-041-0/+9
| | | | | | | | In many places we use NT_STATUS_HAVE_NO_MEMORY() to auto-return when a memory allocation fails. In quite a few places where we use this, we end up leaving a tmp_ctx behind, which creates a memory leak. This macro takes a memory context to free when returning the error
* errormap: Remove wbc -> NTSTATUS error map for now. It is not used.Jelmer Vernooij2009-05-151-6/+0
| | | | | | | This was breaking the Samba 4 installation since it added dependencies on header files we weren't installing. Confirmed with Kai.
* error-codes: add some more WERRORs to table.Günther Deschner2009-05-121-0/+2
| | | | | | These tables really should be auto-generated at some point... Guenther
* Fix an unitialized variable warningVolker Lendecke2009-05-101-0/+3
|
* error-codes: add some more group specific windows error codes.Günther Deschner2009-05-052-0/+6
| | | | Guenther
* libcli: Fix shadowed name in header alsoTim Prouty2009-05-041-1/+1
|
* libcli: Fix shadowed variable warningTim Prouty2009-05-041-2/+2
|
* libcli/named_pipe_auth: add tstream_npa_connect_send/recv()Stefan Metzmacher2009-05-013-0/+1122
| | | | | | | Add a tstream client implemenation for the named pipe auth code. This supports byte and message mode. metze
* Fix a couple of warningsVolker Lendecke2009-04-234-17/+22
|
* errormap: Add wbcErr to NTSTATUS mappingsKai Blin2009-04-221-0/+6
|
* Fix includes for security_descriptor file for the non-merged build.Jelmer Vernooij2009-04-211-1/+2
|
* Fix make install; don't install drsuapi.h and fix the location ofJelmer Vernooij2009-04-211-2/+0
| | | | credentials.h
* Move the security_descriptor utility code to the top-level.Jelmer Vernooij2009-04-213-1/+598
|
* Use a static copy of the samsync header file as Samba3 doesn't generateJelmer Vernooij2009-04-212-4/+34
| | | | prototype headers.
* Stop autogenerated files from being created.Jeremy Allison2009-04-201-5/+0
| | | | Jeremy.
* Add previously generated header files now needed in merged build.Jeremy Allison2009-04-203-0/+270
| | | | Jeremy.
* libcli/auth Ensure we cancel the transaction when schannel not detectedAndrew Bartlett2009-04-201-0/+1
| | | | | | (found by jra on code review) Andrew Bartlett
* libcli/auth: Don't pass back lm_sess_key as the same pointer as user_sess_keyAndrew Bartlett2009-04-201-13/+7
| | | | | | | This ensures that a talloc_free() of both pointers won't double-free (sharing pointers like this is evil anyway). Andrew Bartlett
* Fix building the now common msrpc_parse codeAndrew Bartlett2009-04-161-1/+1
|
* Fix building the common libcli/samsync codeAndrew Bartlett2009-04-161-1/+1
|
* Add missing header, remove generated headerAndrew Bartlett2009-04-151-10/+8
| | | | (This isn't a rename, honest :-)
* common:libcli/auth Add missing samsync config.mkAndrew Bartlett2009-04-151-0/+10
|
* libcli/auth Push schannel check into common libcli/authAndrew Bartlett2009-04-141-4/+9
| | | | | | | This means we have a single choke point to ensure the remote client is using schannel. Andrew Bartlett
* Rework Samba4 to use the new common libcli/auth codeAndrew Bartlett2009-04-144-10/+14
| | | | | | | In particular, this is the rename from creds_ to netlogon_creds_, as well as other links to use the new common crypto. Andrew Bartlett
* Rework netlogon credentials for the top levelAndrew Bartlett2009-04-142-59/+130
| | | | | | | | | | | This makes constructor functions that return the allocated structure, rather than having the caller pass them in, and makes the server init function also check the first credential. The rename of creds_ to netlogon_creds should make it more clear what this code works with. Andrew Bartlett
* Push schannel_state.c into the top level.Andrew Bartlett2009-04-142-0/+322
| | | | | | This is the server side state for netlogon credential chaining Andrew Bartlett
* Use common samsync delta decryption functions in libnet_samsync.cAndrew Bartlett2009-04-142-0/+200
| | | | Andrew Bartlett
* libcli/auth Don't compile against un-needed Samba4 headersAndrew Bartlett2009-04-141-1/+0
|
* Port Samba4 to the new combined libcli/auth functionsAndrew Bartlett2009-04-142-1/+6
| | | | | | | For example, some of the new shared functionality was previously in the wkssvc torture test. Andrew Bartlett
* Move ntlm_check.h into the common libcli/authAndrew Bartlett2009-04-141-0/+76
|
* Rework Samba3 to use new libcli/auth code (partial)Andrew Bartlett2009-04-143-3/+44
| | | | | | | | | | | This commit is mostly to cope with the removal of SamOemHash (replaced by arcfour_crypt()) and other collisions (such as changed function arguments compared to Samba3). We still provide creds_hash3 until Samba3 uses the credentials code in netlogon server Andrew Bartlett
* Merge smbencrypt.c between Samba3 and Samba4Andrew Bartlett2009-04-141-31/+219
|
* Rework trivial msrpc parser to use convert_string_talloc()Andrew Bartlett2009-04-141-21/+21
| | | | | | | | | Also avoid still string conversions when trying to match NTLMSSP in the header of the NTLMSSP packet. This also changes a few things to avoid const warnings. Andrew Bartlett
* Move MSRPC-PARSE into the common libcli/authAndrew Bartlett2009-04-142-0/+374
| | | | This is a depenceny of smbencrypt.c
* Move DRSUAPI per-attribute decryption into a common fileAndrew Bartlett2009-04-143-0/+229
| | | | | | | This file (contining metze's decryption routines) is now also be used by Samba3's DRSUAPI implementation Andrew Bartlett
* Move libcli/auth to the top levelAndrew Bartlett2009-04-148-0/+2255
|
* error-codes: add WERR_CM_INVALID_POINTER.Günther Deschner2009-04-101-0/+1
| | | | Guenther
* error-codes: add some service related error codes.Günther Deschner2009-04-082-0/+6
| | | | | | Patch initially from: Danny Tylman <danny.tylman@insightix.com> Guenther
* libcli/cldap: convert to tsocket_* function to tdgram_*Stefan Metzmacher2009-04-021-45/+38
| | | | metze
* s/NT_STATUS_WIN7_INVALID_RANGE/NT_STATUS_INVALID_LOCK_RANGE/gZach Loafman2009-04-011-2/+2
|
* libcli/cldap: fix memory/resource leakStefan Metzmacher2009-04-011-1/+8
| | | | | | We need to remove the message id, when a search request is finished metze
* Merge branch 'master' of ssh://git.samba.org/data/git/samba into displaysecJelmer Vernooij2009-03-262-0/+2
|\
| * error-codes: add WERR_DS_DRA_SOURCE_DISABLED.Günther Deschner2009-03-262-0/+2
| | | | | | | | Guenther