summaryrefslogtreecommitdiff
path: root/libcli
AgeCommit message (Collapse)AuthorFilesLines
2009-10-17added NT_STATUS_NOT_OK_RETURN_AND_FREE()Andrew Tridgell1-0/+7
Try to make it a bit easier to avoid leaks in common code
2009-10-04s3/s4 common: fix up header fileMatthias Dieter Wallnöfer1-2/+1
2009-09-30w32err: Importing auto-generated Win32 errors and descriptionsKamen Mazdrashki2-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>
2009-09-30w32err: WERR_GROUP_NOT_FOUND renamed to WERR_GROUPNOTFOUNDKamen Mazdrashki2-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>
2009-09-30w32err: WERR_USER_EXISTS replace with WERR_USEREXISTS nameKamen Mazdrashki2-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>
2009-09-30w32err: WERR_DC_NOT_FOUND replaced with WERR_DCNOTFOUNDKamen Mazdrashki2-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>
2009-09-30w32err: FRS_ group of errors replaced with numeric valuesKamen Mazdrashki1-3/+3
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-09-30w32err: WERR_DOMAIN_CONTROLLER_NOT_FOUND error value fixedKamen Mazdrashki1-1/+1
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-09-20Initial implementation of security descriptor creation in DSNadezhda Ivanova2-0/+54
TODO's: ACE sorting and clarifying the inheritance of object specific ace's.
2009-09-19libcli:nbt move prototypes of lmhosts functions to libnbt.hAndrew Bartlett1-1/+6
2009-09-18libcli/named_pipe_auth: pass gssapi delegated credentials through the named pipeStefan Metzmacher2-22/+32
metze
2009-09-17util: use likely/unlikely for NT_STATUS_* macrosAndrew Tridgell1-3/+3
2009-09-17spnego: Support ASN.1 BIT STRING and use it in SPNEGO.Kouhei Sutou2-8/+9
Signed-off-by: Günther Deschner <gd@samba.org>
2009-09-17w32err: Set hex format values for all errorsKamen Mazdrashki1-90/+90
Signed-off-by: Günther Deschner <gd@samba.org>
2009-09-17w32err: Re-define errors with numeric valuesKamen Mazdrashki1-46/+46
Signed-off-by: Günther Deschner <gd@samba.org>
2009-09-17w32err: Sorting error codes in ascending orderKamen Mazdrashki1-10/+8
Signed-off-by: Günther Deschner <gd@samba.org>
2009-09-17w32err: NERR_ codes grouped togetherKamen Mazdrashki1-9/+9
Signed-off-by: Günther Deschner <gd@samba.org>
2009-09-17w32err: WERR_CLASS_NOT_REGISTERED updatedKamen Mazdrashki2-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>
2009-09-17spnego: add spnego_proto.h.Günther Deschner2-1/+29
Guenther
2009-09-17spnego: share spnego_parse.Günther Deschner2-0/+477
Guenther
2009-09-16libcli/auth: remove trailing whitespace.Günther Deschner1-72/+72
Guenther
2009-09-16Owner and group defaulting.Nadezhda Ivanova2-1/+4
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-09-16libcli/auth: rewrite schannel sign/seal code to be more genericStefan Metzmacher2-162/+156
This prepares support for HMAC-SHA256/AES. metze
2009-09-16schannel: remove last traces of gensec.Günther Deschner1-2/+0
Guenther
2009-09-16schannel: fully share schannel sign/seal between s3 and 4.Günther Deschner1-0/+1
Guenther
2009-09-16schannel: move schannel_sign to main directory.Günther Deschner3-0/+351
Guenther
2009-09-15libcli:nbt put util_net.c protos in new header fileAndrew Bartlett1-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
2009-09-15libcli:nbt make the lmhosts parsing code and dependicies commonAndrew Bartlett2-0/+206
This starts the process to have Samba4 use lmhosts. Andrew Bartlett
2009-09-11s3-errors: add NT_STATUS_RPC_NT_PROCNUM_OUT_OF_RANGE.Günther Deschner1-0/+1
Guenther
2009-09-10libcli: added a drsuapi attribute encryption functionAndrew Tridgell2-11/+78
2009-09-10libcli:drsuapi Add function to encrypt data for transport over DRSUAPIAndrew Bartlett1-0/+102
This is for the server side of the GetNCChanges call. Andrew Bartlett
2009-09-08s3-nterr: add NT_STATUS_RPC_NT_CALL_FAILED.Günther Deschner1-0/+1
Guenther
2009-08-28s4: fix the build after ntlmssp header change.Günther Deschner1-0/+1
Guenther
2009-08-28libcli/auth: remove unused NTLMSSP_NAME_TYPE_ flags.Günther Deschner2-8/+3
Guenther
2009-08-27libcli/auth: add netlogon_creds_step_crypt() and netlogon_creds_first_step()Stefan Metzmacher1-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>
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