kai/samba.git
12 years agos3: Remove a use of cli_errstr
Volker Lendecke [Sun, 3 Jul 2011 10:04:24 +0000 (12:04 +0200)]
s3: Remove a use of cli_errstr

12 years agos3: Remove a use of cli_errstr
Volker Lendecke [Sun, 3 Jul 2011 09:49:07 +0000 (11:49 +0200)]
s3: Remove a use of cli_errstr

12 years agos3: Remove a use of cli_errstr
Volker Lendecke [Sun, 3 Jul 2011 09:47:44 +0000 (11:47 +0200)]
s3: Remove a use of cli_errstr

12 years agos3: Remove a use of cli_errstr
Volker Lendecke [Sun, 3 Jul 2011 09:46:50 +0000 (11:46 +0200)]
s3: Remove a use of cli_errstr

12 years agos3: Remove two uses of cli_errstr
Volker Lendecke [Sun, 3 Jul 2011 09:27:53 +0000 (11:27 +0200)]
s3: Remove two uses of cli_errstr

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Jul  3 12:43:32 CEST 2011 on sn-devel-104

12 years agos3: RAP errors are WERROR
Volker Lendecke [Sun, 3 Jul 2011 09:21:50 +0000 (11:21 +0200)]
s3: RAP errors are WERROR

12 years agos3: Remove some bogus error mappings
Volker Lendecke [Sun, 3 Jul 2011 09:15:45 +0000 (11:15 +0200)]
s3: Remove some bogus error mappings

The old cli_session_request that used this is gone

12 years agos3: Remove a use of cli_errstr
Volker Lendecke [Sun, 3 Jul 2011 08:38:30 +0000 (10:38 +0200)]
s3: Remove a use of cli_errstr

All code above that might have failed sets result

12 years agos3: Allow NULL for arg pwritten in cli_write_andx
Volker Lendecke [Sat, 30 Apr 2011 08:58:35 +0000 (10:58 +0200)]
s3: Allow NULL for arg pwritten in cli_write_andx

12 years agoS3: Fix some nonempty blank lines
Volker Lendecke [Sat, 25 Jun 2011 13:14:25 +0000 (15:14 +0200)]
S3: Fix some nonempty blank lines

12 years agos3: Read symlink information in smbclient "allinfo"
Volker Lendecke [Thu, 30 Jun 2011 13:26:21 +0000 (15:26 +0200)]
s3: Read symlink information in smbclient "allinfo"

12 years agos3: Fix symlink_reparse_buffer_parse
Volker Lendecke [Thu, 30 Jun 2011 13:25:42 +0000 (15:25 +0200)]
s3: Fix symlink_reparse_buffer_parse

12 years agos3: Add cli_readlink
Volker Lendecke [Thu, 30 Jun 2011 13:06:46 +0000 (15:06 +0200)]
s3: Add cli_readlink

12 years agos3: Add STATUS_STOPPED_ON_SYMLINK error code
Volker Lendecke [Thu, 30 Jun 2011 13:25:16 +0000 (15:25 +0200)]
s3: Add STATUS_STOPPED_ON_SYMLINK error code

12 years agos3-build Require fully defined modules by default
Andrew Bartlett [Sun, 3 Jul 2011 07:20:09 +0000 (09:20 +0200)]
s3-build Require fully defined modules by default

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Sun Jul  3 10:33:44 CEST 2011 on sn-devel-104

12 years agos3-build Prepare to require fully defined modules
Andrew Bartlett [Sun, 3 Jul 2011 07:20:02 +0000 (09:20 +0200)]
s3-build Prepare to require fully defined modules

This specifies some more deps for our modules, and ensures that the
subsystem that it links against is in fact a library, which will avoid
issues with introducing duplicate symbols.

Andrew Bartlett

12 years agos4-param Remove unused 'announce version'
Andrew Bartlett [Fri, 1 Jul 2011 06:02:54 +0000 (16:02 +1000)]
s4-param Remove unused 'announce version'

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Sat Jul  2 05:42:37 CEST 2011 on sn-devel-104

12 years agos3-param Remove #defines already in common loadparm.h
Andrew Bartlett [Fri, 1 Jul 2011 06:01:28 +0000 (16:01 +1000)]
s3-param Remove #defines already in common loadparm.h

12 years agos3-param Generate parameter tables
Andrew Bartlett [Fri, 1 Jul 2011 04:36:25 +0000 (14:36 +1000)]
s3-param Generate parameter tables

12 years agoparam: Finish conversion from lp_wins_support() -> lp_we_are_a_wins_server()
Andrew Bartlett [Fri, 1 Jul 2011 05:14:08 +0000 (15:14 +1000)]
param: Finish conversion from lp_wins_support() -> lp_we_are_a_wins_server()

Jermey started this in 1997 with 0aa493cc0303aa4177f289b9e4c797c8fa180672

(avoiding the duplicate function makes it easier to generate the
struct loadparm_globals).

Andrew Bartlett

12 years agos3-param remove unused bIdmapReadOnly
Andrew Bartlett [Fri, 1 Jul 2011 04:37:16 +0000 (14:37 +1000)]
s3-param remove unused bIdmapReadOnly

12 years agos3-param Remove unused bUpdateEncrypt
Andrew Bartlett [Fri, 1 Jul 2011 04:19:05 +0000 (14:19 +1000)]
s3-param Remove unused bUpdateEncrypt

12 years agos3-net: use printing_migrate library, and eliminate duplicate code.
Günther Deschner [Fri, 1 Jul 2011 13:02:26 +0000 (15:02 +0200)]
s3-net: use printing_migrate library, and eliminate duplicate code.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Jul  1 17:57:09 CEST 2011 on sn-devel-104

12 years agos3-printing: split out printing migration code into a smaller library.
Günther Deschner [Fri, 1 Jul 2011 12:57:32 +0000 (14:57 +0200)]
s3-printing: split out printing migration code into a smaller library.

Guenther

12 years agos3:smbldap: make smbldap_connect_system self contained
Gregor Beck [Tue, 21 Jun 2011 06:16:56 +0000 (08:16 +0200)]
s3:smbldap: make smbldap_connect_system self contained

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Jul  1 12:37:50 CEST 2011 on sn-devel-104

12 years agos3:smbldap: add a destructor to smbldap_state, just in case
Gregor Beck [Tue, 21 Jun 2011 06:06:28 +0000 (08:06 +0200)]
s3:smbldap: add a destructor to smbldap_state, just in case

Signed-off-by: Stefan Metzmacher <metze@samba.org>
12 years agos3:smbldap: let smbldap_free_struct do what it claims to
Gregor Beck [Tue, 21 Jun 2011 06:02:53 +0000 (08:02 +0200)]
s3:smbldap: let smbldap_free_struct do what it claims to

Signed-off-by: Stefan Metzmacher <metze@samba.org>
12 years agos3:smbldap: free the idle event scheduled in smbldap_open in smbldap_close
Gregor Beck [Tue, 21 Jun 2011 06:00:59 +0000 (08:00 +0200)]
s3:smbldap: free the idle event scheduled in smbldap_open in smbldap_close

Signed-off-by: Stefan Metzmacher <metze@samba.org>
12 years agos3:smbldap: use smbldap_state as memory context for idle event
Gregor Beck [Tue, 21 Jun 2011 05:51:41 +0000 (07:51 +0200)]
s3:smbldap: use smbldap_state as memory context for idle event

ensure the event is canceled if the smbldap_state gets freed
this fixes a panic of winbindd if verify_idpool fails

Signed-off-by: Stefan Metzmacher <metze@samba.org>
12 years agos4-dsdb guard principalName parse for invalid inputs
Andrew Bartlett [Thu, 30 Jun 2011 04:21:51 +0000 (14:21 +1000)]
s4-dsdb guard principalName parse for invalid inputs

We need to ensure that if this parses name.name_string as just one
val, then we don't read uninitialised and possibly unallocated memory.
Found by Adam Thorn <alt36@cam.ac.uk>

While we are checking that, we need to fix the strncasecmp() check to
first check if the string is the expected length, then check for a
match against sAMAccountName-without-doller, as otherwise we will
permit a string such as machinefoo to match a sAMAccountName of
machine.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Jul  1 03:55:00 CEST 2011 on sn-devel-104

12 years agos4-dsdb Allow a servicePrincipalName of machine$
Andrew Bartlett [Thu, 30 Jun 2011 04:20:22 +0000 (14:20 +1000)]
s4-dsdb Allow a servicePrincipalName of machine$

This is pointless, but MacOS X (version 10.6.8 was tested) apparently
sets machine$ into this field.

Andrew Bartlett

12 years agoPart of fix for bug 8276 - FD_SET out of bounds access crash.
Jeremy Allison [Thu, 30 Jun 2011 18:01:40 +0000 (11:01 -0700)]
Part of fix for bug 8276 - FD_SET out of bounds access crash.

Ensure we never add fd's set to -1 to the pollfd set.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Jun 30 21:15:25 CEST 2011 on sn-devel-104

12 years agoscript/librelease.sh: keep dots in the release tag
Stefan Metzmacher [Tue, 28 Jun 2011 10:55:47 +0000 (12:55 +0200)]
script/librelease.sh: keep dots in the release tag

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Jun 30 18:52:06 CEST 2011 on sn-devel-104

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