mat/samba.git
10 years agos4:subtree_rename LDB module - fix the move/rename constraints
Matthias Dieter Wallnöfer [Fri, 29 Apr 2011 09:38:56 +0000 (11:38 +0200)]
s4:subtree_rename LDB module - fix the move/rename constraints

s4:subtree_rename LDB module - fix the move/rename constraints

By the inspiration of an email request by ekacnet I have rechecked the
move/rename constraints and re-read the chapter 3.1.1.5.4.1 located in the
MS-ADTS technical documentation.
It really turns out that the constraint checking is only performed on
the root object of a request.

In addition add my copyright notice (I've written these constraint checks).

10 years agos4-dsdb: preserve @BL_lastKnownParent when deleting an object
Matthieu Patou [Sun, 22 May 2011 18:26:14 +0000 (22:26 +0400)]
s4-dsdb: preserve @BL_lastKnownParent when deleting an object

10 years agos4-dsdb: Add @BL_lastKnownParent backlink as soon as the lastKnownParent is added
Matthieu Patou [Sun, 22 May 2011 18:24:01 +0000 (22:24 +0400)]
s4-dsdb: Add @BL_lastKnownParent backlink as soon as the lastKnownParent is added

This has to be done that way otherwise we face problem in rename while
trying to fix backlinks.

10 years agos4-dsdb: Add some tests related to defaultObjectCategory
Matthieu Patou [Wed, 4 May 2011 20:33:26 +0000 (00:33 +0400)]
s4-dsdb: Add some tests related to defaultObjectCategory

10 years agos4-dsdb: do not allow search on @ attributes and don't return them
Matthieu Patou [Fri, 29 Apr 2011 21:13:12 +0000 (01:13 +0400)]
s4-dsdb: do not allow search on @ attributes and don't return them

10 years agos4-dsdb: avoid checking schema conformity for @ starting attributes
Matthieu Patou [Fri, 29 Apr 2011 21:04:14 +0000 (01:04 +0400)]
s4-dsdb: avoid checking schema conformity for @ starting attributes

10 years agos4-dsdb: Adapt other modules to new forwardlink and backwardlink attributes
Matthieu Patou [Fri, 29 Apr 2011 12:19:24 +0000 (16:19 +0400)]
s4-dsdb: Adapt other modules to new forwardlink and backwardlink attributes

10 years agos4-dsdb: Adapt repl_meta_data module to new fowardlink and backwardlink attributes
Matthieu Patou [Fri, 29 Apr 2011 04:34:59 +0000 (08:34 +0400)]
s4-dsdb: Adapt repl_meta_data module to new fowardlink and backwardlink attributes

10 years agos4-dsdb: update linked attributes to use new fowardlink and backwardlink attributes
Matthieu Patou [Fri, 29 Apr 2011 04:32:53 +0000 (08:32 +0400)]
s4-dsdb: update linked attributes to use new fowardlink and backwardlink attributes

10 years agos4-schema: add systemFlags to dsdb classes objects
Matthieu Patou [Tue, 3 May 2011 16:38:13 +0000 (20:38 +0400)]
s4-schema: add systemFlags to dsdb classes objects

10 years agos4-schema: add dynamicaly backlink on dn syntax attributes
Matthieu Patou [Fri, 29 Apr 2011 04:29:50 +0000 (08:29 +0400)]
s4-schema: add dynamicaly backlink on dn syntax attributes

10 years agos4-schema: add oid for pseudo link oid allocation
Matthieu Patou [Fri, 29 Apr 2011 04:28:29 +0000 (08:28 +0400)]
s4-schema: add oid for pseudo link oid allocation

10 years agoldb: add dn+binary and dn+string notations
Matthieu Patou [Fri, 29 Apr 2011 04:29:02 +0000 (08:29 +0400)]
ldb: add dn+binary and dn+string notations

10 years agos4:libcli/raw/raw*.c - add unhandled enum values
Matthias Dieter Wallnöfer [Sat, 11 Jun 2011 14:55:16 +0000 (16:55 +0200)]
s4:libcli/raw/raw*.c - add unhandled enum values

Reviewed-by: Jelmer
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Jun 11 18:46:13 CEST 2011 on sn-devel-104

10 years agos4:torture/ndr/string.c - fix type-punned warning and remove unused variables
Matthias Dieter Wallnöfer [Sat, 11 Jun 2011 13:25:11 +0000 (15:25 +0200)]
s4:torture/ndr/string.c - fix type-punned warning and remove unused variables

Reviewed-by: Jelmer
10 years agos4:ntvfs/smb2/vfs_smb2.c - remove unused variable
Matthias Dieter Wallnöfer [Sat, 11 Jun 2011 13:22:34 +0000 (15:22 +0200)]
s4:ntvfs/smb2/vfs_smb2.c - remove unused variable

Reviewed-by: Jelmer
10 years agos4:auth/ntlm/auth_unix.c - remove unused variables
Matthias Dieter Wallnöfer [Sat, 11 Jun 2011 13:07:50 +0000 (15:07 +0200)]
s4:auth/ntlm/auth_unix.c - remove unused variables

Relicts from commit 323c7445713d17989452b99bbb541248bb2388eb

Reviewed-by: Jelmer
10 years agoRevert "s3:idmap_autorid: add a talloc_stackframe() to idmap_autorid_initialize()"
Michael Adam [Thu, 9 Jun 2011 22:36:38 +0000 (00:36 +0200)]
Revert "s3:idmap_autorid: add a talloc_stackframe() to idmap_autorid_initialize()"

This reverts commit 65490ea4e67bf82cf8fb0b8e4e74047c3f63c509.

This sequence of patches needs to be done differently.

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Sat Jun 11 12:55:11 CEST 2011 on sn-devel-104

10 years agoRevert "s3:idmap_autorid: use "idmap config <DOMAIN> : rangesize" instead of "autorid...
Michael Adam [Thu, 9 Jun 2011 22:36:27 +0000 (00:36 +0200)]
Revert "s3:idmap_autorid: use "idmap config <DOMAIN> : rangesize" instead of "autorid:rangesize""

This reverts commit b0b0b625b588057c8c97371934bf21eb1fd985d8.

This sequence of patches needs to be done differently.

10 years agoRevert "s3:idmap_autorid: fail initialization if the domain is not "*""
Michael Adam [Thu, 9 Jun 2011 22:36:17 +0000 (00:36 +0200)]
Revert "s3:idmap_autorid: fail initialization if the domain is not "*""

This reverts commit cd8dc47bf17d2cdb1558dc6ab49320ba12af8f34.

This sequence of patches needs to be done differently.

10 years agos3:registry/reg_parse_internal.c: add copyright information
Michael Adam [Fri, 10 Jun 2011 22:20:57 +0000 (00:20 +0200)]
s3:registry/reg_parse_internal.c: add copyright information

10 years agos3:registry/reg_parse_internal.h: add copyright information
Michael Adam [Fri, 10 Jun 2011 22:20:32 +0000 (00:20 +0200)]
s3:registry/reg_parse_internal.h: add copyright information

10 years agos3-param Remove 'time offset' from smb.conf
Andrew Bartlett [Fri, 10 Jun 2011 23:49:12 +0000 (09:49 +1000)]
s3-param Remove 'time offset' from smb.conf

This strange parameter is apparently very rarely used, and it seems to
me that on modern networks, if clients don't have correct clocks and
DST offsets, that many other things (Kerberos) start to fail pretty
quickly, and time and DST tables tend to be internet delivered anyway.

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Sat Jun 11 03:54:45 CEST 2011 on sn-devel-104

10 years agos3: Update .clang_complete
Andreas Schneider [Fri, 10 Jun 2011 21:11:59 +0000 (23:11 +0200)]
s3: Update .clang_complete

Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Sat Jun 11 00:40:01 CEST 2011 on sn-devel-104

10 years agos3:libsmb: remove unused cli_state_seqnum infrastructure
Stefan Metzmacher [Thu, 9 Jun 2011 09:59:58 +0000 (11:59 +0200)]
s3:libsmb: remove unused cli_state_seqnum infrastructure

metze

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Jun 10 20:37:54 CEST 2011 on sn-devel-104

10 years agos3:libsmb/clireadwrite: calculate cli_write_max_bufsize() correct based on max_xmit
Stefan Metzmacher [Wed, 8 Jun 2011 17:01:13 +0000 (19:01 +0200)]
s3:libsmb/clireadwrite: calculate cli_write_max_bufsize() correct based on max_xmit

This is important in order to support DCERPC over ncacn_np against NT4 servers,
where max_xmit is just 4356.

metze

10 years agos3:libsmb/clireadwrite: calculate cli_read_max_bufsize() correct based on max_xmit
Stefan Metzmacher [Wed, 8 Jun 2011 16:59:39 +0000 (18:59 +0200)]
s3:libsmb/clireadwrite: calculate cli_read_max_bufsize() correct based on max_xmit

This is important in order to support DCERPC over ncacn_np against NT4 servers,
where max_xmit is just 4356.

metze

10 years agos3:libsmb/clitrans: correctly transfer the seqnum between secondary and primary requests
Stefan Metzmacher [Thu, 9 Jun 2011 09:57:55 +0000 (11:57 +0200)]
s3:libsmb/clitrans: correctly transfer the seqnum between secondary and primary requests

This is needed to implement SMB signing correct.

metze

10 years agos3:libsmb/clitrans: fix handling of multi pdu [nt]trans[s][2] calls
Stefan Metzmacher [Wed, 8 Jun 2011 08:31:23 +0000 (10:31 +0200)]
s3:libsmb/clitrans: fix handling of multi pdu [nt]trans[s][2] calls

We now keep the primary request open for the whole logical request.
The primary request is the one that gets all incoming replies.
While secondary requests are handled as separate one-way requests.

metze

10 years agos3:libsmb/clitrans: use subreq2 as variable for the secondary requests
Stefan Metzmacher [Wed, 8 Jun 2011 14:41:11 +0000 (16:41 +0200)]
s3:libsmb/clitrans: use subreq2 as variable for the secondary requests

metze

10 years agos3:libsmb/clitrans: move MID handling to the end of cli_trans_send() and add a comment
Stefan Metzmacher [Wed, 8 Jun 2011 14:11:00 +0000 (16:11 +0200)]
s3:libsmb/clitrans: move MID handling to the end of cli_trans_send() and add a comment

metze

10 years agos3:libsmb/clitrans: correctly marshall [nt]trans[s][2] requests
Stefan Metzmacher [Tue, 7 Jun 2011 22:44:34 +0000 (00:44 +0200)]
s3:libsmb/clitrans: correctly marshall [nt]trans[s][2] requests

We need to align params and data to 4 byte offsets.

This also correctly recalculates the useable space after each step.

metze

10 years agos3:libsmb/clitrans: marshall SMBnttrans[2] as the others
Stefan Metzmacher [Thu, 9 Jun 2011 10:22:59 +0000 (12:22 +0200)]
s3:libsmb/clitrans: marshall SMBnttrans[2] as the others

This is just to make the code more readable
and easier to notice how many words we're using in vwv.

metze

10 years agos3:libsmb/clitrans: use uint32_t for param and data variables
Stefan Metzmacher [Wed, 8 Jun 2011 15:08:00 +0000 (17:08 +0200)]
s3:libsmb/clitrans: use uint32_t for param and data variables

SMBnttrans uses 32-bit values there.

metze

10 years agos3:libsmb/clitrans: remove unused secondary_request_ctx
Stefan Metzmacher [Tue, 7 Jun 2011 22:37:24 +0000 (00:37 +0200)]
s3:libsmb/clitrans: remove unused secondary_request_ctx

metze

10 years agos3:libsmb/async_smb: add helpers to get and set the seqnum for signing
Stefan Metzmacher [Thu, 9 Jun 2011 09:49:48 +0000 (11:49 +0200)]
s3:libsmb/async_smb: add helpers to get and set the seqnum for signing

This will be used for correct signing in [nt]trans[2][s] requests.

metze

10 years agos3:libsmb/async_smb: don't remove pending requests if the mid is set
Stefan Metzmacher [Wed, 8 Jun 2011 08:20:25 +0000 (10:20 +0200)]
s3:libsmb/async_smb: don't remove pending requests if the mid is set

If the mid was set explicitly, it means the request expects more than
one reply, so leave it in the pending array.

metze

10 years agos3:libsmb/async_smb: call cli_smb_req_unset_pending() instead of destructor directly
Stefan Metzmacher [Wed, 8 Jun 2011 12:14:24 +0000 (14:14 +0200)]
s3:libsmb/async_smb: call cli_smb_req_unset_pending() instead of destructor directly

metze

10 years agos3:libsmb/async_smb: let cli_smb_recv() initialize output values for one way requests
Stefan Metzmacher [Tue, 7 Jun 2011 22:40:54 +0000 (00:40 +0200)]
s3:libsmb/async_smb: let cli_smb_recv() initialize output values for one way requests

metze

10 years agoBump the smbd vfs interface version to 29. Samba 3.6.0 will ship
Jeremy Allison [Wed, 1 Jun 2011 04:03:22 +0000 (21:03 -0700)]
Bump the smbd vfs interface version to 29. Samba 3.6.0 will ship
with interface 28.

10 years agos3:net conf addshare: do not stat-check the share path.
Michael Adam [Fri, 10 Jun 2011 11:51:06 +0000 (13:51 +0200)]
s3:net conf addshare: do not stat-check the share path.

Allow paths with % macros and paths that do not (yet...) exist.

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Fri Jun 10 17:38:07 CEST 2011 on sn-devel-104

10 years agosource3/rpc_client/util_netlogon.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:08:17 +0000 (15:08 +0200)]
source3/rpc_client/util_netlogon.h: fix licence/copyright

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Jun 10 16:27:24 CEST 2011 on sn-devel-104

10 years agosource3/rpc_client/init_spoolss.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:08:07 +0000 (15:08 +0200)]
source3/rpc_client/init_spoolss.h: fix licence/copyright

Guenther

10 years agosource3/rpc_client/init_samr.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:07:57 +0000 (15:07 +0200)]
source3/rpc_client/init_samr.h: fix licence/copyright

Guenther

10 years agosource3/rpc_client/init_netlogon.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:07:48 +0000 (15:07 +0200)]
source3/rpc_client/init_netlogon.h: fix licence/copyright

Guenther

10 years agosource3/rpc_client/init_lsa.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:07:39 +0000 (15:07 +0200)]
source3/rpc_client/init_lsa.h: fix licence/copyright

Guenther

10 years agosource3/rpc_client/cli_spoolss.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:07:27 +0000 (15:07 +0200)]
source3/rpc_client/cli_spoolss.h: fix licence/copyright

Guenther

10 years agosource3/rpc_client/cli_netlogon.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:07:16 +0000 (15:07 +0200)]
source3/rpc_client/cli_netlogon.h: fix licence/copyright

Guenther

10 years agosource3/printing/pcap.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:07:03 +0000 (15:07 +0200)]
source3/printing/pcap.h: fix licence/copyright

Guenther

10 years agosource3/printing/load.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:06:49 +0000 (15:06 +0200)]
source3/printing/load.h: fix licence/copyright

Guenther

10 years agosource3/libsmb/proto.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:06:36 +0000 (15:06 +0200)]
source3/libsmb/proto.h: fix licence/copyright

Guenther

10 years agosource3/libsmb/nmblib.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:06:27 +0000 (15:06 +0200)]
source3/libsmb/nmblib.h: fix licence/copyright

Guenther

10 years agosource3/libsmb/libsmb.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:06:17 +0000 (15:06 +0200)]
source3/libsmb/libsmb.h: fix licence/copyright

Guenther

10 years agosource3/libsmb/errormap_wbc.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:06:07 +0000 (15:06 +0200)]
source3/libsmb/errormap_wbc.h: fix licence/copyright

Guenther

10 years agosource3/libsmb/clidgram.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:05:57 +0000 (15:05 +0200)]
source3/libsmb/clidgram.h: fix licence/copyright

Guenther

10 years agosource3/libnet/libnet_join.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:05:47 +0000 (15:05 +0200)]
source3/libnet/libnet_join.h: fix licence/copyright

Guenther

10 years agosource3/libads/ldap_schema.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:05:37 +0000 (15:05 +0200)]
source3/libads/ldap_schema.h: fix licence/copyright

Guenther

10 years agosource3/libads/cldap.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:05:27 +0000 (15:05 +0200)]
source3/libads/cldap.h: fix licence/copyright

Guenther

10 years agosource3/libads/ads_status.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:05:18 +0000 (15:05 +0200)]
source3/libads/ads_status.h: fix licence/copyright

Guenther

10 years agosource3/libads/ads_ldap_protos.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:05:09 +0000 (15:05 +0200)]
source3/libads/ads_ldap_protos.h: fix licence/copyright

Guenther

10 years agosource3/lib/privileges.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:04:59 +0000 (15:04 +0200)]
source3/lib/privileges.h: fix licence/copyright

Guenther

10 years agosource3/lib/netapi/libnetapi.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:04:48 +0000 (15:04 +0200)]
source3/lib/netapi/libnetapi.h: fix licence/copyright

Guenther

10 years agosource3/intl/lang_tdb.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:04:36 +0000 (15:04 +0200)]
source3/intl/lang_tdb.h: fix licence/copyright

Guenther

10 years agosource3/include/smb_ldap.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:04:26 +0000 (15:04 +0200)]
source3/include/smb_ldap.h: fix licence/copyright

Guenther

10 years agosource3/include/smb_krb5.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:04:16 +0000 (15:04 +0200)]
source3/include/smb_krb5.h: fix licence/copyright

Guenther

10 years agosource3/include/mangle.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:04:05 +0000 (15:04 +0200)]
source3/include/mangle.h: fix licence/copyright

Guenther

10 years agosource3/include/krb5_protos.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:03:55 +0000 (15:03 +0200)]
source3/include/krb5_protos.h: fix licence/copyright

Guenther

10 years agosource3/include/krb5_env.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:03:43 +0000 (15:03 +0200)]
source3/include/krb5_env.h: fix licence/copyright

Guenther

10 years agonsswitch/winbind_client.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:03:31 +0000 (15:03 +0200)]
nsswitch/winbind_client.h: fix licence/copyright

Guenther

10 years agonsswitch/pam_winbind.h: fix licence/copyright.
Günther Deschner [Fri, 10 Jun 2011 13:02:47 +0000 (15:02 +0200)]
nsswitch/pam_winbind.h: fix licence/copyright.

Guenther

10 years agolibrpc/ndr/ndr_table.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:02:38 +0000 (15:02 +0200)]
librpc/ndr/ndr_table.h: fix licence/copyright

Guenther

10 years agolibrpc/ndr/ndr_spoolss_buf.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:02:26 +0000 (15:02 +0200)]
librpc/ndr/ndr_spoolss_buf.h: fix licence/copyright

Guenther

10 years agolibrpc/ndr/ndr_dns.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:02:16 +0000 (15:02 +0200)]
librpc/ndr/ndr_dns.h: fix licence/copyright

Guenther

10 years agolibrpc/ndr/ndr_compression.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:02:06 +0000 (15:02 +0200)]
librpc/ndr/ndr_compression.h: fix licence/copyright

Guenther

10 years agolibrpc/ndr/ndr_backupkey.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:01:56 +0000 (15:01 +0200)]
librpc/ndr/ndr_backupkey.h: fix licence/copyright

Guenther

10 years agolibds/common/flag_mapping.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:01:38 +0000 (15:01 +0200)]
libds/common/flag_mapping.h: fix licence/copyright

Guenther

10 years agolibcli/smbreadline/smbreadline.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:01:27 +0000 (15:01 +0200)]
libcli/smbreadline/smbreadline.h: fix licence/copyright

Guenther

10 years agolibcli/security/secdesc.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:01:15 +0000 (15:01 +0200)]
libcli/security/secdesc.h: fix licence/copyright

Guenther

10 years agolibcli/nbt/nbt_proto.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:01:03 +0000 (15:01 +0200)]
libcli/nbt/nbt_proto.h: fix licence/copyright

Guenther

10 years agolibcli/ldap/ldap_ndr.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:00:48 +0000 (15:00 +0200)]
libcli/ldap/ldap_ndr.h: fix licence/copyright

Guenther

10 years agolibcli/auth/msrpc_parse.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:00:32 +0000 (15:00 +0200)]
libcli/auth/msrpc_parse.h: fix licence/copyright

Guenther

10 years agolib/util/wrap_xattr.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 13:00:10 +0000 (15:00 +0200)]
lib/util/wrap_xattr.h: fix licence/copyright

Guenther

10 years agolib/util/util_tdb.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 12:59:58 +0000 (14:59 +0200)]
lib/util/util_tdb.h: fix licence/copyright

Guenther

10 years agolib/util/util_ldb.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 12:59:48 +0000 (14:59 +0200)]
lib/util/util_ldb.h: fix licence/copyright

Guenther

10 years agolib/util/time.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 12:59:35 +0000 (14:59 +0200)]
lib/util/time.h: fix licence/copyright

Guenther

10 years agolib/util/data_blob.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 12:59:23 +0000 (14:59 +0200)]
lib/util/data_blob.h: fix licence/copyright

Guenther

10 years agoauth/auth_sam_reply.h: fix licence/copyright
Günther Deschner [Fri, 10 Jun 2011 12:56:50 +0000 (14:56 +0200)]
auth/auth_sam_reply.h: fix licence/copyright

Guenther

10 years agobug in source3/winbindd/winbindd_sids_to_xids.c
Herb Lewis [Fri, 10 Jun 2011 06:17:11 +0000 (23:17 -0700)]
bug in source3/winbindd/winbindd_sids_to_xids.c

I'm having trouble getting my system setup to do submits right now but
I discovered a bug in the subject file that causes winbindd lookup sids
command to assign incorrect unix ids. The change to sid_peek_rid fixes
the case where you call lookup sids with sids s1 s2 s3 which cause them
to be cached. then call with s1 s2 s4 and s4 will get the unix id of s1.

The other change fixes the case where a sid that was not translated
gets a value returned instead of being listed as unmapped.

Could someone review this and push to master and 3.6 for me?

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Jun 10 14:35:21 CEST 2011 on sn-devel-104

10 years agoExport init_stat_ex_from_stat for use in VFS modules.
Richard Sharpe [Fri, 3 Jun 2011 15:27:13 +0000 (08:27 -0700)]
Export init_stat_ex_from_stat for use in VFS modules.

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

10 years agos4-samba-tool: added dbcheck commmand
Andrew Tridgell [Fri, 10 Jun 2011 07:17:12 +0000 (17:17 +1000)]
s4-samba-tool: added dbcheck commmand

this will be used as a consistency checker and repair tool for
sam.ldb. This initial checkin just checks for empty attributes and
offers to fix them

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri Jun 10 10:31:56 CEST 2011 on sn-devel-104

10 years agowaf-symbols: don't look for symbol lists in GENERATOR targets
Andrew Tridgell [Fri, 10 Jun 2011 02:16:59 +0000 (12:16 +1000)]
waf-symbols: don't look for symbol lists in GENERATOR targets

generated header files are not object files

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

10 years agowaf: fixed 'make bin/XXX' for the remaining binaries
Andrew Tridgell [Fri, 10 Jun 2011 01:32:27 +0000 (11:32 +1000)]
waf: fixed 'make bin/XXX' for the remaining binaries

this fixes 'make bin/smbd' to work correctly with the waf build. It
didn't work before as smbd is actually 'smbd/smbd' internally and we
tried to use the target name 'smbd'. The new approach reads the
symlink to get the right target.

This also speeds up the null build by quite a lot

10 years agos3-param Avoid strupper_m() where possible.
Andrew Bartlett [Thu, 9 Jun 2011 23:37:06 +0000 (09:37 +1000)]
s3-param Avoid strupper_m() where possible.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Jun 10 04:37:54 CEST 2011 on sn-devel-104

10 years agos4-librpc Remove unsued server_id4.idl
Andrew Bartlett [Thu, 9 Jun 2011 23:36:37 +0000 (09:36 +1000)]
s4-librpc Remove unsued server_id4.idl

10 years agos4-drs: added debug lines for missing linked attribute fields
Andrew Tridgell [Fri, 10 Jun 2011 00:11:01 +0000 (10:11 +1000)]
s4-drs: added debug lines for missing linked attribute fields

this improved the logging of bugs related to linked attribute
replication

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri Jun 10 03:26:21 CEST 2011 on sn-devel-104

10 years agos4-drs: ensure we add a RMD_ADDTIME when upgrading a linked attribute
Andrew Tridgell [Fri, 10 Jun 2011 00:10:04 +0000 (10:10 +1000)]
s4-drs: ensure we add a RMD_ADDTIME when upgrading a linked attribute

if the link was a w2k style, and we are upgrading it, then set the
RMD_ADDTIME to the current time

10 years agos4-drs: cope with missing RMD_ADDTIME in linked attributes
Andrew Tridgell [Thu, 9 Jun 2011 23:10:09 +0000 (09:10 +1000)]
s4-drs: cope with missing RMD_ADDTIME in linked attributes

upgraded links can be missing the RMD_ADDTIME field

10 years agos3:vfs cleanup unused code in vfs_recycle
Christian Ambach [Thu, 26 May 2011 08:32:53 +0000 (10:32 +0200)]
s3:vfs cleanup unused code in vfs_recycle

connect/disconnect do not more than just logging that they
were called. this seems pretty useless

Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Thu Jun  9 18:59:58 CEST 2011 on sn-devel-104

10 years agos3:net fix a typo
Christian Ambach [Thu, 9 Jun 2011 13:07:15 +0000 (15:07 +0200)]
s3:net fix a typo

fix a typo in the german message file

Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Thu Jun  9 17:12:24 CEST 2011 on sn-devel-104

10 years agos3:modules fix some non-empty blank lines
Christian Ambach [Tue, 31 May 2011 19:59:24 +0000 (21:59 +0200)]
s3:modules fix some non-empty blank lines