1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
Commit Graph

67787 Commits

Author SHA1 Message Date
Andrew Bartlett
911169451b s4-credentials Allocate ldb result on correct memory context 2010-10-12 02:54:16 +00:00
Andrew Bartlett
8beaa29242 s4-libcli/security Use seperate subsystem for session related functions
The merged I plan in this area require spliting security.h into
two header files, a common header and a session.h for the
remaining source4-specific code.

Andrew Bartlett
2010-10-12 02:54:16 +00:00
Andrew Bartlett
0487ef0a70 libcli/security Add debug class to security_token_debug() et al
This will allow it to replace functions in source3 that use debug classes.

Andrew Bartlett
2010-10-12 02:54:16 +00:00
Andrew Bartlett
d406e511a5 lib/debug Add DEBUGC and DEBUGADDC as dummies
This allows code that needs to also compile against the source3
debug code to compile in source4.

Andrew Bartlett
2010-10-12 02:54:16 +00:00
Andrew Bartlett
ae52f953af libcli/security Move most of security_token.c to common code.
The source4-specific session_info functions have been left in session.c

Andrew Bartlett
2010-10-12 02:54:16 +00:00
Andrew Tridgell
4e1966db95 autobuild: send email failure if rebase fails
users need to know if the rebase on master fails

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

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Oct 12 02:53:15 UTC 2010 on sn-devel-104
2010-10-12 02:53:15 +00:00
Andrew Tridgell
f2dc72eb47 autobuild: add an extra blank line before the autobuild markers 2010-10-12 02:13:19 +00:00
Andrew Tridgell
a89331e954 s4: mark us as not supporting python3 yet
python3 works fine with waf fine, but our C interfaces need 2.x for
now
2010-10-12 02:13:19 +00:00
Jelmer Vernooij
4ad64408c5 dsdb: Build more modules as shared objects.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Oct 12 02:12:29 UTC 2010 on sn-devel-104
2010-10-12 02:12:29 +00:00
Jeremy Allison
6f6094076f Make the vfs_acl_xattr and other modules work with NULL SD's. Fix
the "protected" inheritance problem (bleeding up from the POSIX
layer).

Jeremy

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Oct 12 00:57:41 UTC 2010 on sn-devel-104
2010-10-12 00:57:41 +00:00
Jeremy Allison
6f4e782c53 Canonicalize incoming and outgoing ACLs.
Jeremy.
2010-10-11 17:10:28 -07:00
Jeremy Allison
71d9f51b4e Make the posix ACL module cope with a NULL incoming DACL and a
missing owner/group.

Jeremy.
2010-10-11 17:07:54 -07:00
Jelmer Vernooij
44a4b677fe dsdb: Build some more modules as shared objects.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Oct 11 23:22:33 UTC 2010 on sn-devel-104
2010-10-11 23:22:33 +00:00
Jelmer Vernooij
cfeb5cc91f dsdb: Build some more modules as shared object files.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Oct 11 21:13:25 UTC 2010 on sn-devel-104
2010-10-11 21:13:25 +00:00
Jelmer Vernooij
7c36853313 selftest: Avoid check_call(), use call() instead. This should fix
Python2.4 compatibility.
2010-10-11 20:32:03 +00:00
Jelmer Vernooij
ab9d459b61 dsdb: Build some more modules as .so files.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Oct 11 19:14:58 UTC 2010 on sn-devel-104
2010-10-11 19:14:58 +00:00
Jelmer Vernooij
6756ec294f wins_ldb: Build as shared library.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Oct 11 18:15:19 UTC 2010 on sn-devel-104
2010-10-11 18:15:19 +00:00
Jelmer Vernooij
05024867d3 land-remote: Fix --fail-slowly.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Oct 11 15:54:31 UTC 2010 on sn-devel-104
2010-10-11 15:54:31 +00:00
Jelmer Vernooij
9d2e777e18 ldb: Build ildap module as shared object. 2010-10-11 15:13:16 +00:00
Jelmer Vernooij
484939db0f samdb_common, ntlm: Add missing dependency on libsamba-hostconfig. 2010-10-11 15:13:16 +00:00
Jelmer Vernooij
837bcb9e0f popt_credentials: Implement pending machine account manually, rather than through credentials. 2010-10-11 15:13:16 +00:00
Günther Deschner
df7523c792 pidl: fix minor typo in s3 server generation.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Oct 11 15:12:57 UTC 2010 on sn-devel-104
2010-10-11 15:12:57 +00:00
Günther Deschner
33c6a4eb8a s3-spoolss: add more userlevel info validation to _spoolss_OpenPrinterEx.
Guenther
2010-10-11 14:31:06 +00:00
Günther Deschner
025290e9bf s3-spoolss: let set_printer_hnd_name return WERROR.
Guenther
2010-10-11 14:31:06 +00:00
Günther Deschner
c8a295ab7f s3-spoolss: convert open_printer_hnd to return WERROR.
Guenther
2010-10-11 14:31:06 +00:00
Günther Deschner
fe724c70d2 s3-spoolss: fix set_printer_hnd_name() to match torture test.
Guenther
2010-10-11 14:31:06 +00:00
Günther Deschner
43d226fa25 s4-smbtorture: add test for openprinter printername pattern.
Guenther
2010-10-11 14:31:06 +00:00
Matthieu Patou
6633a7b379 unit tests: do some cleanup after tests
fix

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Mon Oct 11 14:29:10 UTC 2010 on sn-devel-104
2010-10-11 14:29:10 +00:00
Matthieu Patou
77cdef5359 torture: Add debug on what we are removing 2010-10-11 13:46:21 +00:00
Andrew Bartlett
58294ffdee s4:smbtorture Create a new random output directory each time, and delete it
This ensures we don't delete an exiting directory.

Andrew Bartlett

Signed-off-by: Matthieu Patou <mat@matws.net>
2010-10-11 13:46:21 +00:00
Andrew Bartlett
74ed86c4e3 lib/torture: Add function to clean up the output directory
This helps to avoid leaving 85MB of provision around for every
NET-API-BECOME-DC test.

Andrew Bartlett

Signed-off-by: Matthieu Patou <mat@matws.net>
2010-10-11 13:46:21 +00:00
Andrew Bartlett
13ba3464c0 ldb The use of a private event context isn't a hack
This is deliberate behaviour.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Oct 11 13:45:14 UTC 2010 on sn-devel-104
2010-10-11 13:45:13 +00:00
Andrew Bartlett
7013a3e390 s4-ldb Allow a NULL event context in samba_ldb_init() 2010-10-11 13:02:16 +00:00
Andrew Bartlett
1555d5acf5 s4-ldb Don't use talloc_autofree_context() in ldb
The private event context only needs to live as long as ldb itself.

Andrew Bartlett
2010-10-11 13:02:16 +00:00
Andrew Bartlett
69199a96d1 s4-tevent Remove event_contex_find() and event_context_set_default()
It is considered that it is better to create a new event context
rather than 'finding' some other event context, in the case
where we do not have one specified.

Andrew Bartlett
2010-10-11 13:02:16 +00:00
Andrew Bartlett
bae09a0921 s4-smbd Remove event_context_set_default()
The last callers to event_context_find() have been removed
so this is no longer required.

Andrew Bartlett
2010-10-11 13:02:16 +00:00
Andrew Bartlett
42127cdbb0 s4-credentials Add explicit event context handling to Kerberos calls (only)
By setting the event context to use for this operation (only) onto
the krb5_context just before we call that operation, we can try
and emulate the specification of an event context to the actual send_to_kdc()

This eliminates the specification of an event context to many other
cli_credentials calls, and the last use of event_context_find()

Special care is taken to restore the event context in the event of
nesting in the send_to_kdc function.

Andrew Bartlett
2010-10-11 13:02:16 +00:00
Andrew Bartlett
5cd9495fb3 s4-param Refactor secrets code to not require an event context.
A new event context is constructed by LDB when required for secrets.ldb
This will be essentially unused, as LDB on TDB will only trigger 'fake'
events, and blocks on transactions and lock operations anyway.

Andrew Bartlett
2010-10-11 13:02:15 +00:00
Andrew Bartlett
baeaa17986 s4-kerberos Remove unused parameter 2010-10-11 13:02:15 +00:00
Andrew Bartlett
1ef59ea9db s4-kerberos Remove unsued variable 2010-10-11 13:02:15 +00:00
Jelmer Vernooij
edc5ccc309 credentials: Avoid unnecessary includes.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Oct 11 13:01:36 UTC 2010 on sn-devel-104
2010-10-11 13:01:35 +00:00
Tim Potter
391b24e3ed Fix some warnings at higher -W levels in pidl generated code.
Match data type for info levels to data type returned by utility
functions.

Autobuild-User: Tim Potter <tpot@samba.org>
Autobuild-Date: Mon Oct 11 12:18:22 UTC 2010 on sn-devel-104
2010-10-11 12:18:21 +00:00
Jelmer Vernooij
ba02178e87 util: Fix installation path of tevent_ntstatus.h, tevent_unix.h (bug 7720).
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Oct 11 09:24:56 UTC 2010 on sn-devel-104
2010-10-11 09:24:56 +00:00
Jelmer Vernooij
d589430fa0 credentials: Fix the build.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Oct 11 02:47:50 UTC 2010 on sn-devel-104
2010-10-11 02:47:50 +00:00
Jelmer Vernooij
d74e0adb30 credentials: Split up into several subsystems. 2010-10-11 02:06:03 +00:00
Jelmer Vernooij
c5ae099152 kerberos_util: Put into separate subsystem.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Oct 11 00:34:56 UTC 2010 on sn-devel-104
2010-10-11 00:34:56 +00:00
Jelmer Vernooij
539d5f518d auth: Remove unnecessary dependencies, fix formatting. 2010-10-10 23:54:04 +00:00
Jelmer Vernooij
5cbbe94366 credentials: Move code that doesn't need any external dependencies into
credentials.c.
2010-10-10 23:54:04 +00:00
Jelmer Vernooij
53db1f3467 server: Add missing dependency on schannel database. 2010-10-10 23:54:04 +00:00
Jelmer Vernooij
ffb6766423 service: Add missing dependency on process_model. 2010-10-10 23:54:04 +00:00