1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

3834 Commits

Author SHA1 Message Date
Stefan Metzmacher
aca64f642d libcli/smb: move smb2cli_logoff_* from source3 to the top level
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon May 14 17:02:46 CEST 2012 on sn-devel-104
2012-05-14 17:02:46 +02:00
Stefan Metzmacher
bf6b2fa96b s3:libsmb: s/\<event_context/tevent_context/gc in smb2cli_write.c
metze
2012-05-14 15:12:35 +02:00
Stefan Metzmacher
2a39c5f513 s3:libsmb: s/\<event_context/tevent_context/gc in smb2cli_session.c
metze
2012-05-14 15:12:35 +02:00
Stefan Metzmacher
640154c434 s3:libsmb: s/\<event_context/tevent_context/gc in smb2cli_read.c
metze
2012-05-14 15:12:34 +02:00
Stefan Metzmacher
1395e46a8c s3:libsmb: s/\<event_context/tevent_context/gc in smb2cli_query_directory.c
metze
2012-05-14 15:12:34 +02:00
Stefan Metzmacher
f88c60bc70 s3:libsmb: s/\<event_context/tevent_context/gc in smb2cli_ioctl.c
metze
2012-05-14 15:12:34 +02:00
Stefan Metzmacher
1355552452 s3:libsmb: s/\<event_context/tevent_context/gc in smb2cli_flush.c
metze
2012-05-14 15:12:34 +02:00
Stefan Metzmacher
820160ca0d s3:libsmb: s/\<event_context/tevent_context/gc in smb2cli_create.c
metze
2012-05-14 15:12:34 +02:00
Stefan Metzmacher
b2dcc7a061 s3:libsmb: s/\<event_context/tevent_context/gc in smb2cli_close.c
metze
2012-05-14 15:12:34 +02:00
Stefan Metzmacher
0cb1fdac4e s3:libsmb: s/\<event_context/tevent_context/gc in smb2cli_tcon.c
metze
2012-05-14 15:12:34 +02:00
Luk Claes
c140c5e459 s3/libsmb: Generalise cli_state in smb2 logoff calls
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-12 01:01:33 +02:00
Luk Claes
c7a1292628 s3/libsmb: Generalise cli_state in smb2 write calls
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-12 01:01:31 +02:00
Luk Claes
50d88c96bc s3/libsmb: Generalise cli_state in smb2 query_directory calls
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-12 00:46:30 +02:00
Luk Claes
5f4a009f4f s3/libsmb: Generalise cli_state in smb2 ioctl calls
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-12 00:46:09 +02:00
Luk Claes
473363a807 s3/libsmb: Generalise cli_state in smb2 flush calls
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-12 00:45:53 +02:00
Luk Claes
87d890fdd9 s3/libsmb: Generalise cli_state in smb2 create calls
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-12 00:45:21 +02:00
Luk Claes
f6db3d7bef s3/libsmb: Generalise cli_state in smb2 close calls
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-12 00:44:41 +02:00
Luk Claes
14473f37f5 s3-libsmb: Generalise cli_state in smb2 read calls
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-12 00:43:53 +02:00
Stefan Metzmacher
aee52a2538 s3:libsmb: remove unused var in smb2cli_set_info_done 2012-05-09 01:02:15 +02:00
Stefan Metzmacher
9dc31c484a s3:libsmb: add smb2cli_set_info*
metze
2012-05-06 14:50:39 +02:00
Stefan Metzmacher
db39372a11 s3:libsmb: add smb2cli_query_info*
metze
2012-05-06 14:50:39 +02:00
Stefan Metzmacher
3709bf6b01 s3:libsmb: use 'state' instead of 'talloc_tos()' in smb2cli_tcon*
metze
2012-05-06 14:50:39 +02:00
Stefan Metzmacher
8e3ec7c31a s3:libsmb: use 'state' instead of 'talloc_tos()' in smb2cli_ioctl*
metze
2012-05-06 14:50:38 +02:00
Stefan Metzmacher
d651562aa1 s3:libsmb: use 'state' instead of 'talloc_tos()' in smb2cli_create*
metze
2012-05-06 14:50:38 +02:00
Stefan Metzmacher
850e472120 s3:libsmb: remove unused reference to talloc_tos()
metze
2012-05-06 14:50:38 +02:00
Jeremy Allison
1270cfb45f Fix the loop unrolling inside resolve_ads(). If we don't get
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-30 23:21:16 +02:00
Jeremy Allison
1197360818 Protect all of the name resolution methods from returning null addrs. Ensure all returns go through remove_duplicate_addrs2(). 2012-04-30 09:26:37 -07:00
Jeremy Allison
50766a72f9 Fix convert_ss2service() to filter out zero addresses. 2012-04-30 09:26:37 -07:00
Jeremy Allison
01e884675e Fix remove_duplicate_addrs2 to do exactly what it says. Previously it could leave zero addresses in the list. 2012-04-30 09:26:37 -07:00
Stefan Metzmacher
b3a3c50eb8 s3:libsmb/cli_np_tstream: add support for SMB2
metze
2012-04-27 08:31:39 +02:00
Stefan Metzmacher
b88d649e40 s3:libsmb/cli_np_tstream: remove unused tstream_cli_np_existing()
metze
2012-04-27 08:31:38 +02:00
Stefan Metzmacher
8422ab2609 s3:libsmb: add smb2cli_ioctl*
metze
2012-04-27 08:31:38 +02:00
Simo Sorce
08c733d75f Make krb5 wrapper library common so they can be used all over 2012-04-23 19:20:38 -04:00
Andrew Bartlett
d910d848e3 build: Remove support for a system libsmbclient
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
e3ffb31554 while kpeeing the improved
SAMBA_LIBRARY declaration.

Andrew Bartlett
2012-04-23 20:48:02 +10:00
Volker Lendecke
536c4a41a1 libsmb: Actually use an introduced variable
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Wed Apr 18 13:39:53 CEST 2012 on sn-devel-104
2012-04-18 13:39:53 +02:00
Andreas Schneider
e3ffb31554 s3-waf: Add possibility to build with system libsmbclient. 2012-04-17 16:17:35 +02:00
Stefan Metzmacher
1334ed723e s3:libsmb/cliconnect: make use of ntlmssp_is_anonymous()
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Apr 17 16:16:51 CEST 2012 on sn-devel-104
2012-04-17 16:16:51 +02:00
Stefan Metzmacher
3207c7f965 s3:libsmb/ntlmssp: improve anonymous logins
smbtorture3 (and maybe others) use fstrings for 'user' and 'password',
so we need to check for empty strings.

metze
2012-04-17 14:42:32 +02:00
Stefan Metzmacher
941a6a7851 s3:libsmb/ntlmssp: add ntlmssp_is_anonymous()
metze
2012-04-17 14:42:31 +02:00
Stefan Metzmacher
cb3cde9518 s3:libsmb/ntlmssp: remove some indentation in ntlmssp_set_password()
metze
2012-04-17 14:42:31 +02:00
Stefan Metzmacher
5f0f5b3615 Revert "s3:libsmb/ntlmssp: an empty string should mean no password"
This reverts commit 92483eee25.
2012-04-17 14:42:31 +02:00
Stefan Metzmacher
66d7553b0e s3:libsmb: fix anonymous session setups against windows servers
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-16 12:54:54 +02:00
Stefan Metzmacher
92483eee25 s3:libsmb/ntlmssp: an empty string should mean no password
metze
2012-04-16 12:54:53 +02:00
Stefan Metzmacher
b0939c5774 libcli/smb: move smb2cli_session_setup_*() prototypes to the code.
metze
2012-04-16 12:54:53 +02:00
Simo Sorce
1f1e4275b5 clikrb5: Move pure krb wrapper functions from libads to clikrb5.
Signed-off-by: Andreas Schneider <asn@samba.org>
2012-04-12 12:06:43 +02:00
Andrew Bartlett
6aa12fcb30 build: Remove SMB_OFF_T, replace with off_t
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-06 01:47:43 +02:00
Andrew Bartlett
e5684b3c6f s3-krb5 Remove unused get_kvno_from_ap_req()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03 17:47:32 +02:00
Andrew Bartlett
e01dc1c7bf s3-krb5 Remove unused get_enctype_from_ap_req
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03 17:47:32 +02:00
Andrew Bartlett
0e2d659c94 s3-krb5: Remove unused smb_krb5_get_keyinfo_from_ap_req()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03 17:47:32 +02:00
Andrew Bartlett
c89f3bf564 s3-krb5: Remove unused get_key_from_keytab
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03 17:47:32 +02:00