1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

70 Commits

Author SHA1 Message Date
Volker Lendecke
9048cafbea Move srv_name_slash from cli_state to rpc_pipe_client
(This used to be commit a9061e52e1ff8e31aa480f4a30cda64c9d93214e)
2008-04-20 00:14:13 +02:00
Volker Lendecke
2a2188591b Add "desthost" to rpc_pipe_client
This reduces the dependency on cli_state
(This used to be commit 783afab9c891dd7bcb78895b2a639b6f3a0edf5b)
2008-04-20 00:13:09 +02:00
Günther Deschner
c523c2c3e6 Fix build of rpcclient.
Guenther
(This used to be commit 3cb1cdee9307cafa80ab95233a536f5dd7882ff1)
2008-04-01 00:32:23 +02:00
Günther Deschner
3c2d315b4c Add support for setting resume handle in netsessenum rpcclient command.
Guenther
(This used to be commit a01588d65f67ac23a5a2a741bb0419830e42868c)
2008-03-21 04:16:21 +01:00
Günther Deschner
4489ad0998 Allow to set or unset resume_handle in netconnenum in rpcclient.
Guenther
(This used to be commit f1b93c24fea0441deb5319f6fc4df0373d0dc939)
2008-03-21 04:16:21 +01:00
Günther Deschner
fd62e5688b Use existing srv_name_slash.
Guenther
(This used to be commit 5f2b3145fcaeee58f285b6527e9fac09c5337e8a)
2008-03-12 16:35:41 +01:00
Günther Deschner
45a3c8275f Allow to send no resume_handle in rpcclient's NetShareEnum* calls.
Guenther
(This used to be commit 7e178a3dc970f55ddb30b4fc467aaaa06ef35b0f)
2008-03-11 11:33:07 +01:00
Günther Deschner
e45b6a595c Fix netdiskenum call in rpcclient.
Guenther
(This used to be commit dcbfdd1330cf1c7e8d1b4ebc051db139ed6a0053)
2008-03-11 04:52:46 +01:00
Günther Deschner
0c10ab5cc3 Add netconnenum to rpcclient.
Guenther
(This used to be commit 627688c7bac4d3afcc846164c2fefebdbbc10d68)
2008-03-10 18:54:18 +01:00
Günther Deschner
aa054bd6f3 Add netdiskenum to rpcclient.
Guenther
(This used to be commit 3ef4d6b524d26f2c345321d5a8c9f7526e322ccd)
2008-03-10 18:54:18 +01:00
Günther Deschner
cfa16eaca0 Use rpccli_srvsvc_NetFileEnum in net and rpcclient.
Guenther
(This used to be commit 348af272f7c0dc0cb316cc06780339dd13eafd0f)
2008-03-10 17:08:55 +01:00
Günther Deschner
28d5307034 Add netsessenum command to rpcclient.
Guenther
(This used to be commit f90306bd24bc243c8f30a16c0414031d69d05c03)
2008-03-10 03:43:40 +01:00
Günther Deschner
64adc15e66 Add netsessdel command to rpcclient.
Guenther
(This used to be commit 5e112ff3d7984c278949833a00349a9f523d4b23)
2008-03-10 03:43:39 +01:00
Günther Deschner
62ca78bd27 Add netfilegetsec command to rpcclient.
Guenther
(This used to be commit 8c2c17573c179c774d093d780716e95833cb992f)
2008-03-08 23:05:54 +01:00
Günther Deschner
5e6e3ccd00 Add netnamevalidate command to rpcclient.
Guenther
(This used to be commit 140885d3d87ea2de14b3393a7384dff74a4dd44c)
2008-03-07 23:51:34 +01:00
Günther Deschner
024cf110b0 Use pidl generated NetShareGet/SetInfo and Enum calls in rpcclient.
Guenther
(This used to be commit c940c62029fbce5f2b943f0fb06037fc89bfd297)
2008-03-07 22:58:48 +01:00
Günther Deschner
b0dad261ad Use rpccli_srvsvc_NetRemoteTOD() in rpcclient.
Guenther
(This used to be commit 5e9d8cdc948b678e5aa6e04ee13635376b7306f5)
2008-03-05 10:38:13 +01:00
Günther Deschner
640f53fe5b Use rpccli_srvsvc_NetSrvGetInfo() in rpcclient.
Guenther
(This used to be commit 4a74f1e8d2c45574973fc4c0ce4fbc9a843afaa0)
2008-03-05 09:49:25 +01:00
Gerald (Jerry) Carter
e5a951325a [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10 15:34:30 -05:00
Andrew Tridgell
5e54558c6d r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10 12:28:22 -05:00
Jeremy Allison
d824b98f80 r23779: Change from v2 or later to v3 or later.
Jeremy.
(This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10 12:28:20 -05:00
Jelmer Vernooij
62e11c4f17 r20832: Remove extra pointers previously added to unique [out] pointers. 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-10 12:17:11 -05:00
Volker Lendecke
01367cdfd0 r19797: Convert the remaining pipes to the "new" unique out ptr handling
(This used to be commit bc4e0a388a2859d2ddcfb8f07920f3b121a37894)
2007-10-10 12:15:56 -05:00
Volker Lendecke
ef05328552 r19451: Another cleanup of 18802. Referring to structures after the block has been
left is not a good idea.

Volker
(This used to be commit 88ac17db196c828e15a73c7561fda291b15e2613)
2007-10-10 12:15:36 -05:00
Günther Deschner
efffbc9036 r18935: Make "netshareenum" work again. There is most probably a better way to
do this... Any pointers?

Guenther
(This used to be commit 1f09e54fec9ac2e6173272d83d8c96d33636f1a0)
2007-10-10 12:14:48 -05:00
Volker Lendecke
323b724ce9 r18874: Fix some NTSTATUS/WERROR mixups
(This used to be commit ecac9b59594ef14a65091591c258b000036575fc)
2007-10-10 12:14:40 -05:00
Andrew Tridgell
0c3194816b r18865: fixed some of the most obvious NTSTATUS/WERROR mixups in Samba3. It
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-10 12:01:06 -05:00
Jelmer Vernooij
7ba2554d88 r18802: Use the pidl-generated code for the srvsvc interface, both client 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-10 12:00:59 -05:00
Günther Deschner
967ab90b17 r12901: Fix netfileenum returning WERR_BUF_TOO_SMALL.
Guenther
(This used to be commit b8ff07b04afe82bdce5d1f69513ce67ecde5b030)
2007-10-10 11:06:06 -05:00
Gerald Carter
54abd2aa66 r10656: BIG merge from trunk. Features not copied over
* \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-10 11:04:48 -05:00
Günther Deschner
75545d578e r7632: Cleanup "net share migrate"-code.
* 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-10 10:57:17 -05:00
Günther Deschner
9f1335b015 r7534: Add missing cli_srvsvc_net_share_set_info-function and
rpcclient-testers.

Needed in preparation of share-ACL migration in net.

Guenther
(This used to be commit 08d124079f4ed1ad008a83510c05b430c86fbf78)
2007-10-10 10:57:11 -05:00
Jeremy Allison
c8137eeea4 r1553: Good patch from Guenther Deschner <gd@sernet.de> to display share ACL
entries from rpcclient.
Jeremy.
(This used to be commit bd64f0c08143545a8613688402f769a713227557)
2007-10-10 10:52:14 -05:00
Tim Potter
417bf608f4 Merge of waider's rpcclient return type patch.
(This used to be commit fb91bfa7a28f548dcc549f7e09805e4485c83538)
2003-03-18 06:30:30 +00:00
Tim Potter
1788f806e7 Merge: const fixes.
(This used to be commit a20aba09996e470425a151271237f2d48a8302af)
2003-02-25 23:51:56 +00:00
Tim Potter
7024ab8dca Merge NTSTATUS vs WERROR return for cli_srvsvc_net_srv_get_info()
(This used to be commit 7edaf937963fa1d0f06343969b46ed6e4f39a6ea)
2003-02-19 22:52:50 +00:00
Gerald Carter
36ef82a529 merge of new client side support the Win2k LSARPC UUID in rpcbind
from APP_HEAD
(This used to be commit 1cfd2ee433305e91e87804dd55d10e025d30a69e)
2002-10-04 04:10:23 +00:00
Jelmer Vernooij
64c53e819b sync 3.0 branch with HEAD
(This used to be commit 6497eb78e87a6ffa4c2c61aa4ef6ecd451821a27)
2002-08-17 15:33:49 +00:00
Andrew Tridgell
e90b652848 updated the 3.0 branch from the head branch - ready for alpha18
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-07-15 10:35:28 +00:00
Tim Potter
cd68afe312 Removed version number from file header.
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
(This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2002-01-30 06:08:46 +00:00
Tim Potter
439c7e0ca2 Some old stuff hanging around since the CIFS conference. Big cleanup of
rpcclient code.  Refactored cmd_* functions to move common mem_ctx and pipe
opening stuff up one level.  Moved rpcclient.h into rpcclient directory and
out of includes/smb.h
(This used to be commit a40facba9651f9fb1dcc9e143f92ca298a324312)
2001-10-12 05:56:23 +00:00
Tim Potter
dc1fc3ee8e Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.
(This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
2001-10-02 04:29:50 +00:00
Andrew Tridgell
c76dd14040 it now all compiles - so try enabling it by default and see what explodes on the build farm
(This used to be commit 5bb7e4f0f65edf1db20245f403cbe81833134240)
2001-09-04 10:57:29 +00:00
Andrew Tridgell
b031af348c converted another bunch of stuff to NTSTATUS
(This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e)
2001-08-27 19:46:22 +00:00
Simo Sorce
acc149c427 - avoid possible mem leaks in rpcclient/cmd_*.c (talloc_destroy not performed)
- ported two rpc back from TNG (WINREG: shutdown and abort shutdown)
- some optimizations and changed some DEBUG statement in loadparm.c
- changed rpcclient a bit moved from non reentrant next_token_nr to next_token
- in cmd_reg.c not sure if getopt will work ok on all platforms only setting optind=0
(This used to be commit fd54412ce9c3504a547e232602d6129e08dd9d4d)
2001-08-10 09:52:10 +00:00
Tim Potter
8db78af970 Started adding some help/usage info for rpcclient commands.
(This used to be commit 37052a1bcc5cd049918c3d5ac4c41c3a669290af)
2001-07-20 04:38:58 +00:00
Tim Potter
43bc613e74 Added srvinfo and partial logonctrl and logonctrl2 commands.
(This used to be commit c93718daa1375269e4e0ef52016271b7a607e292)
2001-05-24 08:10:50 +00:00
Tim Potter
40ff4007c7 Added stubs for SRVSVC and NETLOGON rpcclient commands.
(This used to be commit 3343c9f0d67d98687e5933e1a73c0ff487279160)
2001-05-24 00:20:32 +00:00
Andrew Tridgell
00e3fe1324 moved trans2.h and nterr.h into includes.h with all our other includes
(This used to be commit d7cd7c88fdabb01d9e40ae8a657737907a21ac37)
2000-04-25 14:06:57 +00:00
Andrew Tridgell
3db52feb1f first pass at updating head branch to be to be the same as the SAMBA_2_0 branch
(This used to be commit 453a822a76780063dff23526c35408866d0c0154)
1999-12-13 13:27:58 +00:00