Volker Lendecke
1171c562f6
s4-dns: Add debug output for unmappable WERROR to DNS errcode
...
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30 00:37:55 +02:00
Volker Lendecke
0b2743c71e
s4-dns: Fix some typos
...
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30 00:37:54 +02:00
Volker Lendecke
5bc261fff1
librpc: Fix some typos
...
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30 00:37:54 +02:00
Volker Lendecke
da74d5462d
s4-dns: Remove some break; statements
...
We fall through implicitly, and that pattern is used elsewhere in Samba as
well.
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30 00:37:54 +02:00
Volker Lendecke
577a065f21
s4-dns: Fix an unlikely potential memleak
...
If state was alloc'ed to NULL, in_packet to != NULL and out_packet to NULL, we
leak in_packet.
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30 00:37:53 +02:00
Volker Lendecke
1bdaf4b31b
s4-dns: Use talloc_asprintf_append_buffer in create_response_rr
...
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30 00:37:53 +02:00
Volker Lendecke
1bbdf224bb
s4-dns: Add some NULL checks to create_response_rr
...
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30 00:37:52 +02:00
Matthias Dieter Wallnöfer
40e47d08af
s4:dbchecker - handle the "none" case correctly
...
This means that *no* fixing will be done, also the first possible one
will be omitted as well.
Reviewed-by: abartlet
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue May 29 21:36:25 CEST 2012 on sn-devel-104
2012-05-29 21:36:25 +02:00
Stefan Metzmacher
cee146ff7c
s3:smb2_ioctl: verify credit charge
...
Based on a patch from Christian Ambach <ambi@samba.org>.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue May 29 18:55:29 CEST 2012 on sn-devel-104
2012-05-29 18:55:29 +02:00
Stefan Metzmacher
8b4e677720
s3:smb2_ioctl: add more validation checks
...
metze
2012-05-29 17:02:13 +02:00
Stefan Metzmacher
4ac57a3c96
s3:smb2_ioctl: add some more validation checks
...
Based on a patch from Christian Ambach <ambi@samba.org>.
metze
2012-05-29 17:02:13 +02:00
Günther Deschner
c17f981745
s4-torture: verify #8373 and add ndr nbt tests for LOGON_PRIMARY_QUERY nbt_netlogon_requests.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue May 29 15:49:10 CEST 2012 on sn-devel-104
2012-05-29 15:49:10 +02:00
Christian Ambach
9102ccf648
s4:torture report connection error via torture_fail
...
to make smbtorture report the error instead of complaining about missing torture_ call
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue May 29 13:57:42 CEST 2012 on sn-devel-104
2012-05-29 13:57:41 +02:00
Christian Ambach
aa7cd05e5b
s3:smbd/smb2_find add a debug message
...
like the ones in the other calls that check for max sizes
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-29 10:45:32 +02:00
Christian Ambach
1bd3c0aefb
s3:smbd/smb2_getinfo add a debug message
...
like the ones in the other calls that check for max sizes
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-29 10:45:22 +02:00
Christian Ambach
f94d3d17e8
s3:smbd/smb2_setinfo add a debug message
...
similar to the ones present in other paths
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-29 10:44:55 +02:00
Christian Ambach
ac6417dfc6
s3:smbd/smb2_read improve debug message
...
make the message similar to the ones in other paths
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-29 10:44:42 +02:00
Stefan Metzmacher
f61c24166e
libcli/smb: add some more FSCTL_* defines
...
metze
2012-05-29 10:16:24 +02:00
Stefan Metzmacher
244cf059f0
s3:smb2cli_ioctl: fix requests without output_buffer.length > 0 against windows
...
This fixes DCERPC over SMB2 against windows servers.
metze
2012-05-29 10:16:23 +02:00
Björn Jacke
3085225e72
s3: fix compile of krb5 locator on Solaris
...
the krb5 locator plugin on Solaris needs LIBREPLACE_LIBS (bug #8732 )
Autobuild-User: Björn Jacke <bj@sernet.de>
Autobuild-Date: Tue May 29 09:58:42 CEST 2012 on sn-devel-104
2012-05-29 09:58:42 +02:00
Alexander Bokovoy
27503cea09
freebsd9: support both WAF MIT krb5 build and autoconf build against MIT krb5
...
System-provided Heimdal Kerberos in FreeBSD 9 lacks proper support for parsing MS PAC.
This leaves us with MIT krb5 package from ports or embedded Heimdal in source4.
MIT krb5 from ports is 1.9.2, it supports all needed features for AD support in smbd,
as well as WAF MIT krb5 build. In order to use it, one needs to install 'krb5' package.
Autoconf build:
--with-krb5=/usr/local
WAF build:
--with-system-mitkrb5 /usr/local
or otherwise krb5-config from system Heimdal will overtake and break the detection, leaving
you with a mixture of Kerberos libraries from different locations.
WAF build accepts multiple paths as sub-arguments of the --with-system-mitkrb5 and searches
through them for krb5-config, i.e. /usr/local /usr/kerberos ...
Autobuild-User: Alexander Bokovoy <ab@samba.org>
Autobuild-Date: Mon May 28 23:40:30 CEST 2012 on sn-devel-104
2012-05-28 23:40:30 +02:00
Stefan Metzmacher
e4c59a66aa
s4:ntvfs/ipc: fix protocol specific processing of pipe names
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon May 28 21:48:47 CEST 2012 on sn-devel-104
2012-05-28 21:48:47 +02:00
Stefan Metzmacher
ac4d23ebeb
s3:selftest: run rpc.samba3.smb[1|2]-pipe-name
...
metze
2012-05-28 19:52:00 +02:00
Stefan Metzmacher
69fd1bb66e
s3:rpc_server: don't do any magic in is_known_pipename() anymore
...
The callers have to check if they allow something else than
the raw pipe file name.
If we allow more than windows allows, we risks Samba specific
client behavior. E.g. winbindd only works against Samba servers.
metze
2012-05-28 19:52:00 +02:00
Stefan Metzmacher
abf566ca99
s3:smbd: fix reply_open_pipe_and_X() to behave like windows (2008 R2)
...
See rpc.samba3.smb1-pipe-name.
metze
2012-05-28 19:51:59 +02:00
Stefan Metzmacher
e262db6c31
s3:smbd: only strip \\ off the name if present (for ntcreatex)
...
metze
2012-05-28 19:51:58 +02:00
Stefan Metzmacher
6777e345b1
s3:rpc_server: return OBJECT_NAME_NOT_FOUND instead of PIPE_NOT_AVAILABLE
...
metze
2012-05-28 19:51:57 +02:00
Stefan Metzmacher
98c14ca61c
s3:smb2_create: do not remove leading backslash from pipe names
...
metze
2012-05-28 19:51:57 +02:00
Stefan Metzmacher
081b484181
s4:torture/samba3rpc: add smb1-pipe-name
...
metze
2012-05-28 19:51:57 +02:00
Stefan Metzmacher
c211216e43
s4:torture/samba3rpc: add smb2-pipe-name
...
metze
2012-05-28 19:51:56 +02:00
Stefan Metzmacher
697c88d6b1
s3:cli_np_tstream: pass a leading backslash for the pipe name for SMB1
...
metze
2012-05-28 19:51:55 +02:00
Stefan Metzmacher
1e5010fd99
s3:rpc_client: tstream_cli_np_open_send() doesn't expect a leading backslash
...
This fixes winbindd against a windows server using SMB2.
metze
2012-05-28 19:51:46 +02:00
Luk Claes
4688107800
s3:libsmb: get rid of cli_ucs2
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon May 28 16:58:03 CEST 2012 on sn-devel-104
2012-05-28 16:58:03 +02:00
Luk Claes
93ed99d6ff
s3:libsmb: get rid of clisigning routines
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:51 +02:00
Luk Claes
f7f73c4dba
s3:libsmb: get rid of cli_has_async_calls
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:50 +02:00
Luk Claes
764b5e5610
s3:libsmb: get rid of cli_negprot
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:49 +02:00
Luk Claes
82895ab22f
s3:libsmb: get rid of cli_state_disconnect
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:49 +02:00
Luk Claes
1ff8c404a6
s3:libsmb: get rid of cli_state_server_time_zone
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:48 +02:00
Luk Claes
278ba9928a
s3:libsmb: get rid of cli_state_security_mode
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:48 +02:00
Luk Claes
5f10bd9fe4
s3:libsmb: get rid of cli_state_server_gss_blob
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:48 +02:00
Luk Claes
2be7e23b99
s3:libsmb: get rid of cli_state_server_challenge
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:47 +02:00
Luk Claes
ab052c7ff0
s3:libsmb: get rid of cli_state_encryption_on
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:47 +02:00
Luk Claes
6c18a66f3e
s3:libsmb: get rid of cli_state_max_requests
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:47 +02:00
Luk Claes
7c69ca09d0
s3:libsmb: get rid of cli_state_server_session_key
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:46 +02:00
Luk Claes
3c9c06ac05
s3:libsmb: get rid of cli_state_capabilities
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:46 +02:00
Luk Claes
d8c0646a5d
s3:libsmb: get rid of cli_state_protocol
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:45 +02:00
Luk Claes
4f6f4ea93c
s3:libsmb: get rid of cli_state_remote_name
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:45 +02:00
Luk Claes
987e81b0ee
s3:libsmb: get rid of cli_state_*_sockaddr
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:44 +02:00
Luk Claes
8e24e7f6b8
s3:libsmb: get rid of cli_sockopt
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:44 +02:00
Luk Claes
f43231c051
s3:libsmb: remove unused (un)set_pending functions
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:44 +02:00