Kai Blin
55e448fe2d
s4 provision/dns: Move DNS-related setup to sambadns module
...
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Fri Nov 4 09:15:54 CET 2011 on sn-devel-104
2011-11-04 09:15:54 +01:00
Kai Blin
eeb370f77a
s4 provision/dns: Move secretsdb_setup_dns to the AD DNS specific setup
2011-11-04 07:38:44 +01:00
Matthias Dieter Wallnöfer
1dbffa70ae
s4:lib/registry - enhance registry tests in respect to default values
...
Reviewed-by: Jelmer
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Thu Nov 3 21:41:17 CET 2011 on sn-devel-104
2011-11-03 21:41:17 +01:00
Matthias Dieter Wallnöfer
7e0bef604a
s4:lib/registry/ldb.c - quit the deletion of a not-existing default value with WERR_BADFILE
...
Reviewed-by: Jelmer
2011-11-03 20:10:06 +01:00
Matthias Dieter Wallnöfer
6b5a296b4a
s4:lib/registry/ldb.c - don't use search filters for base searches
...
They are not necessary in this case.
Reviewed-by: Jelmer
2011-11-03 20:10:06 +01:00
Matthias Dieter Wallnöfer
042372bc20
s4:lib/registry/regf.c - always generate debug messages on error cases
...
We need to know what is going on.
Reviewed-by: Jelmer
2011-11-03 20:10:06 +01:00
Günther Deschner
79ab7ac33b
s4-smbtorture: add some ndr validation tests for netlogon_samlogon_response structs.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Nov 3 20:08:20 CET 2011 on sn-devel-104
2011-11-03 20:08:20 +01:00
Günther Deschner
6e67073900
waf: convert NDR_NBT into shared library.
...
Guenther
2011-11-03 18:35:09 +01:00
Günther Deschner
185b94eefa
nbt: trim down header dependencies of nbt.idl.
...
Guenther
2011-11-03 18:35:08 +01:00
Günther Deschner
2d390991bd
s4: add some missing header dependencies.
...
Guenther
2011-11-03 18:35:08 +01:00
Günther Deschner
e426f37b64
librpc: only let NDR_NBT depend on NDR_NBT_BUF.
...
Guenther
2011-11-03 18:35:08 +01:00
Stefan Metzmacher
beb5687e9e
s4:smb_server: s/SMB_SIGNING_SUPPORTED/SMB_SIGNING_IF_REQUIRED/
...
metze
2011-11-03 16:55:12 +01:00
Stefan Metzmacher
f07274978a
s4:libcli/smb2: s/SMB_SIGNING_SUPPORTED/SMB_SIGNING_IF_REQUIRED/
...
metze
2011-11-03 16:55:12 +01:00
Stefan Metzmacher
2d55bfd8de
s4:libcli/raw: s/SMB_SIGNING_SUPPORTED/SMB_SIGNING_IF_REQUIRED/
...
metze
2011-11-03 16:55:12 +01:00
Stefan Metzmacher
01ccd59ce0
s4:libcli/smb2: remove unused SMB_SIGNING_AUTO handling
...
metze
2011-11-03 16:55:11 +01:00
Stefan Metzmacher
4fe0e828af
s4:libcli/raw: remove unused SMB_SIGNING_AUTO handling
...
metze
2011-11-03 16:55:11 +01:00
Stefan Metzmacher
71959d5e1f
s4:smb_server: change the default for "server signing" to "default"
...
metze
2011-11-03 16:55:11 +01:00
Stefan Metzmacher
22902ef9b8
s4:libcli/smb2: SMB_SIGNING_DEFAULT matches SMB_SIGNING_SUPPORTED on the client for now
...
metze
2011-11-03 16:55:11 +01:00
Stefan Metzmacher
0789fbf697
s4:libcli/raw: SMB_SIGNING_DEFAULT matches SMB_SIGNING_SUPPORTED on the client for now
...
metze
2011-11-03 16:55:11 +01:00
Stefan Metzmacher
ebb9d4dc54
s4:smb_server/smb2: add the same SMB_SIGNING_AUTO logic as for smb1
...
metze
2011-11-03 16:55:11 +01:00
Stefan Metzmacher
716da10498
s4:smb_server/smb: make the SMB_SIGNING_AUTO behavior a bit easier to follow
...
The prepares a future change to SMB_SIGNING_DEFAULT.
metze
2011-11-03 16:55:11 +01:00
Stefan Metzmacher
f293438abd
s4:libcli/smb2: let SMB_SIGNING_AUTO behave like SMB_SIGNING_SUPPORTED
...
This matches the smb1 behavior.
metze
2011-11-03 16:55:11 +01:00
Stefan Metzmacher
418908eb21
s4:libcli/raw: only use smb signing if required
...
This matches the source3 code, I want to have the behavior
in common before I put the config options in common.
Later we may change this consitently in all code.
metze
2011-11-03 16:55:11 +01:00
Giampaolo Lauria
fe6913ada3
samba-tool: Fix short description and error msgs in domain level
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Nov 3 16:53:16 CET 2011 on sn-devel-104
2011-11-03 16:53:16 +01:00
Giampaolo Lauria
64e7e448fb
samba-tool: Fix --quiet option in domain samba3upgrade
...
--quiet option does not require an argument
2011-11-03 15:12:27 +01:00
Giampaolo Lauria
16437edf48
samba-tool: Improve "delegation" command error handling
...
Change samdb toggle_userAccountFlags fcn to display more
meaningful error messages
Add flags string param to toggle_userAccountFlags
Change call to toggle_userAccountFlags in delegation command
to pass the flag name to be displayed in case of errors
2011-11-03 15:12:27 +01:00
Giampaolo Lauria
967ac70a35
samba-tool: Improve "delegation" command error message
...
Write a more specific error msg when the on|off arg is invalid
2011-11-03 15:12:27 +01:00
Giampaolo Lauria
9ff2874e5e
samba-tool: Improve "delegation" command error handling
...
Display a more meaningful error msg when user account not found
Assert when returned number of entries is not 0 or 1
2011-11-03 15:12:27 +01:00
Giampaolo Lauria
82c6599e15
samba-tool: Fix "delegation show" command synopsis
...
Removed "show" from synopsis as it is no longer necessary
2011-11-03 15:12:27 +01:00
Matthieu Patou
2db221c384
s4-sites: Document, fix under optimal coding, use exceptions
...
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Wed Nov 2 22:35:00 CET 2011 on sn-devel-104
2011-11-02 22:35:00 +01:00
Jelmer Vernooij
23d3880725
samba.netcmd: Pass in outf/errf.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Nov 2 20:09:40 CET 2011 on sn-devel-104
2011-11-02 20:09:40 +01:00
Jelmer Vernooij
3ce126f352
s4-python: samba.provision: Require schema to be passed in - code path which handles schema not being specified is broken anyway.
2011-11-02 18:35:38 +01:00
Jelmer Vernooij
aa882d3323
samba.common: Fix formatting of docstring (trips up pydoctor).
2011-11-02 18:35:37 +01:00
Matthieu Patou
dfd341a2fd
samba-tool: add subcommand for sites manipulation
...
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Wed Nov 2 15:14:32 CET 2011 on sn-devel-104
2011-11-02 15:14:31 +01:00
Matthieu Patou
37703892bd
s4-selftest: add unit tests for sites's function in python
2011-11-02 13:37:18 +01:00
Matthieu Patou
66a34d86de
s4-python: add function to manipulate sites in python
2011-11-02 13:37:17 +01:00
Matthieu Patou
251209bd6f
s4-resolver: make it work back with ipv4 only DNS records
...
It turns out that if there is no AAAA record the dns server (bind and MS
windows at least) do not return the A record when just asked for AAAA.
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Wed Nov 2 11:15:34 CET 2011 on sn-devel-104
2011-11-02 11:15:34 +01:00
Amitay Isaacs
a6ed9071b9
dsdb: Handle the case when extended rights string is NULL
...
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Nov 2 07:03:40 CET 2011 on sn-devel-104
2011-11-02 07:03:40 +01:00
Amitay Isaacs
c8ac3678ad
s4-drepl: Search for application partitions in addition to main ones
...
To replicate application partitions (e.g. DNS partitions) consult
msDs-hasMasterNCs attribute as well. Also, make sure we don't add
same partition twice in the list. hasMasterNCs and msDs-hasMasterNCs
have domain, configuration and schema partitions common.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-02 15:26:55 +11:00
Amitay Isaacs
4a6410df54
s4-dnsserver: Check the raised exception with assertRaises
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-02 15:26:54 +11:00
Amitay Isaacs
8dca18a71a
s4-dnsserver: Handle the case when the dns name is NULL
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-02 15:26:54 +11:00
Amitay Isaacs
6e800bfba7
s4-dnsserver: Build a dns name tree for correct enumeration
...
The result of EnumRecords/EnumRecords2 RPC calls, is a list of
dns records that are one level below in the name hierarchy starting
from the search name. This patch builds a tree of names to get
the list of records one level below the search names and correctly
count the number of child records for each of those.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-02 15:26:54 +11:00
Amitay Isaacs
0d3aff7324
s4-dnsserver: List dns zones matching the search filter
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-02 15:26:54 +11:00
Amitay Isaacs
c1b45afcf2
s4-dnsserver: Compare two dns names using last uncommon name components
...
When search_name is not NULL, use the second last component of name
instead of the last name.
e.g. To compare following two names,
_ldap._tcp.gc, and
_ldap._tcp.Default-First-Site-Name._sites.gc
with search_name=NULL, it is gc and gc
with search_name=gc, it is _tcp and _sites
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-02 15:26:54 +11:00
Amitay Isaacs
c651b4e99b
s4-dnsserver: Set DNS_DP_AUTOCREATED flag for the zone information
...
This make the zone information similar to windows (W2K8r2).
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-02 15:26:54 +11:00
Amitay Isaacs
9abfaa3bbb
samba-tool: Improve the description of dns subcommands.
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-02 15:26:54 +11:00
Amitay Isaacs
66121dc896
samba-tool: Enable comparison of DNS naming contexts in ldapcmp
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-02 15:26:54 +11:00
Matthieu Patou
f5fde21ec1
s4-socket: do not segfault if the socket is NULL
...
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Tue Nov 1 19:02:52 CET 2011 on sn-devel-104
2011-11-01 19:02:52 +01:00
Matthieu Patou
d95826c218
s4-join: Send ReplicaUpdateRefs at the end of the join
2011-11-01 17:26:51 +01:00
Matthieu Patou
3cdfcb9394
s4-domain-join: do not add DFSR entries when joining, this should be done in the code handling DFSR replication
2011-11-01 17:26:51 +01:00