summaryrefslogtreecommitdiffstats
path: root/libcli
Commit message (Collapse)AuthorAgeFilesLines
* libcli/util: add tstream_read_pdu_blob_send/recvStefan Metzmacher2010-01-082-0/+246
| | | | | | | This will take the some full_request callback function as the Samba4 packet code. metze
* Simplify E_md5hash a bitVolker Lendecke2010-01-071-6/+2
|
* libcli/auth Make gd's NDR NTLMSSP parsers helpers commonAndrew Bartlett2009-12-222-0/+189
| | | | (but not built in Samba4 for now)
* ldap: give a debug error when we don't know a controlAndrew Tridgell2009-12-161-0/+2
| | | | | | | This interface should really have a proper error interface, but at least a DEBUG() gives the user a chance of finding the error Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* libcli: use GUID_to_ndr_blob()Andrew Tridgell2009-12-101-4/+3
|
* libcli: allow ntstatus.h to be used by openchangeAndrew Tridgell2009-11-251-0/+8
| | | | | apparently ntstatus.h is used by openchange, but they don't include replace.h. This makes that possible again.
* libcli/nbt Move more of lmhosts lookup into common codeAndrew Bartlett2009-11-042-0/+85
| | | | | | This aims to eventually share this with Samba4. Andrew Bartlett
* libcli/auth: initialize creds in netlogon_creds_client_init_session_key()Stefan Metzmacher2009-10-241-2/+3
| | | | metze
* libcli/auth: fix memory leak in schannel_creds_server_step_check_ldb()Stefan Metzmacher2009-10-241-24/+37
| | | | metze
* libcli/auth: don't leak the ldb_msg in schannel_store_session_key_ldb()Stefan Metzmacher2009-10-241-1/+1
| | | | metze
* s4-python: we need to include Python.h firstAndrew Tridgell2009-10-231-1/+1
| | | | | If we don't include Python.h first then we get a pile of warnings due to broken redefines of XOPEN_SOURCE in the Python includes.
* added NT_STATUS_NOT_OK_RETURN_AND_FREE()Andrew Tridgell2009-10-171-0/+7
| | | | Try to make it a bit easier to avoid leaks in common code
* s3/s4 common: fix up header fileMatthias Dieter Wallnöfer2009-10-041-2/+1
|
* w32err: Importing auto-generated Win32 errors and descriptionsKamen Mazdrashki2009-09-302-1/+7222
| | | | | | | | | Error codes and their descriptions are generated using w32err_code.py script. Error are downloaded from MS site: http://msdn.microsoft.com/en-us/library/cc231199%28PROT.10%29.aspx Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
* w32err: WERR_GROUP_NOT_FOUND renamed to WERR_GROUPNOTFOUNDKamen Mazdrashki2009-09-302-2/+2
| | | | | | | | | In Win 32 we have NERR_GroupNotFound which maps to WERR_GROUP_NOT_FOUND currently and we have ERROR_GROUP_NOT_FOUND which maps to nothing, so it is to be added Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
* w32err: WERR_USER_EXISTS replace with WERR_USEREXISTS nameKamen Mazdrashki2009-09-302-3/+3
| | | | | | | | | In Win32 we have NERR_UserExists which maps to WERR_USER_EXISTS currently and there is ERROR_USER_EXISTS which maps to WERR_USER_ALREADY_EXISTS Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
* w32err: WERR_DC_NOT_FOUND replaced with WERR_DCNOTFOUNDKamen Mazdrashki2009-09-302-3/+3
| | | | | | | It turns out in win32 ERROR_DC_NOT_FOUND exists and it is an error for Device Context (DC), not Domain Controller Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
* w32err: FRS_ group of errors replaced with numeric valuesKamen Mazdrashki2009-09-301-3/+3
| | | | Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
* w32err: WERR_DOMAIN_CONTROLLER_NOT_FOUND error value fixedKamen Mazdrashki2009-09-301-1/+1
| | | | Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
* Initial implementation of security descriptor creation in DSNadezhda Ivanova2009-09-202-0/+54
| | | | | TODO's: ACE sorting and clarifying the inheritance of object specific ace's.
* libcli:nbt move prototypes of lmhosts functions to libnbt.hAndrew Bartlett2009-09-191-1/+6
|
* libcli/named_pipe_auth: pass gssapi delegated credentials through the named pipeStefan Metzmacher2009-09-182-22/+32
| | | | metze
* util: use likely/unlikely for NT_STATUS_* macrosAndrew Tridgell2009-09-171-3/+3
|
* spnego: Support ASN.1 BIT STRING and use it in SPNEGO.Kouhei Sutou2009-09-172-8/+9
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* w32err: Set hex format values for all errorsKamen Mazdrashki2009-09-171-90/+90
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* w32err: Re-define errors with numeric valuesKamen Mazdrashki2009-09-171-46/+46
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* w32err: Sorting error codes in ascending orderKamen Mazdrashki2009-09-171-10/+8
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* w32err: NERR_ codes grouped togetherKamen Mazdrashki2009-09-171-9/+9
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* w32err: WERR_CLASS_NOT_REGISTERED updatedKamen Mazdrashki2009-09-172-2/+7
| | | | | | | Error code move to COM/OLE group. Error value changed to as REGDB_E_CLASSNOTREG in Windows Signed-off-by: Günther Deschner <gd@samba.org>
* spnego: add spnego_proto.h.Günther Deschner2009-09-172-1/+29
| | | | Guenther
* spnego: share spnego_parse.Günther Deschner2009-09-172-0/+477
| | | | Guenther
* libcli/auth: remove trailing whitespace.Günther Deschner2009-09-161-72/+72
| | | | Guenther
* Owner and group defaulting.Nadezhda Ivanova2009-09-162-1/+4
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* libcli/auth: rewrite schannel sign/seal code to be more genericStefan Metzmacher2009-09-162-162/+156
| | | | | | This prepares support for HMAC-SHA256/AES. metze
* schannel: remove last traces of gensec.Günther Deschner2009-09-161-2/+0
| | | | Guenther
* schannel: fully share schannel sign/seal between s3 and 4.Günther Deschner2009-09-161-0/+1
| | | | Guenther
* schannel: move schannel_sign to main directory.Günther Deschner2009-09-163-0/+351
| | | | Guenther
* libcli:nbt put util_net.c protos in new header fileAndrew Bartlett2009-09-151-0/+1
| | | | | | | This fixed a very odd build problem due to util.h importing system/network.h being imported before the uid_wapper code. Andrew Bartlett
* libcli:nbt make the lmhosts parsing code and dependicies commonAndrew Bartlett2009-09-152-0/+206
| | | | | | This starts the process to have Samba4 use lmhosts. Andrew Bartlett
* s3-errors: add NT_STATUS_RPC_NT_PROCNUM_OUT_OF_RANGE.Günther Deschner2009-09-111-0/+1
| | | | Guenther
* libcli: added a drsuapi attribute encryption functionAndrew Tridgell2009-09-102-11/+78
|
* libcli:drsuapi Add function to encrypt data for transport over DRSUAPIAndrew Bartlett2009-09-101-0/+102
| | | | | | This is for the server side of the GetNCChanges call. Andrew Bartlett
* s3-nterr: add NT_STATUS_RPC_NT_CALL_FAILED.Günther Deschner2009-09-081-0/+1
| | | | Guenther
* s4: fix the build after ntlmssp header change.Günther Deschner2009-08-281-0/+1
| | | | Guenther
* libcli/auth: remove unused NTLMSSP_NAME_TYPE_ flags.Günther Deschner2009-08-282-8/+3
| | | | Guenther
* libcli/auth: add netlogon_creds_step_crypt() and netlogon_creds_first_step()Stefan Metzmacher2009-08-271-10/+21
| | | | | | | | | This abstracts the usage of crypto functions instead of directly calling des_crypt112(). metze Signed-off-by: Günther Deschner <gd@samba.org>
* libcli/auth: remove some useless linesStefan Metzmacher2009-08-271-3/+0
| | | | | | metze Signed-off-by: Günther Deschner <gd@samba.org>
* libcli/auth: remember schannel type in netlogon_creds_server_init()Stefan Metzmacher2009-08-271-0/+1
| | | | | | metze Signed-off-by: Günther Deschner <gd@samba.org>
* libcli/auth: add tdb backend for schannel state.Günther Deschner2009-08-273-0/+239
| | | | Guenther
* libcli/auth: move netlogon_creds_CredentialState out of libcli.Günther Deschner2009-08-272-13/+1
| | | | Guenther