1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

67806 Commits

Author SHA1 Message Date
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
Jelmer Vernooij
5324b943e7 wafsamba: Fix handling of pyembed/pyext. 2010-10-10 23:54:04 +00:00
Jelmer Vernooij
2bff55f5de dsdb/modules: Split up helpers a bit to prevent recursive dependencies.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 10 23:47:54 UTC 2010 on sn-devel-104
2010-10-10 23:47:54 +00:00
Jelmer Vernooij
4280527b6a torture_auth: Add missing dependency on gensec_ntlmssp. 2010-10-11 01:06:36 +02:00
Jelmer Vernooij
ea6a3f5c48 wafsamba: Support setting pyembed on libraries. 2010-10-11 01:06:36 +02:00
Jelmer Vernooij
ffd7cee150 torture: Link against rpc server itself, not service module. (against which we can't link). 2010-10-11 01:06:36 +02:00
Jelmer Vernooij
ea8fc8727b ldap_server: Add missing dependency on gensec_server_start. 2010-10-11 01:06:36 +02:00
Jelmer Vernooij
6c410dd615 kdc: Add missing dependency on samba_gensec_server. 2010-10-11 01:06:36 +02:00
Jelmer Vernooij
57bf052e68 smb_server: Split core out of service, since the service can be built as a .so against which we can't link. 2010-10-11 01:06:36 +02:00
Jelmer Vernooij
b0963b7b31 smb2: Add missing dependency on NDR_DFSBLOBS. 2010-10-11 01:06:36 +02:00
Jelmer Vernooij
d0c7ae5cd5 librpc: Remove unnecessary dependency on libsamba-hostconfig. 2010-10-11 01:06:36 +02:00
Jelmer Vernooij
3b19993561 dsdb/schema: Move some dsdb_dn functions that are schema-specific. 2010-10-11 01:06:35 +02:00
Jelmer Vernooij
41e55d7894 ntvfs_ipc: add missing dependency on dcerpc_common. 2010-10-11 01:06:35 +02:00
Jelmer Vernooij
2c9ebb7646 libsecurity-common: Add missing dependency on libndr. 2010-10-11 01:06:35 +02:00
Jelmer Vernooij
dc47e8dc52 libcli-auth: Remove unnecessary dependency on libsamba-hostconfig. 2010-10-11 01:06:35 +02:00
Jelmer Vernooij
1f73f3b1ca dsdb modules: Split ridalloc out of common helpers, because of dependency loops. 2010-10-11 01:06:35 +02:00
Jelmer Vernooij
7552dd8d1e rpc_ndr_netlogon: Add missing dependency on tevent.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 10 23:04:13 UTC 2010 on sn-devel-104
2010-10-10 23:04:13 +00:00
Jelmer Vernooij
fd718c96f0 samdb: Remove dependency on unknown subsystem. 2010-10-10 23:59:04 +02:00
Jelmer Vernooij
904a6c3761 util: Link headers to correct subsystem, fix formatting. 2010-10-10 23:50:46 +02:00
Jelmer Vernooij
aa6d7ccc44 dsdb: add missing dependency on samba_socket. 2010-10-10 23:50:34 +02:00
Jelmer Vernooij
e2f3e10b1a ldb-samba: Rename samdb_relative_path to ldb_relative_path, as it's not samdb-specific. 2010-10-10 23:45:23 +02:00
Jelmer Vernooij
33c4b85058 dsdb: Move attr_in_list to SAMDB_COMMON to avoid circular dependency between SAMDB_COMMON and DSDB_MODULE_HELPERS. 2010-10-10 23:39:47 +02:00
Jelmer Vernooij
8f6ca4859c gensec: Support building without any linked-in modules. 2010-10-10 23:37:34 +02:00
Jelmer Vernooij
7ba7ca7062 idmap: Add missing dependency on ldbsamba. 2010-10-10 23:30:43 +02:00
Jelmer Vernooij
be1f2c4d02 secrets: Add missing dependency on ldbsamba. 2010-10-10 23:30:38 +02:00
Jelmer Vernooij
c4c298591d cldapd: Add missing dependency on ldbsamba. 2010-10-10 23:29:40 +02:00
Jelmer Vernooij
c1884f31ea ldb-samba: Add ldb_wrap_add, remove last schema reference from ldb_wrap. 2010-10-10 23:25:38 +02:00
Jelmer Vernooij
7f68870bc9 ldb-samba: Split up ldb_wrap_connect() a bit. 2010-10-10 23:09:06 +02:00
Jelmer Vernooij
938cb40290 ldb-samba: Add convenience function for doing a Samba-style LDB init. 2010-10-10 23:09:06 +02:00
Jelmer Vernooij
93126b3315 samdb: Add flags argument to samdb_connect(). 2010-10-10 23:08:49 +02:00
Jelmer Vernooij
6280725b47 samdb: Handle schema setup in samdb, not in more generic ldbsamba. 2010-10-10 23:08:45 +02:00
Jelmer Vernooij
614c8ea986 tls: add missing dependency on util_tevent. 2010-10-10 23:08:12 +02:00