summaryrefslogtreecommitdiffstats
path: root/source3/rpcclient
Commit message (Collapse)AuthorAgeFilesLines
* r14399: Fix deadcode coverity bug #3.Jeremy Allison2007-10-101-4/+1
| | | | | Jeremy. (This used to be commit 3799f18b356934592206679310e6e409c0d1ca0f)
* r14340: Fix coverity #78, resource leak in error path.Jeremy Allison2007-10-101-12/+20
| | | | | Jeremy. (This used to be commit 76c4f2c4dc6fcd91a350985b16f4a6a321ac4bf6)
* r14245: We've dereferenced argv before, no point in checking.Volker Lendecke2007-10-101-7/+5
| | | | | | | Fix Coverity bug # 144. Volker (This used to be commit d47ee82f068f1dfbae4a1c81e6bd765d5d36f09f)
* r14217: Fix Coverity Bug # 7Volker Lendecke2007-10-101-1/+1
| | | | (This used to be commit b3cfa292cf204a87acde073e2f800123ee474e40)
* r14216: Fix Coverity bug # 8Volker Lendecke2007-10-101-1/+1
| | | | (This used to be commit e4c9cba2f94043fe3c3e85e5640cfa6bd340b92f)
* r14146: Just some typos.Günther Deschner2007-10-101-1/+1
| | | | | Guenther (This used to be commit ade86cc787e266850fee982b008a9caf2c8ed7e7)
* r14144: allow to set sec_info in rpcclients lsa_query_secobj.Günther Deschner2007-10-101-3/+6
| | | | | Guenther (This used to be commit 18ee669c604b344910308fef81c2544e208ef62c)
* r13945: Move display_sec.c to lib/ (as suggested by Volker).Günther Deschner2007-10-101-187/+0
| | | | | Guenther (This used to be commit 7e80d5358eb181c3515acb732a3594e80391261b)
* r13864: Some cleanup and the samr set security object function client-side.Günther Deschner2007-10-102-5/+52
| | | | | Guenther (This used to be commit 0ae3fddf95a95ec8a2f4d52e1276c1721b33ddfd)
* r13711: * Correctly handle acb_info/acct_flags as uint32 not as uint16.Günther Deschner2007-10-101-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)
* r13571: Replace all calls to talloc_free() with thye TALLOC_FREE()Gerald Carter2007-10-101-1/+1
| | | | | macro which sets the freed pointer to NULL. (This used to be commit b65be8874a2efe5a4b167448960a4fcf6bd995e2)
* r13523: Fix indent.Günther Deschner2007-10-101-13/+13
| | | | | Guenther (This used to be commit 85435bf96114679253551a3e6c5db046b8320611)
* r13522: Add SAMR_GET_USRDOM_PWINFO client-side.Günther Deschner2007-10-101-39/+81
| | | | | Guenther (This used to be commit 290a581b7567eab82b18fbadae9aa2ab29e95069)
* r13448: Fix the build (again).Günther Deschner2007-10-101-1/+1
| | | | | Guenther (This used to be commit 7eacb47660fdb4b0100a778062623ad74b755f34)
* r13442: Implement samr_chgpasswd_user3 server-side.Günther Deschner2007-10-101-0/+77
| | | | | Guenther (This used to be commit f60eddc0a4dfe623e5f115533a62c03810fd5f38)
* r13394: Fix rpcclient to obey the -W parameter. Not that I *like* the smbclientVolker Lendecke2007-10-101-0/+12
| | | | | | | solution, but it does this particular job... :-) Volker (This used to be commit df6d67cd10c0045f3c6f73381716300221cecf18)
* r13379: Andrew correctly noted that this breaks -s. Not sure what to do...Volker Lendecke2007-10-101-10/+10
| | | | (This used to be commit 5f9f772c2539112b17ebd13d7d3f4f7ab6fb141b)
* r13378: Not sure what this breaks, but we have to do the popt processing ↵Volker Lendecke2007-10-101-10/+10
| | | | | | | | | after the lp_load, because otherwise the lp_load overwrites the -W setting again. Volker (This used to be commit c7cc625d6360c1df2e4465d1d5ae792ff63a80de)
* r13316: Let the carnage begin....Gerald Carter2007-10-103-47/+205
| | | | | Sync with trunk as off r13315 (This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)
* r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman2007-10-101-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)
* r13162: Allow to set the flags for a ds_enum_domain_trusts query in rpcclient.Günther Deschner2007-10-101-1/+5
| | | | | Guenther (This used to be commit e52b77b0a4e29387d2333a340868e839683df729)
* r12935: After discussion with Volker fix bug #3397 using a variant of the ↵Alexander Bokovoy2007-10-101-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)
* r12901: Fix netfileenum returning WERR_BUF_TOO_SMALL.Günther Deschner2007-10-101-1/+1
| | | | | Guenther (This used to be commit b8ff07b04afe82bdce5d1f69513ce67ecde5b030)
* r12581: And another one :-)Volker Lendecke2007-10-101-0/+2
| | | | (This used to be commit 3247a4cfc1df27c23806f196257bd8c68cb63176)
* r12414: Remove the unnecessary SMB_STRDUP in server_role_str() + reuse the roleGünther Deschner2007-10-101-21/+0
| | | | | | | translation elsewhere. Guenther (This used to be commit 6c4a6da3dc7cecce09890a0da7d97b9d1bb47827)
* r12131: Fix it really, this time :)Günther Deschner2007-10-101-2/+2
| | | | | Guenther (This used to be commit 4a506dbc3c63b965044aa16374f46531375cc920)
* r12130: display domain GUID.Günther Deschner2007-10-101-1/+1
| | | | | Guenther (This used to be commit 8e63da03665651ab0315d76d27a4ea4375b2acd0)
* r11998: Add lookupname to rpcclient query_user as a fallback, we now accept ↵Volker Lendecke2007-10-101-1/+22
| | | | | | | | | both rid and username. Volker (This used to be commit 8fefafcbb8dc774c7cee2062b13a2790bfc3e5c8)
* r11964: rename flag to password_properties in SAM_UNK_INFO_1 because that's whatGünther Deschner2007-10-101-7/+25
| | | | | | | it is. (SAM_UNK_INFO_1 should get a better name as well). Guenther (This used to be commit d94aaeb625c39b6205fe61c274aed57b1399bafc)
* r11923: Add samr_lookup_rids for the builtin domain. Doing it this way feels ↵Volker Lendecke2007-10-101-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)
* r11858: Fill in the clientside TRUSTED_DOMAIN_INFO_EX query.Günther Deschner2007-10-101-1/+15
| | | | | Guenther (This used to be commit 02f13dee6d0bbca71a991682bfe214ed8363e818)
* r11857: Fix the build.Günther Deschner2007-10-101-1/+1
| | | | | Guenther (This used to be commit 6508cb1c805dee291c87a57998f0f1f53b9a6013)
* r11856: Replace unknown1 with group_attr.Günther Deschner2007-10-101-1/+14
| | | | | | | Can anyone remember why we initialize groups only with 0x03 instead of 0x07 ? Guenther (This used to be commit 3282c7c458d390547fbaca44821eff376e8f9aaa)
* r11853: Add Dsr_GetSiteName (handy for experimenting with GPOs).Günther Deschner2007-10-101-0/+26
| | | | | Guenther (This used to be commit c54430a7b5e40d3bdf8afdc813eb722c0a3b861e)
* r11852: Fill in samr_get_dom_pwinfo based on Samba4.Günther Deschner2007-10-101-4/+23
| | | | | Guenther (This used to be commit a8bc4bc902075cfd009dc92674c4560a44a74277)
* r11706: Implement dsr_getdcname client code. It's handy: It not only gives ↵Volker Lendecke2007-10-101-0/+30
| | | | | | | | | you the IP address but also the fqdn of the remote dc and site info. Volker (This used to be commit 62d01ce7e6c14971084c208ab61f379cb172cb22)
* r11573: Adding Andrew Bartlett's patch to make machine accountJeremy Allison2007-10-101-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)
* r11492: Fix bug #3224 (I hope). Correctly use machine_account_nameJeremy Allison2007-10-101-3/+4
| | | | | | and client_name when doing netlogon credential setup. Jeremy. (This used to be commit 37e6ef9389041f58eada167239fd022f01c5fecb)
* r11454: Last 2 uninitialized warnings.Jeremy Allison2007-10-101-17/+11
| | | | | Jeremy. (This used to be commit 5f10368ff0f5eae646533280a444dc091d732c0d)
* r11286: Fix a potential segfaultVolker Lendecke2007-10-101-7/+10
| | | | (This used to be commit f4c310d55624ab726e3cdc49dcc69f9162c797aa)
* r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4Jeremy Allison2007-10-102-3/+3
| | | | | | x86_64 box. Jeremy. (This used to be commit d720867a788c735e56d53d63265255830ec21208)
* r10656: BIG merge from trunk. Features not copied overGerald Carter2007-10-1012-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)
* r9739: conver the reg_objects (REGSUBKEY_CTR & REGVAL_CTR) to useGerald Carter2007-10-101-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)
* r9200: Add support for REG_BINARY to rpcclient getdata and setprinterdata.Volker Lendecke2007-10-101-6/+24
| | | | | Volker (This used to be commit 9e94ba54b0581e4b7636e70f309af6394de6edbf)
* r9198: Convert hex_encode and strhex_to_data_blob to take a talloc context.Volker Lendecke2007-10-101-4/+3
| | | | | Volker (This used to be commit c7d10e2c834d8d5136e2d01dea1ad286757deddb)
* r9189: Add the capability to set different registry value types (string, ↵Volker Lendecke2007-10-101-14/+85
| | | | | | | | | | | dword and multistring) using setprinterdata. In multistring zero-length strings need to be specified by "NULL", which is a bit crappy. But poptParseArgvString seems to eat '' strings. Fix that in getdata as well. Volker (This used to be commit df85b41462be6367eb0e932fe9de589f72cc5ea2)
* r9076: fix two other issues invented along theGünther Deschner2007-10-101-1/+1
| | | | | | | cli_spoolss_enumprinterkey-changes. Guenther (This used to be commit db8fce2e05bf1981866a7737703ad414ea91febc)
* r8938: fix querydispinfo search semantics.Günther Deschner2007-10-101-3/+3
| | | | | | | Just in case some uses rpcclient for code-testing... Guenther (This used to be commit 624b1c220801834820a605274b1abce883597403)
* r8937: allow to use non-default smb.conf in rpcclientGünther Deschner2007-10-101-5/+5
| | | | | Guenther (This used to be commit c0f3f12a6237842987845f4b4c787e25a632f2f5)
* r8900: fix typo thyat broke compile in my last commitGerald Carter2007-10-101-1/+1
| | | | (This used to be commit 0b9faafe402137f28f99ceb5a2e6f930d2136224)