samba.git
12 years agorelease-scripts/create-tarball: always create a tag in form of samba-${version}
Stefan Metzmacher [Tue, 28 Jun 2011 10:52:37 +0000 (12:52 +0200)]
release-scripts/create-tarball: always create a tag in form of samba-${version}

metze

12 years agos3:build: add vfs_examples to the everything target
Michael Adam [Thu, 30 Jun 2011 13:15:22 +0000 (15:15 +0200)]
s3:build: add vfs_examples to the everything target

So that one can not pass autobuild without keeping the vfs examples intact.

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Thu Jun 30 16:52:48 CEST 2011 on sn-devel-104

12 years agos3:build: add a vfs_examples target.
Michael Adam [Thu, 30 Jun 2011 11:54:52 +0000 (13:54 +0200)]
s3:build: add a vfs_examples target.

12 years agoexamples/VFS: add include path for s3's autoconf config.h
Michael Adam [Thu, 30 Jun 2011 11:53:54 +0000 (13:53 +0200)]
examples/VFS: add include path for s3's autoconf config.h

12 years agoexamples/VFS: fix skel_transparent.c in reference to shadow_copy changes
Björn Baumbach [Wed, 29 Jun 2011 14:57:27 +0000 (16:57 +0200)]
examples/VFS: fix skel_transparent.c in reference to shadow_copy changes

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agoexamples/VFS: fix skel_opaque.c in reference to shadow_copy changes
Björn Baumbach [Wed, 29 Jun 2011 14:56:45 +0000 (16:56 +0200)]
examples/VFS: fix skel_opaque.c in reference to shadow_copy changes

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agoexamples/VFS: fix shadow_copy_test.c in reference to shadow_copy changes
Björn Baumbach [Wed, 29 Jun 2011 14:53:57 +0000 (16:53 +0200)]
examples/VFS: fix shadow_copy_test.c in reference to shadow_copy changes

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agos3:registry: when deleting the records for a key, also delete the sorted subkeys...
Michael Adam [Thu, 30 Jun 2011 12:37:49 +0000 (14:37 +0200)]
s3:registry: when deleting the records for a key, also delete the sorted subkeys cache

This prevents orphaned empty sorted subkeys cache records from filling the database.

Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agos3:registry: add helper function regdb_delete_sorted_subkeys()
Michael Adam [Thu, 30 Jun 2011 12:36:35 +0000 (14:36 +0200)]
s3:registry: add helper function regdb_delete_sorted_subkeys()

Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>

Signed-off-by: Michael Adam <obnox@samba.org>
12 years agolib/util/string_wrappers: move everything into one HAVE_COMPILER_WILL_OPTIMIZE_OUT_FN...
Stefan Metzmacher [Fri, 24 Jun 2011 19:49:16 +0000 (21:49 +0200)]
lib/util/string_wrappers: move everything into one HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS block

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Jun 30 14:29:41 CEST 2011 on sn-devel-104

12 years agos3:nmbd_subnetdb: close all sockets attached to a subnet in close_subnet() (bug ...
Stefan Metzmacher [Thu, 30 Jun 2011 08:09:56 +0000 (10:09 +0200)]
s3:nmbd_subnetdb: close all sockets attached to a subnet in close_subnet() (bug #8276)

metze

12 years agos3:smbd do not panic when CTDB is unhealthy (Bug #8278)
Christian Ambach [Wed, 29 Jun 2011 13:01:16 +0000 (15:01 +0200)]
s3:smbd do not panic when CTDB is unhealthy (Bug #8278)

when CTDB is unhealthy, log a message and exit cleanly
instead of creating a core file

Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Thu Jun 30 13:18:12 CEST 2011 on sn-devel-104

12 years agodocs: fix some whitespace
Christian Ambach [Wed, 29 Jun 2011 07:24:44 +0000 (09:24 +0200)]
docs: fix some whitespace

replace spaces with tabs, removing whitespaces at end of lines

12 years agodocs: fix a typo
Christian Ambach [Tue, 28 Jun 2011 21:17:35 +0000 (23:17 +0200)]
docs: fix a typo

12 years agorebuildexetendeddn: PEP8: Use spaces rather than tabs.
Jelmer Vernooij [Thu, 30 Jun 2011 08:33:05 +0000 (10:33 +0200)]
rebuildexetendeddn: PEP8: Use spaces rather than tabs.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Jun 30 12:07:32 CEST 2011 on sn-devel-104

12 years agorpcclient: PEP8: Use spaces rather than tabs.
Jelmer Vernooij [Thu, 30 Jun 2011 08:32:35 +0000 (10:32 +0200)]
rpcclient: PEP8: Use spaces rather than tabs.

12 years agosmbstatus: PEP8: Use spaces rather than tabs.
Jelmer Vernooij [Thu, 30 Jun 2011 08:31:59 +0000 (10:31 +0200)]
smbstatus: PEP8: Use spaces rather than tabs.

12 years agomischema: Remove unused import.
Jelmer Vernooij [Thu, 30 Jun 2011 08:30:43 +0000 (10:30 +0200)]
mischema: Remove unused import.

12 years agoenablerecyclebin: Remove unused imports, fix formatting.
Jelmer Vernooij [Thu, 30 Jun 2011 08:29:23 +0000 (10:29 +0200)]
enablerecyclebin: Remove unused imports, fix formatting.

12 years agos3-printing: skip migration of non-existent printers
David Disseldorp [Wed, 15 Jun 2011 12:59:49 +0000 (14:59 +0200)]
s3-printing: skip migration of non-existent printers

Skip tdb migration of printer and security descriptor entries which
refer to non-existent printers.

Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Jun 30 10:54:23 CEST 2011 on sn-devel-104

12 years agos3-printing: fill devicemode size in migrate_printer()
David Disseldorp [Wed, 15 Jun 2011 10:46:55 +0000 (12:46 +0200)]
s3-printing: fill devicemode size in migrate_printer()

Signed-off-by: Günther Deschner <gd@samba.org>
12 years agos3-winbind: Fix bug 7888 -- deal with buggy 3.0 based PDCs
Günther Deschner [Tue, 28 Jun 2011 21:59:11 +0000 (23:59 +0200)]
s3-winbind: Fix bug 7888 -- deal with buggy 3.0 based PDCs

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Jun 30 00:42:23 CEST 2011 on sn-devel-104

12 years agos3-waf: lowercase libcli_lsa3 library name.
Günther Deschner [Tue, 28 Jun 2011 16:15:23 +0000 (18:15 +0200)]
s3-waf: lowercase libcli_lsa3 library name.

Guenther

12 years agos3-waf: lowercase libsmb library name.
Günther Deschner [Tue, 28 Jun 2011 16:03:03 +0000 (18:03 +0200)]
s3-waf: lowercase libsmb library name.

Guenther

12 years agos3-waf: lowercase util_cmdline library name.
Günther Deschner [Tue, 28 Jun 2011 16:00:45 +0000 (18:00 +0200)]
s3-waf: lowercase util_cmdline library name.

Guenther

12 years agos3-waf: lowercase popt_samba3 library name.
Günther Deschner [Tue, 28 Jun 2011 15:58:25 +0000 (17:58 +0200)]
s3-waf: lowercase popt_samba3 library name.

Guenther

12 years agoSecond part of fix for bug #8219 - SMB Panic from Windows 7 Client.
Jeremy Allison [Wed, 29 Jun 2011 16:56:47 +0000 (09:56 -0700)]
Second part of fix for bug #8219 - SMB Panic from Windows 7 Client.

Pass in the correct vector to the signing algorithm in an async
response - we must start with vector[1] which has the SMB2_HDR_BODY
length, not vector[0] which is the 4 byte packet length. Also
note we're passing in 2 vectors not 3.

Metze please review.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Jun 29 20:09:21 CEST 2011 on sn-devel-104

12 years agos4-param Handle BOOLREV parameters
Andrew Bartlett [Wed, 29 Jun 2011 05:37:27 +0000 (15:37 +1000)]
s4-param Handle BOOLREV parameters

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Jun 29 08:57:27 CEST 2011 on sn-devel-104

12 years agoparam: Merge param headers into lib/param/loadparm.h
Andrew Bartlett [Wed, 29 Jun 2011 05:33:54 +0000 (15:33 +1000)]
param: Merge param headers into lib/param/loadparm.h

This defines a common table format, so we can in future define a
common table.

Andrew Bartlett

12 years agos3-param use C99 boolean for false
Andrew Bartlett [Wed, 29 Jun 2011 05:06:49 +0000 (15:06 +1000)]
s3-param use C99 boolean for false

12 years agos3-param use C99 boolean for true
Andrew Bartlett [Wed, 29 Jun 2011 05:05:37 +0000 (15:05 +1000)]
s3-param use C99 boolean for true

12 years agos3-param Convert sDefault to C99 initialisers
Andrew Bartlett [Wed, 29 Jun 2011 05:03:24 +0000 (15:03 +1000)]
s3-param Convert sDefault to C99 initialisers

The conversion has been verified with gdb (p sDefaults before and after)

C99 booleans were helpfully provided by gdb, which was used to generate
the C99 format, and so have been kept.

Andrew Bartlett

12 years agos4-param Match source3's param: use C99 initialisers
Andrew Bartlett [Wed, 29 Jun 2011 04:15:52 +0000 (14:15 +1000)]
s4-param Match source3's param: use C99 initialisers

This makes it much easier to compare the parameter sets.

Andrew Bartlett

12 years agos4-param Merge struct parm_struct with version from source3/
Andrew Bartlett [Wed, 29 Jun 2011 04:15:32 +0000 (14:15 +1000)]
s4-param Merge struct parm_struct with version from source3/

12 years agos3-param Remove unused FLAG_DOS_STRING
Andrew Bartlett [Wed, 29 Jun 2011 03:22:26 +0000 (13:22 +1000)]
s3-param Remove unused FLAG_DOS_STRING

12 years agoparam: Merge struct parm_struct definitions
Andrew Bartlett [Wed, 29 Jun 2011 03:18:57 +0000 (13:18 +1000)]
param: Merge struct parm_struct definitions

This will allow the parameter tables to be shared between source3 and
source4.

Andrew Bartlett

12 years agos3-param Use .offset rather than .ptr when defining parameters
Andrew Bartlett [Wed, 29 Jun 2011 00:49:35 +0000 (10:49 +1000)]
s3-param Use .offset rather than .ptr when defining parameters

This change has a number of purposes:

 * It removes the fancy logic around pointers into sDefault for all
   per-share parameters.  Instead, this is always expressed as an
   offset, rather than implicitly via PTR_DIFF macros.

 * It makes struct parm_struct almost identical to that as used in
   source4/param.  This will very shortly allow the loadparm tables
   and most of the 'special' helper functions to be placed in common.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Jun 29 05:50:46 CEST 2011 on sn-devel-104

12 years agos3-param Remove .offset == 0 checks as 'valid' will have offset 0
Andrew Bartlett [Wed, 29 Jun 2011 02:36:06 +0000 (12:36 +1000)]
s3-param Remove .offset == 0 checks as 'valid' will have offset 0

The validity of an entry in the parm_table is by having a .p_class of
P_LOCAL or P_GLOBAL rather than P_SEPARATOR.  Termination of the table
is by having a .label of non-NULL.  This is possible because there are
no longer any specially handled smb.conf options without a value in
the struct loadparm_globals or struct loadparm_service.

This is required because the first element in the structure will have
.offset = 0, and skipping that would be unfortunate (particularly as it
is the vital 'valid' variable).

Andrew Bartlett

12 years agos3-param use .offset rather than .ptr (renames)
Andrew Bartlett [Wed, 29 Jun 2011 00:48:35 +0000 (10:48 +1000)]
s3-param use .offset rather than .ptr (renames)

This commit uses GLOBAL_VAR and LOCAL_VAR macros to hide the use of .ptr
in the source3 loadparm code.

This will then be changed to use offsetof() in a future commit, removing
the #define offset ptr hack.

Andrew Bartlett

12 years agoFix bug #8219 - SMB Panic from Windows 7 Client
Jeremy Allison [Wed, 29 Jun 2011 00:45:49 +0000 (17:45 -0700)]
Fix bug #8219 - SMB Panic from Windows 7 Client

Caused by referencing an uninitialized variable in the
duplicated struct smbd_smb2_request when sending a signed
intermediate reply.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Jun 29 04:37:28 CEST 2011 on sn-devel-104

12 years agos3-param use lp_parm_ptr() rather than parm.ptr directly
Andrew Bartlett [Tue, 28 Jun 2011 23:52:46 +0000 (09:52 +1000)]
s3-param use lp_parm_ptr() rather than parm.ptr directly

This will help with a change from .ptr to .offset

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Jun 29 03:26:21 CEST 2011 on sn-devel-104

12 years agoRemove obsolete BUGS file.
Jelmer Vernooij [Tue, 28 Jun 2011 21:40:16 +0000 (23:40 +0200)]
Remove obsolete BUGS file.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Jun 29 01:47:26 CEST 2011 on sn-devel-104

12 years agos4:kdc/mit_samba: disable mit_samba_check_s4u2proxy()
Stefan Metzmacher [Tue, 28 Jun 2011 16:22:25 +0000 (18:22 +0200)]
s4:kdc/mit_samba: disable mit_samba_check_s4u2proxy()

As mit_samba_update_pac_data() doesn't support adding
S4U_DELEGATION_INFO to the pac (and I have no clue how to add that)
we should disable S4U2Proxy until this is implemented.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Jun 28 20:35:19 CEST 2011 on sn-devel-104

12 years agos4:kdc: generate the S4U_DELEGATION_INFO in the regenerated pac
Stefan Metzmacher [Tue, 28 Jun 2011 12:46:49 +0000 (14:46 +0200)]
s4:kdc: generate the S4U_DELEGATION_INFO in the regenerated pac

metze

12 years agokrb5pac.idl: add PAC_CONSTRAINED_DELEGATION (S4U_DELEGATION_INFO)
Stefan Metzmacher [Tue, 28 Jun 2011 12:47:56 +0000 (14:47 +0200)]
krb5pac.idl: add PAC_CONSTRAINED_DELEGATION (S4U_DELEGATION_INFO)

metze

12 years agos4:kdc: use KRB5_WINDC_PLUGIN_MINOR define instead of KRB5_WINDC_PLUGING_MINOR
Stefan Metzmacher [Tue, 28 Jun 2011 11:13:41 +0000 (13:13 +0200)]
s4:kdc: use KRB5_WINDC_PLUGIN_MINOR define instead of KRB5_WINDC_PLUGING_MINOR

metze

12 years agoHEIMDAL:kdc: pass down the delegated_proxy_principal to the verify_pac()
Stefan Metzmacher [Tue, 28 Jun 2011 11:24:50 +0000 (13:24 +0200)]
HEIMDAL:kdc: pass down the delegated_proxy_principal to the verify_pac()
function

This is needed in order to add the S4U_DELEGATION_INFO to the pac.

metze

12 years agoHEIMDAL:kdc/windc_plugin.h: KRB5_WINDC_PLUGIN_MINOR 4 => 5
Stefan Metzmacher [Tue, 28 Jun 2011 11:07:42 +0000 (13:07 +0200)]
HEIMDAL:kdc/windc_plugin.h: KRB5_WINDC_PLUGIN_MINOR 4 => 5

commit "heimdal Add support for extracting a particular KVNO from the database"
(f469fc6d4922d796f5c61bf43e3efc018e37b680 in heimdal/master
 and 9b5e304ccedc8f0f7ce2342e4d9c621417dd1c1e in samba/master)
changed the windc_plugin interface, so we need to change the
version number.

metze

12 years agos3-waf: remove s3-waf specific dynconfig.
Günther Deschner [Tue, 28 Jun 2011 09:31:02 +0000 (11:31 +0200)]
s3-waf: remove s3-waf specific dynconfig.

This merge finally makes --with-logfilebase=foo and friends work appropriately.

Andrews, Andreas, please check.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Jun 28 17:54:42 CEST 2011 on sn-devel-104

12 years agos3-waf: add some missing tdb dependencies.
Günther Deschner [Tue, 28 Jun 2011 14:39:36 +0000 (16:39 +0200)]
s3-waf: add some missing tdb dependencies.

Guenther

12 years agos3-smbd Remove set but unused variables
Andrew Bartlett [Tue, 28 Jun 2011 03:14:22 +0000 (13:14 +1000)]
s3-smbd Remove set but unused variables

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Jun 28 10:43:26 CEST 2011 on sn-devel-104

12 years agos3-param Rename struct service and struct globals
Andrew Bartlett [Tue, 28 Jun 2011 00:06:05 +0000 (10:06 +1000)]
s3-param Rename struct service and struct globals

The rename of struct service -> loadparm_service and struct globals ->
loadparm_globals makes this match the names used in source4/param, and
is one step towards a single loadparm definition.

Andrew Bartlett

12 years agos3-param Remove lp_parm_string
Andrew Bartlett [Mon, 27 Jun 2011 05:59:54 +0000 (15:59 +1000)]
s3-param Remove lp_parm_string

Samba 4.0 makes no attempt to provide a loader environment that
will allow a module that is not rebuilt to operate.

Andrew Bartlett

12 years agos3-param make lp_passdb_backend() a normal lp_ function again
Andrew Bartlett [Mon, 27 Jun 2011 05:58:45 +0000 (15:58 +1000)]
s3-param make lp_passdb_backend() a normal lp_ function again

It is now a large number of releases since the multiple passdb backend
support was removed in 3.0.23.

Andrew Bartlett

12 years agos3: explicitly pass domain_sid to wbint_LookupRids() (bug #7841)
Volker Lendecke [Mon, 27 Jun 2011 12:34:39 +0000 (14:34 +0200)]
s3: explicitly pass domain_sid to wbint_LookupRids() (bug #7841)

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Jun 27 18:21:30 CEST 2011 on sn-devel-104

12 years agos3:g_lock: g_lock.tdb should not be executable
Christian Ambach [Mon, 27 Jun 2011 13:44:10 +0000 (15:44 +0200)]
s3:g_lock: g_lock.tdb should not be executable

TDBs are not executable, so do not create the file with
the execution bit set

Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Mon Jun 27 17:09:12 CEST 2011 on sn-devel-104

12 years agos3: Fix winbindd_wins_byname
Volker Lendecke [Sat, 25 Jun 2011 12:25:38 +0000 (14:25 +0200)]
s3: Fix winbindd_wins_byname

Before the async change, the addresses were separated by spaces, not tabs

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Jun 25 15:40:15 CEST 2011 on sn-devel-104

12 years agos3:test: don't rely on pyhton being in /usr/bin/python in the sids2xids test
Michael Adam [Fri, 24 Jun 2011 14:40:17 +0000 (16:40 +0200)]
s3:test: don't rely on pyhton being in /usr/bin/python in the sids2xids test

"/usr/bin/env pyhton" should always work as long as pyhton is in the path.

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Sat Jun 25 01:07:15 CEST 2011 on sn-devel-104

12 years agos3:test: fix the smbclient_s3 test on older systems
Michael Adam [Fri, 24 Jun 2011 14:38:07 +0000 (16:38 +0200)]
s3:test: fix the smbclient_s3 test on older systems

mktemp requires precisely six Xs at the end of the template name

12 years agos3:test: fix the net registry roundtrip test on older systems
Michael Adam [Fri, 24 Jun 2011 14:37:20 +0000 (16:37 +0200)]
s3:test: fix the net registry roundtrip test on older systems

mktemp requires exactly Xs at the end of the template name on SLES8

12 years agos3:configure: remove unused --with-rootsbindir configure option
Stefan Metzmacher [Fri, 24 Jun 2011 20:04:51 +0000 (22:04 +0200)]
s3:configure: remove unused --with-rootsbindir configure option

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Jun 24 23:57:20 CEST 2011 on sn-devel-104

12 years agos3-autconf Move nmbd socket directory to PREFIX/var/nmbd
Andrew Bartlett [Tue, 14 Jun 2011 05:00:32 +0000 (15:00 +1000)]
s3-autconf Move nmbd socket directory to PREFIX/var/nmbd

This is consistent with the new ncalrpc socket directory, also added
in this release.

Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
The last 2 patches address bug #8230 (Move .nmbd socket directory to non-hidden
name PREFIX/var/nmbd).
(cherry picked from commit 833fdb5b3693a7c9111bb98e5bc9a29d29be9d1d)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
12 years agos3-buildoptions Show compiled-in location of the new ncaclrpc and nmbd sockets
Andrew Bartlett [Tue, 14 Jun 2011 04:56:30 +0000 (14:56 +1000)]
s3-buildoptions Show compiled-in location of the new ncaclrpc and nmbd sockets
(cherry picked from commit c558775713e505cfc1db5af417cc7b792dfc310e)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
12 years agoAdd NT_STATUS_IO_REPARSE_TAG_NOT_HANDLED
Volker Lendecke [Fri, 24 Jun 2011 19:23:21 +0000 (21:23 +0200)]
Add NT_STATUS_IO_REPARSE_TAG_NOT_HANDLED

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Jun 24 22:36:50 CEST 2011 on sn-devel-104

12 years agos3: Fix an error message in smbclient symlink
Volker Lendecke [Fri, 24 Jun 2011 15:01:44 +0000 (17:01 +0200)]
s3: Fix an error message in smbclient symlink

12 years agos3: Use reparse point style symlinks
Volker Lendecke [Thu, 23 Jun 2011 14:54:50 +0000 (16:54 +0200)]
s3: Use reparse point style symlinks

12 years agos3: Remove a call to cli_errstr
Volker Lendecke [Thu, 23 Jun 2011 14:52:34 +0000 (16:52 +0200)]
s3: Remove a call to cli_errstr

12 years agos3: Add cli_symlink
Volker Lendecke [Thu, 23 Jun 2011 14:49:17 +0000 (16:49 +0200)]
s3: Add cli_symlink

12 years agos3: Add SYMLINK_FLAG_RELATIVE define
Volker Lendecke [Thu, 23 Jun 2011 14:02:50 +0000 (16:02 +0200)]
s3: Add SYMLINK_FLAG_RELATIVE define

12 years agos3: Add symlink reparse point marshalling routines
Volker Lendecke [Thu, 23 Jun 2011 13:33:58 +0000 (15:33 +0200)]
s3: Add symlink reparse point marshalling routines

12 years agolib: Allow NULL converted_size in convert_string_talloc
Volker Lendecke [Thu, 23 Jun 2011 12:44:25 +0000 (14:44 +0200)]
lib: Allow NULL converted_size in convert_string_talloc

12 years agos4:selftest: test ntvfs.cifs with s4u2proxy
Stefan Metzmacher [Fri, 18 Mar 2011 18:13:43 +0000 (19:13 +0100)]
s4:selftest: test ntvfs.cifs with s4u2proxy

Pair-Programmed-With: Björn Baumbach <bb@sernet.de>

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Jun 24 20:35:30 CEST 2011 on sn-devel-104

12 years agos4:selftest: use wildcards for ntvfs.cifs tests in knownfail and skip files
Stefan Metzmacher [Mon, 2 May 2011 10:53:48 +0000 (12:53 +0200)]
s4:selftest: use wildcards for ntvfs.cifs tests in knownfail and skip files

metze

12 years agoselftest/Samba4: correctly upper case the netbiosname variable
Stefan Metzmacher [Fri, 24 Jun 2011 16:50:51 +0000 (18:50 +0200)]
selftest/Samba4: correctly upper case the netbiosname variable

metze

12 years agos4:kdc: implement samba_kdc_check_s4u2proxy()
Stefan Metzmacher [Wed, 27 Apr 2011 09:41:49 +0000 (11:41 +0200)]
s4:kdc: implement samba_kdc_check_s4u2proxy()

metze

12 years agos4:samba-tool: add "delegation" subcommands for S4U2Proxy and related stuff
Stefan Metzmacher [Fri, 24 Jun 2011 14:59:24 +0000 (16:59 +0200)]
s4:samba-tool: add "delegation" subcommands for S4U2Proxy and related stuff

For now this only works on the local sam.ldb, but it shouldn't be hard
to improve it to talk to remove servers.

Pair-Programmed-With: Björn Baumbach <bb@sernet.de>

metze

12 years agos4:python/samba/samdb: add toggle_userAccountFlags() helper function
Stefan Metzmacher [Fri, 24 Jun 2011 14:37:26 +0000 (16:37 +0200)]
s4:python/samba/samdb: add toggle_userAccountFlags() helper function

And let enable_account() use it.

Pair-Programmed-With: Björn Baumbach <bb@sernet.de>

metze

12 years agoHEIMDAL:kdc: don't allow self delegation if a backend check_constrained_delegation...
Stefan Metzmacher [Fri, 24 Jun 2011 10:40:33 +0000 (12:40 +0200)]
HEIMDAL:kdc: don't allow self delegation if a backend check_constrained_delegation() hook is given

A service should use S4U2Self instead of S4U2Proxy.

Windows servers allow S4U2Proxy only to explicitly configured
target principals.

metze

12 years agoHEIMDAL:kdc: pass down the server hdb_entry_ex to check_constrained_delegation()
Stefan Metzmacher [Fri, 24 Jun 2011 09:53:37 +0000 (11:53 +0200)]
HEIMDAL:kdc: pass down the server hdb_entry_ex to check_constrained_delegation()

This way we can compare the already canonicalized principals,
while still passing the client specified target principal down
to the backend specific constrained_delegation() hook.

metze

12 years agoHEIMDAL:kdc: use the correct client realm in the EncTicketPart
Stefan Metzmacher [Fri, 24 Jun 2011 09:08:33 +0000 (11:08 +0200)]
HEIMDAL:kdc: use the correct client realm in the EncTicketPart

With S4U2Proxy tgt->crealm might be different from tgt_name->realm.

metze

12 years agoAdd NT_STATUS_IO_REPARSE_DATA_INVALID
Volker Lendecke [Fri, 24 Jun 2011 14:44:04 +0000 (16:44 +0200)]
Add NT_STATUS_IO_REPARSE_DATA_INVALID

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Jun 24 17:58:00 CEST 2011 on sn-devel-104

12 years agos4-lsa: Fix typo
Sumit Bose [Fri, 24 Jun 2011 12:32:15 +0000 (14:32 +0200)]
s4-lsa: Fix typo

Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Jun 24 16:19:36 CEST 2011 on sn-devel-104

12 years agos3:vfs_commit: fix build
Björn Jacke [Fri, 24 Jun 2011 11:37:16 +0000 (13:37 +0200)]
s3:vfs_commit: fix build

fix build

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Björn Jacke <bj@sernet.de>
Autobuild-Date: Fri Jun 24 14:51:31 CEST 2011 on sn-devel-104

12 years agos3:smb2_ioctl/FSCTL_PIPE_TRANSCEIVE: generate STATUS_BUFFER_OVERFLOW if needed (bug...
Stefan Metzmacher [Fri, 24 Jun 2011 06:54:02 +0000 (08:54 +0200)]
s3:smb2_ioctl/FSCTL_PIPE_TRANSCEIVE: generate STATUS_BUFFER_OVERFLOW if needed (bug #8260)

This should fix DCERPC responses with fragments larger than 1024 bytes.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Jun 24 11:25:36 CEST 2011 on sn-devel-104

12 years agoMerge commit 'release-4-0-0alpha16' into master4-tmp
Stefan Metzmacher [Fri, 24 Jun 2011 07:39:36 +0000 (09:39 +0200)]
Merge commit 'release-4-0-0alpha16' into master4-tmp

12 years agoMerge commit 'release-4-0-0alpha15' into master4-tmp
Stefan Metzmacher [Fri, 24 Jun 2011 07:39:33 +0000 (09:39 +0200)]
Merge commit 'release-4-0-0alpha15' into master4-tmp

12 years agoMerge 2610c05b5b95cc7036b3d6dfb894c6cfbdb68483 as Samba-4.0alpha16 samba-4.0.0alpha16
Andrew Bartlett [Fri, 24 Jun 2011 06:26:23 +0000 (16:26 +1000)]
Merge 2610c05b5b95cc7036b3d6dfb894c6cfbdb68483 as Samba-4.0alpha16

12 years agoVERSION: on the road to alpha17
Andrew Bartlett [Fri, 24 Jun 2011 04:25:12 +0000 (14:25 +1000)]
VERSION: on the road to alpha17

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Jun 24 08:23:54 CEST 2011 on sn-devel-104

12 years agorelease Samba 4.0 alpha16
Andrew Bartlett [Fri, 24 Jun 2011 03:57:47 +0000 (13:57 +1000)]
release Samba 4.0 alpha16

12 years agoUpdate WHATSNEW.txt with news for Samba 4.0 alpha16
Andrew Bartlett [Sat, 23 Apr 2011 21:38:52 +0000 (23:38 +0200)]
Update WHATSNEW.txt with news for Samba 4.0 alpha16

12 years agobuild: Remove blacklist now we have a common build
Andrew Bartlett [Fri, 24 Jun 2011 04:14:51 +0000 (14:14 +1000)]
build: Remove blacklist now we have a common build

12 years agorelease Samba 4.0 alpha16
Andrew Bartlett [Fri, 24 Jun 2011 03:57:47 +0000 (13:57 +1000)]
release Samba 4.0 alpha16

12 years agoUpdate WHATSNEW.txt with news for Samba 4.0 alpha16
Andrew Bartlett [Sat, 23 Apr 2011 21:38:52 +0000 (23:38 +0200)]
Update WHATSNEW.txt with news for Samba 4.0 alpha16

12 years agos3-build Add dep on popt to fix FreeBSD build
Andrew Bartlett [Fri, 24 Jun 2011 03:22:11 +0000 (13:22 +1000)]
s3-build Add dep on popt to fix FreeBSD build

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Jun 24 06:32:59 CEST 2011 on sn-devel-104

12 years agobuild: Remove blacklist now we have a common build
Andrew Bartlett [Fri, 24 Jun 2011 04:14:51 +0000 (14:14 +1000)]
build: Remove blacklist now we have a common build

12 years agoselftest: Cope with no binary argument being supplied to gdb_backtrace
Andrew Bartlett [Fri, 24 Jun 2011 03:17:19 +0000 (13:17 +1000)]
selftest: Cope with no binary argument being supplied to gdb_backtrace

Modern versions of gdb are better than us at working out what binary
is running, and so it is more reliable to omit the binary argument.

This change is required because samba4 no longer supplies this
argument.

Andrew Bartlett

12 years agoselftest: Remove %PROG% argument from 'panic action'
Andrew Bartlett [Fri, 24 Jun 2011 03:04:27 +0000 (13:04 +1000)]
selftest: Remove %PROG% argument from 'panic action'

The debugger or script will need to work out the binary from the PID,
as %PROG% support was lost when the setup_fault() code was merged
between Samba3 and Samba4.

Andrew Bartlett

12 years agos3-selftest Remove unused gdb_backtrace
Andrew Bartlett [Fri, 24 Jun 2011 03:03:49 +0000 (13:03 +1000)]
s3-selftest Remove unused gdb_backtrace

The version in selftest/ has more features and is the one used by 'make test'.

Andrew Bartlett

12 years agoparam: Remove remaining references to announce as and announce version
Andrew Bartlett [Fri, 24 Jun 2011 02:57:47 +0000 (12:57 +1000)]
param: Remove remaining references to announce as and announce version

12 years agos3-build Require fully defined symbols in ALL libraries by default
Andrew Bartlett [Fri, 24 Jun 2011 01:47:45 +0000 (11:47 +1000)]
s3-build Require fully defined symbols in ALL libraries by default

The only exception here is libsmbregistry, which needs further work to
resolve the library loop caused by the registry based smb.conf
loading.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Jun 24 05:01:38 CEST 2011 on sn-devel-104