summaryrefslogtreecommitdiff
path: root/source3/rpcclient
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r15442: Add some more client rpc for the querydominfo calls (from samba4 idl).Günther Deschner1-0/+62
Also return the hostname for the level 6 call (to be consistent with the server name in level 2). Guenther (This used to be commit 41b72e77ae70c96de4659af6b4b6bd842dd67981)
2007-10-10r15041: Adding rpc client calls to manipulate auditing policies on remote CIFSGünther Deschner1-41/+115
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 (This used to be commit 0fed66926f4b72444abfc8ffb8c46cca8d0600aa)
2007-10-10r14833: Fix resource leak on error code path. Coverity #280.Jeremy Allison1-2/+3
Jeremy. (This used to be commit b985bdcb87eeb70725f2d625a4ea5ec39bda1b94)
2007-10-10r14646: Adding samr querygroup infolevels 2 & 5.Günther Deschner1-12/+43
Guenther (This used to be commit 6c4fe819c69f281915ad0f4c3bde4dfb194aa33a)
2007-10-10r14579: Add REJECT_REASON_OTHER in the rpcclient chgpasswd3.Günther Deschner1-1/+2
Guenther (This used to be commit 9de3e9e6b26bebc580b771f9020fc7934e44d51c)
2007-10-10r14495: Allow to play with the logon_param flag when testing samlogons.Günther Deschner1-22/+21
Guenther (This used to be commit 52d721b6384cf6f94e1ebb59d21bf09737a539b5)
2007-10-10r14399: Fix deadcode coverity bug #3.Jeremy Allison1-4/+1
Jeremy. (This used to be commit 3799f18b356934592206679310e6e409c0d1ca0f)
2007-10-10r14340: Fix coverity #78, resource leak in error path.Jeremy Allison1-12/+20
Jeremy. (This used to be commit 76c4f2c4dc6fcd91a350985b16f4a6a321ac4bf6)
2007-10-10r14245: We've dereferenced argv before, no point in checking.Volker Lendecke1-7/+5
Fix Coverity bug # 144. Volker (This used to be commit d47ee82f068f1dfbae4a1c81e6bd765d5d36f09f)
2007-10-10r14217: Fix Coverity Bug # 7Volker Lendecke1-1/+1
(This used to be commit b3cfa292cf204a87acde073e2f800123ee474e40)
2007-10-10r14216: Fix Coverity bug # 8Volker Lendecke1-1/+1
(This used to be commit e4c9cba2f94043fe3c3e85e5640cfa6bd340b92f)
2007-10-10r14146: Just some typos.Günther Deschner1-1/+1
Guenther (This used to be commit ade86cc787e266850fee982b008a9caf2c8ed7e7)
2007-10-10r14144: allow to set sec_info in rpcclients lsa_query_secobj.Günther Deschner1-3/+6
Guenther (This used to be commit 18ee669c604b344910308fef81c2544e208ef62c)
2007-10-10r13945: Move display_sec.c to lib/ (as suggested by Volker).Günther Deschner1-187/+0
Guenther (This used to be commit 7e80d5358eb181c3515acb732a3594e80391261b)
2007-10-10r13864: Some cleanup and the samr set security object function client-side.Günther Deschner2-5/+52
Guenther (This used to be commit 0ae3fddf95a95ec8a2f4d52e1276c1721b33ddfd)
2007-10-10r13711: * Correctly handle acb_info/acct_flags as uint32 not as uint16.Günther Deschner1-4/+4
* Fix a couple of related parsing issues. * in the info3 reply in a samlogon, return the ACB-flags (instead of returning zero) Guenther (This used to be commit 5b89e8bc24f0fdc8b52d5c9e849aba723df34ea7)
2007-10-10r13571: Replace all calls to talloc_free() with thye TALLOC_FREE()Gerald Carter1-1/+1
macro which sets the freed pointer to NULL. (This used to be commit b65be8874a2efe5a4b167448960a4fcf6bd995e2)
2007-10-10r13523: Fix indent.Günther Deschner1-13/+13
Guenther (This used to be commit 85435bf96114679253551a3e6c5db046b8320611)
2007-10-10r13522: Add SAMR_GET_USRDOM_PWINFO client-side.Günther Deschner1-39/+81
Guenther (This used to be commit 290a581b7567eab82b18fbadae9aa2ab29e95069)
2007-10-10r13448: Fix the build (again).Günther Deschner1-1/+1
Guenther (This used to be commit 7eacb47660fdb4b0100a778062623ad74b755f34)
2007-10-10r13442: Implement samr_chgpasswd_user3 server-side.Günther Deschner1-0/+77
Guenther (This used to be commit f60eddc0a4dfe623e5f115533a62c03810fd5f38)
2007-10-10r13394: Fix rpcclient to obey the -W parameter. Not that I *like* the smbclientVolker Lendecke1-0/+12
solution, but it does this particular job... :-) Volker (This used to be commit df6d67cd10c0045f3c6f73381716300221cecf18)
2007-10-10r13379: Andrew correctly noted that this breaks -s. Not sure what to do...Volker Lendecke1-10/+10
(This used to be commit 5f9f772c2539112b17ebd13d7d3f4f7ab6fb141b)
2007-10-10r13378: Not sure what this breaks, but we have to do the popt processing ↵Volker Lendecke1-10/+10
after the lp_load, because otherwise the lp_load overwrites the -W setting again. Volker (This used to be commit c7cc625d6360c1df2e4465d1d5ae792ff63a80de)
2007-10-10r13316: Let the carnage begin....Gerald Carter3-47/+205
Sync with trunk as off r13315 (This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)
2007-10-10r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman1-1/+1
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.) (This used to be commit f2a24de769d1b2266e576597c57a8e3b1e2a2b51)
2007-10-10r13162: Allow to set the flags for a ds_enum_domain_trusts query in rpcclient.Günther Deschner1-1/+5
Guenther (This used to be commit e52b77b0a4e29387d2333a340868e839683df729)
2007-10-10r12935: After discussion with Volker fix bug #3397 using a variant of the ↵Alexander Bokovoy1-0/+11
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. (This used to be commit 93461646ce2ad6e2f8b11d40ce98722d56a83b43)
2007-10-10r12901: Fix netfileenum returning WERR_BUF_TOO_SMALL.Günther Deschner1-1/+1
Guenther (This used to be commit b8ff07b04afe82bdce5d1f69513ce67ecde5b030)
2007-10-10r12581: And another one :-)Volker Lendecke1-0/+2
(This used to be commit 3247a4cfc1df27c23806f196257bd8c68cb63176)
2007-10-10r12414: Remove the unnecessary SMB_STRDUP in server_role_str() + reuse the roleGünther Deschner1-21/+0
translation elsewhere. Guenther (This used to be commit 6c4a6da3dc7cecce09890a0da7d97b9d1bb47827)
2007-10-10r12131: Fix it really, this time :)Günther Deschner1-2/+2
Guenther (This used to be commit 4a506dbc3c63b965044aa16374f46531375cc920)
2007-10-10r12130: display domain GUID.Günther Deschner1-1/+1
Guenther (This used to be commit 8e63da03665651ab0315d76d27a4ea4375b2acd0)
2007-10-10r11998: Add lookupname to rpcclient query_user as a fallback, we now accept ↵Volker Lendecke1-1/+22
both rid and username. Volker (This used to be commit 8fefafcbb8dc774c7cee2062b13a2790bfc3e5c8)
2007-10-10r11964: rename flag to password_properties in SAM_UNK_INFO_1 because that's whatGünther Deschner1-7/+25
it is. (SAM_UNK_INFO_1 should get a better name as well). Guenther (This used to be commit d94aaeb625c39b6205fe61c274aed57b1399bafc)
2007-10-10r11923: Add samr_lookup_rids for the builtin domain. Doing it this way feels ↵Volker Lendecke1-8/+15
a bit wrong, but so far we don't have proper multi-domain support in passdb yet... Volker (This used to be commit c917cfc320f0250d23fda3525a7632bc01643707)
2007-10-10r11858: Fill in the clientside TRUSTED_DOMAIN_INFO_EX query.Günther Deschner1-1/+15
Guenther (This used to be commit 02f13dee6d0bbca71a991682bfe214ed8363e818)
2007-10-10r11857: Fix the build.Günther Deschner1-1/+1
Guenther (This used to be commit 6508cb1c805dee291c87a57998f0f1f53b9a6013)
2007-10-10r11856: Replace unknown1 with group_attr.Günther Deschner1-1/+14
Can anyone remember why we initialize groups only with 0x03 instead of 0x07 ? Guenther (This used to be commit 3282c7c458d390547fbaca44821eff376e8f9aaa)
2007-10-10r11853: Add Dsr_GetSiteName (handy for experimenting with GPOs).Günther Deschner1-0/+26
Guenther (This used to be commit c54430a7b5e40d3bdf8afdc813eb722c0a3b861e)
2007-10-10r11852: Fill in samr_get_dom_pwinfo based on Samba4.Günther Deschner1-4/+23
Guenther (This used to be commit a8bc4bc902075cfd009dc92674c4560a44a74277)
2007-10-10r11706: Implement dsr_getdcname client code. It's handy: It not only gives ↵Volker Lendecke1-0/+30
you the IP address but also the fqdn of the remote dc and site info. Volker (This used to be commit 62d01ce7e6c14971084c208ab61f379cb172cb22)
2007-10-10r11573: Adding Andrew Bartlett's patch to make machine accountJeremy Allison1-1/+1
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. (This used to be commit d1caef866326346fb191f8129d13d98379f18cd8)
2007-10-10r11492: Fix bug #3224 (I hope). Correctly use machine_account_nameJeremy Allison1-3/+4
and client_name when doing netlogon credential setup. Jeremy. (This used to be commit 37e6ef9389041f58eada167239fd022f01c5fecb)
2007-10-10r11454: Last 2 uninitialized warnings.Jeremy Allison1-17/+11
Jeremy. (This used to be commit 5f10368ff0f5eae646533280a444dc091d732c0d)
2007-10-10r11286: Fix a potential segfaultVolker Lendecke1-7/+10
(This used to be commit f4c310d55624ab726e3cdc49dcc69f9162c797aa)
2007-10-10r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4Jeremy Allison2-3/+3
x86_64 box. Jeremy. (This used to be commit d720867a788c735e56d53d63265255830ec21208)
2007-10-10r10656: BIG merge from trunk. Features not copied overGerald Carter12-583/+931
* \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
2007-10-10r9739: conver the reg_objects (REGSUBKEY_CTR & REGVAL_CTR) to useGerald Carter1-5/+8
the new talloc() features: Note that the REGSUB_CTR and REGVAL_CTR objects *must* be talloc()'d since the methods use the object pointer as the talloc context for internal private data. There is no longer a regXXX_ctr_intit() and regXXX_ctr_destroy() pair of functions. Simply TALLOC_ZERO_P() and TALLOC_FREE() the object. Also had to convert the printer_info_2->NT_PRINTER_DATA field to be talloc()'d as well. This is just a stop on the road to cleaning up the printer memory management. (This used to be commit ef721333ab9639cb5346067497e99fbd0d4425dd)
2007-10-10r9200: Add support for REG_BINARY to rpcclient getdata and setprinterdata.Volker Lendecke1-6/+24
Volker (This used to be commit 9e94ba54b0581e4b7636e70f309af6394de6edbf)