summaryrefslogtreecommitdiff
path: root/source3/rpcclient
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r9198: Convert hex_encode and strhex_to_data_blob to take a talloc context.Volker Lendecke1-4/+3
Volker (This used to be commit c7d10e2c834d8d5136e2d01dea1ad286757deddb)
2007-10-10r9189: Add the capability to set different registry value types (string, ↵Volker Lendecke1-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)
2007-10-10r9076: fix two other issues invented along theGünther Deschner1-1/+1
cli_spoolss_enumprinterkey-changes. Guenther (This used to be commit db8fce2e05bf1981866a7737703ad414ea91febc)
2007-10-10r8938: fix querydispinfo search semantics.Günther Deschner1-3/+3
Just in case some uses rpcclient for code-testing... Guenther (This used to be commit 624b1c220801834820a605274b1abce883597403)
2007-10-10r8937: allow to use non-default smb.conf in rpcclientGünther Deschner1-5/+5
Guenther (This used to be commit c0f3f12a6237842987845f4b4c787e25a632f2f5)
2007-10-10r8900: fix typo thyat broke compile in my last commitGerald Carter1-1/+1
(This used to be commit 0b9faafe402137f28f99ceb5a2e6f930d2136224)
2007-10-10r8899: various compiler warning fixes reported by Jason Mader ↵Gerald Carter1-3/+2
<jason@ncac.gwu.edu> (This used to be commit d8ae9f2b3e5387ef2c4e84cd9c33f4a7c795b0d3)
2007-10-10r8654: merging cli_spoolss_XX() updates from trunkGerald Carter1-222/+138
(This used to be commit cd961e50a3029898868d21263ccacb7d5f1f07b9)
2007-10-10r7632: Cleanup "net share migrate"-code.Günther Deschner1-0/+5
* Allow to copy share security descriptors to already existing shares separatly. * Added abstraction function to enum all or a single share info Guenther (This used to be commit 97097497ae42d7a03286bbe16bcffb8224137688)
2007-10-10r7537: Print passwords in display charset.Günther Deschner1-2/+2
Guenther (This used to be commit f3bdc20ba3de77ceacfd328ff85322666bd81ca8)
2007-10-10r7534: Add missing cli_srvsvc_net_share_set_info-function andGünther Deschner1-0/+83
rpcclient-testers. Needed in preparation of share-ACL migration in net. Guenther (This used to be commit 08d124079f4ed1ad008a83510c05b430c86fbf78)
2007-10-10r7415: * big change -- volker's new async winbindd from trunkGerald Carter1-25/+10
(This used to be commit a0ac9a8ffd4af31a0ebc423b4acbb2f043d865b8)
2007-10-10r7391: - Added client-support for various lsa_query_trust_dom_info-calls and aGünther Deschner2-2/+190
rpcclient-tester for some info-levels. Jerry, I tried to adopt to prs_pointer() where possible and to not interfere with your work for usrmgr. - Add "net rpc trustdom vampire"-tool. This allows to retrieve Interdomain Trust(ed)-Relationships from NT4-Servers including cleartext-passwords (still stored in the local secrets.tdb). The net-hook was done in cooperation with Lars Mueller <lmuelle@suse.de>. To vampire trusted domains simply call: net rpc trustdom vampire -S nt4dc -Uadmin%pass Guenther (This used to be commit 512585293963a1737f831af697ea1dc092d63cb0)
2007-10-10r6445: Make us survive the PARANOID_MALLOC_CHECKER. Should we enable that forVolker Lendecke1-5/+5
--enable-developer=yes? Volker (This used to be commit 61d40ac60dd9c8c9bbcf92e4fc57fe1d706bc721)
2007-10-10r6263: Get rid of generate_wellknown_sids, they are const static and ↵Volker Lendecke1-12/+0
initializable statically. Volker (This used to be commit 3493d9f383567d286e69c0e60c0708ed400a04d9)
2007-10-10r6232: more cleanups; remove BUFFER3; rename BUFFER4 -> RPC_DATA_BLOB; ↵Gerald Carter1-10/+10
rename REG_CREATE_VALE -> REG_SET_VALUE (This used to be commit 28d433351cf813c7fb57ebac0e0f4973c85f73e8)
2007-10-10r6117: Close handles after group-creation as well.Günther Deschner1-0/+9
Guenther (This used to be commit f41f1437e7682ecd7e381357fa2acc74ad970fe7)
2007-10-10r6110: Close handles on user creation. This allows easy mass creation of ↵Volker Lendecke1-0/+9
users with rpcclient. Volker (This used to be commit 1a56a4fd3e09361e44c8ff4666bd6091db0b945d)
2007-10-10r6080: Port some of the non-critical changes from HEAD to 3_0. The main one ↵Volker Lendecke1-18/+36
is the change in pdb_enum_alias_memberships to match samr.idl a bit closer. Volker (This used to be commit 3a6786516957d9f67af6d53a3167c88aa272972f)
2007-10-10r6014: rather large change set....Gerald Carter1-3/+9
pulling back all recent rpc changes from trunk into 3.0. I've tested a compile and so don't think I've missed any files. But if so, just mail me and I'll clean backup in a couple of hours. Changes include \winreg, \eventlog, \svcctl, and general parse_misc.c updates. I am planning on bracketing the event code with an #ifdef ENABLE_EVENTLOG until I finish merging Marcin's changes (very soon). (This used to be commit 4e0ac63c36527cd8c52ef720cae17e84f67e7221)
2007-10-10r5961: final round of compiler warning fixes based on feedback from Jason MaderGerald Carter1-0/+6
(This used to be commit 9e77da9320c900b3e437d534e31fa5ff81e9acfd)