Age | Commit message (Collapse) | Author | Files | Lines |
|
This removes file_id_string_static and file_id_string_static2
(This used to be commit 638c848c9afe374feb30e34c494f89b2a6c64f7b)
|
|
Not strictly in the SAM, but close enough. This command acts directly on
the local tdb, no running smbd required
This also changes the root-only check to a warning
(This used to be commit 0c5657b5eff60e3c52de8fbb4ce9346d0341854c)
|
|
Jeremy.
(This used to be commit a58de8cee51c1396a2607ee743c92d58d7703547)
|
|
Thanks to Karolin Seeger <ks@sernet.de>
(This used to be commit 3abf06efc1286090caf380eb685e90ba7f412748)
|
|
(This used to be commit cddb9f11d5fafcd3797cb242775c37f0c04d4f15)
|
|
s/net_use_upn_machine_account/net_use_krb_machine_account/
rafal
(This used to be commit 86af9fedad71697f22cc739518340f7753b8f9da)
|
|
extra args.
Michael
(This used to be commit f1bbf9bc18fc615a5660674f8346b4a7bed50044)
|
|
So there is a new subcommand "smbcontrol winbindd validate-cache" now.
This change provides the infrastructure:
The function currently returns "true" unconditionally.
The call of a real cache validation function will be incorporated
in subsequent changes.
Michael
(This used to be commit ef92d505c04397614cb0dd5ede967e9017a5e302)
|
|
(This used to be commit 55020b07b5568104091352fd3ae21e2b29e34501)
|
|
Rewrite main() so as to exit only at a single point
where the stack frame is freed, too.
Michael
(This used to be commit dbe38995ec6d2251562a3b10e750bbd681008e16)
|
|
it is leaking.
(This used to be commit 705336ee1098a2c4d6e933dfa3e2f2968fa717ad)
|
|
(This used to be commit c97600b96f6315df8ab0d7ad186423ab75dd4ab5)
|
|
This adds the two functions talloc_stackframe() and talloc_tos().
* When a new talloc stackframe is allocated with talloc_stackframe(), then
* the TALLOC_CTX returned with talloc_tos() is reset to that new
* frame. Whenever that stack frame is TALLOC_FREE()'ed, then the reverse
* happens: The previous talloc_tos() is restored.
*
* This API is designed to be robust in the sense that if someone forgets to
* TALLOC_FREE() a stackframe, then the next outer one correctly cleans up and
* resets the talloc_tos().
The original motivation for this patch was to get rid of the
sid_string_static & friends buffers. Explicitly passing talloc context
everywhere clutters code too much for my taste, so an implicit
talloc_tos() is introduced here. Many of these static buffers are
replaced by a single static pointer.
The intended use would thus be that low-level functions can rather
freely push stuff to talloc_tos, the upper layers clean up by freeing
the stackframe. The more of these stackframes are used and correctly
freed the more exact the memory cleanup happens.
This patch removes the main_loop_talloc_ctx, tmp_talloc_ctx and
lp_talloc_ctx (did I forget any?)
So, never do a
tmp_ctx = talloc_init("foo");
anymore, instead, use
tmp_ctx = talloc_stackframe()
:-)
Volker
(This used to be commit 6585ea2cb7f417e14540495b9c7380fe9c8c717b)
|
|
pipe used when connecting to win2k and newer domain controllers. The
server may be configured to deny anonymous netlogon connections which
would stop domain join verification step. Still, winnt domains require
such smb sessions not to be authenticated using machine credentials.
Creds employed in smb session cannot have a username in upn form, so
provide the separate function to use machine account.
rafal
(This used to be commit 30d99d8ac3379caadc5bdb353977149d1ee16403)
|
|
Guenther
(This used to be commit 85c816c27f2b9d20dfaf411b12ec1803a49574ce)
|
|
winxp).
This correctly updates pwdLastSet field on win2k3 server.
rafal
(This used to be commit dd6d44c1665121cff9ccc2c09580169ca4d330b9)
|
|
for fine
grained KDC DNS queries).
Guenther
(This used to be commit 3263cd680fe429430d789b284464fca72ef45719)
|
|
Samba's own registry, the access mask for opening the
registry for the write operations needs to be
SEC_RIGHTS_MAXIMUM_ALLOWED instead of REG_WRITE: we can
not open e.g. HKLM read write explicitly, since we can
not write to this virtual part of the registry, only
to the subkeys like 'HKLM\Software\Samba\smbconf' that
are stored on disk.
Note that MAXIMUM_ALLOWED is also what windows' regedit
passed to the open calls.
Michael
(This used to be commit 57c30f7319b35fa452e8a6c585810e55c7e934b2)
|
|
a parameter and value into the canonical paramter with the value
inverted if it was in invers boolean synonym.
Make net conf use this function when storing parameters.
Michael
(This used to be commit 3b762ab18392fd06427957b0263262e3b8e34b9d)
|
|
and adjust some formattings to standard.
Michael
(This used to be commit 00432bcd69bb1c30774af277af1dc7271380d75b)
|
|
When storing parameters in the smbconf portion of the registry,
up to now, synonyms could be misused to store a parameter twice.
Now this is prevented by canonicalizing the paramter name first.
Also, the value for a boolean parameter checked for validity
before storing the bool in registry.
(The canonicalization should finally go into the registry smbconf
code to also prevent e.g. "regedit" or "net rpc registry" from
storing synonyms. - This is in the making.)
Michael
(This used to be commit 95447dde860f54d835b3fe90d95fe60231788d1b)
|
|
Guenther
(This used to be commit e70bf0ecc3ec6d3ba8ba384024bbdf9a783072ea)
|
|
Guenther
(This used to be commit 5dc791f4cfdee2bc350c1e65aeed5705c1745356)
|
|
metze
(This used to be commit 4c21ebae95f7c07bdde55a9d686af044f2effba4)
|
|
brlocks from the share_mode db, as the same fileid
is used.
metze
(This used to be commit 8cccf470cbce87618753bc205a0c9cac1edf4d9c)
|
|
(This used to be commit 6e6eea64a5f770a585487734b1d0c28746bf5550)
|
|
(This used to be commit d74bbc53c2cf41e7e92309e81bb9c1b3f805cdd1)
|
|
should be properly prototyped. For now, gloss over the warning.
(This used to be commit 2137158260cc9677bf9652a3d85334b0d7512b7b)
|
|
(This used to be commit 69326a56e7fe2681eef3d58a9107765496756de4)
|
|
to fix the cluster case
vl: please check, if this works with clustering = no
metze
(This used to be commit 9d4104b8d5773537f2271f7be1439f1da1e0bf42)
|
|
use a timed event to make sure the timelimit is correctly
handled in smbcontrol when waiting for messages
metze
(This used to be commit 68c786dafacb187dfea83c45b7fd84127dc02e43)
|
|
(This used to be commit cdc8ca57a7eb3e7e33a243e705be8a33c538253a)
|
|
renew,
pac).
Guenther
(This used to be commit 4cada7c1485c9957e553d6e75cb6f30f4338489f)
|
|
Guenther
(This used to be commit 7e2fb14d6e4f58fe6645b7e7468f925c21cb4c9d)
|
|
don't display dead share mode entries in smbstatus
metze
(This used to be commit b52bb1e1556d2f4c2bfbd21e12782420bc26a029)
|
|
substructure.
metze
(This used to be commit 00909194a6c1ed193dfdb296f50f58a53450583c)
|
|
Guenther
(This used to be commit cc41b3b60f5e0c604a764bc5bb1f8ecfe13a36f6)
|
|
callback in
libads.
Guenther
(This used to be commit 311bbbafa6d860b7b632beac6d9249b0a2fafb86)
|
|
(This used to be commit e5d18768a014753c439ba6be24a52b04fed63b31)
|
|
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
|
|
not GNU Library General Public License
(This used to be commit 727a6cf2cba8da6b40610409b264e86e6908eb0c)
|
|
(This used to be commit c14aba93c06348a1f84fc1dd9791ff1159d22c4b)
|
|
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
|
|
alone
client and they all work with this code.
(This used to be commit 44e22581d731572d3fa260b92063922c59ce75db)
|
|
Jeremy.
(This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
|
|
Guenther
(This used to be commit 6fafa64bea4ce6a7a5917fa02ed9c564a7c93ffb)
|
|
(including some valgrind errors, uninitialized vars, etc.)
Guenther
(This used to be commit 1a2878db2d2fcdc53fa74fea48b82a1903e6a1f1)
|
|
for the validity of the given registry key name.
Michael
(This used to be commit 4b4ba7724ee77a93e32cd7f3c5884d965fe9bcaa)
|
|
(This used to be commit 91be38f7ab42991e04a41e91132137a834c10996)
|
|
in the current registry and there is no global section in the input
file (or only global options with default values):
In that case the existing global section is now not touched. Before, it
would have been deleted and recreated empty. The new behaviour is how
other shares are treated too.
Note that since the input file is parsed by lp_load, there is currently
no way to distinguish between a section with only default parameters
and a non-existing section in net conf import.
Michael
PS: A couple of trailing white-spaces have been eliminated
and a line was broken to be not longer than 80 chars, too.
(This used to be commit ec21a0cf9f01986d333b50b883f2105e32cf7fc9)
|