summaryrefslogtreecommitdiff
path: root/libcli
AgeCommit message (Collapse)AuthorFilesLines
2009-08-27libcli/auth: remove some useless linesStefan Metzmacher1-3/+0
metze Signed-off-by: Günther Deschner <gd@samba.org>
2009-08-27libcli/auth: remember schannel type in netlogon_creds_server_init()Stefan Metzmacher1-0/+1
metze Signed-off-by: Günther Deschner <gd@samba.org>
2009-08-27libcli/auth: add tdb backend for schannel state.Günther Deschner3-0/+239
Guenther
2009-08-27libcli/auth: move netlogon_creds_CredentialState out of libcli.Günther Deschner2-13/+1
Guenther
2009-08-27s4-schannel: add ldb suffix to schannel functions.Günther Deschner2-33/+33
Guenther
2009-08-27libcli/auth: rename schannel_state.c to schannel_state_ldb.c.Günther Deschner2-14/+14
Guenther
2009-08-15libcli/smb: add smb2_create_blob_find()Stefan Metzmacher2-0/+23
metze
2009-08-12libcli/smb: move smb2_create_blob code to libcli/smb/Stefan Metzmacher4-0/+249
I want to use this in source3/smbd/ metze
2009-08-12libcli: move some common SMB and SMB2 stuff into libcli/smb/Stefan Metzmacher2-0/+202
This will hold code that's shared between source3 and source4. metze
2009-07-31Adds new error codes (needed for enhancing error messages for SAMBA 4 AD ↵Matthias Dieter Wallnöfer3-17/+82
LDAP server)
2009-07-14Create a correct talloc hierarchy in make_sec_acl()Volker Lendecke1-1/+1
2009-07-02doserrors: print out some more werrors.Günther Deschner1-0/+5
Guenther
2009-06-19A fix in the ACL code used by both SAMBA 3 and 4Matthias Dieter Wallnöfer1-1/+1
This fixes an uninitialised structure. It has been found through valgrind in the RAW-ACLs test suite (Bug #6397).
2009-06-18s4: Call va_end() after all va_start()/va_copy() calls.Andrew Kroeger1-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.
2009-06-18Add const to cast, to fix warningAndrew Bartlett1-2/+2
2009-06-12two more NT status codes that we get on DRS with w2k8-R2Andrew Tridgell1-1/+2
2009-06-08Replace the "ipv4" specific strings in libcli/cldap/cldap.c with "ip". CLDAP canJeremy Allison1-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.
2009-06-04add NT_STATUS_HAVE_NO_MEMORY_AND_FREE()Andrew Tridgell1-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
2009-05-15errormap: Remove wbc -> NTSTATUS error map for now. It is not used.Jelmer Vernooij1-6/+0
This was breaking the Samba 4 installation since it added dependencies on header files we weren't installing. Confirmed with Kai.
2009-05-12error-codes: add some more WERRORs to table.Günther Deschner1-0/+2
These tables really should be auto-generated at some point... Guenther
2009-05-10Fix an unitialized variable warningVolker Lendecke1-0/+3
2009-05-05error-codes: add some more group specific windows error codes.Günther Deschner2-0/+6
Guenther
2009-05-04libcli: Fix shadowed name in header alsoTim Prouty1-1/+1
2009-05-04libcli: Fix shadowed variable warningTim Prouty1-2/+2
2009-05-01libcli/named_pipe_auth: add tstream_npa_connect_send/recv()Stefan Metzmacher3-0/+1122
Add a tstream client implemenation for the named pipe auth code. This supports byte and message mode. metze
2009-04-23Fix a couple of warningsVolker Lendecke4-17/+22
2009-04-22errormap: Add wbcErr to NTSTATUS mappingsKai Blin1-0/+6
2009-04-21Fix includes for security_descriptor file for the non-merged build.Jelmer Vernooij1-1/+2
2009-04-21Fix make install; don't install drsuapi.h and fix the location ofJelmer Vernooij1-2/+0
credentials.h
2009-04-21Move the security_descriptor utility code to the top-level.Jelmer Vernooij3-1/+598
2009-04-21Use a static copy of the samsync header file as Samba3 doesn't generateJelmer Vernooij2-4/+34
prototype headers.
2009-04-20Stop autogenerated files from being created.Jeremy Allison1-5/+0
Jeremy.
2009-04-20Add previously generated header files now needed in merged build.Jeremy Allison3-0/+270
Jeremy.
2009-04-20libcli/auth Ensure we cancel the transaction when schannel not detectedAndrew Bartlett1-0/+1
(found by jra on code review) Andrew Bartlett
2009-04-20libcli/auth: Don't pass back lm_sess_key as the same pointer as user_sess_keyAndrew Bartlett1-13/+7
This ensures that a talloc_free() of both pointers won't double-free (sharing pointers like this is evil anyway). Andrew Bartlett
2009-04-16Fix building the now common msrpc_parse codeAndrew Bartlett1-1/+1
2009-04-16Fix building the common libcli/samsync codeAndrew Bartlett1-1/+1
2009-04-15Add missing header, remove generated headerAndrew Bartlett1-10/+8
(This isn't a rename, honest :-)
2009-04-15common:libcli/auth Add missing samsync config.mkAndrew Bartlett1-0/+10
2009-04-14libcli/auth Push schannel check into common libcli/authAndrew Bartlett1-4/+9
This means we have a single choke point to ensure the remote client is using schannel. Andrew Bartlett
2009-04-14Rework Samba4 to use the new common libcli/auth codeAndrew Bartlett4-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
2009-04-14Rework netlogon credentials for the top levelAndrew Bartlett2-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
2009-04-14Push schannel_state.c into the top level.Andrew Bartlett2-0/+322
This is the server side state for netlogon credential chaining Andrew Bartlett
2009-04-14Use common samsync delta decryption functions in libnet_samsync.cAndrew Bartlett2-0/+200
Andrew Bartlett
2009-04-14libcli/auth Don't compile against un-needed Samba4 headersAndrew Bartlett1-1/+0
2009-04-14Port Samba4 to the new combined libcli/auth functionsAndrew Bartlett2-1/+6
For example, some of the new shared functionality was previously in the wkssvc torture test. Andrew Bartlett
2009-04-14Move ntlm_check.h into the common libcli/authAndrew Bartlett1-0/+76
2009-04-14Rework Samba3 to use new libcli/auth code (partial)Andrew Bartlett3-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
2009-04-14Merge smbencrypt.c between Samba3 and Samba4Andrew Bartlett1-31/+219
2009-04-14Rework trivial msrpc parser to use convert_string_talloc()Andrew Bartlett1-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