metze/samba/wip.git
15 years agos4:heimdal_build: we don't need krb4 support in the kdc import-lorikeet-heimdal-200903260854
Stefan Metzmacher [Wed, 25 Mar 2009 13:13:41 +0000 (14:13 +0100)]
s4:heimdal_build: we don't need krb4 support in the kdc

metze

15 years agos4:heimdal_build: fix the include path for heim_threads.h fot HCRYPTO
Stefan Metzmacher [Wed, 25 Mar 2009 11:52:29 +0000 (12:52 +0100)]
s4:heimdal_build: fix the include path for heim_threads.h fot HCRYPTO

metze

15 years agos4:heimdal_build: add aeap files to the build
Stefan Metzmacher [Wed, 25 Mar 2009 11:23:23 +0000 (12:23 +0100)]
s4:heimdal_build: add aeap files to the build

metze

15 years agos4:heimdal_build: readd krb5.asn1 and cms.asn1
Stefan Metzmacher [Wed, 25 Mar 2009 10:44:27 +0000 (11:44 +0100)]
s4:heimdal_build: readd krb5.asn1 and cms.asn1

metze

15 years agos4:heimdal_build: closefrom.c needs getdtablesize.c now
Stefan Metzmacher [Wed, 25 Mar 2009 10:43:05 +0000 (11:43 +0100)]
s4:heimdal_build: closefrom.c needs getdtablesize.c now

metze

15 years agos4:resolve: use libroken rk_ prefixes for dns_lookup functions
Stefan Metzmacher [Wed, 25 Mar 2009 10:19:46 +0000 (11:19 +0100)]
s4:resolve: use libroken rk_ prefixes for dns_lookup functions

metze

15 years agos4:heimdal_build: lib/krb5/get_in_tkt_with_keytab.c doesn't exist anymore
Stefan Metzmacher [Wed, 25 Mar 2009 10:19:08 +0000 (11:19 +0100)]
s4:heimdal_build: lib/krb5/get_in_tkt_with_keytab.c doesn't exist anymore

metze

15 years agos4:cracknames: s/KRB5_PRINCIPAL_PARSE_MUST_REALM/KRB5_PRINCIPAL_PARSE_REQUIRE_REALM
Stefan Metzmacher [Wed, 25 Mar 2009 10:18:07 +0000 (11:18 +0100)]
s4:cracknames: s/KRB5_PRINCIPAL_PARSE_MUST_REALM/KRB5_PRINCIPAL_PARSE_REQUIRE_REALM

metze

15 years agos4:heimdal: import lorikeet-heimdal-200903260854 (commit 8f3b61e3fb466bb9dd457ae88ee0...
Stefan Metzmacher [Thu, 26 Mar 2009 19:12:06 +0000 (20:12 +0100)]
s4:heimdal: import lorikeet-heimdal-200903260854 (commit 8f3b61e3fb466bb9dd457ae88ee071ac585a9dd2)

15 years agoconfigure: Use m4 defines for minimum library versions rather than shell
Jelmer Vernooij [Thu, 26 Mar 2009 15:28:45 +0000 (16:28 +0100)]
configure: Use m4 defines for minimum library versions rather than shell
variables, so the values rather than the variable names show up in
configure output.

15 years agoMerge branch 'copyright' of /home/jelmer/samba4
Jelmer Vernooij [Thu, 26 Mar 2009 14:31:35 +0000 (15:31 +0100)]
Merge branch 'copyright' of /home/jelmer/samba4

15 years agoMerge branch 'displaysec' of /home/jelmer/samba4
Jelmer Vernooij [Thu, 26 Mar 2009 14:31:27 +0000 (15:31 +0100)]
Merge branch 'displaysec' of /home/jelmer/samba4

15 years agoMerge branch 'master' of git://git.samba.org/samba
Jelmer Vernooij [Thu, 26 Mar 2009 14:31:02 +0000 (15:31 +0100)]
Merge branch 'master' of git://git.samba.org/samba

15 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba into displaysec
Jelmer Vernooij [Thu, 26 Mar 2009 14:28:18 +0000 (15:28 +0100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into displaysec

15 years agos4:heimdal_build: provide heimdal_version and heimdal_long_version symbols
Stefan Metzmacher [Wed, 25 Mar 2009 10:22:01 +0000 (11:22 +0100)]
s4:heimdal_build: provide heimdal_version and heimdal_long_version symbols

metze

15 years agos4:heimdal_build: define HAVE_STRLCPY, HAVE_STRLCAT, HAVE_STRCASECMP and HAVE_MKSTEMP
Stefan Metzmacher [Wed, 25 Mar 2009 10:20:50 +0000 (11:20 +0100)]
s4:heimdal_build: define HAVE_STRLCPY, HAVE_STRLCAT, HAVE_STRCASECMP and HAVE_MKSTEMP

metze

15 years agos4:kdc: use krb5_data_free()
Stefan Metzmacher [Wed, 25 Mar 2009 11:21:59 +0000 (12:21 +0100)]
s4:kdc: use krb5_data_free()

metze

15 years agos4:auth/credentials: use krb5_data_free()
Stefan Metzmacher [Wed, 25 Mar 2009 11:21:36 +0000 (12:21 +0100)]
s4:auth/credentials: use krb5_data_free()

metze

15 years agos4:auth/credentials: include gssapi/gssapi_krb5.h
Stefan Metzmacher [Wed, 25 Mar 2009 10:17:17 +0000 (11:17 +0100)]
s4:auth/credentials: include gssapi/gssapi_krb5.h

metze

15 years agoFix a talloc/malloc screwup in file_lines_pload
Volker Lendecke [Thu, 26 Mar 2009 13:54:18 +0000 (14:54 +0100)]
Fix a talloc/malloc screwup in file_lines_pload

Another bug due to careless merge to /lib :-(((

Volker

15 years agoerror-codes: add WERR_DS_DRA_SOURCE_DISABLED.
Günther Deschner [Thu, 26 Mar 2009 13:51:04 +0000 (14:51 +0100)]
error-codes: add WERR_DS_DRA_SOURCE_DISABLED.

Guenther

15 years agoFix a scary "fill_share_mode_lock failed" message
Volker Lendecke [Thu, 26 Mar 2009 11:24:50 +0000 (12:24 +0100)]
Fix a scary "fill_share_mode_lock failed" message

To me "fill_share_mode_lock failed" is a "can't happen" alert. There is
however a perfectly valid case in get_file_infos() when the file is not open.

Change the corresponding debug message to level 10 and explain more.

15 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Andrew Tridgell [Thu, 26 Mar 2009 11:10:32 +0000 (22:10 +1100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

15 years agofixed possibleinferiors.py so it matches windows behaviour
Andrew Tridgell [Thu, 26 Mar 2009 11:10:02 +0000 (22:10 +1100)]
fixed possibleinferiors.py so it matches windows behaviour

This test code builds the possibleInferiors for every class in the
schema on a target machine, and compares it to the servers
possibleInferiors attribute.

The MS-ADTS spec describes how to calculate possibleInferiors for a
object, but it seems to have some bugs. The spec says that we need to
use AUXCLASSES, and it does not mention the use of the SUBCLASS
tree. In trying to match windows behaviour, I found that I needed to
ignore the AUXCLASSES and build a SUBCLASSES tree.

15 years agos3-libnetapi: fix creds in libnetapi_open_ipc_connection().
Günther Deschner [Thu, 26 Mar 2009 09:26:59 +0000 (10:26 +0100)]
s3-libnetapi: fix creds in libnetapi_open_ipc_connection().

Jeremy, this broke with 8dd1faaa2992851f6852ba7ea4498445af5faadd. Not sure if
other users broke as well with that change.

Guenther

15 years agos3:rpc_parse: remove unused init_unistr().
Günther Deschner [Wed, 25 Mar 2009 22:23:06 +0000 (23:23 +0100)]
s3:rpc_parse: remove unused init_unistr().

Guenther

15 years agos3-net: Fix Bug #6102. NetQueryDisplayInformation could return wrong information.
Günther Deschner [Thu, 26 Mar 2009 09:11:59 +0000 (10:11 +0100)]
s3-net: Fix Bug #6102. NetQueryDisplayInformation could return wrong information.

Guenther

15 years agoAvahi disables a timer by tv=NULL in avahi_timeout_update(), do not crash
Volker Lendecke [Thu, 26 Mar 2009 09:03:59 +0000 (10:03 +0100)]
Avahi disables a timer by tv=NULL in avahi_timeout_update(), do not crash

15 years agoEnsure we never enter VFS_CREATE without having initialized
Jeremy Allison [Thu, 26 Mar 2009 04:48:37 +0000 (21:48 -0700)]
Ensure we never enter VFS_CREATE without having initialized
sbuf as invalid (if not already read via stat()). Still trying
to find the build farm RAW-STREAM errors and it's happening
in a openX call....
Jeremy.

15 years agoRevert "s3/swat: don't link against zlib"
Michael Adam [Thu, 26 Mar 2009 00:30:00 +0000 (01:30 +0100)]
Revert "s3/swat: don't link against zlib"

This reverts commit 8532faffd08bbbcfaac60fd866fa5ab255913d4a.

swat needs zlib through ../librpc/ndr/ndr_compression.c, function
ndr_pull_compression_mszip_chunk(). This fails to link at least
on our build farm bsd boxes.

Michael

15 years agoRevert "s3/smbd: don't link against zlib"
Michael Adam [Thu, 26 Mar 2009 00:25:40 +0000 (01:25 +0100)]
Revert "s3/smbd: don't link against zlib"

This reverts commit 1f265548e7d17a4ed83705149dd944fcdd31134d.

smbd needs zlib through ../librpc/ndr/ndr_compression.c, function
ndr_pull_compression_mszip_chunk(). This fails to link at least
on our build farm bsd boxes.

Michael

15 years agos3/ldbtools: don't neddlessly link against wbinbind libs
Björn Jacke [Mon, 23 Mar 2009 17:22:45 +0000 (18:22 +0100)]
s3/ldbtools: don't neddlessly link against wbinbind libs

Signed-off-by: Michael Adam <obnox@samba.org>
15 years agos3/cifs: don't link cifs mount helpers agains popt
Björn Jacke [Mon, 23 Mar 2009 18:14:45 +0000 (19:14 +0100)]
s3/cifs: don't link cifs mount helpers agains popt

the mount helpers don't use any popt symbols

Signed-off-by: Michael Adam <obnox@samba.org>
15 years agos3/swat: don't link against zlib
Björn Jacke [Mon, 23 Mar 2009 18:24:35 +0000 (19:24 +0100)]
s3/swat: don't link against zlib

swat doesn't use any zlib symbolѕ

Signed-off-by: Michael Adam <obnox@samba.org>
15 years agos3/smbd: don't link against zlib
Björn Jacke [Mon, 23 Mar 2009 18:25:42 +0000 (19:25 +0100)]
s3/smbd: don't link against zlib

smbd doesn't use any zlib symbolѕ

Signed-off-by: Michael Adam <obnox@samba.org>
15 years agos3/pam_smbpass: don't link agains KRB5LIBS
Björn Jacke [Mon, 23 Mar 2009 18:35:53 +0000 (19:35 +0100)]
s3/pam_smbpass: don't link agains KRB5LIBS

pam_smbpass doesn't use the krb5 stuff

Signed-off-by: Michael Adam <obnox@samba.org>
15 years agos3-rpc_parse: remove unused smb_io_domsid().
Günther Deschner [Wed, 25 Mar 2009 22:09:52 +0000 (23:09 +0100)]
s3-rpc_parse: remove unused smb_io_domsid().

Guenther

15 years agos3: remove unused rpc_parse/parse_sec.c file.
Günther Deschner [Wed, 25 Mar 2009 21:38:58 +0000 (22:38 +0100)]
s3: remove unused rpc_parse/parse_sec.c file.

Guenther

15 years agos3-registry: remove last sec_io_desc() caller.
Günther Deschner [Wed, 25 Mar 2009 21:37:21 +0000 (22:37 +0100)]
s3-registry: remove last sec_io_desc() caller.

This is a temporary solution while waiting for the regf merge from s4.

Guenther

15 years agodisplay_sec: Move to common libcli/security directory.
Jelmer Vernooij [Wed, 25 Mar 2009 20:29:13 +0000 (21:29 +0100)]
display_sec: Move to common libcli/security directory.

15 years agoAdd missing newlines to debug statements
Steven Danneman [Wed, 25 Mar 2009 19:53:06 +0000 (12:53 -0700)]
Add missing newlines to debug statements

15 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba into displaysec
Jelmer Vernooij [Wed, 25 Mar 2009 19:51:29 +0000 (20:51 +0100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into displaysec

15 years agos3-libnet: Fix Bug #6193: avoid messing with sync_context in libnet_samsync_delta().
Günther Deschner [Wed, 25 Mar 2009 14:58:20 +0000 (15:58 +0100)]
s3-libnet: Fix Bug #6193: avoid messing with sync_context in libnet_samsync_delta().

We absolutely need to avoid messing with the sync_context as that breaks the
stream of replication data coming from the DC (only replicates ~350 instead of
~4000 groups).

Guenther

15 years agoselftest: Add copyright headers
Jelmer Vernooij [Wed, 25 Mar 2009 14:40:39 +0000 (15:40 +0100)]
selftest: Add copyright headers

15 years agos3-spoolss: implement enumprinters_level0.
Günther Deschner [Fri, 20 Mar 2009 15:02:48 +0000 (16:02 +0100)]
s3-spoolss: implement enumprinters_level0.

Guenther

15 years agos3 onefs: Change error status to NT_ACCESS_DENIED for errors in SET_SECURITY_DESC
David Kwan [Fri, 20 Mar 2009 16:03:08 +0000 (16:03 +0000)]
s3 onefs: Change error status to NT_ACCESS_DENIED for errors in SET_SECURITY_DESC

15 years agos3: parse_packet can return NULL which is then dereferenced in match_mailslot_name
Tim Prouty [Wed, 25 Mar 2009 00:05:16 +0000 (17:05 -0700)]
s3: parse_packet can return NULL which is then dereferenced in match_mailslot_name

15 years agoFix two memleaks in the encryption code
Volker Lendecke [Tue, 24 Mar 2009 20:57:01 +0000 (21:57 +0100)]
Fix two memleaks in the encryption code

ntlmssp_seal_packet creates its own signature data blob, which we then
have to free.

Jeremy, please check and merge appropriately (Yes, I'm asking you to do the
janitor work, I want you to *look* at this :-))

Volker

15 years agos4-install: add new location of generated dcerpc headers to headermap file.
Günther Deschner [Tue, 24 Mar 2009 15:07:46 +0000 (16:07 +0100)]
s4-install: add new location of generated dcerpc headers to headermap file.

Guenther

15 years agowbclient: Fix use of wb_int_trans_send, queue parameter must not be NULL
Kai Blin [Tue, 24 Mar 2009 13:59:11 +0000 (14:59 +0100)]
wbclient: Fix use of wb_int_trans_send, queue parameter must not be NULL

15 years agoConvert rpc_pipe_bind to tevent_req
Volker Lendecke [Mon, 23 Mar 2009 22:38:04 +0000 (23:38 +0100)]
Convert rpc_pipe_bind to tevent_req

15 years agoConvert rpc_cli_transport->trans to tevent_req
Volker Lendecke [Mon, 23 Mar 2009 22:30:18 +0000 (23:30 +0100)]
Convert rpc_cli_transport->trans to tevent_req

15 years agoConvert rpc_cli_transport->write to tevent_req
Volker Lendecke [Mon, 23 Mar 2009 22:20:03 +0000 (23:20 +0100)]
Convert rpc_cli_transport->write to tevent_req

15 years agoConvert rpc_cli_transport->read to tevent_req
Volker Lendecke [Mon, 23 Mar 2009 22:03:37 +0000 (23:03 +0100)]
Convert rpc_cli_transport->read to tevent_req

15 years agoConvert rpc_api_pipe_req to tevent_req
Volker Lendecke [Mon, 23 Mar 2009 21:49:29 +0000 (22:49 +0100)]
Convert rpc_api_pipe_req to tevent_req

15 years agoConvert rpc_api_pipe to tevent_req
Volker Lendecke [Mon, 23 Mar 2009 21:33:00 +0000 (22:33 +0100)]
Convert rpc_api_pipe to tevent_req

15 years agoConvert cli_api_pipe to tevent_req
Volker Lendecke [Mon, 23 Mar 2009 21:13:44 +0000 (22:13 +0100)]
Convert cli_api_pipe to tevent_req

15 years agoConvert get_complete_frag to tevent_req
Volker Lendecke [Mon, 23 Mar 2009 20:57:19 +0000 (21:57 +0100)]
Convert get_complete_frag to tevent_req

15 years agoConvert rpc_write to tevent_req
Volker Lendecke [Mon, 23 Mar 2009 20:49:19 +0000 (21:49 +0100)]
Convert rpc_write to tevent_req

15 years agoConvert rpc_read to tevent_req
Volker Lendecke [Mon, 23 Mar 2009 20:37:27 +0000 (21:37 +0100)]
Convert rpc_read to tevent_req

15 years agoAdd tevent_req_simple_recv_ntstatus()
Volker Lendecke [Sun, 1 Mar 2009 21:25:51 +0000 (22:25 +0100)]
Add tevent_req_simple_recv_ntstatus()

15 years agoFix bug 6097
Volker Lendecke [Tue, 24 Mar 2009 10:07:16 +0000 (11:07 +0100)]
Fix bug 6097

A client sent a SID with authority 0 and 0 sub-authorities. W2k3 replies with
NT_STATUS_INVALID_SID, even if other SIDs in the list are valid.

Thanks to Pavel <wylda@volny.cz> for the bug report!

15 years agos3: use generated dcerpc code.
Günther Deschner [Fri, 20 Mar 2009 23:10:14 +0000 (00:10 +0100)]
s3: use generated dcerpc code.

Guenther

15 years agos3: add generated dcerpc files.
Günther Deschner [Fri, 20 Mar 2009 22:27:15 +0000 (23:27 +0100)]
s3: add generated dcerpc files.

Guenther

15 years agomove dcerpc.idl to main directory.
Günther Deschner [Fri, 20 Mar 2009 22:25:53 +0000 (23:25 +0100)]
move dcerpc.idl to main directory.

Guenther

15 years agos3: add missing prototype for auth_wbc_init().
Günther Deschner [Tue, 24 Mar 2009 10:02:40 +0000 (11:02 +0100)]
s3: add missing prototype for auth_wbc_init().

Guenther

15 years agos3:dsgetdcname: use parentheses in if condition to make negation clear
Björn Jacke [Mon, 23 Mar 2009 11:26:03 +0000 (12:26 +0100)]
s3:dsgetdcname: use parentheses in if condition to make negation clear

Signed-off-by: Günther Deschner <gd@samba.org>
15 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Andrew Tridgell [Tue, 24 Mar 2009 05:29:24 +0000 (16:29 +1100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

15 years agothe start of a possibleInferiors test suite
Andrew Tridgell [Tue, 24 Mar 2009 05:28:39 +0000 (16:28 +1100)]
the start of a possibleInferiors test suite

we haven't implemented possibleInferiors yet. This test is meant to
help us understand how it works. It tries to construct
possibleInferiors via searches on other attributes, and compares it to
the servers constructed possibleInferiors attribute for each class in
the servers schema.

see [MS-ADTS] section 3.1.1.4.5.21

15 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Andrew Tridgell [Mon, 23 Mar 2009 23:53:06 +0000 (10:53 +1100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

15 years agos3 OneFS: Remove usage of non-existant function
Tim Prouty [Mon, 23 Mar 2009 18:57:13 +0000 (11:57 -0700)]
s3 OneFS: Remove usage of non-existant function

The function was removed in:
c16c90a1cb3b0e2ceadd3dea835a4e69acfc2fae

15 years agos3: Remove redundant comment
Tim Prouty [Mon, 23 Mar 2009 18:55:58 +0000 (11:55 -0700)]
s3: Remove redundant comment

15 years agos3:build: make SHOWFLAGS target phony and add alias showflags
Michael Adam [Mon, 23 Mar 2009 16:47:26 +0000 (17:47 +0100)]
s3:build: make SHOWFLAGS target phony and add alias showflags

Michael

15 years agolibreplace: use libreplace_SAVE_CPPFLAGS instead of SAVE_CPPFLAGS
Michael Adam [Mon, 23 Mar 2009 16:36:46 +0000 (17:36 +0100)]
libreplace: use libreplace_SAVE_CPPFLAGS instead of SAVE_CPPFLAGS

This fixes Samba3's double listing of -I options in CFLAGS,
since samba3's configure wraps the call to AC_LIBREPLACE_NETWORK_CHECKS
into a SAVE_CPPFLAGS="${CPPFLAGS}" .. CPPFLAGS="${SAVE_CPPFLAGS}"
sequence... :-)

Michael

15 years agoUse avahi to register _smb._tcp in smbd
Volker Lendecke [Sun, 22 Mar 2009 14:59:33 +0000 (15:59 +0100)]
Use avahi to register _smb._tcp in smbd

15 years agoAdd tevent avahi binding
Volker Lendecke [Fri, 20 Mar 2009 13:55:05 +0000 (14:55 +0100)]
Add tevent avahi binding

15 years agoAdd avahi detection to configure
Volker Lendecke [Fri, 20 Mar 2009 13:53:10 +0000 (14:53 +0100)]
Add avahi detection to configure

15 years agoDisable dns_sd by default
Volker Lendecke [Fri, 20 Mar 2009 13:39:19 +0000 (14:39 +0100)]
Disable dns_sd by default

15 years agos3:build: prevent from setting "-O -g", check for $debug first.
Michael Adam [Mon, 23 Mar 2009 13:22:37 +0000 (14:22 +0100)]
s3:build: prevent from setting "-O -g", check for $debug first.

This makes configure actually behave as the comments describe.
The reversal of order was introduced by mistake in
90ea8ae9b1ed3b7ed1c93076517e026e629ea1aa

Michael

15 years agodon't set -O twice
Björn Jacke [Wed, 18 Mar 2009 21:19:06 +0000 (22:19 +0100)]
don't set -O twice

Signed-off-by: Michael Adam <obnox@samba.org>
15 years agoremove non standard way to point to ctdb path
Björn Jacke [Thu, 19 Mar 2009 00:16:46 +0000 (01:16 +0100)]
remove non standard way to point to ctdb path

we can provide the path to ctdb via the --with-ctdb=... configure flag like we
do it with other packageѕ, too. There is no need for another redundnant
Makefile hack to point the ctdb header location

Signed-off-by: Michael Adam <obnox@samba.org>
15 years agoѕ3/winbind_pam: fix gcc 4.4 compile warning
Björn Jacke [Mon, 23 Mar 2009 12:02:57 +0000 (13:02 +0100)]
ѕ3/winbind_pam: fix gcc 4.4 compile warning

15 years agoselftest/Samba3: Test smb signing against the member server
Stefan Metzmacher [Fri, 6 Mar 2009 15:35:34 +0000 (16:35 +0100)]
selftest/Samba3: Test smb signing against the member server

metze

15 years agos3:libsmb: use new simplified smb_signing code for the client side
Stefan Metzmacher [Mon, 9 Mar 2009 08:50:36 +0000 (09:50 +0100)]
s3:libsmb: use new simplified smb_signing code for the client side

We store the seqnum/mid mapping in the cli_request structure
for async requests and in the cli_state structure for sync calls.

We skip the signing check for oplock requests while waiting
for async requests coming in.

metze

15 years agos3:smbd: use new simplified snb_signing code in the server
Stefan Metzmacher [Mon, 9 Mar 2009 08:47:59 +0000 (09:47 +0100)]
s3:smbd: use new simplified snb_signing code in the server

We keep the seqnum/mid mapping in the smb_request structure.

This also moves one global variable into the
smbd_server_connection struct.

metze

15 years agos3:libsmb: add a much simplified smb_siging infrastructure
Stefan Metzmacher [Mon, 9 Mar 2009 07:42:05 +0000 (08:42 +0100)]
s3:libsmb: add a much simplified smb_siging infrastructure

It's the job of the caller to maintain the seqnum/mid mapping.

Hopefully we can use this code in s4 later too.

metze

15 years agos3:libsmb: rename smb_signing.c => clisigning.c
Stefan Metzmacher [Sun, 8 Mar 2009 16:47:08 +0000 (17:47 +0100)]
s3:libsmb: rename smb_signing.c => clisigning.c

This prepares a large simplification of the smb_signing code

metze

15 years agos3:smbd: if we allow trans2 on the IPC$ share, then we have to allow transs2 too.
Stefan Metzmacher [Mon, 23 Mar 2009 10:44:00 +0000 (11:44 +0100)]
s3:smbd: if we allow trans2 on the IPC$ share, then we have to allow transs2 too.

Otherwise we'll confuse the client signing engine, when we reply an error to each transs2.

metze

15 years agosocket_wrapper: fix connect() for dgram sockets, if the destination isn't there yet
Stefan Metzmacher [Mon, 23 Mar 2009 08:16:18 +0000 (09:16 +0100)]
socket_wrapper: fix connect() for dgram sockets, if the destination isn't there yet

Now we defer the real_connect() for dgram sockets to the first send()/sendto() call,
as the destination might not be there at connect time.

Commit 66dc53ee017d74a6f610bbe04337f064901fe2a1 was an incomplete fix for this
problem.

metze

15 years agoFix connect to port 139 only -- thanks gd for bugging me :-)
Volker Lendecke [Mon, 23 Mar 2009 11:05:02 +0000 (12:05 +0100)]
Fix connect to port 139 only -- thanks gd for bugging me :-)

15 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Andrew Tridgell [Mon, 23 Mar 2009 00:47:38 +0000 (11:47 +1100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

15 years agotalloc_array_length: talloc_get_size deals fine with NULL
Volker Lendecke [Sun, 22 Mar 2009 21:07:58 +0000 (22:07 +0100)]
talloc_array_length: talloc_get_size deals fine with NULL

15 years agoOnly build the dirsort module if we have the dirfd function
Volker Lendecke [Sun, 22 Mar 2009 12:14:15 +0000 (13:14 +0100)]
Only build the dirsort module if we have the dirfd function

Fix the build on HP/UX

15 years agoRevert "socket_wrapper: fix connect() for dgram sockets, if the destination isn't...
Stefan Metzmacher [Sun, 22 Mar 2009 11:36:38 +0000 (12:36 +0100)]
Revert "socket_wrapper: fix connect() for dgram sockets, if the destination isn't there yet"

This reverts commit 66dc53ee017d74a6f610bbe04337f064901fe2a1.

Somehow this leads to timeouts in some tests, samba4.ldb.ldapi
and samba4.rpc.schannel. I need to look at it more closely later...

metze

15 years agoLDAP-CLDAP: remove temporary debug statements...
Stefan Metzmacher [Sun, 22 Mar 2009 11:19:56 +0000 (12:19 +0100)]
LDAP-CLDAP: remove temporary debug statements...

metze

15 years agoDocument the dirsort module
Volker Lendecke [Sun, 22 Mar 2009 10:39:32 +0000 (11:39 +0100)]
Document the dirsort module

15 years agoUse StrCaseCmp in the dirsort module
Volker Lendecke [Sun, 22 Mar 2009 10:39:10 +0000 (11:39 +0100)]
Use StrCaseCmp in the dirsort module

15 years agoAdd dirsort module
Andy Kelk [Sun, 22 Mar 2009 10:06:52 +0000 (11:06 +0100)]
Add dirsort module

15 years agoRevert "Add a basic Doxyfile for talloc"
Volker Lendecke [Sun, 22 Mar 2009 08:48:54 +0000 (09:48 +0100)]
Revert "Add a basic Doxyfile for talloc"

This reverts commit f55e84e904173bed8dc9099ad523ca1e7be12355.

15 years agoRevert "Convert the contents of talloc_guide.txt to doxygen-style talloc.h comments"
Volker Lendecke [Sun, 22 Mar 2009 08:48:48 +0000 (09:48 +0100)]
Revert "Convert the contents of talloc_guide.txt to doxygen-style talloc.h comments"

This reverts commit d21212c9192b41a3fdc7e96cb9bf0125a1dc6c2d.