summaryrefslogtreecommitdiff
path: root/libcli
AgeCommit message (Collapse)AuthorFilesLines
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
2009-04-14Move MSRPC-PARSE into the common libcli/authAndrew Bartlett2-0/+374
This is a depenceny of smbencrypt.c
2009-04-14Move DRSUAPI per-attribute decryption into a common fileAndrew Bartlett3-0/+229
This file (contining metze's decryption routines) is now also be used by Samba3's DRSUAPI implementation Andrew Bartlett
2009-04-14Move libcli/auth to the top levelAndrew Bartlett8-0/+2255
2009-04-10error-codes: add WERR_CM_INVALID_POINTER.Günther Deschner1-0/+1
Guenther
2009-04-08error-codes: add some service related error codes.Günther Deschner2-0/+6
Patch initially from: Danny Tylman <danny.tylman@insightix.com> Guenther
2009-04-02libcli/cldap: convert to tsocket_* function to tdgram_*Stefan Metzmacher1-45/+38
metze
2009-04-01s/NT_STATUS_WIN7_INVALID_RANGE/NT_STATUS_INVALID_LOCK_RANGE/gZach Loafman1-2/+2
2009-04-01libcli/cldap: fix memory/resource leakStefan Metzmacher1-1/+8
We need to remove the message id, when a search request is finished metze
2009-03-26Merge branch 'master' of ssh://git.samba.org/data/git/samba into displaysecJelmer Vernooij2-0/+2
2009-03-26error-codes: add WERR_DS_DRA_SOURCE_DISABLED.Günther Deschner2-0/+2
Guenther
2009-03-25display_sec: Move to common libcli/security directory.Jelmer Vernooij2-1/+323
2009-03-19move source4/libcli/cldap => libcli/cldapStefan Metzmacher3-0/+1265
metze
2009-03-02error-codes: add WERR_DEVICE_NOT_CONNECTED.Günther Deschner2-0/+2
Guenther
2009-03-02libcli/security: fix the source4 buildStefan Metzmacher1-0/+1
metze
2009-03-02libcli/security: fix the source3 buildStefan Metzmacher2-2/+2
metze
2009-03-01Add header files for secace and secacl.Jelmer Vernooij2-0/+72
2009-03-01Move secacl to top-level.Jelmer Vernooij1-0/+122
2009-03-01dom_sid.h: Include dependency security.h that provides the dom_sid struct.Jelmer Vernooij1-0/+2
2009-03-01Move secace.c to top-level.Jelmer Vernooij1-0/+281
2009-02-26libcli/util/werror.h: add macro W_ERROR_NOT_OK_GOTO(x, y)Michael Adam1-0/+6
a goto destination can be specified as a second parameter. Michael
2009-02-26s3: move definition of W_ERROR_NOT_OK_GOTO_DONE down to libcli/util/werror.hMichael Adam1-0/+6
Michael
2009-02-24error-codes: print out WERR_UNKNOWN_PRINT_MONITOR.Günther Deschner1-0/+1
Guenther
2009-02-24libcli/ldap: move generic ldap control encoding code to ldap_message.cStefan Metzmacher2-6/+156
As they can we static there, we pass the specific handlers as parameter where we need to support controls. metze
2009-02-24libcli/ldap: move ldap_ndr from source4/ to toplevelStefan Metzmacher3-1/+117
metze
2009-02-24libcli/ldap: fix compiler warningsStefan Metzmacher2-6/+11
metze
2009-02-24libcli/ldap: move ldap_errors.h to the toplevel and install itStefan Metzmacher3-2/+70
metze
2009-02-24libcli/ldap: move ldap_message.[ch] from source4/ to the toplevelStefan Metzmacher3-0/+1698
metze
2009-02-24error-codes: add WERR_INVALID_USER_BUFFER.Günther Deschner2-0/+2
Guenther
2009-02-14Add missing include to shut up missing prototype warningsVolker Lendecke1-0/+1
2009-02-11s4 torture: Smbtorture additions for Windows BRLZack Kirsch1-0/+3
- Adds a few new BRL tests to RAW-LOCK - Adds a "win7" target to allow torture to handle protocol changes in windows 7
2009-02-02libcli/nbt: s/private/private_dataStefan Metzmacher1-6/+6
metze
2009-02-01s3: Fix the non-merged build.Kai Blin1-1/+0
2009-02-01shared: Move dom_sid_* utility functions to top levelKai Blin3-0/+359
2009-01-19Attempt to fix the merged buildVolker Lendecke2-3/+3
2009-01-19libcli/nbt: add nbt_name_socket_handle_response_packet()Stefan Metzmacher2-3/+13
Move the last part of nbt_name_socket_recv() into a new function nbt_name_socket_handle_response_packet() so that it can be reused by an unexpected handler. metze (from samba4wins tree cb0377f3b95e50c84fac999a49dde80acc933124)
2009-01-19libcli/nbt: add nbt_set_unexpected_handler()Stefan Metzmacher2-0/+17
metze (from samba4wins tree 74232901d1e7ea9ebcb3bd8d584dda36fac37223)
2009-01-19libcli/nbt: fix wack timeout handlingStefan Metzmacher1-3/+18
If the client gets a WACK response, the server sends a timeout to the client. Possible values are between 9 and 105 seconds. Because w2k3 servers have a bug and always return a value of 5 seconds, we need a workarround. Always using a fixed value of 30 seconds is bad as we could timeout to early. Now we use the value from the server if it's in the valid range and otherwise we use the upper limit of the valid range (105s). metze (from samba4wins tree 40ef7739f4141598a6392c203e4a2d52d972fe06)
2009-01-19Revert "Remove another use of global_loadparm."Stefan Metzmacher3-6/+2
This reverts commit ee7c2170a79f1ca9e2ad1a209d342d8fd287ec8d. A much more correct fix will come soon. (40ef7739f4141598a6392c203e4a2d52d972fe06 from the samba4wins tree) metze