| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
subsystems.
This allows Samba libraries to be used by other projects (and parts of
Samba to be built as shared libraries).
|
| | |
| | |
| | |
| | | |
metze
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Should we somehow link these, or just use the version in ldb?
Andrew Bartlett
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
module is perhaps not the most efficient, but I think it is
reasonable.
This should restore operation of MMC against Samba4 (broken by the
templating fixes).
Andrew Bartlett
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
using pre-calculated passwords for all kerberos key types.
(Previously we could only use these for the NT# type).
The module handles all of the hash/string2key tasks for all parts of
Samba, which was previously in the rpc_server/samr/samr_password.c
code. We also update the msDS-KeyVersionNumber, and the password
history. This new module can be called at provision time, which
ensures we start with a database that is consistent in this respect.
By ensuring that the krb5key attribute is the only one we need to
retrieve, this also simplifies the run-time KDC logic. (Each value of
the multi-valued attribute is encoded as a 'Key' in ASN.1, using the
definition from Heimdal's HDB. This simplfies the KDC code.).
It is hoped that this will speed up the KDC enough that it can again
operate under valgrind.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
have to think about exactly what the right context to hang it of is.
Andrew Bartlett
|
| | | |
|
| | |
| | |
| | |
| | | |
Andrew Bartlett
|
| | |
| | |
| | |
| | | |
Andrew Bartlett
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
lookups in load_interfaces(). The reason was my eth0 interface was
down, and it was being interpreted as a DNS name.
This patch changes load_interfaces() to happening automatically when
interfaces are first needed instead of on the startup of every samba
binary. This means that (for example) ldbadd doesn't call
load_interfaces(), which means no slow DNS lookups.
I also reduced the number of static globals in interface.c to 1, and
changed from malloc to talloc
When you want to force a reload of the interfaces list, you now call
unload_interfaces(), which means the next call that needs the
interfaces list will reload it
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
(note that this doesn't use the distinction between private
and public prototypes yet)
|
| | |
| | |
| | |
| | |
| | |
| | | |
back and
forth between GUID structs and strings in several places.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
dcerpc_interface_table struct rather then a tuple of interface
name, UUID and version.
This removes the requirement for having a global list of DCE/RPC interfaces,
except for these parts of the code that use that list explicitly
(ndrdump and the scanner torture test).
This should also allow us to remove the hack that put the authservice parameter
in the dcerpc_binding struct as it can now be read directly from
dcerpc_interface_table.
I will now modify some of these functions to take a dcerpc_syntax_id
structure rather then a full dcerpc_interface_table.
|
| | |
| | |
| | |
| | |
| | |
| | | |
'librpc'
are the only two subsystems left to convert.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
the difference between these at all, and in the future the
fact that INIT_OBJ_FILES include smb_build.h will be sufficient to
have recompiles at the right time.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We now use a different system for initializing the modules for a subsystem.
Most subsystems now have an init function that looks something like this:
init_module_fn static_init[] = STATIC_AUTH_MODULES;
init_module_fn *shared_init = load_samba_modules(NULL, "auth");
run_init_functions(static_init);
run_init_functions(shared_init);
talloc_free(shared_init);
I hope to eliminate the other init functions later on (the
init_programname_subsystems; defines).
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Andrew Bartlett
|
| | |
| | |
| | |
| | |
| | |
| | | |
- fix the calculation of TIME_T_MAX -> nttime -> TIME_T_MAX
metze
|
| | |
| | |
| | |
| | |
| | |
| | | |
don't store it on disk, as this would cause confusing results
metze
|
| | |
| | |
| | |
| | | |
metze
|
| | |
| | |
| | |
| | |
| | |
| | | |
(hopefully fix the build on OpenBSD)
metze
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is for use on user-supplied arguments to printf style format
strings which will become ldb filters. I have used it on LSA, SAMR
and the auth/ code so far.
Also add comments to cracknames code.
Andrew Bartlett
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
callback.
We may change this in future.
Andrew Bartlett
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
command line processing system.
This is a little ugly at the moment, but works. What I cannot manage
to get to work is the extraction and propogation of command line
credentials into the js interface to ldb.
Andrew Bartlett
|
| | |
| | |
| | |
| | | |
metze
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
from lockdir and they are typically set to piddir=/var/run/samba
and lockdir=/var/lib/samba, and we should keep the temporary stuff
under /var/run/samba
metze
|
| | |
| | |
| | |
| | |
| | |
| | | |
installed.
Install pkg-config files.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
events,
we need to initialy ask for read events too, otherwise we'll never get an
error back from socket_connect()
metze
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
backend.
The idea is that every time we open an LDB, we can provide a
session_info and/or credentials. This would allow any ldb to be remote
to LDAP. We should also support provisioning to a authenticated ldap
server.
(They are separate so we can say authenticate as foo for remote, but
here we just want a token of SYSTEM).
Andrew Bartlett
|
| | |
| | |
| | |
| | |
| | |
| | | |
headers
in build/smb_build/, remove unused pstring macros
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
context into the ldb opaque. I'm sure this was done before, and must
have been lost by some other change.
Andrew Bartlett
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
displaying security descriptors in ldbsearch or ldbedit you can see
the SDDL version.
This also allows us to specify security descriptors in our
setup/*.ldif files in SDDL format, which is much more convenient than
the NDR binary format!
|
| | |
| | |
| | |
| | | |
set of results
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
you don't ask for.
with this patch the epoll mode behaves like the select mode
metze
|
| | |
| | |
| | |
| | |
| | |
| | | |
let our code make it explicit, to make it clear
metze
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
for the case where, epoll isn't available at compile time
- only pass the private std_event_context, to the local function,
to get rid of the talloc_get_type() calls
- use the private pointer to std_event_context_init() to decide if we want to
disable epoll at runtime
metze
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
the events backend can store private flags
- add function to access the gtk event loop ops struct
metze
|
| | |
| | |
| | |
| | | |
metze
|
| | |
| | |
| | |
| | | |
metze
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
instead make the normal composite_done() and composite_error()
functions automatically trigger a delayed callback if the caller has
had no opportunity to setup a async callback
this removes one of the common mistakes in writing a composite function
|