summaryrefslogtreecommitdiff
path: root/source3/rpc_client
AgeCommit message (Collapse)AuthorFilesLines
2003-01-04Merge from HEAD - idra's fix for the fact that the shutdown command takes two 1Andrew Bartlett1-2/+3
byte boolean flags, not a 16 bit bitmask. Andrew Bartlett (This used to be commit a4f7777ca08c732ace2ba60bc0ecffbea1239fc3)
2003-01-03Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett2-9/+9
warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2002-12-08fix rpcclient querygroup command (from 2.2 and head)Simo Sorce1-3/+3
(This used to be commit ea2154b2692f76a3f0d597ddc154ecbbef72de60)
2002-12-02Ensure callid is not used uninitialized.Jeremy Allison1-1/+1
Jeremy. (This used to be commit ddd70995951c072a02fc3bddd7a94ccbf301f62c)
2002-11-27* finializnig RedHat package for alpha21 releaseGerald Carter1-1/+1
* fix cli_ds_getprimarydominfo() (bad memcpy() ) (This used to be commit e6184bbd8f87586e8cc98e4c599cf8e16f310bb9)
2002-11-19Merge from appliance:Tim Potter1-6/+16
>Fix memory leak in cli_ds_getprimarydominfo() (This used to be commit ca689916da200f2d772b007a913665a6b7df5bd7)
2002-11-12Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison2-24/+17
dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy. (This used to be commit f755711df8f74f9b8e8c1a2b0d07d02a931eeb89)
2002-11-08Sync with HEAD to get enumprinterkey api.Jim McDonough1-0/+100
(This used to be commit f6e21ba4c724f77586ef428f82126d209b0a9607)
2002-11-07Merge Jim's new rpc client code to 3.0.Jeremy Allison1-110/+145
Jeremy. (This used to be commit 121c456d4347bbefd9b2ce0141e3f53a21f37066)
2002-11-07Merge of scalable printing code fix... Needs testing.Jeremy Allison1-2/+2
Jeremy. (This used to be commit d030df76439c72825d68410211e62090438cef54)
2002-11-02Display pipe name in rpc bind failure debug.Tim Potter1-1/+2
(This used to be commit 70838b33a61a10e9bd1622611a6be3b0cac08479)
2002-11-01Tidyup of some DCERPC pipe connection debugs. The new LSA_DS stuffTim Potter1-4/+3
generates some errors we haven't seen before which are inappropriately logged at level 0. (This used to be commit 40d5112048ab0943caef7149b7a0d9dee5256b87)
2002-10-21Fix a silly memset typo.Tim Potter1-2/+2
Change a int* to a uint32* in the cli_spoolss_enum_ports() function. (This used to be commit 41a22b3a005876bccacd1f14d70547d2d71d1b1f)
2002-10-21Zero tallocated memory in decode_printer_info, decode_driver_info,Tim Potter1-0/+10
decode_port_info and decode_printerdriver functions. (This used to be commit e28a719f04f8812ce01d78cf84b3a2e2935b674d)
2002-10-17Merge of SMB_ASSERT.Tim Potter1-2/+3
(This used to be commit 1094e1ffde09b0393b11d2cce148b6da893348c1)
2002-10-08merge from APP_HEAD of winbindd's domain local group fixGerald Carter1-0/+16
(This used to be commit 09c6f6329d6ae9327b7ef06de0ea78d24d805456)
2002-10-04* merge native_mode flag in winbindd_domain struct from app-headGerald Carter1-31/+11
* add some files missing from a previous commit (This used to be commit 29159c97371c75327e377f9d13406dad46095568)
2002-10-04merge of working dsrolegetprimdominfo() client code from APP_HEADGerald Carter1-1/+1
(This used to be commit 028477e35208e76fedbc7c743426fd9be94b7cf0)
2002-10-04This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User1-0/+63
used to be commit 7950dfc795568798e8ede784b4e8b927be0add49)
2002-10-04merge of working dsrolegetprimdominfo() client code from APP_HEADGerald Carter2-1/+64
(This used to be commit f70caa25e4ee198151b915cf2bc0a26b2d0e243d)
2002-10-04merge of new client side support the Win2k LSARPC UUID in rpcbindGerald Carter2-30/+79
from APP_HEAD (This used to be commit 1cfd2ee433305e91e87804dd55d10e025d30a69e)
2002-10-04merge of new client side support the Win2k LSARPC UUID in rpcbindGerald Carter2-30/+79
from APP_HEAD (This used to be commit 38c9e4299845fd77cc8629945ce2d259489f7437)
2002-09-26remove files not in HEADGerald Carter3-1142/+0
(This used to be commit 9d9f7bbf87bf9a0e003e6da482615fe040d00852)
2002-09-25sync'ing up for 3.0alpha20 releaseGerald Carter4-69/+371
(This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
2002-09-10change notify merge from APP_HEADGerald Carter1-0/+3
(This used to be commit b5227f0a645fdf2358fcb880f22e4662efdfe8e3)
2002-09-09Return WERR_UNKNOWN_LEVEL for unknown info levels.Tim Potter1-3/+12
(This used to be commit d30da51956accfc4ea4662cece00d4df223421cd)
2002-09-09Return WERR_UNKNOWN_LEVEL for getprinterdriver level 6 as we don'tTim Potter1-0/+3
know how to decode a printer driver into a DRIVER_INFO_6 structure. (This used to be commit 1338f623c2a1e539ee9ee5fedbaf16baf3eb171e)
2002-09-06cli_spoolss_enumprinterdrivers:Tim Potter1-0/+4
Return WERR_UNKNOWN_LEVEL if we can't decode the returned buffer. (This used to be commit 0379a32d825e036c7f0dcabef46547cd678a2a1d)
2002-09-03Conver cli_spoolss routines to use REGISTRY_VALUE and REGVAL_CTR code. Nice ↵Tim Potter1-67/+34
one jerry! (Hey I thought I checked this in already?) (This used to be commit f0c6303bebe0f494d70ac5371d7f6727413fe482)
2002-09-03Change JOB_INFO_CTR to return a pointer to an array rather than array of ↵Tim Potter1-4/+47
pointers. Implemented client function for deleteprinterdataex. (This used to be commit f7641c8fd1079c2ef444d4bca5b97b1285733d10)
2002-09-03Return data from enumprinterdataex by deep copying on passed in tdb context.Tim Potter1-1/+17
(This used to be commit 1f629aa54ea3733c356c21f9f707b7f6075f6429)
2002-09-02Implemented some more client side spoolss functions:Tim Potter1-1/+162
- getprinterdataex(), setprinterdataex(), enumprinterdataex() Pass data type down to setprinterdata() fn instead of hardcoding REG_SZ (This used to be commit 62a60782533851b3380aa0db300fa16dfe6ca72e)
2002-08-30added cli_net_auth_3 client code.Jean-François Micouleau1-13/+96
changed cli_nt_setup_creds() to call cli_net_auth_2 or cli_net_auth_3 based on a switch. pass also the negociation flags all the way. all the places calling cli_nt_setup_creds() are still using cli_net_aut2(), it's just for future use and for rpcclient. in the future we will be able to call auth_2 or auth_3 as we want. J.F. (This used to be commit 4d38caca40f98d0584fefb9d66424a3db5b5789e)
2002-08-27Don't try to convert enumprinters name to a unc name.Tim Potter1-11/+1
(This used to be commit e09007dd5d17d5f84aea3c2fed16ce79ba7be1f2)
2002-08-27Pass the object name down to the enum_printers rpc. By default this is theTim Potter1-2/+8
server name and everything works as advertised. See the MSDN doco for details. (This used to be commit d6b10fe9691bfc96d5933c029990c60fd292bdc9)
2002-08-23Moved calculation of secure channel type into a new function.Tim Potter1-0/+18
(This used to be commit b8dba26978c281259e02b9d6ebacaa7cba4f7787)
2002-08-22added a 'net rpc samdump' command for dumping the whole sam viaAndrew Tridgell1-13/+12
samsync operations (as a BDC) (This used to be commit e4cb106d2e3e6a41529369545a7a6ce5fe6d8986)
2002-08-20The "max data count" value in SMB transacts indicates how much the other end canShirish Kalele1-1/+1
send us. As it stands, we incorrectly set it to the number of bytes we are sending. Correcting this by setting a static value of 1024 (This could even be something larger). Improves RPC client performance. (This used to be commit b0bd42c9466f41dc87a11fd6065620f93c8ebc40)
2002-08-17Sync 3.0 branch with HEADJelmer Vernooij7-3379/+4415
(This used to be commit 3823a2ff5a3c6edf325e2ac31bab50175420f0b1)
2002-08-17This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User2-0/+1501
used to be commit 6938b5b98abd9ba055a46583a05c4fc07e32f529)
2002-08-12Add lsa 0x2e (queryinfo2) client sideJim McDonough1-0/+86
(This used to be commit c3b05b21a0340d8ff02a79401399e3d43d9e759a)
2002-08-12Add client side support for samr connect4 (0x3e). Seems to have oneJim McDonough1-0/+47
additional parm compared to samr connect, but I've only seen 0x00000002 in that field... (This used to be commit ed2370b91f7f6a36efdf6b65340a5b29a26e7e7a)
2002-08-08Merge of incomplete rffpcnex testing code from APPLIANCE_HEAD.Tim Potter1-0/+44
(This used to be commit fe43c2ac2d2e1dd3b3a25c807d4dd379c5ac4960)
2002-08-05This fixes a number of ADS problems, particularly with netbioslessAndrew Tridgell1-2/+3
setups. - split up the ads structure into logical pieces. This makes it much easier to keep things like the authentication realm and the server realm separate (they can be different). - allow ads callers to specify that no sasl bind should be performed (used by "net ads info" for example) - fix an error with handing ADS_ERROR_SYSTEM() when errno is 0 - completely rewrote the code for finding the LDAP server. Now try DNS methods first, and try all DNS servers returned from the SRV DNS query, sorted by closeness to our interfaces (using the same sort code as we use in replies from WINS servers). This allows us to cope with ADS DCs that are down, and ensures we don't pick one that is on the other side of the country unless absolutely necessary. - recognise dnsRecords as binary when displaying them - cope with the realm not being configured in smb.conf (work it out from the LDAP server) - look at the trustDirection when looking up trusted domains and don't include trusts that trust our domains but we don't trust theirs. - use LDAP to query the alternate (netbios) name for a realm, and make sure that both and long and short forms of the name are accepted by winbindd. Use the short form by default for listing users/groups. - rescan the list of trusted domains every 5 minutes in case new trust relationships are added while winbindd is running - include transient trust relationships (ie. C trusts B, B trusts A, so C trusts A) in winbindd. - don't do a gratuituous node status lookup when finding an ADS DC (we don't need it and it could fail) - remove unused sid_to_distinguished_name function - make sure we find the allternate name of our primary domain when operating with a netbiosless ADS DC (using LDAP to do the lookup) - fixed the rpc trusted domain enumeration to support up to approx 2000 trusted domains (the old limit was 3) - use the IP for the remote_machine (%m) macro when the client doesn't supply us with a name via a netbios session request (eg. port 445) - if the client uses SPNEGO then use the machine name from the SPNEGO auth packet for remote_machine (%m) macro - add new 'net ads workgroup' command to find the netbios workgroup name for a realm (This used to be commit e358d7b24c86a46d8c361b9e32a25d4f71a6dc00)
2002-08-02Moved rpc client routines from libsmb back to rpc_client where they belong.Tim Potter10-3467/+5931
(This used to be commit cb946b5dadf3cfd21bf584437c6a8e9425f6d5a7)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell7-13/+35
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-06-28Proper merge of all the working printing stuff from APPLIANCE_HEAD.Jeremy Allison1-451/+0
Now let's keep this in sync ! Jeremy. (This used to be commit 3603cd4947df2c10df604447dc542932cb9e5d5a)
2002-06-18more debug classess activatedSimo Sorce8-0/+25
(This used to be commit 897e64d2e0c1d04ab93441ccaffe369bf43be46e)
2002-06-03Add user name to netsessenum RPC to stop 1783 messagesJim McDonough1-5/+6
(This used to be commit 18854bcd2df88ab49c263c86d111a50d83411885)
2002-06-01More cleanup work preparing for SMB signing.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 3c05f7c06fc8c45307ea75128b160a5945fc5197)