Andrew Bartlett
9b5e304cce
heimdal Add support for extracting a particular KVNO from the database
...
This should allow master key rollover.
(but the real reason is to allow multiple krbtgt accounts, as used by
Active Directory to implement RODC support)
Andrew Bartlett
2010-09-29 04:23:07 +10:00
Andrew Bartlett
3021af2777
s4-kdc Add common setup, handle RODC setup case
...
This means we just set up the system_session etc in one place
and don't diverge between the MIT and Heimdal plugins.
We also now determine if we are an RODC and store some details
that we will need later.
Andrew Bartlett
2010-09-29 04:23:07 +10:00
Andrew Bartlett
88abf441d0
s4-dsdb Add ldb_reset_err_string() when we set error codes.
...
If we don't we could show an old, incrorrect error
2010-09-29 04:23:07 +10:00
Andrew Bartlett
063b61289d
s4-dsdb Make samdb_reference_dn() use dsdb_search() and DSDB_SEARCH_ONE_ONLY
...
This simplifies the function. While doing so, also change the error
string setting to set a really clear error string for the failure to find
and failure to parse cases.
Andrew Bartlett
2010-09-29 04:23:07 +10:00
Andrew Bartlett
990720b8cd
s4-kdc Add function to determine if a hdb entry is a RODC
...
This is important, as we must ignore the PAC from an RODC.
Andrew Bartlett
2010-09-29 04:23:07 +10:00
Andrew Bartlett
85f7bce865
s4-kdc Use msDS-SecondaryKrbTgtNumber to fill in the full KVNO
...
Andrew Bartlett
2010-09-29 04:23:07 +10:00
Andrew Bartlett
8b57482fa8
s4-dsdb Fix segfault in error case in rootdse module
2010-09-29 04:23:07 +10:00
Michael Wood
6bab5c0751
Make upgrade procedure more explicit.
...
Add in a compile step.
Change the tar command to include the recommended dirs.
2010-09-29 04:23:07 +10:00
Günther Deschner
9d3046f098
s3-waf: add AUTH_SCRIPT module to AUTH subsystem (which is build as shared
...
module by default).
Guenther
2010-09-28 20:03:54 +02:00
Günther Deschner
2cf5c661c6
s3-waf: add vfs_linux_xfs_sgid to the list of default shared modules.
...
Guenther
2010-09-28 20:03:54 +02:00
Volker Lendecke
a3e211ca3f
s3: Attempt to fix bug 7518
...
If select returns -1, we can't rely on the fd sets. The current code might loop
endlessly because when putting an invalid fd (the closed socket?) on the read
set, a select implementation might choose not to touch it but directly return
with EINVAL. Thus run_events will see the socket readable, which leads to a
"return true", and thus a NT_STATUS_RETRY -> same game again.
We should never get into this situation, but to me the logfiles given in bug
7518 do not reveal enough information to understand how this can happen.
2010-09-28 19:22:50 +02:00
Volker Lendecke
51bc104c5c
s3: Increase the debuglevel for connection termination msgs
2010-09-28 10:40:17 +02:00
Günther Deschner
2a1891a9d6
s3-waf: fix dependencies in most of our module subsystems.
...
Guenther
2010-09-28 09:41:54 +02:00
Günther Deschner
5fcd0471e5
s3-waf: add pam_smbpass.
...
Guenther
2010-09-28 09:41:54 +02:00
Günther Deschner
07697fa053
s3-auth_util: make sure the system server info actually contains S-1-5-18.
...
Without this, all security descriptor checks for the winreg spoolss backend fail
and make our spoolss system in its current shape basically unusable.
Andreas, please check.
Guenther
2010-09-28 09:40:57 +02:00
Günther Deschner
314d738f90
s3-printing: remove unused old structs.
...
Guenther
2010-09-28 09:40:57 +02:00
Jelmer Vernooij
b4a5ece84a
ldb: Fix path to alternative buildtools.
2010-09-28 09:16:03 +02:00
Jelmer Vernooij
0688c5b2f1
samba4: Don't update Makefile/configure from autogen.sh.
2010-09-28 09:12:42 +02:00
Jelmer Vernooij
63928c82c1
ldb/tevent: Fix detection of waf paths.
2010-09-28 09:12:41 +02:00
Jelmer Vernooij
4752d88fed
tevent: Remove make targets that are not relevant for tevent.
2010-09-28 09:12:41 +02:00
Jelmer Vernooij
302423f306
tevent: Don't update Makefile/configure files.
2010-09-28 09:12:40 +02:00
Jelmer Vernooij
85443e0850
ldb: Update autogen-waf.sh to no longer overwrite existing files.
2010-09-28 09:12:40 +02:00
Jelmer Vernooij
72a41cc820
ldb: Remove samba-specific targets from Makefile.
2010-09-28 09:12:40 +02:00
Jelmer Vernooij
78b4b21b40
ldb: Bump version because of addition of ldb_req_location.
2010-09-28 09:12:40 +02:00
Jelmer Vernooij
02f87d1c36
format-subunit: Display number of failed tests even if there are no
...
failed testsuites.
2010-09-28 09:12:39 +02:00
Jelmer Vernooij
36ffe4f467
selftest: Abort early on SIGPIPE.
2010-09-28 09:12:39 +02:00
Jelmer Vernooij
7ac4a71072
Add dedicated exception for immediate failure in filter-subunit, don't raise it on known exceptions.
2010-09-28 09:12:39 +02:00
Andrew Tridgell
c12f1a1e91
s4-selftest: added a --fail-immediately option to s4 test
...
this can be used to force an immediate test failure on the first
failed test case. You can also use:
make test FAIL_IMMEDIATELY=1
2010-09-28 09:12:39 +02:00
Andrew Tridgell
71f88c45a7
filter-subunit: added a --fail-immediately option
2010-09-28 09:12:38 +02:00
Andrew Tridgell
c7f6ab890e
s4-provision: fixed the authority response for our SOA record
...
some clients rely on this being the hostname, not the domain
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Sep 28 06:39:19 UTC 2010 on sn-devel-104
2010-09-28 06:39:19 +00:00
Andrew Tridgell
0bbbfa04f6
s4-dns: implemented RODC DNS update in dns update task
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-27 22:55:05 -07:00
Andrew Tridgell
c4d2b6fbc2
s4-netlogon: added RODC DNS update call fwded to dnsupdate task
...
when we get a netlogon RODC DNS update, we send it to the dnsupdate
task
2010-09-27 22:55:05 -07:00
Andrew Tridgell
6237d56027
s4-dns: added --update-list option to samba_dnsupdate
...
this allows us to use it for RODC netlogon updates
2010-09-27 22:55:05 -07:00
Andrew Tridgell
7d380795b6
pidl: added ifdef guards around ndr headers
...
this prevents us parsing the leading headers needlessly
2010-09-27 22:55:05 -07:00
Andrew Tridgell
bc47af50eb
s4-kdc: added ifdef guards in kdc.h
...
this prevents too much recursion in the compiler preprocessor
2010-09-27 22:55:04 -07:00
Andrew Tridgell
1587b46fa0
s4-ldb: removed an unused variable
2010-09-27 22:55:04 -07:00
Andrew Tridgell
17aa2b3294
s4-kcc: fixed a incorrect context to kcctpl_get_all_bridgehead_dcs
2010-09-27 22:55:04 -07:00
Andrew Tridgell
e313667983
s4-dsdb: added samdb_find_site_for_computer() and samdb_find_ntdsguid_for_computer()
...
these will be used by the new RODC dns update code
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-27 22:55:04 -07:00
Andrew Tridgell
c972790249
s4-auth: removed unused variable dom_sid
2010-09-27 22:55:04 -07:00
Volker Lendecke
94dc2c106b
s3: Lift smbd_messaging_context() from open_sockets_smbd()
2010-09-28 07:36:18 +02:00
Volker Lendecke
790ad3d1a4
s3: Remove two calls to procid_self()
2010-09-28 07:36:18 +02:00
Volker Lendecke
886b5b67ee
s3: Remove talloc_autofree_context() from myhostname()
...
No destructor needed, so we can as well use the NULL context
2010-09-28 07:36:18 +02:00
Volker Lendecke
49b4d2e652
s3: Remove some remaining files.c globals to sconn
2010-09-28 07:36:18 +02:00
Volker Lendecke
d26d79b640
s3: Remove talloc_autofree_context() from files.c
2010-09-28 07:36:18 +02:00
Volker Lendecke
eadc4b5b78
s3: Lift smbd_server_conn from file_find_fd
2010-09-28 07:36:18 +02:00
Volker Lendecke
54f7b70212
s3: Remove smbd_server_conn from file_fsp
2010-09-28 07:36:18 +02:00
Volker Lendecke
3009178ee5
s3: Slightly simplify file_fnum
...
req==NULL should never happen, see the comment
2010-09-28 07:36:18 +02:00
Volker Lendecke
e57811440a
s3: Remove smbd_server_conn from file_sync_all
2010-09-28 07:36:17 +02:00
Volker Lendecke
e2222fc19c
s3: Remove smbd_server_conn from file_find_subpath
2010-09-28 07:36:17 +02:00
Volker Lendecke
75c6e0e5c7
s3: Lift smbd_server_conn from file_find_di_first
2010-09-28 07:36:17 +02:00