summaryrefslogtreecommitdiffstats
path: root/source3/libsmb
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: Remove some unused struct membersVolker Lendecke2010-07-261-6/+0
|
* s3: Convert cli_get_ea_list_path to cli_qpathinfo_sendVolker Lendecke2010-07-251-20/+94
|
* s3: Factor out parse_ea_blobVolker Lendecke2010-07-251-25/+41
|
* s3: Convert cli_posix_stat to cli_qpathinfo_sendVolker Lendecke2010-07-251-57/+20
|
* s3: Convert cli_posix_getfacl to cli_qpathinfo_sendVolker Lendecke2010-07-251-53/+21
|
* s3: Convert cli_posix_readlink to cli_qpathinfo_sendVolker Lendecke2010-07-251-67/+33
|
* s3: Add async cli_qpathinfoVolker Lendecke2010-07-251-0/+135
|
* s3: cli_qpathinfo->cli_qpathinfo1Volker Lendecke2010-07-251-1/+1
|
* s3: Fix cli_posix_statVolker Lendecke2010-07-251-4/+4
| | | | | | nlink seems to be defined as 8 bytes, not 4 Jeremy, please check!
* Fix bug 7583 - Smbclient fails to kerberos connect to a Alfresco JLAN CIFS ↵Jeremy Allison2010-07-231-152/+151
| | | | | | | | | | Server Correctly calculate the gssapi channel binding checkum. Jeremy Signed off by: simo <idra@samba.org>
* s3-libsmb: Use data_blob_talloc to get krb5 ticket and session keysSimo Sorce2010-07-202-15/+23
|
* misc: cleanup get_krb5_smb_session_key()Simo Sorce2010-07-201-8/+15
|
* misc: cleanup cli_krb5_get_ticket()Simo Sorce2010-07-201-21/+20
|
* Add approriate TALLOC_CTX's thoughout the spnego code. No more implicit NULL ↵Jeremy Allison2010-07-203-21/+23
| | | | | | contexts. Jeremy.
* Fix one more data_blob -> data_blob_talloc. Move away from implicit NULL ↵Jeremy Allison2010-07-203-13/+16
| | | | | | context tallocs. Jeremy.
* Add TALLOC_CTX argument to spnego_parse_negTokenInit, reduceJeremy Allison2010-07-202-7/+8
| | | | | | use of malloc, and data_blob(). Jeremy.
* Rename spnego_gen_negTokenTarg() -> spnego_gen_krb5_negTokenInit()Jeremy Allison2010-07-202-6/+6
| | | | | | as this correctly describes what this function does. Jeremy.
* Remove gen_negTokenTarg(), as it's not actually creating a TokenTarg frame, ↵Jeremy Allison2010-07-202-48/+2
| | | | | | | | but a TokenInit one. Move to using spnego_gen_negTokenInit() instead. Jeremy
* Fixes pointed out by <david.kondrad@legrand.us>. Free memory if not beingJeremy Allison2010-07-201-38/+37
| | | | | | returned to caller. Remove unneeded asn1_tag_remaining() calls. Jeremy.
* s3-auth: Add auth_ntlmssp wrapper for client sideSimo Sorce2010-07-201-0/+59
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-auth: Move auth_ntlmssp wrappers in their own fileSimo Sorce2010-07-201-0/+118
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* Remove gen_negTokenInit() - change all callers to spnego_gen_negTokenInit().Jeremy Allison2010-07-192-54/+19
| | | | | | | We now have one function to do this in all calling code. More rationalization to follow. Jeremy.
* Move the addition of the 16 byte guid out of spnego_gen_negTokenInit() andJeremy Allison2010-07-191-4/+2
| | | | | | | | into negprot_spnego() where it belongs (it's not an SPNEGO operation). Add a TALLOC_CTX for callers of negprot_spnego(). Closer to unifying all the gen_negTokenXXX calls. Jeremy.
* Remove parse_negTokenTarg(), as it's actually incorrect. We're processingJeremy Allison2010-07-192-75/+25
| | | | | | negTokenInit's here. Use common code in spnego_parse_negTokenInit(). Jeremy.
* Fix [Bug 7577] SPNEGO auth fails when contacting Win7 system using Microsoft ↵Jeremy Allison2010-07-191-7/+54
| | | | | | | Live Sign-in Assistant Based on code from <david.kondrad@legrand.us>. Cope with every NegTokenInit ::= SEQUENCE value. Jeremy.
* s3-ntlmssp: Remove ntlmssp_end and let the talloc hierarchy handle it.Simo Sorce2010-07-193-21/+4
| | | | | | All the members are children of ntlmssp_state anyway. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-libads: move ads_dns out of main includes.Günther Deschner2010-07-012-0/+2
| | | | Guenther
* s3-libsmb: move change_trust_account_password out of smbd into libsmb.Günther Deschner2010-06-301-0/+74
| | | | Guenther
* s3-libsmb: Make sure that finfo is initialized.Andreas Schneider2010-06-281-0/+2
| | | | Found by clang-analyzer.
* s3: Fix some valgrind errorsVolker Lendecke2010-06-281-19/+36
| | | | | | | | | | Essentially the same change as 15297ee, this time for the client side. Günther, Andrew B, please check! Thanks, Volker
* s3: Fix some valgrind errorsVolker Lendecke2010-06-211-18/+33
| | | | | | | | | | | | | With -d 10, there were a ton of uninitialized variables: The "NegotiateFlags" in the automatically parsed ntlmssp structures were not initialized. This also cleans up the talloc use a bit: do early TALLOC_FREE() Günther, please check! Thanks, Volker
* s3: fix build on Heimdal based systems like NetBSD5Björn Jacke2010-06-051-3/+3
|
* s3: remove authdata.hGünther Deschner2010-06-031-1/+8
| | | | Guenther
* s3-security: use shared SECINFO_DACL define.Günther Deschner2010-06-031-1/+1
| | | | Guenther
* s3-security: use shared SECINFO_GROUP define.Günther Deschner2010-06-031-1/+1
| | | | Guenther
* s3-security: use shared SECINFO_OWNER define.Günther Deschner2010-06-031-1/+1
| | | | Guenther
* s3:ntlmssp Move ntlmssp_sign.c from source3 to common code.Andrew Bartlett2010-05-312-623/+1
| | | | | | | | | This needs a small re-arrangement of the supporting code. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp Use a TALLOC_CTX for ntlmssp_sign_packet() and ntlmssp_seal_packet()Andrew Bartlett2010-05-312-11/+35
| | | | | | | | | This ensures the results can't be easily left to leak. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
* ntlmssp: Make the ntlmssp.h from source3/ a common headerAndrew Bartlett2010-05-315-5/+5
| | | | | | | | | The code is not yet in common, but I hope to fix that soon. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
* s3: only use netlogon/nbt header when needed.Günther Deschner2010-05-314-0/+20
| | | | Guenther
* s3-build: only use ndr_security.h where needed.Günther Deschner2010-05-311-0/+1
| | | | Guenther
* s3-build: only use ndr_samr.h where needed.Günther Deschner2010-05-281-0/+1
| | | | Guenther
* s3: Remove unreachable codeVolker Lendecke2010-05-221-1/+0
|
* s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett2010-05-216-25/+25
| | | | | | | | | | This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
* Correctly check error code return.Jeremy Allison2010-05-191-1/+1
| | | | Jeremy.
* Thanks to Andrew Bartlett's advice, fix the NTLMSSP version problem the ↵Jeremy Allison2010-05-191-32/+34
| | | | | | | | | correct way. No more magic blobs :-). Use ndr_push_struct_blob() to push a properly formatted VERSION struct. Jeremy.
* Fix our NTLMSSP implementation against the Microsoft torture tester.Jeremy Allison2010-05-181-13/+37
| | | | | | We need to return a version blob if we negotiate version info. Jeremy.
* s3-rpc_client: move protos to cli_lsarpc.hGünther Deschner2010-05-183-0/+3
| | | | Guenther
* s3-rpc_client: move protos to cli_netlogon.hGünther Deschner2010-05-181-0/+1
| | | | Guenther
* s3-rpc_client: move protos to cli_samr.hGünther Deschner2010-05-181-0/+1
| | | | Guenther