summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2012-04-30Fix the loop unrolling inside resolve_ads(). If we don't getJeremy Allison1-34/+73
an IP list don't use interpret_string_addr(), as this only returns one address, use interpret_string_addr_internal() instead. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Apr 30 23:21:16 CEST 2012 on sn-devel-104
2012-04-30Protect all of the name resolution methods from returning null addrs. Ensure ↵Jeremy Allison1-9/+19
all returns go through remove_duplicate_addrs2().
2012-04-30Fix convert_ss2service() to filter out zero addresses.Jeremy Allison1-12/+33
2012-04-30Fix remove_duplicate_addrs2 to do exactly what it says. Previously it could ↵Jeremy Allison1-10/+9
leave zero addresses in the list.
2012-04-27s3:libsmb/cli_np_tstream: add support for SMB2Stefan Metzmacher1-41/+190
metze
2012-04-27s3:libsmb/cli_np_tstream: remove unused tstream_cli_np_existing()Stefan Metzmacher2-34/+0
metze
2012-04-27s3:libsmb: add smb2cli_ioctl*Stefan Metzmacher2-0/+358
metze
2012-04-23Make krb5 wrapper library common so they can be used all overSimo Sorce2-1598/+2
2012-04-23build: Remove support for a system libsmbclientAndrew Bartlett1-9/+0
With the new --private-libraries option, there is no longer the need to have this support, which was aimed at avoiding the duplication between two different libsmbclient binaries in a packaged distribution. By using --private-libraries instead, we do not introduce a dependency between Samba 4.0 packages and whatever other packages are on the system. This effectivly reverts part of e3ffb31554927a24df35576bd753ee4eb2dc2a3c while kpeeing the improved SAMBA_LIBRARY declaration. Andrew Bartlett
2012-04-18libsmb: Actually use an introduced variableVolker Lendecke1-2/+2
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Apr 18 13:39:53 CEST 2012 on sn-devel-104
2012-04-17s3-waf: Add possibility to build with system libsmbclient.Andreas Schneider1-0/+40
2012-04-17s3:libsmb/cliconnect: make use of ntlmssp_is_anonymous()Stefan Metzmacher1-1/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Apr 17 16:16:51 CEST 2012 on sn-devel-104
2012-04-17s3:libsmb/ntlmssp: improve anonymous loginsStefan Metzmacher1-2/+3
smbtorture3 (and maybe others) use fstrings for 'user' and 'password', so we need to check for empty strings. metze
2012-04-17s3:libsmb/ntlmssp: add ntlmssp_is_anonymous()Stefan Metzmacher1-0/+15
metze
2012-04-17s3:libsmb/ntlmssp: remove some indentation in ntlmssp_set_password()Stefan Metzmacher1-18/+20
metze
2012-04-17Revert "s3:libsmb/ntlmssp: an empty string should mean no password"Stefan Metzmacher1-1/+1
This reverts commit 92483eee254ef6844fe88abe1e64f67033a1ea2d.
2012-04-16s3:libsmb: fix anonymous session setups against windows serversStefan Metzmacher1-0/+16
Windows server doesn't set the SMB2_SESSION_FLAG_IS_GUEST nor SMB2_SESSION_FLAG_IS_NULL flag. This fix makes sure we don't try to verify a signature on the final session setup response. metze
2012-04-16s3:libsmb/ntlmssp: an empty string should mean no passwordStefan Metzmacher1-1/+1
metze
2012-04-16libcli/smb: move smb2cli_session_setup_*() prototypes to the code.Stefan Metzmacher1-15/+0
metze
2012-04-12clikrb5: Move pure krb wrapper functions from libads to clikrb5.Simo Sorce1-0/+142
Signed-off-by: Andreas Schneider <asn@samba.org>
2012-04-06build: Remove SMB_OFF_T, replace with off_tAndrew Bartlett9-47/+47
Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 6 01:47:43 CEST 2012 on sn-devel-104
2012-04-03s3-krb5 Remove unused get_kvno_from_ap_req()Andrew Bartlett1-13/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-krb5 Remove unused get_enctype_from_ap_reqAndrew Bartlett1-10/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-krb5: Remove unused smb_krb5_get_keyinfo_from_ap_req()Andrew Bartlett1-26/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-krb5: Remove unused get_key_from_keytabAndrew Bartlett1-59/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-krb5: remove unused unwrap_pac()Andrew Bartlett1-48/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-krb5: remove unused get_auth_data_from_tktAndrew Bartlett1-66/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-krb5: Remove unused get_authtime_from_tktAndrew Bartlett1-9/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-krb5: Remove unused krb5_rd_req_return_keyblock_from_keytabAndrew Bartlett1-55/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-krb5: Remove unused get_principal_from_tktAndrew Bartlett1-9/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-libsmb: Remove unused spnego_parse_krb5_wrap()Andrew Bartlett1-44/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-auth: Order GENSEC mechs by priority, krb5 before NTLMSSPAndrew Bartlett1-2/+4
Otherwise, really simple clients (such as the current ntlm_auth gss-spnego client) will not select krb5. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-02s3: Notifies should never time outVolker Lendecke1-0/+8
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Apr 2 12:31:17 CEST 2012 on sn-devel-104
2012-03-31Make sure we claim that a DACL or SACL is present if the SD says soRichard Sharpe1-2/+2
Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Sat Mar 31 09:34:36 CEST 2012 on sn-devel-104
2012-03-25smb2: Move smb2cli session setup code to cli_smb_common.Jelmer Vernooij1-207/+0
2012-03-24lib/util: Remove obsolete sys_getpid() and sys_fork().Jelmer Vernooij2-2/+2
The performance of these is minimal (these days) and they can return invalid results when used as part of applications that do not use sys_fork(). Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 24 21:55:41 CET 2012 on sn-devel-104
2012-03-22s3: Add sync cli_notifyVolker Lendecke2-0/+39
2012-03-22s3-libsmb: Fix parsing a notify responseVolker Lendecke1-1/+1
2012-03-22s3: rename "len"->"next", according to wiresharkVolker Lendecke1-3/+3
2012-03-15s3-krb5: Remove GSS_WRAP_IOV conditionalAndrew Bartlett1-1/+1
We already confirm that we have this functionality before we set HAVE_KRB5 at configure time. Andrew Bartlett
2012-03-09auth/ntlmssp: Remove gensec_security element from gensec_ntlmssp_stateAndrew Bartlett1-3/+3
This just means there is one less pointer to ensure we initialise. Andrew Bartlett
2012-03-03s3:libsmb: pass smb2 capabilities and client guid in cli_state_create()Stefan Metzmacher1-2/+7
metze Signed-off-by: Michael Adam <obnox@samba.org>
2012-03-03smbXcli: add the possiblilty to negotiate client capabilites in smb >= 2.2Michael Adam1-1/+2
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-03-02s3-libsmb: Initialise ticket to ensure we do not invalid memoryAndrew Bartlett1-0/+1
The free is however a talloc_free(), which has additional protection against freeing the wrong thing. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Mar 2 01:45:19 CET 2012 on sn-devel-104
2012-03-01Move to talloc from malloc.Jeremy Allison1-3/+7
2012-03-01Fix mixup between talloc/malloc.Jeremy Allison1-1/+1
2012-02-28s3:libsmb:smb2: pass previous session ID to session setup, not previous sessionMichael Adam3-10/+4
We only need the session, and under some circumstances, it might complicate things for the caller to have to cope with the whole structure (talloc...).
2012-02-27libcli/smb/smbXcli: maintain smb2 channel_signing_key separate from the ↵Stefan Metzmacher1-2/+2
signing_key The signing_key is fix across all channels and is used for session setups on a channel binding. Note: - the last session setup response is signed with the new channel signing key. - the reauth session setups are signed with the channel signing key. It's also not needed to remember the main session key. metze
2012-02-26s3: Remove pointless parenthesesVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sun Feb 26 11:10:15 CET 2012 on sn-devel-104
2012-02-24s3-libsmb: Remove unused spnego_parse_auth_and_micAndrew Bartlett1-40/+0