samba.git
13 years agoland: Simplify retry checker.
Jelmer Vernooij [Tue, 5 Oct 2010 09:15:56 +0000 (11:15 +0200)]
land: Simplify retry checker.

13 years agos4-provision: Reset "debuglevel" after "provision" take place
Kamen Mazdrashki [Sun, 3 Oct 2010 01:33:02 +0000 (04:33 +0300)]
s4-provision: Reset "debuglevel" after "provision" take place

Otherwise "provision" resets our current debug level and
we don't get debug messages we may expect onwards

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Tue Oct  5 11:32:50 UTC 2010 on sn-devel-104

13 years agos4-libnet_vampire: Reparent result.lp_ctx - we have already referenced it
Kamen Mazdrashki [Sun, 3 Oct 2010 01:30:14 +0000 (04:30 +0300)]
s4-libnet_vampire: Reparent result.lp_ctx - we have already referenced it

which leads to warning that we are trying to steal
a context with references

13 years agos4-test: Fix PYTHONPATH for python.drs_ tests
Kamen Mazdrashki [Mon, 4 Oct 2010 23:47:08 +0000 (02:47 +0300)]
s4-test: Fix PYTHONPATH for python.drs_ tests

13 years agos4-test: Use absolute path for 'samba4srcdir'
Kamen Mazdrashki [Mon, 4 Oct 2010 23:45:38 +0000 (02:45 +0300)]
s4-test: Use absolute path for 'samba4srcdir'

13 years agos3-waf: convert NSS_INFO into a subsystem.
Günther Deschner [Tue, 5 Oct 2010 09:38:45 +0000 (11:38 +0200)]
s3-waf: convert NSS_INFO into a subsystem.

We don't do the fancy symlinking to idmap modules though.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct  5 10:50:53 UTC 2010 on sn-devel-104

13 years agos3-waf: add RPCCLI_WINREG subsystem.
Günther Deschner [Mon, 27 Sep 2010 05:30:41 +0000 (07:30 +0200)]
s3-waf: add RPCCLI_WINREG subsystem.

Guenther

13 years agos3: Stop using the write cache after an oplock break
Volker Lendecke [Sat, 2 Oct 2010 15:07:00 +0000 (17:07 +0200)]
s3: Stop using the write cache after an oplock break

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Oct  5 10:09:38 UTC 2010 on sn-devel-104

13 years agos4:samldb LDB module - simplify/unify the message handling on add and modify operations
Matthias Dieter Wallnöfer [Wed, 15 Sep 2010 10:40:07 +0000 (12:40 +0200)]
s4:samldb LDB module - simplify/unify the message handling on add and modify operations

- Perform only shallow copies (should be enough)
- Perform only one copy per operation (also on modifications)
- Build a new request on modify operations if needed ("modified" flag) - this
  makes it look cleaner
- Fix an important bug: the "el" pointers could have changed after
  modifications. Therefore we have to refresh them on the FLAG_DELETE checks

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Oct  5 09:24:57 UTC 2010 on sn-devel-104

13 years agos4:samldb LDB module - assign better memory contexts on two places
Matthias Dieter Wallnöfer [Tue, 5 Oct 2010 07:59:30 +0000 (09:59 +0200)]
s4:samldb LDB module - assign better memory contexts on two places

13 years agos4:kdc - use "userAccountControl" always unsigned
Matthias Dieter Wallnöfer [Tue, 5 Oct 2010 07:27:36 +0000 (09:27 +0200)]
s4:kdc - use "userAccountControl" always unsigned

It doesn't change much but it's nicer to have it consistent.

13 years agos4:ldb_modules.c - fix a typo
Matthias Dieter Wallnöfer [Mon, 4 Oct 2010 16:57:00 +0000 (18:57 +0200)]
s4:ldb_modules.c - fix a typo

13 years agos4-test: changed the gentest test to use a fixed seed.
Andrew Tridgell [Tue, 5 Oct 2010 07:55:28 +0000 (18:55 +1100)]
s4-test: changed the gentest test to use a fixed seed.

we need our test suite to produce repeatable results

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Oct  5 08:43:00 UTC 2010 on sn-devel-104

13 years agotorture: complete dfs referral tests
Matthieu Patou [Sat, 4 Sep 2010 08:04:18 +0000 (12:04 +0400)]
torture: complete dfs referral tests

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Tue Oct  5 08:01:39 UTC 2010 on sn-devel-104

13 years agodfs: Fix wrong size of referral, change order of dc referral
Matthieu Patou [Fri, 3 Sep 2010 21:03:53 +0000 (01:03 +0400)]
dfs: Fix wrong size of referral, change order of dc referral

Order of referral is now like w2k8/w2k8r2 as it seems it has an
influence on how clients manage to get it.

13 years agoidl: dfsblobs fix glitches in the implementation
Matthieu Patou [Fri, 3 Sep 2010 20:39:16 +0000 (00:39 +0400)]
idl: dfsblobs fix glitches in the implementation

13 years agondr: Handle the case of string array with all null terminated strings
Matthieu Patou [Sat, 4 Sep 2010 16:08:05 +0000 (20:08 +0400)]
ndr: Handle the case of string array with all null terminated strings

13 years agowaf: workaround for the 'make install' breakage
Andrew Tridgell [Tue, 5 Oct 2010 06:17:31 +0000 (17:17 +1100)]
waf: workaround for the 'make install' breakage

This is a temporary workaround until Jelmer gets a chance to look at
this

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Oct  5 06:57:59 UTC 2010 on sn-devel-104

13 years agoAdd missing dependencies for com_err.
Jelmer Vernooij [Mon, 4 Oct 2010 22:36:21 +0000 (00:36 +0200)]
Add missing dependencies for com_err.

13 years agoldb: Refer to ldb(3), not ldb(7).
Jelmer Vernooij [Mon, 4 Oct 2010 19:19:47 +0000 (21:19 +0200)]
ldb: Refer to ldb(3), not ldb(7).

13 years agoheimdal-build: Simplify calls to convenience functions.
Jelmer Vernooij [Mon, 4 Oct 2010 16:05:00 +0000 (18:05 +0200)]
heimdal-build: Simplify calls to convenience functions.

13 years agoheimdal-build: Add HEIMDAL_BINARY convenience method.
Jelmer Vernooij [Mon, 4 Oct 2010 15:17:00 +0000 (17:17 +0200)]
heimdal-build: Add HEIMDAL_BINARY convenience method.

13 years agoheimdal-build: Implement HEIMDAL_LIBRARY with fewer wafsamba functions.
Jelmer Vernooij [Mon, 4 Oct 2010 14:48:34 +0000 (16:48 +0200)]
heimdal-build: Implement HEIMDAL_LIBRARY with fewer wafsamba functions.

13 years agoheimdal-build: Add heimdal specific subsystem function.
Jelmer Vernooij [Mon, 4 Oct 2010 14:27:16 +0000 (16:27 +0200)]
heimdal-build: Add heimdal specific subsystem function.

13 years agoheimdal-build: Add custom heimdal generator.
Jelmer Vernooij [Mon, 4 Oct 2010 14:19:29 +0000 (16:19 +0200)]
heimdal-build: Add custom heimdal generator.

13 years agoheimdal: Fix name of hx509 library.
Jelmer Vernooij [Mon, 4 Oct 2010 14:14:10 +0000 (16:14 +0200)]
heimdal: Fix name of hx509 library.

13 years agoheimdal: Fix name of kdc library.
Jelmer Vernooij [Mon, 4 Oct 2010 14:03:21 +0000 (16:03 +0200)]
heimdal: Fix name of kdc library.

13 years agoheimdal: Fix name of 'hdb'.
Jelmer Vernooij [Mon, 4 Oct 2010 14:00:17 +0000 (16:00 +0200)]
heimdal: Fix name of 'hdb'.

13 years agoheimdal: Fix library name of heimntlm.
Jelmer Vernooij [Mon, 4 Oct 2010 13:56:42 +0000 (15:56 +0200)]
heimdal: Fix library name of heimntlm.

13 years agoheimdal: Fix library name of gssapi.
Jelmer Vernooij [Mon, 4 Oct 2010 13:54:07 +0000 (15:54 +0200)]
heimdal: Fix library name of gssapi.

13 years agoheimdal: Fix names of roken, wind libraries.
Jelmer Vernooij [Mon, 4 Oct 2010 13:50:05 +0000 (15:50 +0200)]
heimdal: Fix names of roken, wind libraries.

13 years agounittests: add a test to avoid regression on previous fix
Matthieu Patou [Mon, 4 Oct 2010 18:56:20 +0000 (22:56 +0400)]
unittests: add a test to avoid regression on previous fix

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Mon Oct  4 20:23:31 UTC 2010 on sn-devel-104

13 years agounittests: makes the unit tests for ldb.python back in order
Matthieu Patou [Mon, 4 Oct 2010 18:54:46 +0000 (22:54 +0400)]
unittests: makes the unit tests for ldb.python back in order

13 years agopyldb: test return code before trying to talloc_steal
Matthieu Patou [Sun, 3 Oct 2010 20:43:33 +0000 (00:43 +0400)]
pyldb: test return code before trying to talloc_steal

Otherwise you can have an error on the talloc_steal as the req can have
been not talloced yet

13 years agos4:ldap_server: rewrite to socket layer to use tstream
Stefan Metzmacher [Wed, 22 Sep 2010 12:24:03 +0000 (14:24 +0200)]
s4:ldap_server: rewrite to socket layer to use tstream

This should make our sasl and tls handling much more robust
against partial sent pdus.

metze

13 years agodnsp: Add support for parsing HINFO records
Kai Blin [Mon, 16 Aug 2010 19:22:52 +0000 (21:22 +0200)]
dnsp: Add support for parsing HINFO records

Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Mon Oct  4 19:41:38 UTC 2010 on sn-devel-104

13 years agodnsp: Parse TXT records
Kai Blin [Fri, 13 Aug 2010 09:09:09 +0000 (11:09 +0200)]
dnsp: Parse TXT records

13 years agodnsp: Add MX record parsing
Kai Blin [Thu, 12 Aug 2010 13:46:42 +0000 (15:46 +0200)]
dnsp: Add MX record parsing

13 years agodnsp: Allow parsing of AAAA records
Kai Blin [Tue, 10 Aug 2010 13:34:27 +0000 (15:34 +0200)]
dnsp: Allow parsing of AAAA records

13 years agondr: Implement push function for IPv6 addresses
Kai Blin [Wed, 29 Sep 2010 03:33:54 +0000 (20:33 -0700)]
ndr: Implement push function for IPv6 addresses

Thanks to Julien Kerihuel for providing the patch that pushed me to
finish my own IPv6 patches.

13 years agondr: Add support for pulling/printing an ipv6address type
Kai Blin [Tue, 10 Aug 2010 13:32:59 +0000 (15:32 +0200)]
ndr: Add support for pulling/printing an ipv6address type

13 years agoIDL: More types for the DNSP IDL file
Kai Blin [Mon, 9 Aug 2010 05:26:16 +0000 (07:26 +0200)]
IDL: More types for the DNSP IDL file

13 years agos4:dsdb/common/util.c - change the usage of the RECYCLED control
Matthias Dieter Wallnöfer [Mon, 4 Oct 2010 15:18:19 +0000 (17:18 +0200)]
s4:dsdb/common/util.c - change the usage of the RECYCLED control

Use it only in conjunction with the DELETE one to allow the functions to work
also against Windows < 2008R2. This is really important for the vampire
operation.

Also mark the RECYCLED control as non-critical (so that it's simply ignored by
older Windows'es).

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Mon Oct  4 16:10:11 UTC 2010 on sn-devel-104

13 years agolib/util/asn1: let asn1_peek_full_tag() return an error if we fail to parse tag hdr/len
Stefan Metzmacher [Sat, 2 Oct 2010 08:03:55 +0000 (10:03 +0200)]
lib/util/asn1: let asn1_peek_full_tag() return an error if we fail to parse tag hdr/len

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Oct  4 14:46:40 UTC 2010 on sn-devel-104

13 years agolibcli/ldap: ldap_full_packet() requires at least 6 bytes
Stefan Metzmacher [Mon, 4 Oct 2010 08:35:32 +0000 (10:35 +0200)]
libcli/ldap: ldap_full_packet() requires at least 6 bytes

metze

13 years agotsocket: make sure we delete the fd event before calling close()
Stefan Metzmacher [Mon, 27 Sep 2010 21:57:34 +0000 (23:57 +0200)]
tsocket: make sure we delete the fd event before calling close()

We got random double free errors, when getting events from
epoll_wait() and try to dereference the private talloc pointer
attached to it.

Before doing the close() in the tstream_disconnect_send() function
we need to delete the fd event.

commit 38f505530ba06323a56c7d3914630efffcd12629 only fixed it for
tdgram sockets.

metze

13 years agocompile_et: Support using system compile_et.
Jelmer Vernooij [Mon, 4 Oct 2010 13:23:24 +0000 (15:23 +0200)]
compile_et: Support using system compile_et.

13 years agoheimdal: Support using system com_err.
Jelmer Vernooij [Mon, 4 Oct 2010 12:13:24 +0000 (14:13 +0200)]
heimdal: Support using system com_err.

13 years agoland-remote: Force running in foreground when pushing to master.
Jelmer Vernooij [Mon, 4 Oct 2010 11:53:02 +0000 (13:53 +0200)]
land-remote: Force running in foreground when pushing to 

13 years agoland-remote: Announce what address email is going to be sent to.
Jelmer Vernooij [Mon, 4 Oct 2010 11:51:34 +0000 (13:51 +0200)]
land-remote: Announce what address email is going to be sent to.

13 years agotdb: Only use system pytdb when using system tdb.
Jelmer Vernooij [Mon, 4 Oct 2010 11:39:32 +0000 (13:39 +0200)]
tdb: Only use system pytdb when using system tdb.

13 years agotdb: Support using system pytdb.
Jelmer Vernooij [Mon, 4 Oct 2010 11:38:39 +0000 (13:38 +0200)]
tdb: Support using system pytdb.

13 years agowaf: Add function for checking for system python modules.
Jelmer Vernooij [Mon, 4 Oct 2010 11:38:25 +0000 (13:38 +0200)]
waf: Add function for checking for system python modules.

13 years agopytdb: Add __version__ attribute.
Jelmer Vernooij [Mon, 4 Oct 2010 11:17:25 +0000 (13:17 +0200)]
pytdb: Add __version__ attribute.

13 years agoregistry: Make a two more functions static.
Jelmer Vernooij [Sun, 3 Oct 2010 23:35:36 +0000 (01:35 +0200)]
registry: Make a two more functions static.

13 years agos3: Fix a pointer error
Volker Lendecke [Mon, 4 Oct 2010 09:39:51 +0000 (11:39 +0200)]
s3: Fix a pointer error

It is not universally guaranteed that an enum is represented as a uint32_t.

This starts to be THE BUG (tm) in Samba. What can I do to explain this
to people a bit better? It seems that the verbose explanations I put into
the recent checkins fixing similar bugs are not clear enough.

Anybody who does is not 100% clear about what this patch fixes please
contact me directly so that we can talk it through on the phone to agree
on a wording that everybody can understand.

Thanks,

Volker

13 years agos3: Attempt to get the Tru64 build a bit further
Volker Lendecke [Mon, 4 Oct 2010 09:02:57 +0000 (11:02 +0200)]
s3: Attempt to get the Tru64 build a bit further

13 years agospoolss: fill in spoolss_DeletePort IDL.
Günther Deschner [Mon, 4 Oct 2010 07:28:41 +0000 (09:28 +0200)]
spoolss: fill in spoolss_DeletePort IDL.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Oct  4 08:10:16 UTC 2010 on sn-devel-104

13 years agospoolss: fill in spoolss_SetPort IDL.
Günther Deschner [Sun, 3 Oct 2010 06:13:35 +0000 (08:13 +0200)]
spoolss: fill in spoolss_SetPort IDL.

Guenther

13 years agospoolss: fill in spoolss_AddPortEx IDL.
Günther Deschner [Sun, 3 Oct 2010 05:24:56 +0000 (07:24 +0200)]
spoolss: fill in spoolss_AddPortEx IDL.

Guenther

13 years agos4:kdc/db-glue.c - remove unused variable
Matthias Dieter Wallnöfer [Sun, 3 Oct 2010 16:49:56 +0000 (18:49 +0200)]
s4:kdc/db-glue.c - remove unused variable

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Oct  3 17:30:34 UTC 2010 on sn-devel-104

13 years agos4:ldap.py - test allowed system flags restriction
Matthias Dieter Wallnöfer [Wed, 29 Sep 2010 17:49:57 +0000 (19:49 +0200)]
s4:ldap.py - test allowed system flags restriction

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
13 years agos4:objectclass LDB module - introduce allowed system flags restriction
Matthias Dieter Wallnöfer [Wed, 29 Sep 2010 16:18:55 +0000 (18:18 +0200)]
s4:objectclass LDB module - introduce allowed system flags restriction

Let us do the distinction by real use and provision by the RELAX flag

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
13 years agos4:urgent_replication.py - fix up the system flags handling
Matthias Dieter Wallnöfer [Sun, 3 Oct 2010 16:40:05 +0000 (18:40 +0200)]
s4:urgent_replication.py - fix up the system flags handling

And relax some more object creations due to the enforced system flags rules.

13 years agos3: Remove smbd_server_conn from msg_force_tdis
Volker Lendecke [Sun, 3 Oct 2010 15:39:00 +0000 (17:39 +0200)]
s3: Remove smbd_server_conn from msg_force_tdis

13 years agos3: Remove smbd_server_conn from process_blocking_lock_cancel_message
Volker Lendecke [Sun, 3 Oct 2010 15:37:24 +0000 (17:37 +0200)]
s3: Remove smbd_server_conn from process_blocking_lock_cancel_message

13 years agos3: Remove smbd_server_conn from smb1 receive_unlock_msg
Volker Lendecke [Sun, 3 Oct 2010 15:35:52 +0000 (17:35 +0200)]
s3: Remove smbd_server_conn from smb1 receive_unlock_msg

13 years agos3: Remove smbd_server_conn from msg_file_was_renamed
Volker Lendecke [Sun, 3 Oct 2010 15:34:43 +0000 (17:34 +0200)]
s3: Remove smbd_server_conn from msg_file_was_renamed

13 years agos3: Remove smbd_server_conn from validate_my_share_entries
Volker Lendecke [Sun, 3 Oct 2010 15:33:11 +0000 (17:33 +0200)]
s3: Remove smbd_server_conn from validate_my_share_entries

13 years agos3: Remove smbd_server_conn from msg_close_file
Volker Lendecke [Sun, 3 Oct 2010 15:29:56 +0000 (17:29 +0200)]
s3: Remove smbd_server_conn from msg_close_file

13 years agos3: Remove smbd_server_conn from smb2 receive_unlock_msg
Volker Lendecke [Sun, 3 Oct 2010 15:28:10 +0000 (17:28 +0200)]
s3: Remove smbd_server_conn from smb2 receive_unlock_msg

13 years agos3: Remove smbd_server_conn from process_kernel_oplock_break
Volker Lendecke [Sun, 3 Oct 2010 15:24:33 +0000 (17:24 +0200)]
s3: Remove smbd_server_conn from process_kernel_oplock_break

13 years agos3: Remove smbd_server_conn from process_oplock_break_message
Volker Lendecke [Sun, 3 Oct 2010 15:22:09 +0000 (17:22 +0200)]
s3: Remove smbd_server_conn from process_oplock_break_message

13 years agos3: Remove smbd_server_conn from process_oplock_async_level2_break_message
Volker Lendecke [Sun, 3 Oct 2010 15:20:43 +0000 (17:20 +0200)]
s3: Remove smbd_server_conn from process_oplock_async_level2_break_message

13 years agos3: Lift smbd_server_conn from initial_break_processing
Volker Lendecke [Sun, 3 Oct 2010 15:18:26 +0000 (17:18 +0200)]
s3: Lift smbd_server_conn from initial_break_processing

13 years agos3: Add msg_ctx_to_sconn
Volker Lendecke [Sun, 19 Sep 2010 19:09:18 +0000 (21:09 +0200)]
s3: Add msg_ctx_to_sconn

13 years agos4:patchfile_dotreg.c - use "size_t" when counting characters in DATA_BLOBs
Matthias Dieter Wallnöfer [Sun, 3 Oct 2010 14:14:34 +0000 (16:14 +0200)]
s4:patchfile_dotreg.c - use "size_t" when counting characters in DATA_BLOBs

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Oct  3 16:03:41 UTC 2010 on sn-devel-104

13 years agos4-kdc Remove special case kerberos restriction in the KDC
Andrew Bartlett [Sun, 3 Oct 2010 09:22:38 +0000 (20:22 +1100)]
s4-kdc Remove special case kerberos restriction in the KDC

We should avoid using Kerberos or any other recursive auth mechanism
in ldb backends, but denying Kerberos here won't be enough, so
remove the special case.  (Typcially we bind using a different password
space and DIGEST-MD5 or NTLM).

Andrew Bartlett

13 years agos4:deletetest.py - enhance the tests
Matthias Dieter Wallnöfer [Sun, 19 Sep 2010 15:46:48 +0000 (17:46 +0200)]
s4:deletetest.py - enhance the tests

- Integrate the ldap.py delete protection testing code and enhance it
- Demonstrate the DISALLOW_MOVE_ON_DELETE system flag

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
13 years agos4:ldap.py - remove the delete tests
Matthias Dieter Wallnöfer [Sat, 25 Sep 2010 09:49:17 +0000 (11:49 +0200)]
s4:ldap.py - remove the delete tests

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
13 years agos4:dsdb python stuff - introduce also here the "show_recycled" control
Matthias Dieter Wallnöfer [Sun, 19 Sep 2010 20:36:12 +0000 (22:36 +0200)]
s4:dsdb python stuff - introduce also here the "show_recycled" control

But also here beside "show_deleted" to not loose compatibility with older
provisions.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
13 years agos4:dsdb - substitute the "show_deleted" with the "show_recycled" control
Matthias Dieter Wallnöfer [Sun, 19 Sep 2010 20:20:08 +0000 (22:20 +0200)]
s4:dsdb - substitute the "show_deleted" with the "show_recycled" control

We intend to see always all objects with the "show_deleted" control specified.
To see also recycled objects (beginning with 2008_R2 function level) we need to
use the new "show_recycled" control.

As far as I see this is only internal code and therefore we don't run into
problems if we do substitute it.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
13 years agos4:dsdb/common/util.c - introduce "DSDB_SEARCH_SHOW_RECYCLED" flag
Matthias Dieter Wallnöfer [Sun, 19 Sep 2010 20:12:23 +0000 (22:12 +0200)]
s4:dsdb/common/util.c - introduce "DSDB_SEARCH_SHOW_RECYCLED" flag

This is needed since starting with 2008_R2 function level we get another type
of hidden objects which aren't seen by the "show_deleted" control: recycled
objects.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
13 years agos4:subtree_rename LDB module - also already deleted objects have to be renamed
Matthias Dieter Wallnöfer [Sat, 25 Sep 2010 05:42:14 +0000 (07:42 +0200)]
s4:subtree_rename LDB module - also already deleted objects have to be renamed

This is needed if the SYSTEM_FLAG_DISALLOW_MOVE_ON_DELETE flag was specified
and the parent is renamed.

To be able to do this we also need to relax the constraint checks (using the
"isDeleted" proof).

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
13 years agos4:show_deleted LDB module - also support the "show_recycled" control
Matthias Dieter Wallnöfer [Sun, 19 Sep 2010 16:23:20 +0000 (18:23 +0200)]
s4:show_deleted LDB module - also support the "show_recycled" control

MS-ADTS 3.1.1.3.4.1 and MS-ADTS 3.1.1.5.5

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
13 years agos4:repl_meta_data LDB module - consider the SYSTEM_FLAG_DISALLOW_MOVE_ON_DELETE flag
Matthias Dieter Wallnöfer [Fri, 17 Sep 2010 10:08:28 +0000 (12:08 +0200)]
s4:repl_meta_data LDB module - consider the SYSTEM_FLAG_DISALLOW_MOVE_ON_DELETE flag

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
13 years agos4:subtree_delete LDB module - it is only responsible for non-deleted objects
Matthias Dieter Wallnöfer [Fri, 24 Sep 2010 16:44:50 +0000 (18:44 +0200)]
s4:subtree_delete LDB module - it is only responsible for non-deleted objects

The deleted objects (tombstones, recycled & deleted objects) are handled by
"repl_meta_data".

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
13 years agos4:objectclass LDB module - fix the "crossRef" delete protection
Matthias Dieter Wallnöfer [Sat, 25 Sep 2010 10:02:53 +0000 (12:02 +0200)]
s4:objectclass LDB module - fix the "crossRef" delete protection

This is what Windows does

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
13 years agos4:objectclass LDB module - fix the delete behaviour of server containers
Matthias Dieter Wallnöfer [Fri, 24 Sep 2010 12:13:48 +0000 (14:13 +0200)]
s4:objectclass LDB module - fix the delete behaviour of server containers

A typo prevented the right behaviour.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
13 years agoautobuild: override the editor when marking the commit
Andrew Tridgell [Sun, 3 Oct 2010 14:53:45 +0000 (07:53 -0700)]
autobuild: override the editor when marking the commit

this avoids the problem of a user having an editor set in their global
.gitconfig, and that having higher precedence than the EDITOR
environment variable

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Sun Oct  3 15:22:01 UTC 2010 on sn-devel-104

13 years agowafsamba: Some reformatting.
Jelmer Vernooij [Sun, 3 Oct 2010 14:25:34 +0000 (16:25 +0200)]
wafsamba: Some reformatting.

13 years agoheimdal: Move asn1 list to heimdal_build.
Jelmer Vernooij [Sun, 3 Oct 2010 14:08:13 +0000 (16:08 +0200)]
heimdal: Move asn1 list to heimdal_build.

13 years agoheimdal: Move SAMBA_ERRTABLE to heimdal_build.
Jelmer Vernooij [Sun, 3 Oct 2010 14:04:34 +0000 (16:04 +0200)]
heimdal: Move SAMBA_ERRTABLE to heimdal_build.

13 years agoheimdal: Move autoproto code to heimdal_build.
Jelmer Vernooij [Sun, 3 Oct 2010 14:01:58 +0000 (16:01 +0200)]
heimdal: Move autoproto code to heimdal_build.

13 years agowafsamba: Move heimdal library code to heimdal_build.
Jelmer Vernooij [Sun, 3 Oct 2010 13:59:21 +0000 (15:59 +0200)]
wafsamba: Move heimdal library code to heimdal_build.

13 years agoland: Inherit EMAIL from the environment.
Jelmer Vernooij [Sun, 3 Oct 2010 13:06:51 +0000 (15:06 +0200)]
land: Inherit EMAIL from the environment.

13 years agopidl: Allow longs for bitmasks.
Jelmer Vernooij [Sun, 3 Oct 2010 13:00:33 +0000 (15:00 +0200)]
pidl: Allow longs for bitmasks.

13 years agopidl: simplify some generated code.
Jelmer Vernooij [Sun, 3 Oct 2010 12:38:12 +0000 (14:38 +0200)]
pidl: simplify some generated code.

13 years agoheimdal: Convert hx509 to library.
Jelmer Vernooij [Sun, 3 Oct 2010 05:10:58 +0000 (07:10 +0200)]
heimdal: Convert hx509 to library.

13 years agoheimdal: convert some subsystems to libraries, consistent with upstream heimdal.
Jelmer Vernooij [Sun, 3 Oct 2010 04:58:39 +0000 (06:58 +0200)]
heimdal: convert some subsystems to libraries, consistent with upstream heimdal.