summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
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
2010-04-18s3: Fix a memleak in discover_dc_netbiosVolker Lendecke1-0/+3
2010-04-13Don't set "requested_posix_capabilities" in the sync code, already done in ↵Jeremy Allison1-2/+0
the async. Jeremy.
2010-04-13Split out the client unix capabilities to those the server offered, and ↵Jeremy Allison3-7/+19
those the client asked for. This fixes a bug when using encrypted transport and DFS links. Found by my basic DFS torture test, which I'll check in next. Testing *rocks* :-). Jeremy.
2010-03-30If the timeout has been set to zero, don't register an end time.Jeremy Allison1-3/+5
The caller doesn't want a timeout. Jeremy.
2010-03-29s3:libsmb: add cli_state_is_connected() functionStefan Metzmacher1-0/+18
metze
2010-03-29s3:libsmb: don't let cli_shutdown() segfault with a NULL cli_stateStefan Metzmacher1-0/+3
metze
2010-03-24s3:ntlmssp: use c99 typesStefan Metzmacher1-22/+22
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: use client.netbios_name instead of workstationStefan Metzmacher1-4/+6
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: remove unused ntlmssp_set_workstation()Stefan Metzmacher1-13/+0
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: move sign/seal states to a private ntlmssp_crypt_state unionStefan Metzmacher1-37/+60
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: add const for *sig in ntlmssp_unseal_packet()Stefan Metzmacher1-1/+1
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: make whole_pdu const for ntlmssp_[un]seal_packet()Stefan Metzmacher1-2/+2
Only data needs to be non-const. metze Signed-off-by: Günther Deschner <gd@samba.org>