summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2010-07-26s3: Convert cli_qpathinfo2 to cli_qpathinfo_sendVolker Lendecke2-52/+103
2010-07-26s3: Callers of cli_qpathinfo_recv might ignore the outputVolker Lendecke1-2/+8
2010-07-26s3: cli_qpathinfo2 expects at least 68 bytesVolker Lendecke1-1/+1
2010-07-26s3: Convert cli_qpathinfo1 to cli_qpathinfoVolker Lendecke1-61/+105
2010-07-26s3: Fix a structure mess-upVolker Lendecke1-1/+1
I wonder why the compiler did not complain -- maybe because the structs have the same data members? No clue.
2010-07-26s3: Remove some unused struct membersVolker Lendecke1-6/+0
2010-07-25s3: Convert cli_get_ea_list_path to cli_qpathinfo_sendVolker Lendecke1-20/+94
2010-07-25s3: Factor out parse_ea_blobVolker Lendecke1-25/+41
2010-07-25s3: Convert cli_posix_stat to cli_qpathinfo_sendVolker Lendecke1-57/+20
2010-07-25s3: Convert cli_posix_getfacl to cli_qpathinfo_sendVolker Lendecke1-53/+21
2010-07-25s3: Convert cli_posix_readlink to cli_qpathinfo_sendVolker Lendecke1-67/+33
2010-07-25s3: Add async cli_qpathinfoVolker Lendecke1-0/+135
2010-07-25s3: cli_qpathinfo->cli_qpathinfo1Volker Lendecke1-1/+1
2010-07-25s3: Fix cli_posix_statVolker Lendecke1-4/+4
nlink seems to be defined as 8 bytes, not 4 Jeremy, please check!
2010-07-23Fix bug 7583 - Smbclient fails to kerberos connect to a Alfresco JLAN CIFS ↵Jeremy Allison1-152/+151
Server Correctly calculate the gssapi channel binding checkum. Jeremy Signed off by: simo <idra@samba.org>
2010-07-20s3-libsmb: Use data_blob_talloc to get krb5 ticket and session keysSimo Sorce2-15/+23
2010-07-20misc: cleanup get_krb5_smb_session_key()Simo Sorce1-8/+15
2010-07-20misc: cleanup cli_krb5_get_ticket()Simo Sorce1-21/+20
2010-07-20Add approriate TALLOC_CTX's thoughout the spnego code. No more implicit NULL ↵Jeremy Allison3-21/+23
contexts. Jeremy.
2010-07-20Fix one more data_blob -> data_blob_talloc. Move away from implicit NULL ↵Jeremy Allison3-13/+16
context tallocs. Jeremy.
2010-07-20Add TALLOC_CTX argument to spnego_parse_negTokenInit, reduceJeremy Allison2-7/+8
use of malloc, and data_blob(). Jeremy.
2010-07-20Rename spnego_gen_negTokenTarg() -> spnego_gen_krb5_negTokenInit()Jeremy Allison2-6/+6
as this correctly describes what this function does. Jeremy.
2010-07-20Remove gen_negTokenTarg(), as it's not actually creating a TokenTarg frame, ↵Jeremy Allison2-48/+2
but a TokenInit one. Move to using spnego_gen_negTokenInit() instead. Jeremy
2010-07-20Fixes pointed out by <david.kondrad@legrand.us>. Free memory if not beingJeremy Allison1-38/+37
returned to caller. Remove unneeded asn1_tag_remaining() calls. Jeremy.
2010-07-20s3-auth: Add auth_ntlmssp wrapper for client sideSimo Sorce1-0/+59
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-20s3-auth: Move auth_ntlmssp wrappers in their own fileSimo Sorce1-0/+118
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19Remove gen_negTokenInit() - change all callers to spnego_gen_negTokenInit().Jeremy Allison2-54/+19
We now have one function to do this in all calling code. More rationalization to follow. Jeremy.
2010-07-19Move the addition of the 16 byte guid out of spnego_gen_negTokenInit() andJeremy Allison1-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.
2010-07-19Remove parse_negTokenTarg(), as it's actually incorrect. We're processingJeremy Allison2-75/+25
negTokenInit's here. Use common code in spnego_parse_negTokenInit(). Jeremy.
2010-07-19Fix [Bug 7577] SPNEGO auth fails when contacting Win7 system using Microsoft ↵Jeremy Allison1-7/+54
Live Sign-in Assistant Based on code from <david.kondrad@legrand.us>. Cope with every NegTokenInit ::= SEQUENCE value. Jeremy.
2010-07-19s3-ntlmssp: Remove ntlmssp_end and let the talloc hierarchy handle it.Simo Sorce3-21/+4
All the members are children of ntlmssp_state anyway. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-01s3-libads: move ads_dns out of main includes.Günther Deschner2-0/+2
Guenther
2010-06-30s3-libsmb: move change_trust_account_password out of smbd into libsmb.Günther Deschner1-0/+74
Guenther
2010-06-28s3-libsmb: Make sure that finfo is initialized.Andreas Schneider1-0/+2
Found by clang-analyzer.
2010-06-28s3: Fix some valgrind errorsVolker Lendecke1-19/+36
Essentially the same change as 15297ee, this time for the client side. Günther, Andrew B, please check! Thanks, Volker
2010-06-21s3: Fix some valgrind errorsVolker Lendecke1-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
2010-06-05s3: fix build on Heimdal based systems like NetBSD5Björn Jacke1-3/+3
2010-06-03s3: remove authdata.hGünther Deschner1-1/+8
Guenther
2010-06-03s3-security: use shared SECINFO_DACL define.Günther Deschner1-1/+1
Guenther
2010-06-03s3-security: use shared SECINFO_GROUP define.Günther Deschner1-1/+1
Guenther
2010-06-03s3-security: use shared SECINFO_OWNER define.Günther Deschner1-1/+1
Guenther
2010-05-31s3:ntlmssp Move ntlmssp_sign.c from source3 to common code.Andrew Bartlett2-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>
2010-05-31s3:ntlmssp Use a TALLOC_CTX for ntlmssp_sign_packet() and ntlmssp_seal_packet()Andrew Bartlett2-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>
2010-05-31ntlmssp: Make the ntlmssp.h from source3/ a common headerAndrew Bartlett5-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>
2010-05-31s3: only use netlogon/nbt header when needed.Günther Deschner4-0/+20
Guenther
2010-05-31s3-build: only use ndr_security.h where needed.Günther Deschner1-0/+1
Guenther
2010-05-28s3-build: only use ndr_samr.h where needed.Günther Deschner1-0/+1
Guenther
2010-05-22s3: Remove unreachable codeVolker Lendecke1-1/+0
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett6-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>
2010-05-19Correctly check error code return.Jeremy Allison1-1/+1
Jeremy.