Age | Commit message (Collapse) | Author | Files | Lines |
|
(This used to be commit 60af63675063ad62c0169b9f2094ecfdaa7ca16d)
|
|
Karolin
(This used to be commit fcfab4703628e19902c140a7ad9531d4be0de01d)
|
|
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.
(This used to be commit 8027197635b988b3dcf9d3d00126a024e768fa62)
|
|
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.
(This used to be commit 8c630efd25cf17aff59448ca05c1b44a41964b16)
|
|
(This used to be commit 30a180f2fce8cf6a3e5548f6bba453272ba70b33)
|
|
"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 used to be commit f7c1f85438f7e0da2a96e3fc8f774f8c6936370e)
|
|
This one came up while using "csc policy = disabled" instead of
"disable"... ;-)
(This used to be commit d01da44de77abbf724389bce924771f2975867f4)
|
|
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...
(This used to be commit 0207f99d3f02bd8ff5dadc1574fe13b46c3e09a3)
|
|
(This used to be commit 37dba0c192ec7d4105465beae0d6e8598c7dbb7a)
|
|
(This used to be commit 78801431c896f1e2007d652b611c2ce1108e1023)
|
|
Jeremy
(This used to be commit 15920f838835f5dbbac8712202267c2a99237686)
|
|
This reverts commit 448836d44d0468a74b962ba3c0b7d51de236374f.
(This used to be commit a9b29ab6b7503d6d30553a17219603a4f4cd3df9)
|
|
(This used to be commit 448836d44d0468a74b962ba3c0b7d51de236374f)
|
|
"acl group control"
parameter and make it only apply to owning group. Also added man page fix.
Jeremy.
(This used to be commit e98e080bad2c8b9f038a8f2dffcfeba1d5f392ce)
|
|
(This used to be commit 3bfeae651ff4bd0d777e7bc5980008960d8e5a44)
|
|
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
(This used to be commit c10aad9f136b7c2ef4809fd8558013ab2ee40cf6)
|
|
Up to now, the bool return value was silently ignored.
Michael
(This used to be commit c65d425fec964bc0b8778b596615a8bcce0378aa)
|
|
Michael
(This used to be commit a8ef8870beb91fcd2745aa59de6c59b49ea00e39)
|
|
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
(This used to be commit 6c80362e291d8c5e748b987a583e8e32acc36354)
|
|
controlled via the ldap connection timeout parameter. This fixes fallbacks to secondary LDAP servers in multi LDAP server setups like in #4544
(This used to be commit 8e59a2fedc940b081222b0e8f90fe0c5a0981c06)
|
|
This fixes testparm printing "Error loading services." when there is only
the global section in registry and no other service definition.
Michael
(This used to be commit 28d197220038b9a47af177b88a8587f865e45de5)
|
|
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 used to be commit 5e2b925367241c41793b2eb7a628e9fc9f3ac8ff)
|
|
This is like lp_load(), except that it will load the
registry shares into the services aarray when registry
shares are activated.
Michael
(This used to be commit b387c614ba8d1d3960f6917f03f0fd433cf2b2ee)
|
|
Michael
(This used to be commit e1b76cd5d646bb9083cfca0d15a84183cad72882)
|
|
This allows for registry shares to be activated, i.e. loaded into
the services array at lp_load() time.
Michael
(This used to be commit b3233ecefd5df745ba7e10511f9ab36064036b10)
|
|
This loads the shares defined in registry into the services array.
Michael
(This used to be commit b3a90b72517c2e25d972796908aec4d2b85a030e)
|
|
into new function process_registry_service().
Michael
(This used to be commit 2986e5174e69527465ae7ef8e108110416752b56)
|
|
Michael
(This used to be commit 83cd9f74d57c462ad5c8956b3ce3c81bea429b67)
|
|
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
(This used to be commit c1f300c76e882f2d108596aa3dbc211d545c665a)
|
|
instead of lists of strings and counters directly...
Michael
(This used to be commit 17415e2dc457ce41793a7e28e71f72c538c19c61)
|
|
Michael
(This used to be commit 3acc0d84dc8f29b67ddaa1124224a93cb43b07ad)
|
|
This is what that variable controls now...
Michael
(This used to be commit bba04a8fba6fd5cf62578733cfdabea590e8ff51)
|
|
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
(This used to be commit 1bb28bc1d8e83d174cd171e9d96f22ac524187c3)
|
|
"include =" statements
metze
(This used to be commit 6b5c76bf1e880ec60d6b044c58115940549049e5)
|
|
This includes the configuration stored in HKLM/Software/Samba/smbconf .
Michael
(This used to be commit 42c7fb4ddfab9ff7592593533099ae872c1edca7)
|
|
Use do_parameter() directly.
Michael
(This used to be commit 59b81bfd0abecb190d0c49e62581b26f10b96829)
|
|
Michael
(This used to be commit 78afb30f8073c3804dfa0cecadf973d5af5dd612)
|
|
(This used to be commit cbdb79b7a1044945e515a294f487e4c1a9c91be5)
|
|
we don't want to see this all the times in tests.
Michael
(This used to be commit fd43a4a1e05a2d259dc75bdcb4c0a3d9d8b41739)
|
|
The userdata is currently unused. It can be used in the future for
passing a context like in samba4 code.
Michael
(This used to be commit 31b31171bd88c41443268d3300c492e2347b9e73)
|
|
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
(This used to be commit 96434d9dc7a66773e313cc128af57493dee245a1)
|
|
Hide generic init function taking smbconf_ops argument
from public api.
Michael
(This used to be commit b3f6920ccb9a27fde26e889a7f1f3afaf56b784f)
|
|
That's more appropriate.
Michael
(This used to be commit d7bd9bb8aa2003ec0a9860df26857f67255febe2)
|
|
..for consistency. Exception: the open/init function, where the smbconf_ctx
is created from the given talloc context.
Michael
(This used to be commit 304dba6cb2184437f3edad065a530d03fb704036)
|
|
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 used to be commit 5b6b90900a1a3eab24cb5612d78f9678a363cf73)
|
|
This is necessary now that includes (to files) are enabled from registry.
Michael
(This used to be commit 7dc64d1021e0b8f3339f811c8c144f7013a649a8)
|
|
libnet.h unneeded after separation of libsmbconf from libnet.
Michael
(This used to be commit 5c3f14e02fa7baf11d9a6531f2de3e6b16d843b0)
|
|
Michael
(This used to be commit 097af0309d7c3e9342058ba5266667293b23c80d)
|
|
Michael
(This used to be commit ce943aeb581027daf813528481b44177d391b61d)
|
|
backend registry.
Michael
(This used to be commit b942ff6b7f0be4898e05525558b354533dea312b)
|