Günther Deschner [Tue, 7 Dec 2010 13:59:53 +0000 (14:59 +0100)]
s3-waf: add valgrind configure checks.
Guenther
Matthias Dieter Wallnöfer [Tue, 7 Dec 2010 13:58:52 +0000 (14:58 +0100)]
s4:libnet_samsync_ldb.c - simplify a talloc steal call
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Dec 7 16:05:30 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Tue, 7 Dec 2010 13:57:17 +0000 (14:57 +0100)]
s4:libnet_samsync_ldb.c - introduce an error message on failed domain synchronisation
Michael Adam [Fri, 22 Oct 2010 10:16:20 +0000 (12:16 +0200)]
s3:registry: improve debug messages about regdb refcount changes
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Tue Dec 7 15:18:03 CET 2010 on sn-devel-104
Günther Deschner [Tue, 7 Dec 2010 11:46:50 +0000 (12:46 +0100)]
s3-waf: build vfs_fileid module if possible.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Dec 7 14:01:46 CET 2010 on sn-devel-104
Günther Deschner [Tue, 7 Dec 2010 11:20:09 +0000 (12:20 +0100)]
s3-waf: add support for --with-dnsupdate.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Dec 7 13:07:51 CET 2010 on sn-devel-104
Günther Deschner [Tue, 7 Dec 2010 11:04:35 +0000 (12:04 +0100)]
s3-waf: fix the build of nsstest in the non-devel build.
Guenther
Günther Deschner [Tue, 7 Dec 2010 11:04:11 +0000 (12:04 +0100)]
s3-waf: fix library names (we installed liblibsmbclient, etc.)
Guenther
Günther Deschner [Tue, 7 Dec 2010 10:49:57 +0000 (11:49 +0100)]
s3-waf: fix pam dependencies of the RPC_SAMR server.
Guenther
Volker Lendecke [Mon, 6 Dec 2010 20:45:21 +0000 (12:45 -0800)]
s3: Fix bug 7844: Race in winbind
If a child dies, the parent process right away closes the socket.
This is wrong, with tevent we still have events pending. This works
fine for epoll but does not for at least the FreeBSD select variant.
Tevent sticks a closed socket into the select masks. This then
returns an error EBADF. When this happens, the parent winbind dies
instead of forking a new child.
This moves the socket close from the SIGCHLD cleanup function to
the socket receiver. I could not reproduce the parent death anymore
and it did not create an obvious fd leak.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Dec 6 23:21:02 CET 2010 on sn-devel-104
Volker Lendecke [Sat, 4 Dec 2010 19:16:00 +0000 (20:16 +0100)]
s3: Fix bug 7842: WINBIND_LOOKUPRIDS does not return the proper domain name
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Dec 6 21:18:07 CET 2010 on sn-devel-104
Volker Lendecke [Sat, 4 Dec 2010 19:31:36 +0000 (20:31 +0100)]
s3: Fix bug 7841: WINBINDD_LOOKUPRIDS asks the wrong domain
Jeremy Allison [Sun, 5 Dec 2010 19:40:21 +0000 (20:40 +0100)]
s3: Fix bug 7843: Expand the local SAMs aliases
Günther Deschner [Wed, 1 Dec 2010 20:26:49 +0000 (21:26 +0100)]
s3-waf: add pam configure checks.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Dec 6 17:34:45 CET 2010 on sn-devel-104
Nadezhda Ivanova [Mon, 6 Dec 2010 15:00:56 +0000 (17:00 +0200)]
s4-acl: Remove unused variables from aclread module.
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Mon Dec 6 16:48:35 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Mon, 6 Dec 2010 13:27:20 +0000 (14:27 +0100)]
s4:acl_read LDB module - fix attributes list
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Mon Dec 6 15:11:44 CET 2010 on sn-devel-104
Nadezhda Ivanova [Mon, 6 Dec 2010 11:58:29 +0000 (13:58 +0200)]
s4-acl: Some optimisation of the aclread module
Modified the aclread module to now insert the attributes needed to perform access checks in the same request,
instead of doind a separate search per entry. Also, instanceType is now used to determine id the object has a parent
instead of parentGUID, which saves one additional search in operational.
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Mon Dec 6 13:50:19 CET 2010 on sn-devel-104
Nadezhda Ivanova [Mon, 6 Dec 2010 11:53:06 +0000 (13:53 +0200)]
s4-acl: Moved aclread module below descriptor and acl.
The aclread needs to be belod descriptor, as it needs to have the full nTsecurityDescriptor to make the
checks, and the descriptor module may filter out parts of it if SD_FLAGS_CONTROL is provided.
Matthias Dieter Wallnöfer [Mon, 6 Dec 2010 10:28:22 +0000 (11:28 +0100)]
Revert "lib/util:tests/time.c - "test_timestring" - fix it on Solaris"
This reverts commit
654e0102ddb0acaaf45fb55c15818722235fcc9f.
This should better be handled by the replace library.
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Mon Dec 6 12:17:31 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Mon, 6 Dec 2010 10:27:05 +0000 (11:27 +0100)]
lib/util/fault.c - fix "pid_t" printf warning on Solaris
According to "http://www.ibm.com/developerworks/linux/library/l-solar/"
it's generally a 32bit "int" - therefore this cast should fit.
Matthias Dieter Wallnöfer [Mon, 6 Dec 2010 10:24:55 +0000 (11:24 +0100)]
s4:torture/locktest.c - fix "pid_t" printf warning on Solaris
According to "http://www.ibm.com/developerworks/linux/library/l-solar/"
it's generally a 32bit "int" - therefore this cast should fit.
Matthias Dieter Wallnöfer [Mon, 6 Dec 2010 10:24:12 +0000 (11:24 +0100)]
s4:torture/locktest.c - fix one indentation
Matthias Dieter Wallnöfer [Mon, 6 Dec 2010 10:23:30 +0000 (11:23 +0100)]
s4:client/client.c - fix Solaris warning by a type cast
Matthias Dieter Wallnöfer [Mon, 6 Dec 2010 10:06:27 +0000 (11:06 +0100)]
s4:fix some shadowed declaration warnings on Solaris by renaming the symbols
Andrew Tridgell [Mon, 6 Dec 2010 06:18:30 +0000 (17:18 +1100)]
s4-dns: return the correct TTL
I've now patched the bind9 sdlz layer to cope with multiple TTLS on a
name/type pair
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Mon Dec 6 08:12:11 CET 2010 on sn-devel-104
Andrew Tridgell [Mon, 6 Dec 2010 05:57:12 +0000 (16:57 +1100)]
s4-dns: support Samba command line options to the dlz_bind.so module
this allows setting of Samba command line options in named.conf
Andrew Tridgell [Mon, 6 Dec 2010 05:56:18 +0000 (16:56 +1100)]
s4-dns: added flags support for dlz_bind9
this will allow us to set the THREADSAFE flag if we make this
threadsafe. For now we don't set that flag, and let bind9 do the
locking for us.
Andrew Tridgell [Mon, 6 Dec 2010 03:12:07 +0000 (14:12 +1100)]
s4-dns: a dlz module for bind9
this module can be loaded into bind9 if bind9 has been built with the
--with-dlz-dlopen option. It provides access bind9 access to the
DNS records in SAMDB.
You can then start bind9 with this in named.conf:
dlz "Samba zone" {
database "dlopen /usr/lib/samba/modules/bind9/dlz_bind9.so";
};
See http://git.samba.org/tridge/bind9.git for a bind9 tree with the
dlz_dlopen driver. See also the discussion on the bind-workers mailing
list
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Mon Dec 6 05:48:30 CET 2010 on sn-devel-104
Rusty Russell [Mon, 6 Dec 2010 03:05:50 +0000 (13:35 +1030)]
idtree: fix overflow for v. large ids on allocation and removal
Chris Cowan tracked down a SEGV in sub_alloc: idp->level can actually
be equal to 7 (MAX_LEVEL) there, as it can be in sub_remove.
(We unfairly blamed a shift of a signed var for this crash in commit
2db1987f5a3a).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-User: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date: Mon Dec 6 05:02:22 CET 2010 on sn-devel-104
Kamen Mazdrashki [Sun, 5 Dec 2010 22:17:43 +0000 (00:17 +0200)]
s4-repl_meta_data: Print function name when we can't find attribute in Schema cache
Same error message is printed by linked_attributes.c module
and it was really hard to tell where the error occurred
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Mon Dec 6 00:05:59 CET 2010 on sn-devel-104
Kamen Mazdrashki [Sun, 5 Dec 2010 15:19:44 +0000 (17:19 +0200)]
s4-linked_attributes: Give more info where an error occured
We have exact same error messages at different locations
and it is little bit hard to tell where the error came from
from the log.
Kamen Mazdrashki [Sun, 5 Dec 2010 15:11:28 +0000 (17:11 +0200)]
s4-repl_meta_data: Remove duplicated check
Kamen Mazdrashki [Sat, 4 Dec 2010 21:03:21 +0000 (23:03 +0200)]
s4-schema_load: Strip a pointless check
If *schema is NULL, then dsdb_schema_from_ldb_results()
call should have failed
Matthias Dieter Wallnöfer [Sun, 5 Dec 2010 21:20:06 +0000 (22:20 +0100)]
lib/util:tests/time.c - "test_timestring" - fix it on Solaris
Solaris returns "Thu Jan 01" and not "Thu Jan 1" - therefore proof for
both.
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Dec 5 23:09:13 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Sun, 5 Dec 2010 19:31:09 +0000 (20:31 +0100)]
s4:cluster/cluster.h - fix another gcc 3.4 "struct" warning
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Dec 5 21:22:18 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Sun, 5 Dec 2010 19:28:44 +0000 (20:28 +0100)]
s4:dsdb/samdb/ldb_modules/util.h - fix a gcc 3.4 compile warning
Matthias Dieter Wallnöfer [Sun, 5 Dec 2010 19:24:18 +0000 (20:24 +0100)]
s4:lib/messaging/*.h - fix compile warnings on gcc 3.4
For example on OpenSolaris
Jelmer Vernooij [Sun, 5 Dec 2010 16:06:58 +0000 (17:06 +0100)]
pytalloc: Add docstring for talloc.Object.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Dec 5 18:12:59 CET 2010 on sn-devel-104
Jelmer Vernooij [Sun, 5 Dec 2010 16:00:45 +0000 (17:00 +0100)]
s4-python: Add more module docstrings.
Jelmer Vernooij [Sun, 5 Dec 2010 15:56:27 +0000 (16:56 +0100)]
s4-python: Add some more module docstrings.
Jelmer Vernooij [Sun, 5 Dec 2010 14:26:05 +0000 (15:26 +0100)]
wafsamba: Only include versioned files when building tarball from bzr.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Dec 5 16:13:06 CET 2010 on sn-devel-104
Holger Hetterich [Sat, 4 Dec 2010 16:28:12 +0000 (11:28 -0500)]
Updated french translations from Jean Delvare <jdelvare@suse.de>
Autobuild-User: Jim McDonough <jmcd@samba.org>
Autobuild-Date: Sat Dec 4 18:23:54 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Sat, 4 Dec 2010 15:39:01 +0000 (16:39 +0100)]
s4:dsdb/samdb/cracknames.c - fix another memory leak
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Dec 4 17:26:39 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Sat, 4 Dec 2010 15:38:45 +0000 (16:38 +0100)]
s4:kdc/kpasswdd.c - fix memory leaks
Matthias Dieter Wallnöfer [Sat, 4 Dec 2010 15:38:02 +0000 (16:38 +0100)]
s4:auth/gensec/gensec_krb5.c - fix/reorder memory free operations
To prevent memory leaks
Matthias Dieter Wallnöfer [Sat, 4 Dec 2010 15:36:27 +0000 (16:36 +0100)]
s4:auth/gensec/gensec_krb5.c - remove a pointless "nt_status" test
There is no operation which sets the "nt_status" before the "if".
Matthias Dieter Wallnöfer [Sat, 4 Dec 2010 13:24:43 +0000 (14:24 +0100)]
s4:auth/kerberos/kerberos_pac.c - fix another memory leak regarding the KRB principal
In addition fix a counter type
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Dec 4 15:14:46 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Sat, 4 Dec 2010 11:31:34 +0000 (12:31 +0100)]
s4:dsdb/common/util_samr.c and auth/sam.c - fix error message
Stefan Metzmacher [Mon, 22 Nov 2010 11:38:41 +0000 (12:38 +0100)]
lib/torture: add torture_assert_u64_equal_goto()
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Dec 4 12:55:44 CET 2010 on sn-devel-104
Stefan Metzmacher [Mon, 29 Nov 2010 11:27:11 +0000 (12:27 +0100)]
tls_tstream: use a dynamic buffer for the push case
Some versions of gnutls doesn't handle EAGAIN correctly,
so we better allow sending buffers without a low size limitation,
the limit is now UINT16_MAX (0xFFFF) and we allocate the buffer
with talloc each time.
metze
Matthieu Patou [Thu, 18 Nov 2010 07:35:06 +0000 (10:35 +0300)]
tls_tstream: increase the buffer size
The problem is that with certain version of gnutls are not working
properly if the server is sending in different packet things like (at
least)
* Certificate
* Server Key exchange
* Client certificate
Somehow it really expect this to be done in one packet as some
structures used _gnutls_send_handshake are reinitialized at every
packet exchange and intermediate steps didn't expect it
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Matthias Dieter Wallnöfer [Sat, 4 Dec 2010 09:34:05 +0000 (10:34 +0100)]
s4:samr RPC server - dcesrv_samr_GetBootKeyInformation - return NOT_SUPPORTED
Windows Server 2008 does this
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Dec 4 12:11:47 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Sat, 4 Dec 2010 09:24:30 +0000 (10:24 +0100)]
s4:dsdb/common/util_samr.c - "dsdb_enum_group_mem" - fix it up regarding non SAM members
For example contacts.
Matthias Dieter Wallnöfer [Sat, 4 Dec 2010 09:07:25 +0000 (10:07 +0100)]
s4:torture/rpc/samr.c - fix output message
Holger Hetterich [Sat, 4 Dec 2010 00:43:47 +0000 (16:43 -0800)]
Fix bug #3185 - testparm exits 0 if it can read the config file regardless of errors
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Dec 4 02:30:00 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Fri, 3 Dec 2010 22:06:53 +0000 (23:06 +0100)]
s4/kdc - fix a warning regarding a changed parameter type (kvno)
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Fri Dec 3 23:56:15 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Fri, 3 Dec 2010 21:56:19 +0000 (22:56 +0100)]
s3/s4:lsa.idl - QueryDomainInformationPolicy - the "unknown6" field is called "reserved"
MS-LSAD 3.1.1.1 - http://msdn.microsoft.com/en-us/library/
cc234319(v=PROT.13).aspx
Matthias Dieter Wallnöfer [Fri, 3 Dec 2010 21:47:21 +0000 (22:47 +0100)]
s4:lsa RPC server - always initialise "info" structures
This should help to fix bug #7769
Matthias Dieter Wallnöfer [Fri, 3 Dec 2010 19:38:03 +0000 (20:38 +0100)]
s4:lsa RPC server - "dcesrv_lsa_CreateSecret" - a bit of rework
- Added 'out of memory' checks
- Added checks regarding return values
- Switch to "ldb_msg_add_string" where possible
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Fri Dec 3 21:41:39 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Fri, 3 Dec 2010 19:20:17 +0000 (20:20 +0100)]
s4:libnet/libnet_samsync_ldb,c - move away from "samdb_msg_add_string" when possible
Also here we can move to "ldb_msg_add_string" without any impact!
Matthias Dieter Wallnöfer [Fri, 3 Dec 2010 19:09:31 +0000 (20:09 +0100)]
s4:libnet_JoinADSDomain - move away from "samdb_msg_add_string"
These calls can be substituted by "ldb_msg_add_string" without any problems -
only the allocation contexts of the SPNs and the DNS hostnames have to adapted.
Günther Deschner [Wed, 1 Dec 2010 22:15:34 +0000 (23:15 +0100)]
s3-waf: add krb5 configure check for WRFILE_KEYTAB.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Dec 3 13:54:25 CET 2010 on sn-devel-104
Günther Deschner [Wed, 1 Dec 2010 22:07:41 +0000 (23:07 +0100)]
s3-waf: add krb5 configure checks for enctype 23.
Guenther
Günther Deschner [Wed, 1 Dec 2010 20:26:29 +0000 (21:26 +0100)]
s3-waf: more krb5 configure checks.
Guenther
Stefan Metzmacher [Fri, 3 Dec 2010 09:40:33 +0000 (10:40 +0100)]
talloc: add ABI/talloc-2.0.4.sigs
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Dec 3 11:35:45 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Fri, 3 Dec 2010 08:33:57 +0000 (09:33 +0100)]
s4:auth/sam.c - when printing out a string buffer we don't strictly need the width
The precision (maximum numbers of characters) should be enough.
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Fri Dec 3 10:26:39 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Fri, 3 Dec 2010 08:19:42 +0000 (09:19 +0100)]
s4:auth/sam.c - the check for the SAMDB needs to be on the top of the call
Otherwise it's really useless.
Matthias Dieter Wallnöfer [Fri, 3 Dec 2010 08:18:23 +0000 (09:18 +0100)]
s4:auth/sam.c - fix the free of memory contexts
"tmp_ctx" needs always to be freed ("res" is freed implicitly)
Matthias Dieter Wallnöfer [Fri, 3 Dec 2010 08:17:01 +0000 (09:17 +0100)]
s4:auth/sam.c - specify the SID ignore case better
As per suggestion by metze.
Andrew Tridgell [Fri, 3 Dec 2010 07:02:22 +0000 (18:02 +1100)]
wintest: autodetect if named supports tkey-gssapi-keytab
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri Dec 3 08:48:52 CET 2010 on sn-devel-104
Andrew Tridgell [Fri, 3 Dec 2010 04:31:39 +0000 (15:31 +1100)]
wintest: put most of the main program login in wintest.py
this makes it easier to create new tests
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri Dec 3 06:17:44 CET 2010 on sn-devel-104
Jelmer Vernooij [Fri, 3 Dec 2010 02:10:27 +0000 (03:10 +0100)]
wafsamba: Override GIT_DIR without using putenv.
putenv has sideffects on later code. This overrides GIT_DIR for just this call.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Fri Dec 3 04:24:53 CET 2010 on sn-devel-104
Jelmer Vernooij [Fri, 3 Dec 2010 02:07:03 +0000 (03:07 +0100)]
talloc: Bump version number after pytalloc changes.
Jeremy Allison [Fri, 3 Dec 2010 01:52:11 +0000 (17:52 -0800)]
Replace lseek()/write()/lseek() triple with pwrite call. We already emulate this
inside pwrite under the covers.
Jeremy.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Dec 3 03:39:42 CET 2010 on sn-devel-104
Jeremy Allison [Fri, 3 Dec 2010 01:46:30 +0000 (17:46 -0800)]
posix_fallocate() returns an errno, not -1 on error.
Jeremy Allison [Fri, 3 Dec 2010 01:26:00 +0000 (17:26 -0800)]
Merge the two conflicting allocation codes into one function, vfs_slow_fallocate()
and use that from both the truncate and fill_sparse functions.
Jeremy.
Jeremy Allison [Fri, 3 Dec 2010 00:40:00 +0000 (16:40 -0800)]
Oops. Missed adding vfswrap_posix_fallocate to vfs_default_fns table.
Jeremy.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Dec 3 02:26:23 CET 2010 on sn-devel-104
Jeremy Allison [Fri, 3 Dec 2010 00:25:59 +0000 (16:25 -0800)]
Move posix_fallocate into the VFS where it belongs.
Jeremy.
Jeremy Allison [Thu, 2 Dec 2010 23:38:36 +0000 (15:38 -0800)]
Fix bug #7835 - vfs_fill_sparse() doesn't use posix_fallocate when strict allocate is on
Tries posix_fallocate() and then falls back to old code.
Jeremy.
Kamen Mazdrashki [Thu, 2 Dec 2010 00:57:06 +0000 (02:57 +0200)]
s4-dsdb/syntax: Map remote ATTIDs for Class OID syntax
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Thu Dec 2 18:47:59 CET 2010 on sn-devel-104
Kamen Mazdrashki [Wed, 1 Dec 2010 23:01:20 +0000 (01:01 +0200)]
s4-test/repl_schema: Test class inheritance through subClassOf
Kamen Mazdrashki [Wed, 1 Dec 2010 22:32:10 +0000 (00:32 +0200)]
s4-dsdb_syntax: Be a little bit more chatty when we can't an ATTID in our cache
Kamen Mazdrashki [Wed, 1 Dec 2010 22:30:46 +0000 (00:30 +0200)]
s4-test/fsmo: Remove unused imports
Kamen Mazdrashki [Wed, 1 Dec 2010 19:13:54 +0000 (21:13 +0200)]
s4-test/delete_object: Remove unused imports
Kamen Mazdrashki [Wed, 1 Dec 2010 19:01:47 +0000 (21:01 +0200)]
s4-test/repl_schema: Make ERR_NO_SUCH_OBJECT visible to us
We've lost this import somehow, now it is back in :)
Kamen Mazdrashki [Wed, 1 Dec 2010 18:22:06 +0000 (20:22 +0200)]
s4-test/repl_schema: Test classSchema and attributeSchema replication in separate tests
Kamen Mazdrashki [Wed, 1 Dec 2010 18:16:00 +0000 (20:16 +0200)]
s4-dsdb/descriptor: comment typo
Matthias Dieter Wallnöfer [Thu, 2 Dec 2010 11:23:53 +0000 (12:23 +0100)]
s4:auth/sam.c-"authsam_expand_nested_groups" - don't fail if we've memberships on non-SAM objects
This can be expected (think at a membership of a "groupOfNames" group) and we
shouldn't blame about it.
This fixes a bug reported on the technical mailing list.
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Thu Dec 2 17:17:56 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Thu, 2 Dec 2010 10:49:56 +0000 (11:49 +0100)]
s4:dsdb/samdb/cracknames.c - fix various KRB5 memory leaks
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Thu Dec 2 12:35:03 CET 2010 on sn-devel-104
Matthias Dieter Wallnöfer [Thu, 2 Dec 2010 08:55:56 +0000 (09:55 +0100)]
s4:password_hash LDB module - allow empty ("") passwords
This seems to have been broken some time ago - till someone on the
mailing list noticed it.
I've also added a testsuite (and some additional SamDB python helpers) which
should prove this.
Björn Jacke [Thu, 2 Dec 2010 09:34:34 +0000 (10:34 +0100)]
s4/scripting/ktpass: make shell code portable and eliminate another bash requirement
Autobuild-User: Björn Jacke <bj@sernet.de>
Autobuild-Date: Thu Dec 2 11:20:42 CET 2010 on sn-devel-104
Björn Jacke [Thu, 2 Dec 2010 09:29:18 +0000 (10:29 +0100)]
s4/ldb: fix shell syntax error in test script
Björn Jacke [Thu, 2 Dec 2010 09:24:52 +0000 (10:24 +0100)]
s3/selftest: add some FIXMEs
this needs some rework. Sourced shell code cannot take arguments, at least no
portable shell. This generates errors on the buildfarm sind quite a while.
Björn Jacke [Thu, 2 Dec 2010 09:20:59 +0000 (10:20 +0100)]
tests: avoid bash in shebang and fix wrong "==" in test
Björn Jacke [Thu, 2 Dec 2010 09:18:39 +0000 (10:18 +0100)]
fix ѕome == to correct shell test in commented stuff
Björn Jacke [Thu, 2 Dec 2010 09:16:38 +0000 (10:16 +0100)]
smbprinting: fix wrong == in shell tests
Björn Jacke [Thu, 2 Dec 2010 09:14:07 +0000 (10:14 +0100)]
waf/buildtools: remove more bash shebangs and fix a == to =
Björn Jacke [Thu, 2 Dec 2010 08:40:21 +0000 (09:40 +0100)]
waf/buildtools: use /bin/sh instead of /bin/bash and put ^ in quotes
- some Unix shells actually don't like grep ^foo, use grep "^foo" instead.
- bash is not installed on every system, please avoid #!/bin/bash and
use #!/bin/sh instead
Stefan Metzmacher [Thu, 2 Dec 2010 00:58:10 +0000 (01:58 +0100)]
buildtools: fix --git-local-changes option
If we set the GIT_DIR envvar we also need to set GIT_WORK_TREE,
otherwise we can't expect valid output from 'git diff HEAD'.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Dec 2 09:09:21 CET 2010 on sn-devel-104
Jeremy Allison [Thu, 2 Dec 2010 01:39:30 +0000 (17:39 -0800)]
Turns out there are lots of places in S3 where token passed in
here can be NULL (become_root() sets the current security token to
NULL for example). Ensure we don't crash.
Jeremy.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Dec 2 03:26:03 CET 2010 on sn-devel-104