Andrew Bartlett
1c86ab9c50
s4-samba-tool: Provide a samba-tool domain dcpromo that upgrades a member to a DC
...
This command is like dcpromo in that it upgrades the existing workstation account
to be a domain controller.
The SID (and therefore any file ownerships) is preserved.
Andrew Bartlett
2012-07-06 08:10:18 +02:00
Andrew Bartlett
c436f986ca
s4-dsdb: Give a much better error message when parentGUID generation fails
2012-07-06 08:10:18 +02:00
Andrew Bartlett
8b32d9ad2d
s4-dsdb: Use parent_object_guid to find the correct parent for new objects
...
This allows the parent to be renmaed while a new object is added on another replica.
This rename may also be a delete, in which case we must move it to lostandfound.
Andrew Bartlett
2012-07-06 08:10:18 +02:00
Björn Jacke
7abe51f840
talloc: remove unused variables
...
found by the IRIX compiler
Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Thu Jul 5 23:50:54 CEST 2012 on sn-devel-104
2012-07-05 23:50:54 +02:00
Björn Jacke
a79496d90c
lib/addns: remove defines we don't need or have for sure via libreplace
2012-07-05 22:00:52 +02:00
Björn Jacke
4b83d61e7d
lib/addns: remove use of uint8 uint16 and uint32 in favour of C99 types
2012-07-05 22:00:52 +02:00
Björn Jacke
f9fb1ef85c
s3: evaluate MNT_QUOTA and MNT_RDONLY in statvfs also on darwin
2012-07-05 22:00:52 +02:00
Michael Adam
5ba91fff94
s3:registry: untangle assignment from check in reg_enumkey()
...
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Thu Jul 5 17:57:16 CEST 2012 on sn-devel-104
2012-07-05 17:57:16 +02:00
Michael Adam
e481afc0fe
s3:registry: untangle assignment from check in reg_enumvalue()
2012-07-05 16:07:40 +02:00
Björn Jacke
bb4995b0d1
s4/heimdal: fix make-proto.pl with perl 5.16
...
Thanks to Torsten Kurbad. This fixes #9025 .
Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Wed Jul 4 13:51:07 CEST 2012 on sn-devel-104
2012-07-04 13:51:07 +02:00
Björn Jacke
fa98ef112b
replace: make the INT64_MAX define more portable
2012-07-04 12:01:20 +02:00
Björn Jacke
b40fb6eec5
s3: if we know a file is immutable, report it to be readonly
...
on *BSD we get the immutable flag via st_flags, we should use that if possible.
2012-07-04 12:01:20 +02:00
Rusty Russell
74bf0c6ec6
ntdb: make --disable-ntdb work properly.
...
As per bug #9024 , make --disable-ntdb work again.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date(master): Wed Jul 4 08:11:33 CEST 2012 on sn-devel-104
2012-07-04 08:11:33 +02:00
Jeremy Allison
6449022d3e
Add waf/configure tests for openat.
...
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jul 4 02:37:59 CEST 2012 on sn-devel-104
2012-07-04 02:37:59 +02:00
Jeremy Allison
90881da685
Move copy_unix_token() from locking/locking.c to lib/util.c.
...
Make public.
2012-07-03 15:34:22 -07:00
Jeremy Allison
a559fcf156
Add function set_thread_credentials_permanently(). Panic if fail.
...
Not yet used.
2012-07-03 15:34:22 -07:00
Jeremy Allison
ed8525265d
Allow init_aio_threadpool() to be setup for different threadpool handles with different completion functions.
2012-07-03 15:34:22 -07:00
Andreas Schneider
0ed3433469
doc: Remove references to deprecated 'share modes' parameter.
...
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Jul 3 23:49:18 CEST 2012 on sn-devel-104
2012-07-03 23:49:18 +02:00
Andreas Schneider
d0878b3b81
s3-smbd: Remove deprecated 'share modes' option.
2012-07-03 21:56:49 +02:00
Andreas Schneider
571a4b6cd2
doc: Remove documentation for obsolete ldapsam_compat.
2012-07-03 21:56:49 +02:00
Andreas Schneider
02c239c6d3
s3-passdb: Remove obsolte ldapsam_compat support.
2012-07-03 21:56:49 +02:00
Andreas Schneider
3f14155a9f
doc: Remove all references to 'printer admin' option.
2012-07-03 21:56:49 +02:00
Andreas Schneider
98ab074094
s3-printing: Remove deprecated lp_printer_admin().
2012-07-03 21:56:49 +02:00
Andreas Schneider
c87acebd7e
doc: Remove documentation about idmap_adex.
2012-07-03 21:56:48 +02:00
Andreas Schneider
e0e55ca166
s3-winbind: Remove obsolte idmap_adex.
2012-07-03 21:56:48 +02:00
Andrew Bartlett
a8acaeebb6
ldb: bump version due to header and internal implementation changes
...
We need this version, not the previous release, for Samba.
Andrew Bartlett
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Jul 3 17:20:32 CEST 2012 on sn-devel-104
2012-07-03 17:20:32 +02:00
Andrew Bartlett
6612bca57d
WHATSNEW: Spell out version, avoid samba4 except to refer to the past
2012-07-03 15:32:09 +02:00
Björn Baumbach
f48f65e695
wafsamba: samba_version: add samba version suffix to vcs_fields
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-07-03 15:32:09 +02:00
Andrew Bartlett
ec3d1f09fa
build: Run distcheck in the correct directory
...
This is a leftover from the move to the top level build.
Andrew Bartlett
2012-07-03 15:32:09 +02:00
Volker Lendecke
abda9d3347
s3: Fix Coverity ID 709217 Dereference after null check
...
A few lines before we did check for x != NULL. I think this might
fix a potential remote crash.
Signed-off-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Tue Jul 3 15:30:17 CEST 2012 on sn-devel-104
2012-07-03 15:30:16 +02:00
Volker Lendecke
6710e4edc5
s3: Fix Coverity ID 709218 Uninitialized pointer read
...
Signed-off-by: Michael Adam <obnox@samba.org>
2012-07-03 13:39:42 +02:00
Michael Adam
3e6d8acc9b
s3:vfs: use smbXsrv_open instead of smbXsrv_open0 in files_struct
2012-07-03 13:39:41 +02:00
Michael Adam
f2e8409c4e
s3:vfs: use smbXsrv_tcon instead of smbXsrv_tcon0 in connection_struct.
2012-07-03 13:39:41 +02:00
Michael Adam
db0c233624
s3:smb: include "smbXsrv.h" before "vfs.h"
...
This is still needed as long as smbXsrv_open/_tcon are referenced
in files_struct and connection_struct respectively. Eventually,
these structures should not have a backlink to the smb world any more.
2012-07-03 13:39:41 +02:00
Michael Adam
e332bfaff5
s3:smbd: Include smbXsrv.h before vfs.h (in smbd.h) so that the smbXsrv structures are available
...
This is currently needed for files_struct and connection_struct
that contain backlinks to smbXsrv_open and smbXsrv_tcon, respectively.
Finally, these backlinks to the smb level structures should be removed.
2012-07-03 13:39:41 +02:00
Michael Adam
8a32d62abc
s3:smbd:smb2: fix prototype of make_connection_smb2() to use smbXsrv_tcon
...
instead of internal smbXsrv_tcon0.
2012-07-03 13:39:40 +02:00
Michael Adam
98ccca8dca
s3:smbd: include smbXsrv.h before smbd/proto.h to have the smbXsrv_ structs available
2012-07-03 13:39:40 +02:00
Michael Adam
bfc38d74cc
s3:smbd:smb2: change smbXsrv_tcon0 to smbXsrv_tcon in smbd_smb2_request_check_tcon()
...
smbXsrv_tcon0 is the internal name for the (current) version0 of the
structure. Externally, only smbXsrv_tcon should be used.
2012-07-03 13:39:40 +02:00
Michael Adam
cca51e2f55
s3:smbd:smb2: change smbXsrv_session0 to smbXsrv_session in struct user_struct.
...
smbXsrv_session0 is the internal name of (current) version 0 of
the structure. Externally, only smbXsrv_session should be used.
2012-07-03 13:39:39 +02:00
Amitay Isaacs
01a425e534
samba-tool: gpo: Update copyright
...
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Tue Jul 3 09:10:21 CEST 2012 on sn-devel-104
2012-07-03 09:10:21 +02:00
Amitay Isaacs
5c9ecb4082
samba-tool: gpo: Improve error messages
...
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
2012-07-03 15:20:42 +10:00
Amitay Isaacs
df4a6e3a3f
samba-tool: gpo: Add del subcommand to delete GPO
...
Thanks to Denis Bonnenfant <denis.bonnenfant@diderot.org> for patch.
2012-07-03 15:20:42 +10:00
Amitay Isaacs
8768f4fc34
samba-tool: gpo: Add listcontainers subcommand to list containers using given GPO
...
Thanks to Denis Bonnenfant <denis.bonnenfant@diderot.org> for patch.
2012-07-03 15:20:42 +10:00
Amitay Isaacs
0365df93e6
samba-tool: gpo: Use utility function dc_url() to set the connection url
...
In create and fetch subcommands, we also need to know DC hostname. So first
find a DC and use DC hostname to construct connection url. If ldap:// url is
specified with -H, then use that to construct DC hostname.
2012-07-03 15:20:42 +10:00
Amitay Isaacs
a9c4336733
samba-tool: gpo: Refactor code using utility functions
2012-07-03 15:20:42 +10:00
Amitay Isaacs
5ca24346bf
samba-tool: gpo: Add utility functions get_gpo_containers and del_gpo_link
...
Thanks to Denis Bonnenfant <denis.bonnenfant@diderot.org> for patch
2012-07-03 15:20:42 +10:00
Amitay Isaacs
e3828d4ccb
s4-pysmb: Add deltree() method to remove directory and its contents
...
Thanks to Denis Bonnenfant <denis.bonnenfant@diderot.org> for patch.
2012-07-03 15:20:41 +10:00
Amitay Isaacs
807ff1e343
samba-tool: Fix indentation
...
Thanks to Denis Bonnenfant <denis.bonnenfant@diderot.org> for patch.
2012-07-03 15:20:41 +10:00
Amitay Isaacs
e93ed5f69a
samba-tool: gpo: Use gpo (id) instead of gpo_dn (DN)
...
Thanks to Denis Bonnenfant <denis.bonnenfant@diderot.org> for patch.
2012-07-03 15:20:41 +10:00
Amitay Isaacs
963f0df179
samba-tool: gpo: Correct the attribute name from gPlink to gPLink
...
Thanks to Denis Bonnenfant <denis.bonnenfant@diderot.org> for patch.
2012-07-03 15:20:41 +10:00