| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
There's still lot of work to do but the patch is stable
enough to be pushed into the main samba4 tree.
Simo.
|
|
|
|
|
|
| |
It needs work to not dump defaults from loadparm.c, but otherwise it works.
Andrew Bartlett
|
|
|
|
|
|
| |
Also fix up all the current issues with the skel module.
Andrew Bartlett
|
|
|
|
|
|
| |
be a valid talloc() pointer, as other modules may rely on this.
Andrew Bartlett
|
|
|
|
|
|
| |
returned address.
Andrew Bartlett
|
| |
|
| |
|
|
|
|
|
| |
Re-introduce and use the OUTPUT_TYPE property for MODULEs to force
specific modules to always be included
|
| |
|
|
|
|
| |
thanks Brad
|
|
|
|
|
|
|
| |
- we already call usleep() directly in some places,
so do it everywhere
metze
|
|
|
|
| |
metze
|
| |
|
|
|
|
| |
Andrew Bartlett
|
| |
|
|
|
|
|
|
| |
dependencies
with proto.h
|
|
|
|
|
|
|
| |
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
|