| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
The translate_name() used by cli_session_setup_spnego() cann rely
Winbindd since it is needed by the join process (and hence before
Winbind can be run).
|
|
|
|
| |
3.2.0pre1
|
| |
|
|
|
|
| |
This removes file_id_string_static and file_id_string_static2
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
i.e. it removes the hand woven parsing and marshalling code
and useses the pidl generated code instead.
This removes the files rpc_server/srv_winreg.c,
rpc_parse/parse_reg.c, include/rpc_reg.h and
registry/reg_frontend_legacy.c. It effectively *copies*
the files rpc_client/cli_reg.c and rpc_server/srv_winreg_nt.c.
So not only the rewrite of srv_winreg_nt to use the pidl
based rpc code ist taken but also Volker's rewrite to use
the new reg_api code in r19991 and following.
Furthermore, net_rpc_registry.c is copied from 3_2,
giving us a full command line regedit replacement in 3_2_0.
Michael
PS: This patch sums up to 6309 lines in total, but of this,
there are 2848 lines removed by the four deleted files alone.
Diffstat says: 1098 insertions(+), 4562 deletions(-).
So it's not that bad... :-)
|
|
|
|
| |
Thanks to Karolin Seeger <ks@sernet.de>
|
|
|
|
|
|
|
| |
Replace smb_register_idle_event() with event_add_timed(). This fixes winbind
which did not run the idle events to drop ldap connections.
Volker
|
| |
|
|
|
|
|
|
|
| |
s/net_use_upn_machine_account/net_use_krb_machine_account/
rafal
|
|
|
|
|
|
| |
extra args.
Michael
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
Rewrite main() so as to exit only at a single point
where the stack frame is freed, too.
Michael
|
|
|
|
| |
it is leaking.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
Add machine-authenticated connections to netlogon pipe of win2k and newer
(which may have anonymous connections restricted) and leave anonymous
for winnt domain.
rafal
|
|
|
|
|
|
|
|
|
|
| |
SAMBA_3_0 - this second branch is defunct. You should
be checking into SAMBA_3_2_0 instead - this is what we
will be shipping as 3.2.0.
Jeremy.
Use infolevel 25 to set the machine account's password (just like winxp).
This correctly updates pwdLastSet field on win2k3 server.
|
|
|
|
| |
Guenther
|
|
|
|
|
|
|
|
| |
for fine
grained KDC DNS queries).
Guenther
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
and adjust some formattings to standard.
Michael
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
|
|
| |
use TALLOC_FREE()
metze
|
|
|
|
|
|
|
|
| |
try to get the file name and share patch for printing
brlocks from the share_mode db, as the same fileid
is used.
metze
|
| |
|
|
|
|
| |
should be properly prototyped. For now, gloss over the warning.
|
| |
|
|
|
|
|
|
|
|
| |
to fix the cluster case
vl: please check, if this works with clustering = no
metze
|
|
|
|
|
|
|
| |
use a timed event to make sure the timelimit is correctly
handled in smbcontrol when waiting for messages
metze
|
| |
|
|
|
|
|
|
|
|
| |
renew,
pac).
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
|
|
| |
don't display dead share mode entries in smbstatus
metze
|
|
|
|
|
|
|
| |
move elements belonging to the current ldap connection to a
substructure.
metze
|
|
|
|
| |
Guenther
|
|
|
|
|
|
|
|
| |
callback in
libads.
Guenther
|
|
|
|
| |
This seems to be have broken for quite a while.
|
| |
|
|
|
|
| |
not GNU Library General Public License
|
| |
|
| |
|
|
|
|
|
|
| |
alone
client and they all work with this code.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Guenther
|
|
|
|
|
|
| |
(including some valgrind errors, uninitialized vars, etc.)
Guenther
|