summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-dns: Remove sync dns_server_process_queryVolker Lendecke2012-05-302-39/+0
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* s4-dns: Make dns_process_send asynVolker Lendecke2012-05-303-80/+148
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* s4-dns: Remove unused sync ask_forwarder wrapperVolker Lendecke2012-05-301-30/+0
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* s4-dns: Make dns_server_process_query asyncVolker Lendecke2012-05-301-37/+120
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* s4-dns: Make ask_forwarder asyncVolker Lendecke2012-05-301-43/+111
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* lib: add tevent_req_poll_werrorVolker Lendecke2012-05-302-0/+16
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* s4-dns: Create a proper talloc hierarchy in create_response_rrVolker Lendecke2012-05-301-3/+15
| | | | | | Pair-Programmed-With: Michael Adam <obnox@samba.org> Signed-off-by: Kai Blin <kai@samba.org>
* s4-dns: Add debug output for unmappable WERROR to DNS errcodeVolker Lendecke2012-05-301-1/+1
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* s4-dns: Fix some typosVolker Lendecke2012-05-302-2/+2
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* librpc: Fix some typosVolker Lendecke2012-05-301-3/+3
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* s4-dns: Remove some break; statementsVolker Lendecke2012-05-301-8/+0
| | | | | | | We fall through implicitly, and that pattern is used elsewhere in Samba as well. Signed-off-by: Kai Blin <kai@samba.org>
* s4-dns: Fix an unlikely potential memleakVolker Lendecke2012-05-301-2/+4
| | | | | | | 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>
* s4-dns: Use talloc_asprintf_append_buffer in create_response_rrVolker Lendecke2012-05-301-2/+2
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* s4-dns: Add some NULL checks to create_response_rrVolker Lendecke2012-05-301-0/+15
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* s4:dbchecker - handle the "none" case correctlyMatthias Dieter Wallnöfer2012-05-291-1/+1
| | | | | | | | | | 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
* s3:smb2_ioctl: verify credit chargeStefan Metzmacher2012-05-291-0/+25
| | | | | | | | | 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
* s3:smb2_ioctl: add more validation checksStefan Metzmacher2012-05-291-6/+67
| | | | metze
* s3:smb2_ioctl: add some more validation checksStefan Metzmacher2012-05-291-7/+36
| | | | | | Based on a patch from Christian Ambach <ambi@samba.org>. metze
* s4-torture: verify #8373 and add ndr nbt tests for LOGON_PRIMARY_QUERY ↵Günther Deschner2012-05-292-1/+37
| | | | | | | | | 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
* s4:torture report connection error via torture_failChristian Ambach2012-05-291-1/+8
| | | | | | | | | 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
* s3:smbd/smb2_find add a debug messageChristian Ambach2012-05-291-0/+4
| | | | | | like the ones in the other calls that check for max sizes Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd/smb2_getinfo add a debug messageChristian Ambach2012-05-291-0/+8
| | | | | | like the ones in the other calls that check for max sizes Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd/smb2_setinfo add a debug messageChristian Ambach2012-05-291-0/+4
| | | | | | similar to the ones present in other paths Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd/smb2_read improve debug messageChristian Ambach2012-05-291-1/+2
| | | | | | make the message similar to the ones in other paths Signed-off-by: Stefan Metzmacher <metze@samba.org>
* libcli/smb: add some more FSCTL_* definesStefan Metzmacher2012-05-291-0/+8
| | | | metze
* s3:smb2cli_ioctl: fix requests without output_buffer.length > 0 against windowsStefan Metzmacher2012-05-291-1/+1
| | | | | | This fixes DCERPC over SMB2 against windows servers. metze
* s3: fix compile of krb5 locator on SolarisBjörn Jacke2012-05-291-1/+1
| | | | | | | 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
* freebsd9: support both WAF MIT krb5 build and autoconf build against MIT krb5Alexander Bokovoy2012-05-283-10/+37
| | | | | | | | | | | | | | | | | | | | | | 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
* s4:ntvfs/ipc: fix protocol specific processing of pipe namesStefan Metzmacher2012-05-281-2/+6
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon May 28 21:48:47 CEST 2012 on sn-devel-104
* s3:selftest: run rpc.samba3.smb[1|2]-pipe-nameStefan Metzmacher2012-05-281-0/+1
| | | | metze
* s3:rpc_server: don't do any magic in is_known_pipename() anymoreStefan Metzmacher2012-05-281-12/+3
| | | | | | | | | | 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
* s3:smbd: fix reply_open_pipe_and_X() to behave like windows (2008 R2)Stefan Metzmacher2012-05-281-11/+15
| | | | | | See rpc.samba3.smb1-pipe-name. metze
* s3:smbd: only strip \\ off the name if present (for ntcreatex)Stefan Metzmacher2012-05-281-2/+4
| | | | metze
* s3:rpc_server: return OBJECT_NAME_NOT_FOUND instead of PIPE_NOT_AVAILABLEStefan Metzmacher2012-05-281-1/+1
| | | | metze
* s3:smb2_create: do not remove leading backslash from pipe namesStefan Metzmacher2012-05-281-5/+0
| | | | metze
* s4:torture/samba3rpc: add smb1-pipe-nameStefan Metzmacher2012-05-281-0/+252
| | | | metze
* s4:torture/samba3rpc: add smb2-pipe-nameStefan Metzmacher2012-05-281-0/+84
| | | | metze
* s3:cli_np_tstream: pass a leading backslash for the pipe name for SMB1Stefan Metzmacher2012-05-281-1/+13
| | | | metze
* s3:rpc_client: tstream_cli_np_open_send() doesn't expect a leading backslashStefan Metzmacher2012-05-281-0/+4
| | | | | | This fixes winbindd against a windows server using SMB2. metze
* s3:libsmb: get rid of cli_ucs2Luk Claes2012-05-288-70/+61
| | | | | | | | 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
* s3:libsmb: get rid of clisigning routinesLuk Claes2012-05-286-64/+9
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_has_async_callsLuk Claes2012-05-2812-76/+76
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_negprotLuk Claes2012-05-2812-41/+30
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_disconnectLuk Claes2012-05-285-14/+4
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_server_time_zoneLuk Claes2012-05-287-24/+20
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_security_modeLuk Claes2012-05-284-10/+4
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_server_gss_blobLuk Claes2012-05-283-7/+1
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_server_challengeLuk Claes2012-05-283-11/+5
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_encryption_onLuk Claes2012-05-285-13/+6
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_max_requestsLuk Claes2012-05-283-8/+2
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>