summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
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.
2010-05-19Thanks to Andrew Bartlett's advice, fix the NTLMSSP version problem the ↵Jeremy Allison1-32/+34
correct way. No more magic blobs :-). Use ndr_push_struct_blob() to push a properly formatted VERSION struct. Jeremy.
2010-05-18Fix our NTLMSSP implementation against the Microsoft torture tester.Jeremy Allison1-13/+37
We need to return a version blob if we negotiate version info. Jeremy.
2010-05-18s3-rpc_client: move protos to cli_lsarpc.hGünther Deschner3-0/+3
Guenther
2010-05-18s3-rpc_client: move protos to cli_netlogon.hGünther Deschner1-0/+1
Guenther
2010-05-18s3-rpc_client: move protos to cli_samr.hGünther Deschner1-0/+1
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner2-7/+7
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_acl SEC_ACL".Günther Deschner1-6/+6
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_ace SEC_ACE".Günther Deschner1-14/+14
Guenther
2010-05-18s3: Remove use of iconv_convenience.Jelmer Vernooij5-15/+9
2010-05-18s3-crypto: only include crypto headers when crypto is done.Günther Deschner4-0/+9
Guenther
2010-05-17s3-kerberos: pass down kdc_name to create_local_private_krb5_conf_for_domain().Günther Deschner1-2/+4
Guenther
2010-05-14s3-libsmb: fix typo in remote_password_change().Günther Deschner1-1/+1
Guenther
2010-05-13s3:libsmb/namecache Remove namecache_enable()Andrew Bartlett1-28/+0
No caller honours the return value, and this call only prints a DEBUG(). Removing this reduces the number of initialisation boilerplate calls s3compat has to make. Andrew Bartlett
2010-05-12s3-rap: fix cli_oem_change_password() and give room for the convert reply word.Günther Deschner1-1/+1
Any servers I could find so far return it. Guenther
2010-05-09s3-libsmb: fix argument order for tevent_req_default_print in cli_pull_print().Günther Deschner1-1/+1
Andreas, please check. Guenther
2010-05-06s3: only include gen_ndr headers where needed.Günther Deschner4-1/+4
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther
2010-05-05s3-libsmb: Fixed a recursion in cli_pull_print.Andreas Schneider1-1/+1
2010-04-27nbt: samlogon/netlogon structures - unify denominationsMatthias Dieter Wallnöfer2-8/+8
2010-04-26s3: fix some build warnings.Günther Deschner1-6/+6
Guenther
2010-04-26s3: use generated rap header.Günther Deschner2-3/+5
Guenther