gd/samba-autobuild/.git
9 years agomount.cifs: don't allow it to be run as setuid root program
Jeff Layton [Tue, 26 Jan 2010 13:15:41 +0000 (08:15 -0500)]
mount.cifs: don't allow it to be run as setuid root program

mount.cifs has been the subject of several "security" fire drills due to
distributions installing it as a setuid root program. This program has
not been properly audited for security and the Samba team highly
recommends that it not be installed as a setuid root program at this
time.

To make that abundantly clear, this patch forcibly disables the ability
for mount.cifs to run as a setuid root program. People are welcome to
trivially patch this out, but they do so at their own peril.

A security audit and redesign of this program is in progress and we hope
that we'll be able to remove this in the near future.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
9 years agomount.cifs: check for invalid characters in device name and mountpoint
Jeff Layton [Tue, 26 Jan 2010 13:15:41 +0000 (08:15 -0500)]
mount.cifs: check for invalid characters in device name and mountpoint

It's apparently possible to corrupt the mtab if you pass embedded
newlines to addmntent. Apparently tabs are also a problem with certain
earlier glibc versions. Backslashes are also a minor issue apparently,
but we can't reasonably filter those.

Make sure that neither the devname or mountpoint contain any problematic
characters before allowing the mount to proceed.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
9 years agomount.cifs: take extra care that mountpoint isn't changed during mount
Jeff Layton [Tue, 26 Jan 2010 13:15:41 +0000 (08:15 -0500)]
mount.cifs: take extra care that mountpoint isn't changed during mount

It's possible to trick mount.cifs into mounting onto the wrong directory
by replacing the mountpoint with a symlink to a directory. mount.cifs
attempts to check the validity of the mountpoint, but there's still a
possible race between those checks and the mount(2) syscall.

To guard against this, chdir to the mountpoint very early, and only deal
with it as "." from then on out.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
9 years agos4-smbtorture: also test smbc_getOptionUseCCache
Günther Deschner [Tue, 26 Jan 2010 11:10:17 +0000 (12:10 +0100)]
s4-smbtorture: also test smbc_getOptionUseCCache

9 years agos3: Enable use of ccache by default for libsmbclient
Volker Lendecke [Tue, 26 Jan 2010 09:51:32 +0000 (10:51 +0100)]
s3: Enable use of ccache by default for libsmbclient

Disable this by setting the environment variable LIBSMBCLIENT_NO_CCACHE, which
has the advantage over an smb.conf option to be easily settable per
application.

9 years agoCorrect fix for unused variable return from ndr_decode. Use it :-).
Jeremy Allison [Tue, 26 Jan 2010 01:38:55 +0000 (17:38 -0800)]
Correct fix for unused variable return from ndr_decode. Use it :-).
Jeremy.

9 years agoRevert "s3: remove unused Variable"
Jeremy Allison [Tue, 26 Jan 2010 01:06:54 +0000 (17:06 -0800)]
Revert "s3: remove unused Variable"

This reverts commit 9536d94d5478b63fc05047964b40d8786a7246c4.

Bjorn, your change removed the ndr_decoding of the dos attribute.
Not a good idea :-).

Jeremy.

9 years agoRevert "libreplace: fix unused varibale warning on IRIX"
Björn Jacke [Tue, 26 Jan 2010 00:16:37 +0000 (01:16 +0100)]
Revert "libreplace: fix unused varibale warning on IRIX"

this one was broken

9 years agos3: fix detection and flags for using pthread
Björn Jacke [Mon, 25 Jan 2010 23:17:10 +0000 (00:17 +0100)]
s3: fix detection and flags for using pthread

I hope this fixes the build on Tru64, IRIX and maybe bug #6983

9 years agos3: remove unused variable
Björn Jacke [Mon, 25 Jan 2010 22:24:35 +0000 (23:24 +0100)]
s3: remove unused variable

9 years agos3:async_smb: remove unused variable
Björn Jacke [Mon, 25 Jan 2010 22:23:49 +0000 (23:23 +0100)]
s3:async_smb: remove unused variable

9 years agolibreplace: fix unused varibale warning on IRIX
Björn Jacke [Mon, 25 Jan 2010 22:07:24 +0000 (23:07 +0100)]
libreplace: fix unused varibale warning on IRIX

9 years agos3: remove unused Variable
Björn Jacke [Mon, 25 Jan 2010 22:00:14 +0000 (23:00 +0100)]
s3: remove unused Variable

Jeremy, please check!

9 years agos3:netapi: remove unused variable
Björn Jacke [Mon, 25 Jan 2010 21:57:36 +0000 (22:57 +0100)]
s3:netapi: remove unused variable

9 years agolib/popt: Fix typo in README.
Karolin Seeger [Mon, 25 Jan 2010 18:54:24 +0000 (19:54 +0100)]
lib/popt: Fix typo in README.

Karolin

9 years agos3/docs: Fix typo.
Karolin Seeger [Mon, 25 Jan 2010 18:53:42 +0000 (19:53 +0100)]
s3/docs: Fix typo.

Karolin

9 years agos3/registry: Fix typo in comment.
Karolin Seeger [Mon, 25 Jan 2010 18:50:21 +0000 (19:50 +0100)]
s3/registry: Fix typo in comment.

Karolin

9 years agoRevert "libcli/security: Remove a call to strncasecmp"
Volker Lendecke [Mon, 25 Jan 2010 15:44:38 +0000 (16:44 +0100)]
Revert "libcli/security: Remove a call to strncasecmp"

This reverts commit 7c687665eaf16b0c6f83c130f6d9e5459e0b2a32.

9 years agoRevert "libcli/security: Convert some strtol calls to strtoul"
Volker Lendecke [Mon, 25 Jan 2010 15:44:27 +0000 (16:44 +0100)]
Revert "libcli/security: Convert some strtol calls to strtoul"

This reverts commit 7fe66e06c4df575c410d4d70ff38f120c2f4363b.

9 years agoRevert "libcli/security: Fix a valgrind error in dom_sid_parse"
Volker Lendecke [Mon, 25 Jan 2010 15:42:49 +0000 (16:42 +0100)]
Revert "libcli/security: Fix a valgrind error in dom_sid_parse"

This reverts commit f1c889a4e61d6d751cbabd8014b4345b8051b97c.

9 years agos4-python: Fix formatting.
Jelmer Vernooij [Mon, 25 Jan 2010 14:17:56 +0000 (15:17 +0100)]
s4-python: Fix formatting.

9 years agoupgrade_from_s3: Remove unused imports.
Jelmer Vernooij [Thu, 21 Jan 2010 23:05:18 +0000 (12:05 +1300)]
upgrade_from_s3: Remove unused imports.

9 years agopyxattr: Move to the same directory as the xattr code.
Jelmer Vernooij [Thu, 21 Jan 2010 23:02:51 +0000 (12:02 +1300)]
pyxattr: Move to the same directory as the xattr code.

9 years agos4 includes: Include system/locale.h to get access to <ctype.h>
Kai Blin [Mon, 25 Jan 2010 11:51:35 +0000 (12:51 +0100)]
s4 includes: Include system/locale.h to get access to <ctype.h>

9 years agoRevert "s3: Make string_to_sid a wrapper around dom_sid_parse"
Volker Lendecke [Mon, 25 Jan 2010 11:41:48 +0000 (12:41 +0100)]
Revert "s3: Make string_to_sid a wrapper around dom_sid_parse"

This reverts commit dff03b61fd5d923562711b38cc7dbe996dc07283.

9 years agoRevert "libcli/security: Prohibit SID formats like S-1-5-32-+545"
Volker Lendecke [Mon, 25 Jan 2010 11:39:47 +0000 (12:39 +0100)]
Revert "libcli/security: Prohibit SID formats like S-1-5-32-+545"

This reverts commit 1fbeae41655b8305834f2149b1268077eba8633d.

Apparently this breaks the build of Samba4

9 years agos4-smbtorture: test wbcResolveWinsByName/wbcResolveWinsByIP in WINBIND-WBCLIENT tests...
Günther Deschner [Fri, 22 Jan 2010 15:27:39 +0000 (16:27 +0100)]
s4-smbtorture: test wbcResolveWinsByName/wbcResolveWinsByIP in WINBIND-WBCLIENT testsuite.

Guenther

9 years agos4-smbtorture: add test for wbcPingDc to WINBIND-WBCLIENT testsuite.
Günther Deschner [Fri, 22 Jan 2010 14:06:50 +0000 (15:06 +0100)]
s4-smbtorture: add test for wbcPingDc to WINBIND-WBCLIENT testsuite.

Volker, please check, you know best how this interface is designed :-)

Guenther

9 years agos4-smbtorture: split spoolss_RemoteFindFirstPrinterChangeNotifyEx test into smaller...
Günther Deschner [Tue, 19 Jan 2010 21:18:24 +0000 (22:18 +0100)]
s4-smbtorture: split spoolss_RemoteFindFirstPrinterChangeNotifyEx test into smaller parts.

Guenther

9 years agotestprogs: print all driver info levels in spoolss testsuite.
Günther Deschner [Tue, 19 Jan 2010 23:44:16 +0000 (00:44 +0100)]
testprogs: print all driver info levels in spoolss testsuite.

Guenther

9 years agos3-libsmbclient: Add smbc_setOptionUseCCache()
Volker Lendecke [Sun, 24 Jan 2010 18:24:10 +0000 (19:24 +0100)]
s3-libsmbclient: Add smbc_setOptionUseCCache()

Can we enable this by default? This would be a change in behaviour, but this
feature is just too cool for everyone to catch up in the apps.

The patch would be

9 years agos3: Add --use-ccache to net
Volker Lendecke [Sun, 24 Jan 2010 17:50:48 +0000 (18:50 +0100)]
s3: Add --use-ccache to net

9 years agos3: add libnetapi_set_use_ccache()
Volker Lendecke [Sun, 24 Jan 2010 17:50:31 +0000 (18:50 +0100)]
s3: add libnetapi_set_use_ccache()

9 years agos3: Fix a bug in net's use of popt
Volker Lendecke [Sun, 24 Jan 2010 17:51:58 +0000 (18:51 +0100)]
s3: Fix a bug in net's use of popt

In order to add --use-ccache to net, I added another "bool opt_ccache;" to
struct net_context. popt did not like this, it took a while to figure out why.
Popt has the lines

    /* XXX Check alignment, may fail on funky platforms. */
    if (arg == NULL || (((unsigned long)arg) & (sizeof(*arg)-1)))
        return POPT_ERROR_NULLARG;

The "bool opt_ccache;" was not aligned anymore...

9 years agos3: Enable -C in rpcclient
Volker Lendecke [Sun, 24 Jan 2010 16:35:04 +0000 (17:35 +0100)]
s3: Enable -C in rpcclient

9 years agos3: Add CLI_FULL_CONNECTION_USE_CCACHE
Volker Lendecke [Sun, 24 Jan 2010 16:34:13 +0000 (17:34 +0100)]
s3: Add CLI_FULL_CONNECTION_USE_CCACHE

9 years agos3: Use -C in smbclient
Volker Lendecke [Sun, 24 Jan 2010 16:08:56 +0000 (17:08 +0100)]
s3: Use -C in smbclient

$ bin/wbinfo --ccache-save=w2k3ad\\vl%Password
saving creds succeeded
$ bin/smbclient //192.168.42.160/tmp -Uvl -N -C -W w2k3ad
OS=[Windows Server 2003 R2 3790 Service Pack 2] Server=[Windows Server 2003 R2 5.2]
smb: \>
$ bin/wbinfo --ccache-save=w2k3ad\\vl%WrongPassword
saving creds succeeded
$ bin/smbclient //192.168.42.160/tmp -Uvl -N -C -W w2k3ad
Anonymous login successful
Domain=[W2K3AD] OS=[Windows Server 2003 R2 3790 Service Pack 2] Server=[Windows Server 2003 R2 5.2]
tree connect failed: NT_STATUS_ACCESS_DENIED
$

9 years agos3: Add -C (--use-ccache) to popt_common_credentials
Volker Lendecke [Sun, 24 Jan 2010 16:07:24 +0000 (17:07 +0100)]
s3: Add -C (--use-ccache) to popt_common_credentials

9 years agos3: Add ccache use to cli_session_setup_ntlmssp
Volker Lendecke [Sun, 24 Jan 2010 15:50:46 +0000 (16:50 +0100)]
s3: Add ccache use to cli_session_setup_ntlmssp

9 years agos3: Add NTLMSSP_FEATURE_CCACHE
Volker Lendecke [Sun, 24 Jan 2010 15:47:24 +0000 (16:47 +0100)]
s3: Add NTLMSSP_FEATURE_CCACHE

Uses the winbind ccache to do authentication if asked to do so

9 years agolibwbclient: Actually implement wbcCredentialCache()
Volker Lendecke [Sun, 24 Jan 2010 15:44:15 +0000 (16:44 +0100)]
libwbclient: Actually implement wbcCredentialCache()

9 years agos3: Add the session key to the ccache_ntlm_auth response
Volker Lendecke [Sun, 24 Jan 2010 15:41:30 +0000 (16:41 +0100)]
s3: Add the session key to the ccache_ntlm_auth response

9 years agos3: Add wbinfo --ccache-save
Volker Lendecke [Sat, 9 Jan 2010 19:20:36 +0000 (20:20 +0100)]
s3: Add wbinfo --ccache-save

With this command you can give winbind your password for later use by
the automatic ntlm_auth

9 years agos3: Remove some calls to memset -- reduces text size by some bytes for me
Volker Lendecke [Sun, 24 Jan 2010 12:46:59 +0000 (13:46 +0100)]
s3: Remove some calls to memset -- reduces text size by some bytes for me

9 years agolibwbclient: Use winbindd_free_response()
Volker Lendecke [Sat, 23 Jan 2010 18:38:28 +0000 (19:38 +0100)]
libwbclient: Use winbindd_free_response()

9 years agolibwbclient: Remove a pointless talloc_strdup
Volker Lendecke [Sat, 23 Jan 2010 18:26:51 +0000 (19:26 +0100)]
libwbclient: Remove a pointless talloc_strdup

9 years agos4-provision: Added msDS-NcType into samba4Top object class
Endi S. Dewata [Tue, 19 Jan 2010 03:47:24 +0000 (21:47 -0600)]
s4-provision: Added msDS-NcType into samba4Top object class

Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
9 years agos4-provision: Fixed typos and redundant code
Endi S. Dewata [Tue, 19 Jan 2010 03:01:08 +0000 (21:01 -0600)]
s4-provision: Fixed typos and redundant code

Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
9 years agos4-provision: Disable populating FDS during instance creation.
Endi S. Dewata [Wed, 20 Jan 2010 05:10:19 +0000 (23:10 -0600)]
s4-provision: Disable populating FDS during instance creation.

Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
9 years agonsswitch: Move nss_err_str to its only caller
Volker Lendecke [Sat, 23 Jan 2010 17:20:36 +0000 (18:20 +0100)]
nsswitch: Move nss_err_str to its only caller

9 years agonsswitch: Make some functions static
Volker Lendecke [Sat, 23 Jan 2010 17:06:53 +0000 (18:06 +0100)]
nsswitch: Make some functions static

9 years agos3: Make string_to_sid a wrapper around dom_sid_parse
Volker Lendecke [Sat, 23 Jan 2010 14:24:20 +0000 (15:24 +0100)]
s3: Make string_to_sid a wrapper around dom_sid_parse

9 years agos3: Add a little torture test for dom_sid_parse
Volker Lendecke [Sat, 23 Jan 2010 13:55:11 +0000 (14:55 +0100)]
s3: Add a little torture test for dom_sid_parse

9 years agolibcli/security: Prohibit SID formats like S-1-5-32-+545
Volker Lendecke [Sat, 23 Jan 2010 13:53:54 +0000 (14:53 +0100)]
libcli/security: Prohibit SID formats like S-1-5-32-+545

9 years agolibcli/security: Fix a valgrind error in dom_sid_parse
Volker Lendecke [Sat, 23 Jan 2010 12:53:48 +0000 (13:53 +0100)]
libcli/security: Fix a valgrind error in dom_sid_parse

9 years agolibcli/security: Convert some strtol calls to strtoul
Volker Lendecke [Sat, 23 Jan 2010 12:50:59 +0000 (13:50 +0100)]
libcli/security: Convert some strtol calls to strtoul

This tightens the dom_sid_parse syntax check a bit: "--" would have been
allowed in sid string

9 years agolibcli/security: Remove a call to strncasecmp
Volker Lendecke [Sat, 23 Jan 2010 12:48:49 +0000 (13:48 +0100)]
libcli/security: Remove a call to strncasecmp

9 years agolibreplace: Fix a C++ warning
Volker Lendecke [Sun, 3 Jan 2010 17:46:21 +0000 (18:46 +0100)]
libreplace: Fix a C++ warning

9 years agos3: Remove string_sid_talloc
Volker Lendecke [Sat, 23 Jan 2010 12:31:27 +0000 (13:31 +0100)]
s3: Remove string_sid_talloc

All but one call were pointless, so I think this API should go

9 years agos3: Remove a call to string_sid_talloc
Volker Lendecke [Sat, 23 Jan 2010 12:30:04 +0000 (13:30 +0100)]
s3: Remove a call to string_sid_talloc

9 years agos3: Fix sending NULL sids to lookupsids3
Volker Lendecke [Sat, 23 Jan 2010 12:26:55 +0000 (13:26 +0100)]
s3: Fix sending NULL sids to lookupsids3

9 years agos3: Remove some pointless uses of string_sid_talloc
Volker Lendecke [Sat, 23 Jan 2010 12:18:00 +0000 (13:18 +0100)]
s3: Remove some pointless uses of string_sid_talloc

9 years agos3: Use global_sid_Builtin in net_groupmap_memberships
Volker Lendecke [Sat, 23 Jan 2010 12:17:28 +0000 (13:17 +0100)]
s3: Use global_sid_Builtin in net_groupmap_memberships

9 years agos3: Fix some nonempty blank lines
Volker Lendecke [Sat, 23 Jan 2010 12:33:10 +0000 (13:33 +0100)]
s3: Fix some nonempty blank lines

9 years agos4:kdc Simplify header files
Simo Sorce [Thu, 21 Jan 2010 14:57:41 +0000 (09:57 -0500)]
s4:kdc Simplify header files

9 years agos3: Fix some nonempty blank lines
Volker Lendecke [Fri, 22 Jan 2010 12:31:44 +0000 (13:31 +0100)]
s3: Fix some nonempty blank lines

9 years agos3: Fix a typo in a comment
Volker Lendecke [Fri, 22 Jan 2010 12:31:30 +0000 (13:31 +0100)]
s3: Fix a typo in a comment

9 years agos3:pdb_ldap: Fix large paged search.
Volker Lendecke [Mon, 18 May 2009 14:04:04 +0000 (16:04 +0200)]
s3:pdb_ldap: Fix large paged search.

Fix bug #6981 (Paged Search with DirX LDAP server broken).
(cherry picked from commit 0a3b576c0a4298cbe600ad8943e401e3a0639359)

9 years agos3: Fix bug 7052: "DFS broken on AIX (maybe others)"
William Jojo [Thu, 21 Jan 2010 13:21:03 +0000 (14:21 +0100)]
s3: Fix bug 7052: "DFS broken on AIX (maybe others)"

9 years agos3: Initialize the seqnum in "init_smb_request"
Volker Lendecke [Thu, 21 Jan 2010 13:05:04 +0000 (14:05 +0100)]
s3: Initialize the seqnum in "init_smb_request"

This makes it a bit more obvious for me that the signing sequence number is
tied to the SMB request.

9 years agos3: Make "init_smb_request" static to process.c
Volker Lendecke [Thu, 21 Jan 2010 12:58:39 +0000 (13:58 +0100)]
s3: Make "init_smb_request" static to process.c

9 years agos4:rpc-server:samr: fix setting of lockout duration < lockout window
Michael Adam [Wed, 20 Jan 2010 16:54:40 +0000 (17:54 +0100)]
s4:rpc-server:samr: fix setting of lockout duration < lockout window

This should return NT_STATUS_INVALID_PARAMETER.
This makes samba pass the first part of the samr-lockout test.

This constraint is documented here for the samr server:
http://msdn.microsoft.com/en-us/library/cc245667%28PROT.10%29.aspx
MS-SAMR 3.1.1.6 Attribute Constraints for Originating Updates

and here for the ldap backend:
http://msdn.microsoft.com/en-us/library/cc223462(PROT.10).aspx
MS-ADTS 3.1.1.5.3.2 Constraints

So the check should actually be moved down into the backend,
i.e. under dsdb/samdb/ldb_modules - TODO..

Michael

9 years agos3: Move "yesno" to the only place where it is used: client.c
Volker Lendecke [Thu, 21 Jan 2010 11:57:07 +0000 (12:57 +0100)]
s3: Move "yesno" to the only place where it is used: client.c

9 years agos3/doc: update vfs_shadow_copy2 man page according to new options
Björn Jacke [Thu, 21 Jan 2010 08:25:43 +0000 (09:25 +0100)]
s3/doc: update vfs_shadow_copy2 man page according to new options

9 years agoAdd localtime parameter to shadow_copy2.
Ed Plese [Mon, 7 Dec 2009 03:03:06 +0000 (21:03 -0600)]
Add localtime parameter to shadow_copy2.

9 years agoAdd format parameter to shadow_copy2.
Ed Plese [Thu, 21 Jan 2010 07:30:01 +0000 (08:30 +0100)]
Add format parameter to shadow_copy2.

9 years agoAdd sort parameter to shadow_copy2.
Ed Plese [Mon, 7 Dec 2009 03:00:00 +0000 (21:00 -0600)]
Add sort parameter to shadow_copy2.

9 years agopyxattr: Factor out helper functions.
Jelmer Vernooij [Thu, 21 Jan 2010 04:17:02 +0000 (17:17 +1300)]
pyxattr: Factor out helper functions.

9 years agoselftest: Cope with 'multipart' support in subunit.
Jelmer Vernooij [Thu, 21 Jan 2010 04:16:19 +0000 (17:16 +1300)]
selftest: Cope with 'multipart' support in subunit.

9 years agopyxattr: Simplify tests.
Jelmer Vernooij [Thu, 21 Jan 2010 03:56:23 +0000 (16:56 +1300)]
pyxattr: Simplify tests.

9 years agopyxattr: Fix tests by not opening tdb files multiple times.
Jelmer Vernooij [Thu, 21 Jan 2010 03:45:06 +0000 (16:45 +1300)]
pyxattr: Fix tests by not opening tdb files multiple times.

9 years agopyxattr: Fix tests by avoiding opening tdb files multiple times.
Jelmer Vernooij [Thu, 21 Jan 2010 03:44:20 +0000 (16:44 +1300)]
pyxattr: Fix tests by avoiding opening tdb files multiple times.

9 years agopyxattr: Fix memory leaks.
Jelmer Vernooij [Thu, 21 Jan 2010 03:44:12 +0000 (16:44 +1300)]
pyxattr: Fix memory leaks.

9 years agopyxattr: Simplify tests.
Jelmer Vernooij [Thu, 21 Jan 2010 03:41:30 +0000 (16:41 +1300)]
pyxattr: Simplify tests.

9 years agopyxattr: Fix return value, raise exception, fix memory leak.
Jelmer Vernooij [Thu, 21 Jan 2010 03:29:15 +0000 (16:29 +1300)]
pyxattr: Fix return value, raise exception, fix memory leak.

9 years agopyxattr: Use standard functions for error handling.
Jelmer Vernooij [Thu, 21 Jan 2010 03:28:24 +0000 (16:28 +1300)]
pyxattr: Use standard functions for error handling.

9 years agopyxattr: Remove unnecessary hacks.
Jelmer Vernooij [Thu, 21 Jan 2010 03:18:19 +0000 (16:18 +1300)]
pyxattr: Remove unnecessary hacks.

9 years agos4: Fix a few warnings.
Jelmer Vernooij [Wed, 20 Jan 2010 03:27:38 +0000 (16:27 +1300)]
s4: Fix a few warnings.

9 years agopidl: Include Python.h first, to avoid warnings.
Jelmer Vernooij [Wed, 20 Jan 2010 03:27:15 +0000 (16:27 +1300)]
pidl: Include Python.h first, to avoid warnings.

9 years agos4: Include Python.h early to avoid double definition errors.
Jelmer Vernooij [Wed, 20 Jan 2010 02:07:09 +0000 (15:07 +1300)]
s4: Include Python.h early to avoid double definition errors.

9 years agos3: fix dnsupdate configure check
Björn Jacke [Thu, 21 Jan 2010 00:08:07 +0000 (01:08 +0100)]
s3: fix dnsupdate configure check

9 years agos4-winbind: Migrated winbind connection to tsocket.
Andreas Schneider [Sun, 17 Jan 2010 09:21:21 +0000 (10:21 +0100)]
s4-winbind: Migrated winbind connection to tsocket.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
9 years agoselftest-s4: set the posix:eadb at the global level
Matthieu Patou [Fri, 15 Jan 2010 11:08:26 +0000 (14:08 +0300)]
selftest-s4: set the posix:eadb at the global level

9 years agos4-python: add some helper for converting ldb_flag to text
Matthieu Patou [Tue, 12 Jan 2010 16:49:49 +0000 (19:49 +0300)]
s4-python: add some helper for converting ldb_flag to text

9 years agoupgradeprovision: forbid running upgradeprovision when there is more than 1 DC
Matthieu Patou [Fri, 15 Jan 2010 11:09:06 +0000 (14:09 +0300)]
upgradeprovision: forbid running upgradeprovision when there is more than 1 DC

9 years agoupgradeprovision: mark rIDAvailablePool never upgraded
Matthieu Patou [Mon, 18 Jan 2010 22:53:01 +0000 (01:53 +0300)]
upgradeprovision: mark rIDAvailablePool never upgraded

 handle properly the fact that missing object might depend on some other in order to be correctly created
 debug change also if we are in debugall mode

9 years agoupgradeprovision: reformat + add groupType as possibly overwritten
Matthieu Patou [Tue, 12 Jan 2010 12:43:39 +0000 (15:43 +0300)]
upgradeprovision: reformat + add groupType as possibly overwritten

9 years agoupgradeprovision: improve info messages
Matthieu Patou [Tue, 12 Jan 2010 16:53:38 +0000 (19:53 +0300)]
upgradeprovision: improve info messages

9 years agoRevert "s4:upgradeprovision - fix up the script regarding linked attributes"
Matthieu Patou [Tue, 12 Jan 2010 17:13:33 +0000 (20:13 +0300)]
Revert "s4:upgradeprovision - fix up the script regarding linked attributes"

This reverts commit 2cedefabc93c8a1fcb49d65a3f78a344e814f826.

9 years agoupgradeprovision: never use xattr it's pointless in this usecase
Matthieu Patou [Mon, 18 Jan 2010 22:56:30 +0000 (01:56 +0300)]
upgradeprovision: never use xattr it's pointless in this usecase