| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
| |
The man-page (see net(8)) and the usage-info (call "net help rap printq") of
'net rap printq' do contain an option "list" but in net_rap.c
the option is named "info".
Rename the option "list" in the documentation (man-pages + usage) to "info" to
match the code.
Signed-off-by: Kai Blin <kai@samba.org>
|
|
|
|
| |
This fixes bug #5865
|
|
|
|
|
|
|
| |
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
|
|
|
|
|
| |
ads->config.tried_closest_dc was never set.
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
| |
Guenther
|
|
|
|
|
|
| |
This fixes a regression introduced with 52f916c6.
Some net subcommands didn't work when the username, but not the
corresponding password was given on the command line.
|
|
|
|
| |
Jeremy.
|
| |
|
|
|
|
|
|
|
|
| |
This repairs the join verification code which needs to try an anonymous
connection (as an authenticated connection will always fail with
NT_STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT).
Guenther
|
|
|
|
|
|
|
| |
DCERPC_FAULT_INVALID_TAG is returned by older windows releases, in that case it
is wise to do what we did prior to 3.0.28.
Guenther
|
|
|
|
|
| |
Karolin
(cherry picked from commit c967b62dd3c924419fa4a72aa2143d6bef959d18)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-- Summary --
Specifically crafted SMB responses can result
in a heap overflow in the Samba client code.
Because the server process, smbd, can itself
act as a client during operations such as
printer notification and domain authentication,
this issue affects both Samba client and server
installations.
Ensure that we specify the buffer size used to store incoming SMB
packets. This bug was originally introduced in Samba 2.2.4. Patch from
Jeremy Allison.
|
|
|
|
|
|
|
| |
s/net_use_upn_machine_account/net_use_krb_machine_account/
rafal
(cherry picked from commit 86af9fedad71697f22cc739518340f7753b8f9da)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch is based on commit 30d99d8ac3379caadc5bdb353977149d1ee16403
and just a little modified to apply on 3-0-test.
Guenther
Original commit message:
r24789: Add implementation of machine-authenticated connection to netlogon
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
|
|
|
|
| |
Karolin
|
|
|
|
| |
Karolin
|
|
|
|
|
|
|
|
|
|
|
| |
In order to avoid receiving NT_STATUS_DOWNGRADE_DETECTED from a w2k8
netr_ServerAuthenticate2 reply, we need to start with the AD netlogon negotiate
flags everywhere (not only when running in security=ads). Only for NT4 we need
to do a downgrade to the returned negotiate flags.
Tested with w2k8, w2ksp4, w2k3r2 and nt4sp6.
Guenther
|
|
|
|
|
|
| |
This fixes bug #4235.
Patch from Pawel Worach <pawel.worach@gmail.com> with some updates for new
BH messages by me.
|
|
|
|
| |
Karolin
|
|
|
|
|
|
|
|
| |
winxp).
This correctly updates pwdLastSet field on win2k3 server.
rafal
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Author: Jeremy Allison <jra@samba.org>
Date: Wed Jan 23 15:23:16 2008 -0800
Don't leak memory in error path.
Jeremy.
Author: Jeremy Allison <jra@samba.org>
Date: Wed Jan 23 15:00:40 2008 -0800
Use strchr_m in seaching for '.' in the hostname to make sure we're mb safe.
Jeremy.
Author: Andreas Schneider <anschneider@suse.de>
Date: Thu Jan 17 11:35:40 2008 +0100
Fix Windows 2008 (Longhorn) join.
During 'net ads join' the cli->desthost is a hostname (e.g.
rupert.galaxy.site). Check if we have a hostname and use only the
first part, the machine name, of the string.
Author: Andreas Schneider <anschneider@suse.de>
Date: Thu Jan 17 10:11:11 2008 +0100
Windows 2008 (Longhorn) auth2 flag fixes.
Interop fixes for AD specific flags. Original patch from Todd Stetcher.
|
|
|
|
|
|
| |
patch for adding acct_flags to rpccli_samr_create_dom_user().
Jerry please test.
Jeremy.
|
|
|
|
|
| |
from Tom Maher <tmaher@watson.org>.
Jeremy.
|
|
|
|
| |
Michael
|
|
|
|
|
| |
Already fixed differently for 3.2.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
| |
(Unable to open secrets.tdb.)
Michael
|
| |
|
|
|
|
|
|
|
|
| |
winxp).
This correctly updates pwdLastSet field on win2k3 server.
rafal
|
|
|
|
| |
Guenther
|
|
|
|
|
|
| |
(including some valgrind errors, uninitialized vars, etc.)
Guenther
|
|
|
|
|
|
| |
for the validity of the given registry key name.
Michael
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
eliminate "type" parameter since we store only REG_SZ.
Michael
|
|
|
|
|
|
| |
create a temporary talloc ctx for the function.
Michael
|
|
|
|
|
|
|
|
| |
to a function of its own. (for storing it in registry),
Eliminate the valtype variable : store everything as "sz".
Eliminate some trailing white spaces on the way.
Michael
|
|
|
|
| |
Michael
|
|
|
|
|
|
| |
is equal to GLOBAL_NAME.
Michael
|
|
|
|
|
|
|
| |
of the config file fails. That's enough of checking for
existence and readbility to my taste.
Michael
|
|
|
|
| |
Michael
|
|
|
|
|
|
| |
in "net conf setparm".
Michael
|
|
|
|
|
|
|
| |
given to "net conf setparm". Add a utility function
lp_parameter_valid() for this to loadparm.c.
Michael
|
|
|
|
| |
Michael
|
|
|
|
|
|
| |
when deleting a share. Just to be sure...
Michael
|
|
|
|
|
|
| |
net ads keytab list /path/to/krb5.keytab
Guenther
|
|
|
|
| |
Guenther
|