| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Jeremy
|
| |
|
|
|
|
| |
Karolin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
reconnect code to cope with rebooting a DC. This
replaces the code I asked Volker to revert.
The logic is pretty simple. It adds a new parameter,
"winbind reconnect delay", set to 30 seconds by
default, which determines how long to wait between
connection attempts.
To avoid overwhelming the box with DC-probe
forked children, the code now keeps track of
the DC probe child per winbindd_domain struct
and only starts a new one if the existing one
has died.
I also added a little logic to make sure the
dc probe child always sends a message whatever
the reason for exit so we will always reschedule
another connect attempt.
Also added documentation.
Jeremy.
|
|
|
|
|
|
|
|
|
| |
Here is a patch to allow many subsystems to be re-initialized. The only
functional change I made was to remove the null context tracking, as the memory
allocated here is designed to be left for the complete lifetime of the program.
Freeing this early (when all smb contexts are destroyed) could crash other
users of talloc.
Jeremy.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"init logon delays hosts" takes a list of hosts names or addresses
or networks for which the initial SAMLOGON reply should be delayed
(so other DCs get preferred by XP workstations if there are any).
This option takes the same type of list as "hosts allow" does.
"init logon delay" allows one to configure the delay for the hosts
configured for delayed initial samlogon with "init logon delayed hosts".
The value is interpreted as milliseconds. The default value is 100.
This commit only introduces the parameters.
They will be activated in a subsequent commit.
Michael
|
|
|
|
|
| |
This one came up while using "csc policy = disabled" instead of
"disable"... ;-)
|
|
|
|
|
|
|
|
|
|
|
|
| |
It's a bit difficult to explain why
idmap config backend:FOO = rid
should work while
idmap config backend : FOO = rid
should not. And I doubt we will ever see domain names with whitespaces...
|
| |
|
| |
|
|
|
|
| |
Jeremy
|
|
|
|
| |
This reverts commit 448836d44d0468a74b962ba3c0b7d51de236374f.
|
| |
|
|
|
|
|
|
|
| |
"acl group control"
parameter and make it only apply to owning group. Also added man page fix.
Jeremy.
|
| |
|
|
|
|
|
| |
This is needed as some options are uppercased internally in Samba, such as the idmap config option
Without this change it is not possible to set these options via net conf which lowercases options
|
|
|
|
|
|
| |
Up to now, the bool return value was silently ignored.
Michael
|
|
|
|
| |
Michael
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes the case where "include = registry" is set in the smb.conf text file
and *only* shares (no [global] settings) are present in the registry.
Michael, please check!
Thanks,
Volker
|
|
|
|
| |
controlled via the ldap connection timeout parameter. This fixes fallbacks to secondary LDAP servers in multi LDAP server setups like in #4544
|
|
|
|
|
|
|
| |
This fixes testparm printing "Error loading services." when there is only
the global section in registry and no other service definition.
Michael
|
|
|
|
|
|
|
|
|
|
| |
Set the iServiceIndex to "-1" for starup with either config
backend (originally only for text backend). Otherwise,
process_registry_shares() will fail.
Currently, the only user of lp_load_with_registry_shares() is testparm.
Michael
|
|
|
|
|
|
|
|
| |
This is like lp_load(), except that it will load the
registry shares into the services aarray when registry
shares are activated.
Michael
|
|
|
|
| |
Michael
|
|
|
|
|
|
|
| |
This allows for registry shares to be activated, i.e. loaded into
the services array at lp_load() time.
Michael
|
|
|
|
|
|
| |
This loads the shares defined in registry into the services array.
Michael
|
|
|
|
|
|
| |
into new function process_registry_service().
Michael
|
|
|
|
| |
Michael
|
|
|
|
|
|
|
|
|
| |
This completes bba04a8fba6fd5cf62578733cfdabea590e8ff51:
The reverted logic has to be put into the callers
lp_load() and lp_load_initial_only() of lp_load_ex(), too.
Silly bug.
Michael
|
|
|
|
|
|
| |
instead of lists of strings and counters directly...
Michael
|
|
|
|
| |
Michael
|
|
|
|
|
|
| |
This is what that variable controls now...
Michael
|
|
|
|
|
|
|
|
|
|
|
| |
This is only to be able to set everything properly for registry
before reading registry includes.
This fixes "make test" as non-root user in a directory, where
root-daemons have already created a messaging.tdb in the compiled
in lockdir...
Michael
|
|
|
|
|
|
| |
"include =" statements
metze
|
|
|
|
|
|
| |
This includes the configuration stored in HKLM/Software/Samba/smbconf .
Michael
|
|
|
|
|
|
| |
Use do_parameter() directly.
Michael
|
|
|
|
| |
Michael
|
| |
|
|
|
|
|
|
| |
we don't want to see this all the times in tests.
Michael
|
|
|
|
|
|
|
| |
The userdata is currently unused. It can be used in the future for
passing a context like in samba4 code.
Michael
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is passed to the module init routines.
In case of the registry, this is the path of the
basekey in registry, that is to be used, defaulting
to KEY_SMBCONF (HKLM\software\samba\smbconf), when
NULL is given. This is the only case currently used.
In order to support other keys, registry initialization
for smbconf has to be changed to support different keys.
Michael
|
|
|
|
|
|
|
| |
Hide generic init function taking smbconf_ops argument
from public api.
Michael
|
|
|
|
|
|
| |
That's more appropriate.
Michael
|
|
|
|
|
|
|
| |
..for consistency. Exception: the open/init function, where the smbconf_ctx
is created from the given talloc context.
Michael
|
|
|
|
|
|
|
|
| |
The former seqnum is hidden inside a struct smbconf_csn.
And the get_seqnum is united with a changed function that
stores the seqnum inside the given csn.
Michael
|
|
|
|
|
|
| |
This is necessary now that includes (to files) are enabled from registry.
Michael
|
|
|
|
|
|
| |
libnet.h unneeded after separation of libsmbconf from libnet.
Michael
|
|
|
|
| |
Michael
|
|
|
|
| |
Michael
|