Jeremy Allison
502f3e911a
r15556: Better fix for leading // or \\ from "David R. Linn"
...
<drl@vuse.vanderbilt.edu>.
Jeremy.
2007-10-10 11:16:59 -05:00
Günther Deschner
a80f366057
r15553: minor rpcclient cleanup: length is already set in data_blob.
...
Guenther
2007-10-10 11:16:59 -05:00
Jeremy Allison
45cfba12cf
r15537: Ignore // or \\ in //server or \\server.
...
Jeremy.
2007-10-10 11:16:56 -05:00
Günther Deschner
41b72e77ae
r15442: Add some more client rpc for the querydominfo calls (from samba4 idl).
...
Also return the hostname for the level 6 call (to be consistent with the
server name in level 2).
Guenther
2007-10-10 11:16:44 -05:00
Günther Deschner
0fed66926f
r15041: Adding rpc client calls to manipulate auditing policies on remote CIFS
...
servers. Also add a new "net rpc audit" tool. The lsa query infolevels
were taken from samb4 IDL, the lsa policy flags and categories are
partly documented on msdn. I need to cleanup the double
lsa_query_info_policy{2}{_new} calls next.
Guenther
2007-10-10 11:15:59 -05:00
Jeremy Allison
b985bdcb87
r14833: Fix resource leak on error code path. Coverity #280 .
...
Jeremy.
2007-10-10 11:15:50 -05:00
Günther Deschner
6c4fe819c6
r14646: Adding samr querygroup infolevels 2 & 5.
...
Guenther
2007-10-10 11:15:42 -05:00
Günther Deschner
9de3e9e6b2
r14579: Add REJECT_REASON_OTHER in the rpcclient chgpasswd3.
...
Guenther
2007-10-10 11:15:38 -05:00
Günther Deschner
52d721b638
r14495: Allow to play with the logon_param flag when testing samlogons.
...
Guenther
2007-10-10 11:15:34 -05:00
Jeremy Allison
3799f18b35
r14399: Fix deadcode coverity bug #3 .
...
Jeremy.
2007-10-10 11:15:28 -05:00
Jeremy Allison
76c4f2c4dc
r14340: Fix coverity #78 , resource leak in error path.
...
Jeremy.
2007-10-10 11:15:26 -05:00
Volker Lendecke
d47ee82f06
r14245: We've dereferenced argv before, no point in checking.
...
Fix Coverity bug # 144.
Volker
2007-10-10 11:15:20 -05:00
Volker Lendecke
b3cfa292cf
r14217: Fix Coverity Bug # 7
2007-10-10 11:15:17 -05:00
Volker Lendecke
e4c9cba2f9
r14216: Fix Coverity bug # 8
2007-10-10 11:15:17 -05:00
Günther Deschner
ade86cc787
r14146: Just some typos.
...
Guenther
2007-10-10 11:15:13 -05:00
Günther Deschner
18ee669c60
r14144: allow to set sec_info in rpcclients lsa_query_secobj.
...
Guenther
2007-10-10 11:15:13 -05:00
Günther Deschner
7e80d5358e
r13945: Move display_sec.c to lib/ (as suggested by Volker).
...
Guenther
2007-10-10 11:11:00 -05:00
Günther Deschner
0ae3fddf95
r13864: Some cleanup and the samr set security object function client-side.
...
Guenther
2007-10-10 11:10:57 -05:00
Günther Deschner
5b89e8bc24
r13711: * Correctly handle acb_info/acct_flags as uint32 not as uint16.
...
* Fix a couple of related parsing issues.
* in the info3 reply in a samlogon, return the ACB-flags (instead of
returning zero)
Guenther
2007-10-10 11:10:25 -05:00
Gerald Carter
b65be8874a
r13571: Replace all calls to talloc_free() with thye TALLOC_FREE()
...
macro which sets the freed pointer to NULL.
2007-10-10 11:10:14 -05:00
Günther Deschner
85435bf961
r13523: Fix indent.
...
Guenther
2007-10-10 11:10:09 -05:00
Günther Deschner
290a581b75
r13522: Add SAMR_GET_USRDOM_PWINFO client-side.
...
Guenther
2007-10-10 11:10:09 -05:00
Günther Deschner
7eacb47660
r13448: Fix the build (again).
...
Guenther
2007-10-10 11:10:03 -05:00
Günther Deschner
f60eddc0a4
r13442: Implement samr_chgpasswd_user3 server-side.
...
Guenther
2007-10-10 11:10:03 -05:00
Volker Lendecke
df6d67cd10
r13394: Fix rpcclient to obey the -W parameter. Not that I *like* the smbclient
...
solution, but it does this particular job... :-)
Volker
2007-10-10 11:09:58 -05:00
Volker Lendecke
5f9f772c25
r13379: Andrew correctly noted that this breaks -s. Not sure what to do...
2007-10-10 11:09:57 -05:00
Volker Lendecke
c7cc625d63
r13378: Not sure what this breaks, but we have to do the popt processing after the
...
lp_load, because otherwise the lp_load overwrites the -W setting again.
Volker
2007-10-10 11:09:57 -05:00
Gerald Carter
17e63ac4ed
r13316: Let the carnage begin....
...
Sync with trunk as off r13315
2007-10-10 11:06:23 -05:00
Derrell Lipman
f2a24de769
r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500
...
lp_load() could not be called multiple times to modify parameter settings based
on reading from multiple configuration settings. Each time, it initialized all
of the settings back to their defaults before reading the specified
configuration file.
This patch adds a parameter to lp_load() specifying whether the settings should
be initialized. It does, however, still force the settings to be initialized
the first time, even if the request was to not initialize them. (Not doing so
could wreak havoc due to uninitialized values.)
2007-10-10 11:06:18 -05:00
Günther Deschner
e52b77b0a4
r13162: Allow to set the flags for a ds_enum_domain_trusts query in rpcclient.
...
Guenther
2007-10-10 11:06:16 -05:00
Alexander Bokovoy
93461646ce
r12935: After discussion with Volker fix bug #3397 using a variant of the patch by Alex Deiter (tiamat@komi.mts.ru).
...
Introduces level 9 of getuserinfo and allows to successfully install MS SMS2003
on a member of a Samba domain. Also added support for this level in rpcclient.
The code for infolevel 9 is modelled upon Samba-TNG by Alex Deiter.
Jerry, we need this in 3.0.21b.
2007-10-10 11:06:08 -05:00
Günther Deschner
b8ff07b04a
r12901: Fix netfileenum returning WERR_BUF_TOO_SMALL.
...
Guenther
2007-10-10 11:06:06 -05:00
Volker Lendecke
3247a4cfc1
r12581: And another one :-)
2007-10-10 11:06:00 -05:00
Günther Deschner
6c4a6da3dc
r12414: Remove the unnecessary SMB_STRDUP in server_role_str() + reuse the role
...
translation elsewhere.
Guenther
2007-10-10 11:05:55 -05:00
Günther Deschner
4a506dbc3c
r12131: Fix it really, this time :)
...
Guenther
2007-10-10 11:05:46 -05:00
Günther Deschner
8e63da0366
r12130: display domain GUID.
...
Guenther
2007-10-10 11:05:46 -05:00
Volker Lendecke
8fefafcbb8
r11998: Add lookupname to rpcclient query_user as a fallback, we now accept both rid
...
and username.
Volker
2007-10-10 11:05:41 -05:00
Günther Deschner
d94aaeb625
r11964: rename flag to password_properties in SAM_UNK_INFO_1 because that's what
...
it is. (SAM_UNK_INFO_1 should get a better name as well).
Guenther
2007-10-10 11:05:40 -05:00
Volker Lendecke
c917cfc320
r11923: Add samr_lookup_rids for the builtin domain. Doing it this way feels a bit
...
wrong, but so far we don't have proper multi-domain support in passdb yet...
Volker
2007-10-10 11:05:36 -05:00
Günther Deschner
02f13dee6d
r11858: Fill in the clientside TRUSTED_DOMAIN_INFO_EX query.
...
Guenther
2007-10-10 11:05:31 -05:00
Günther Deschner
6508cb1c80
r11857: Fix the build.
...
Guenther
2007-10-10 11:05:31 -05:00
Günther Deschner
3282c7c458
r11856: Replace unknown1 with group_attr.
...
Can anyone remember why we initialize groups only with 0x03 instead of 0x07 ?
Guenther
2007-10-10 11:05:30 -05:00
Günther Deschner
c54430a7b5
r11853: Add Dsr_GetSiteName (handy for experimenting with GPOs).
...
Guenther
2007-10-10 11:05:30 -05:00
Günther Deschner
a8bc4bc902
r11852: Fill in samr_get_dom_pwinfo based on Samba4.
...
Guenther
2007-10-10 11:05:30 -05:00
Volker Lendecke
62d01ce7e6
r11706: Implement dsr_getdcname client code. It's handy: It not only gives you the IP
...
address but also the fqdn of the remote dc and site info.
Volker
2007-10-10 11:05:24 -05:00
Jeremy Allison
d1caef8663
r11573: Adding Andrew Bartlett's patch to make machine account
...
logons work if the client gives the MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT
or MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT flags. This changes
the auth module interface to 2 (from 1). The effect of this is
that clients can access resources as a machine account if they
set these flags. This is the same as Windows (think of a VPN
where the vpn client authenticates itself to a VPN server
using machine account credentials - the vpn server checks
that the machine password was valid by performing a machine
account check with the PDC in the same was as it would a
user account check. I may add in a restriction (parameter)
to allow this behaviour to be turned off (as it was previously).
That may be on by default.
Andrew Bartlett please review this change carefully.
Jeremy.
2007-10-10 11:05:20 -05:00
Jeremy Allison
37e6ef9389
r11492: Fix bug #3224 (I hope). Correctly use machine_account_name
...
and client_name when doing netlogon credential setup.
Jeremy.
2007-10-10 11:05:18 -05:00
Jeremy Allison
5f10368ff0
r11454: Last 2 uninitialized warnings.
...
Jeremy.
2007-10-10 11:05:17 -05:00
Volker Lendecke
f4c310d556
r11286: Fix a potential segfault
2007-10-10 11:05:10 -05:00
Jeremy Allison
d720867a78
r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4
...
x86_64 box.
Jeremy.
2007-10-10 11:05:02 -05:00