summaryrefslogtreecommitdiff
path: root/source3/rpcclient
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r21609: Fix memory leaks in error code paths (and one in winbindd_group.c).Jeremy Allison1-0/+1
Patch from Zack Kirsch <zack.kirsch@isilon.com>. Jeremy. (This used to be commit df07a662e32367a52c1e8473475423db2ff5bc51)
2007-10-10r21320: Display query_user info level 16 in rpcclient.Günther Deschner1-3/+14
Guenther (This used to be commit bc77622134e606b8a643454493ba316f84312d52)
2007-10-10r21259: Fix coverity bug id #340. No way to processJeremy Allison1-1/+1
logon parameter as the code was written. Jeremy. (This used to be commit 7f1aee96a09d77de76b2cdbe5c2e6f27e6968b09)
2007-10-10r21117: Add rpccli_samr_chgpasswd_user to rpcclient for testing.Günther Deschner1-0/+55
Guenther (This used to be commit 4036cb51692d3f12a8f56a412fa5b2ca830d005b)
2007-10-10r20970: Allow to define workstation for samlogon in rpcclient (for testing).Günther Deschner1-7/+11
Guenther (This used to be commit 5d4747fdf2e5874cb5d2238ee62e4fcac1676134)
2007-10-10r20839: Fix other C++ warningsJelmer Vernooij1-1/+1
(This used to be commit d948d828d591b3467945f5a85a561ebb07299d9f)
2007-10-10r20832: Remove extra pointers previously added to unique [out] pointers. ↵Jelmer Vernooij4-16/+18
Instead, add [ref] pointers where necessary (top-level [ref] pointers, by spec, don't appear on the wire). This brings us closer to the DCE/RPC standard again. (This used to be commit 580f2a7197b1bc9db14a643fdd112b40ef37aaef)
2007-10-10r20090: Fix a class of bugs found by James Peach. EnsureJeremy Allison1-1/+3
we never mix malloc and talloc'ed contexts in the add_XX_to_array() and add_XX_to_array_unique() calls. Ensure that these calls always return False on out of memory, True otherwise and always check them. Ensure that the relevent parts of the conn struct and the nt_user_tokens are TALLOC_DESTROYED not SAFE_FREE'd. James - this should fix your crash bug in both branches. Jeremy. (This used to be commit 0ffca7559e07500bd09a64b775e230d448ce5c24)
2007-10-10r19991: Sorry for this 2000-liner...Volker Lendecke1-4/+3
The main thing here is a rewrite of srv_winreg_nt.c. The core functionality has moved to registry/reg_api.c which is then usable by the rest of Samba as well. On that way it fixes creating keys with more than one element in the path. This did not work before. Two things that sneaked in (sorry :-) is the change of some routines from NTSTATUS to WERROR the removed "parent" argument to regkey_open_internal. Volker (This used to be commit fea52801de8c7b85c578d200c599475680c5339f)
2007-10-10r19849: Fix compilation after idl changes.Jelmer Vernooij1-4/+4
(This used to be commit b7f22408e9aac88e792929afe15385e5997658ce)
2007-10-10r19811: Decode REG_MULTI_SZ and REG_BINARYVolker Lendecke1-1/+1
(This used to be commit 679330175185f8504bb5968339dcc7cb20d9140c)
2007-10-10r19797: Convert the remaining pipes to the "new" unique out ptr handlingVolker Lendecke2-12/+10
(This used to be commit bc4e0a388a2859d2ddcfb8f07920f3b121a37894)
2007-10-10r19794: Convert DFSVolker Lendecke1-5/+8
(This used to be commit 2efd3b35097a780ce99abad8a10eca536f37fc26)
2007-10-10r19790: Check in the PIDL change and the converted unixinfo and winbind ↵Volker Lendecke1-5/+6
pipes without waiting for comments. This is what version control is for, and it does fix a segfault I ran into ;-) Nevertheless, Jelmer & Jerry, please take a look! Thanks, Volker (This used to be commit 95c14a822cae2ddc2e6ed87f5f5505fa7b98e4f0)
2007-10-10r19487: Fix coverity # 313Volker Lendecke1-2/+4
(This used to be commit 0eb5a0f7b8dd26dae489b74e1d2a88188ae9e48d)
2007-10-10r19451: Another cleanup of 18802. Referring to structures after the block ↵Volker Lendecke1-3/+3
has been left is not a good idea. Volker (This used to be commit 88ac17db196c828e15a73c7561fda291b15e2613)
2007-10-10r19355: Add getdispenumindex2 wrapper for rpcclient.Günther Deschner1-12/+44
Guenther (This used to be commit 27c35848ebc6d72fd4fccbb6597b63787230f80c)
2007-10-10r19354: adjust usage printf for rpcclient's timeout command.Günther Deschner1-1/+1
Guenther (This used to be commit fb21c9c58b3867ee2f0831342427b0cd0aa1fd6c)
2007-10-10r19353: Add "timeout" command for rpcclient.Günther Deschner3-3/+40
Guenther (This used to be commit 4106a56d3f4edb2e07e876204743a1cb028c950a)
2007-10-10r19340: Wait longer then 10 seconds for a samr_query_groupmem lookup to succeed.Günther Deschner1-0/+6
Guenther (This used to be commit 37dd019e21cab2f0df314b0b741f79422fc10d1b)
2007-10-10r19161: Add NET_GETANYDCNAME (getdcname only gives the PDC while getanydcnameGünther Deschner1-1/+39
gives just any DC), also make sure to set timeouts in rpcclient accordingly so that we actually get the DC's reply. Guenther (This used to be commit 6091c8152a3998d2503cb0911a217ee904509633)
2007-10-10r19143: getdcname on the NETLOGON pipe returns WERROR, not NTSTATUS.Günther Deschner1-7/+7
Guenther (This used to be commit 44e228ac796fca2db8509915067511ed705032bf)
2007-10-10r19013: Fix some 64-bit warnings.Volker Lendecke3-10/+11
Jelmer, Jerry, in cmd_unixinfo.c:159 there is still the warning that "info" is being used uninitialized which I don't really know how to fix. Any hints? Volker (This used to be commit 4a5d11e194ebdfb6c21586d1cf902f8ed2478e45)
2007-10-10r18935: Make "netshareenum" work again. There is most probably a better way toGünther Deschner1-1/+28
do this... Any pointers? Guenther (This used to be commit 1f09e54fec9ac2e6173272d83d8c96d33636f1a0)
2007-10-10r18874: Fix some NTSTATUS/WERROR mixupsVolker Lendecke1-31/+31
(This used to be commit ecac9b59594ef14a65091591c258b000036575fc)
2007-10-10r18865: fixed some of the most obvious NTSTATUS/WERROR mixups in Samba3. ItAndrew Tridgell1-1/+1
still doesn't compile with immediate structures and the NTSTATUS/WERROR separation, as there are still several places where the two error types are mixed up. I haven't fixed those as they require decisions about the rpcclient code that I really don't want to get into (the error handling there is a mess) So samba3 compiles now, but only becaise HAVE_IMMEDIATE_STRUCTURES is not used (look for HAVE_IMMEDIATE_STRUCTURES_XX_DISABLED) (This used to be commit 8438a6a7d4506d395c8b4bd0e99f9c100e5e3c4e)
2007-10-10r18802: Use the pidl-generated code for the srvsvc interface, both client ↵Jelmer Vernooij1-102/+70
and server code. This has had some basic testing. I'll do more during the next couple of days and hopefully also make RPC-SRVSVC from Samba4 pass against it. (This used to be commit ef10672399c4b82700dc431b4d93431ffdd42d98)
2007-10-10r18747: replace rpccli_lsa_close() with rpccli_lsa_Close()Gerald Carter3-20/+20
(This used to be commit 50d74ce0488a9bd0980cdc6d523a210f6238ef74)
2007-10-10r18745: Use the Samba4 data structures for security descriptors and security ↵Jelmer Vernooij2-2/+2
descriptor buffers. Make security access masks simply a uint32 rather than a structure with a uint32 in it. (This used to be commit b41c52b9db5fc4a553b20a7a5a051a4afced9366)
2007-10-10r18732: Fix build warning as pointed out by Volker.Günther Deschner1-7/+3
Guenther (This used to be commit fccaff37132de499002b9be484055a4fbf722d0d)
2007-10-10r18711: Replace the following hand code client routines:Gerald Carter2-998/+0
* rpccli_reg_abort_shutdown() * rpccli_reg_flush_key() Remove the cmd_reg.c from rpcclient since the entire file was unused (This used to be commit c4788f0c1398feb098f131aa5c4d0398d7489527)
2007-10-10r18702: re-enable non-decimal specification of ridJim McDonough1-2/+2
(This used to be commit f3ff07404650e4b9846367ba981764b1a879bca9)
2007-10-10r18681: Although we have commandline completion in rpcclient, just also allowGünther Deschner1-0/+1
"debug" to be set instead of "debuglevel" - just for convenience. Guenther (This used to be commit ffec64730b04076264045841ccfd0ed7fce43c2f)
2007-10-10r18677: quickly add samr_GetDisplayEnumerationIndex for debugging to rpcclient.Günther Deschner1-1/+64
Guenther (This used to be commit bd546edc482d42c6d783f474eeffa8a8086efd83)
2007-10-10r18619: Add rpcclient helper for samr_querydispinfo2|3 for testing.Günther Deschner1-8/+51
Guenther (This used to be commit 1a307954e5ddc1441524eb6d22258be387cca9d4)
2007-10-10r18617: fix unixinfo call after change to IDL (change from pointer)Gerald Carter1-1/+1
(This used to be commit fd0579b9638260309721a71fbc07e60da0a23ea0)
2007-10-10r18572: Use the autogenerated client and server for the echo interface and ↵Jelmer Vernooij1-13/+18
implement some of the missing functions. RPC-ECHO now passes against Samba3. (This used to be commit 9e9a05366176454cc1779acc6c2b6070743f5939)
2007-10-10r18560: * Add in the winreg and initshutdown IDL filesGerald Carter1-2/+2
* rename PI_SHUTDOWN from include/smb.h to PI_INITSHUTDOWN for compatibility with pidl libndr output (This used to be commit 23a882861311d9d6ca45af1bfcc90d05846ba3a9)
2007-10-10r18469: Use new pidl-generated DFS client code.Jelmer Vernooij1-55/+73
(This used to be commit e277fb067b1a12d816c8a066839751c1824d27bb)
2007-10-10r18394: get the lsa client code to linkGerald Carter1-1/+0
(This used to be commit 96e412a04cedc4c361c08e0ed1d141f3b018728b)
2007-10-10r18271: Big change:Gerald Carter1-3/+3
* autogenerate lsa ndr code * rename 'enum SID_NAME_USE' to 'enum lsa_SidType' * merge a log more security descriptor functions from gen_ndr/ndr_security.c in SAMBA_4_0 The most embarassing thing is the "#define strlen_m strlen" We need a real implementation in SAMBA_3_0 which I'll work on after this code is in. (This used to be commit 3da9f80c28b1e75ef6d46d38fbb81ade6b9fa951)
2007-10-10r18233: Use the autogenerated cli_unixinfo rather than the old one.Jelmer Vernooij1-1/+1
(This used to be commit eec8b915d1bf6e62c45d309579a4f93380aa43a8)
2007-10-10r18188: merge 3.0-libndr branchJelmer Vernooij4-66/+31
(This used to be commit 1115745caed3093c25d6be01ffee21819fb0a675)
2007-10-10r17454: Adding dfs_EnumEx for rpcclient (Samba4 IDL to follow).Günther Deschner1-0/+33
Guenther (This used to be commit 8c1198c1592e7c07904b448ed7a54b9b23c941df)
2007-10-10r17453: Fix msdfs RPC management (this broke with the autogenerated dfs rpcs).Günther Deschner1-2/+2
* Remove "unknown" from dfs_Enum (samba4 dfs IDL updates to follow). * When encountering an unsupported infolevel the rpc server must reply with a dfs_info_0 structure and WERR_OK (observed from w2k3 when talking to nt4). Guenther (This used to be commit f9bef1f08f7d2a4c95c28329ac73e8646f033998)
2007-10-10r17316: More C++ warnings -- 456 leftVolker Lendecke2-4/+6
(This used to be commit 1e4ee728df7eeafc1b4d533240acb032f73b4f5c)
2007-10-10r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison4-12/+215
to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
2007-10-10r16654: Fix bug #3893 reported by jason@ncac.gwu.edu.Jeremy Allison1-4/+2
Jeremy. (This used to be commit 787539489897e79d43eb1833db6f5969b130c934)
2007-10-10r16644: Fix bug #3887 reported by jason@ncac.gwu.eduJeremy Allison1-3/+3
by converting the lookup_XX functions to correctly return SID_NAME_TYPE enums. Jeremy. (This used to be commit ee2b2d96b60c668e37592c79e86c2fd851e15f69)
2007-10-10r16339: Fix Klocwork IDVolker Lendecke2-1/+16
277 278 (cmd_*) 485 487 488 (ldap.c) Volker (This used to be commit 5b1eba76b3ec5cb9b896a9a5641b4d83bdbdd4cf)