| 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
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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... :-)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Simplify calling convention of timeout_processing. lp_deadtime is only
referenced in conn_idle_all().
Move sending keepalives out of the main processing loop into idle event.
On the way, make lp_keepalive() a proper parameter.
Move sending auth_server keepalives out of the main loop into an idle event.
Move deadtime processing into an idle event. While there, simplify
conn_idle_all() a bit.
|
|
|
|
|
|
|
| |
Replace smb_register_idle_event() with event_add_timed(). This fixes winbind
which did not run the idle events to drop ldap connections.
Volker
|
|
|
|
|
|
|
|
|
|
|
| |
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 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
|
|
|
|
|
|
|
|
|
| |
in the
"not_defined_in_RFC4178@please_ignore" case to make at least LDAP SASL binds
succeed with windows server 2008.
Guenther
|
| |
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
| |
Leaving the commented out code for now, in case I need to re-test
some stuff.
Jeremy
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
rename dcerpc_interface_table -> ndr_interface_table
rename dcerpc_interface_list -> ndr_interface_list
and move them to libndr.h
metze
|
|
|
|
|
|
|
| |
rename struct dcerpc_endpoint_list/struct dcerpc_authservice_list
into ndr_interface_string_array and move it to libndr.h
metze
|
|
|
|
|
|
|
| |
rename struct dcerpc_interface_call -> struct ndr_interface_call
and move it to librpc/ndr/libndr.h
metze
|
|
|
|
|
|
| |
rename dcerpc_syntax_id -> ndr_syntax_id
metze
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
|
|
|
|
|
| |
patch from Bjoern JAcke <bj@SerNet.DE>:
attached patches add EA support for Solaris. If no one disagrees, can
someone check this in please?
metze
|
|
|
|
| |
Guenther
|
|
|
|
|
|
| |
domain local group.
Fix a typo in the PAC debugging routine
|
|
|
|
|
|
|
|
|
|
| |
- make it more clear what the different min and max fields mean
- with the "GSSAPI" sasl mech the plain, sign or seal negotiation
is independed from the req_flags and ret_flags
- verify the server supports the wrapping type we want
- better handling on negotiated buffer sizes
metze
|
|
|
|
|
|
|
|
|
| |
add a file_id_create() hook into the VFS layer
it's needed for some cluster filesystems to
overload this function.
metze
|
|
|
|
|
|
| |
remove unused global variable...
metze
|
|
|
|
|
|
|
|
| |
to fix the cluster case
vl: please check, if this works with clustering = no
metze
|
| |
|
|
|
|
| |
Guenther
|
|
|
|
|
|
|
|
| |
add support for NTLMSSP sign and seal
NOTE: windows servers are broken with sign only...
metze
|
|
|
|
|
|
|
| |
- always provide ads_setup_sasl_wrapping() function
- read/write returning 0 means EOF and we need to return direct
metze
|
|
|
|
|
|
| |
implement output buffer handling for the SASL write wrapper
metze
|
|
|
|
| |
Guenther
|
|
|
|
|
|
| |
implement buffer handling for the SASL read wrapper
metze
|
|
|
|
|
|
|
|
| |
already has
S-1-5-11 in the token.
Guenther
|
|
|
|
|
|
|
|
| |
rename HAVE_ADS_SASL_WRAPPING -> HAVE_LDAP_SASL_WRAPPING
+ adding missing file libads/sasl_wrapping.c
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
|
| |
add dummy callbacks for LDAP SASL wrapping,
they're not used yet...
metze
|
|
|
|
|
|
|
| |
move elements belonging to the current ldap connection to a
substructure.
metze
|
|
|
|
| |
Guenther
|
|
|
|
|
|
|
|
|
|
|
| |
calls and converted reply_tcon and reply_tconX to use
them - to show the boilerplate usage (valgrind tested).
In conjunction with Volker's srvstr_get_path_talloc()
work this should allow us to start eliminating all
pstrings/fstrings out of the main path processing
code.
I'll watch the build farm tonight...
Jeremy.
|
|
|
|
| |
Guenther
|
|
|
|
|
|
|
|
| |
callback in
libads.
Guenther
|
|
|
|
|
|
|
|
| |
for the
extended apply group policy right.
Guenther
|
|
|
|
| |
<gepardcv@yahoo.com> for checking.
|
| |
|
|
|
|
| |
not GNU Library General Public License
|
| |
|