summaryrefslogtreecommitdiffstats
path: root/libcli/auth/smbencrypt.c
Commit message (Collapse)AuthorAgeFilesLines
* libcli/auth/smbencrypt: in E_deshash, use talloc_stackframe instead of "#if ↵Michael Adam2011-05-121-8/+4
| | | | | | | | | | | | | _SAMBA_BUILD_ == 3" and talloc_tos() talloc_stackframe() is used in other shared components already, and if the stack is a talloc_pool, then in most cases, it should also not be more expensive than directly using talloc_tos(). Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu May 12 12:52:02 CEST 2011 on sn-devel-104
* Tidy up some missing checks for NULL in strlcpy.Jeremy Allison2011-05-041-1/+1
|
* Fix simple uses of safe_strcpy -> strlcpy. Easy ones where we just remove -1.Jeremy Allison2011-05-041-1/+1
|
* libcli: allow exclusion of netbios name in NTLMV2 blobChristian Ambach2011-04-141-5/+12
| | | | | | | when no hostname is given, leave away the MsvAvNbComputerName part of the ntlmv2 blob Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3: Use talloc_tos() in the S3 buildVolker Lendecke2011-04-131-1/+7
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Apr 13 09:30:55 CEST 2011 on sn-devel-104
* libcli/auth Use convert_string_error to check LM hash calculation.Andrew Bartlett2011-04-131-9/+24
| | | | | | | | | | This allows us to know if the LM hash was built correctly or not. NOTE: talloc_tos() is not available in the common code at this time. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* Fix inspired by work done by David Disseldorp for bug #8040 - smbclient ↵Jeremy Allison2011-03-281-2/+4
| | | | | | | | | segfaults when a Cyrillic netbios name or workgroup is configured. Change msrpc_gen to return NTSTATUS and ensure everywhere this is used it is correctly checked to return that status. Jeremy.
* s3: Fix Coverity ID 682: NEGATIVE_RETURNSVolker Lendecke2011-03-271-1/+4
|
* charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell2011-03-241-2/+1
| | | | | | | | | convert_string*() we shouldn't accept bad multi-byte strings, it just hides problems Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
* Simplify E_md5hash a bitVolker Lendecke2010-01-071-6/+2
|
* libcli/auth: remove trailing whitespace.Günther Deschner2009-09-161-72/+72
| | | | Guenther
* s4: fix the build after ntlmssp header change.Günther Deschner2009-08-281-0/+1
| | | | Guenther
* libcli/auth: remove unused NTLMSSP_NAME_TYPE_ flags.Günther Deschner2009-08-281-3/+3
| | | | Guenther
* Add const to cast, to fix warningAndrew Bartlett2009-06-181-2/+2
|
* Fix a couple of warningsVolker Lendecke2009-04-231-4/+4
|
* Rework Samba4 to use the new common libcli/auth codeAndrew Bartlett2009-04-141-3/+2
| | | | | | | In particular, this is the rename from creds_ to netlogon_creds_, as well as other links to use the new common crypto. Andrew Bartlett
* Port Samba4 to the new combined libcli/auth functionsAndrew Bartlett2009-04-141-1/+1
| | | | | | | For example, some of the new shared functionality was previously in the wkssvc torture test. Andrew Bartlett
* Merge smbencrypt.c between Samba3 and Samba4Andrew Bartlett2009-04-141-31/+219
|
* Move libcli/auth to the top levelAndrew Bartlett2009-04-141-0/+595