summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* s3:libsmb: get rid of cli_state_server_session_keyLuk Claes2012-05-283-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_capabilitiesLuk Claes2012-05-2815-30/+24
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_protocolLuk Claes2012-05-2811-30/+26
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_remote_nameLuk Claes2012-05-2819-55/+59
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_*_sockaddrLuk Claes2012-05-288-20/+13
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_sockoptLuk Claes2012-05-283-59/+50
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: remove unused (un)set_pending functionsLuk Claes2012-05-284-14/+3
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Avoid all(), as it's not available in Python 2.4.Jelmer Vernooij2012-05-271-1/+5
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun May 27 16:13:34 CEST 2012 on sn-devel-104
* build: Remove all references to libuuidAndrew Bartlett2012-05-275-58/+3
| | | | | | | | | We simply do not need this library any more. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun May 27 11:08:22 CEST 2012 on sn-devel-104
* build: Add option to specify where gettext is (/usr/local by default)Andriy Syrovenko2012-05-271-1/+5
| | | | | This should help configure script to find gettext on FreeBSD and (possibly) some other systems as well.
* Eliminate dependency on an external uuid library.Andriy Syrovenko2012-05-275-24/+11
|
* s3-build: Remove build of libaddns.a from the autoconf buildAndrew Bartlett2012-05-262-75/+0
| | | | | | | | | | | | | | We always link libaddns statically as part of the net object lists This means that we no longer provide externally-available libaddns, as the waf build declared this as a private library. This never had a public API, .so or a header file. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat May 26 09:45:34 CEST 2012 on sn-devel-104
* s3-utils: Use ads_do_search_retry in net ads searchAndrew Bartlett2012-05-261-1/+1
| | | | | | | | | | | | This makes it possible to search against a slow server, as will fallback from 1000 to (eventually) 125 users at a time. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat May 26 03:53:34 CEST 2012 on sn-devel-104
* s3-libads: Use a reducing page size to try and cope with a slow LDAP serverAndrew Bartlett2012-05-264-2/+14
| | | | | | | | | If we cannot get 1000 users downloaded in 15seconds, try with 500, 250 and then 125 users at a time. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org>
* s3-winbindd: Always map the LDAP error code to an NTSTATUSAndrew Bartlett2012-05-261-4/+20
| | | | | | | | | We do this so that we catch LDAP_TIMELIMIT_EXCEEDED as NT_STATUS_IO_TIMEOUT, which has special handling in winbindd_cache.c Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org>
* s3-libads: Map LDAP_TIMELIMIT_EXCEEDED as NT_STATUS_IO_TIMEOUTAndrew Bartlett2012-05-261-0/+3
| | | | | | | | This allows Samba to then handle this error in the same way it would for RPC connections Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org>
* dns_hosts_file: move to a separate subsystemAlexander Bokovoy2012-05-253-7/+9
| | | | | | | | | | | After discussion with Kai move dns_hosts_file to a separate subsystem and merge it into libaddns private library for s3/s4 client use. Also remove dependency in libcli/nbt, the code from libcli/dns subsystems is not used there at all. Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Fri May 25 22:22:44 CEST 2012 on sn-devel-104