1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

672 Commits

Author SHA1 Message Date
Tim Potter
53a87ee8eb Merge from HEAD:
>fix rpcclient querygroup command (from 2.2 and head)
(This used to be commit 77b403434f85d54fa573d9344024966d32f415ef)
2002-12-20 01:31:13 +00:00
Simo Sorce
e8c80081b5 fix rpcclient querygroup command (from 2.2 and head)
(This used to be commit ea2154b2692f76a3f0d597ddc154ecbbef72de60)
2002-12-08 12:03:42 +00:00
Simo Sorce
a543e6ea62 make querygroup in rpcclient working, same fix as per 2.2 tree
(This used to be commit 8877ff2482bfa880614a9f40eed448d60216419d)
2002-12-08 11:56:45 +00:00
Jeremy Allison
2f194322d4 Removed global_myworkgroup, global_myname, global_myscope. Added liberal
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-12 23:20:50 +00:00
Jeremy Allison
250c980119 Removed global_myworkgroup, global_myname, global_myscope. Added liberal
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
(This used to be commit 82b8f749a36b42e22186297482aad2abb04fab8a)
2002-11-12 23:15:52 +00:00
Jim McDonough
18cb3695df Add getdata and getdataex commands
(This used to be commit 1bdd6397516b9f514c04099cf521fe81adad905b)
2002-11-11 15:43:09 +00:00
Jim McDonough
3eb60559d8 Add getdata and getdataex commands
(This used to be commit 101727335fffd4011659bfa9f7f8ab24b641fc4e)
2002-11-11 15:41:04 +00:00
Gerald Carter
cda79e5d36 deldriver fix
(This used to be commit 78ff2cc34aedaf82d965a71e0c9dfdeb86a90fdd)
2002-11-09 14:49:26 +00:00
Gerald Carter
4be3750d8e deldriver fix
(This used to be commit f20de1f9b0dcac15fbf968e6d5d5af2fdd5fbda1)
2002-11-09 14:48:27 +00:00
Jim McDonough
3b90ef84a5 Add enumdataex command
(This used to be commit 932a5012731b133d49d1c2d6b28f15e4480ddf53)
2002-11-08 21:40:31 +00:00
Jim McDonough
66a1f9b1fe Add enumdataex command
(This used to be commit 6d1d2849a7b2f99d927ba168ed2d01a879b09e69)
2002-11-08 21:39:53 +00:00
Jim McDonough
9429b7d8ab Implement enumdata command
(This used to be commit a22fdf26fef0cd58c84ca13891a762e3fdc6af8b)
2002-11-08 20:51:04 +00:00
Jim McDonough
a363c52885 Implement enumdata command
(This used to be commit 33ffe07e053082f5edfd65b43f431a8d09d4ae0e)
2002-11-08 20:50:06 +00:00
Jim McDonough
28258023b4 Add enumkey command (EnumPrinterKey api)
(This used to be commit 5bccbbeb59b1574c9c8132ef3e1a090ff539f6e1)
2002-11-08 19:07:36 +00:00
Jim McDonough
eedcd7239b Add enumkey command (EnumPrinterKey api)
(This used to be commit a2e17d4344f996b64cd9c4f01b6b15c069fde41b)
2002-11-08 19:06:34 +00:00
Jeremy Allison
47955b2f6c Merge of scalable printing code fix... Needs testing.
Also tidied up some of Richard's code (I don't think he uses the compiler
flags -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual like
I do :-) :-).
Jeremy.
(This used to be commit 10024ed06e9d91f24fdc78d59eef2f76bf395438)
2002-11-07 02:38:42 +00:00
Jeremy Allison
9304248788 Merge of scalable printing code fix... Needs testing.
Jeremy.
(This used to be commit d030df76439c72825d68410211e62090438cef54)
2002-11-07 02:15:35 +00:00
Tim Potter
ab1cf8d1cf Merge of get_dc_list() api change from HEAD.
(This used to be commit 6ba7847ce2756fde94e530fd0bf2a055f3e27373)
2002-11-06 05:14:15 +00:00
Tim Potter
ea24bb2da8 Merge of get_dc_list() api change. This was slightly more intrusive
than the version in APPLIANCE so watch out for boogs.
(This used to be commit 1e054e3db654801fbb5580211529cdfdea9ed686)
2002-11-06 01:29:07 +00:00
Jelmer Vernooij
a0f1bbdcb3 Sync with head...
(This used to be commit 60c83a6007085a8404b641b9783ae7b9c151e4ab)
2002-10-28 19:45:47 +00:00
Jeremy Allison
389a16d9d5 Added new error codes. Fix up connection code to retry in the same way
that app-head does.
Jeremy.
(This used to be commit b521abd86b10573ca8f9116907c81e6deb55f049)
2002-10-17 17:10:29 +00:00
Jeremy Allison
c53eb2ed54 Added new error codes. Fix up connection code to retry in the same way
that app-head does.
Jeremy.
(This used to be commit ec7953f20145799f6286a295472df4826bfdfb8f)
2002-10-17 17:10:24 +00:00
Jelmer Vernooij
272fee5809 Update popt help message and use popt-common
(This used to be commit 821b27037b991e143b87f0f1c7186c9a403376f0)
2002-10-05 16:45:54 +00:00
Gerald Carter
9c1b62c0fd merge of working dsrolegetprimdominfo() client code from APP_HEAD
(This used to be commit 028477e35208e76fedbc7c743426fd9be94b7cf0)
2002-10-04 19:33:41 +00:00
cvs2svn Import User
326a429d46 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 7950dfc795568798e8ede784b4e8b927be0add49) 2002-10-04 19:11:37 +00:00
Gerald Carter
d2ea6d5ae7 merge of working dsrolegetprimdominfo() client code from APP_HEAD
(This used to be commit f70caa25e4ee198151b915cf2bc0a26b2d0e243d)
2002-10-04 19:11:36 +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
Gerald Carter
83e58265b5 merge of new client side support the Win2k LSARPC UUID in rpcbind
from APP_HEAD
(This used to be commit 38c9e4299845fd77cc8629945ce2d259489f7437)
2002-10-04 03:51:43 +00:00
Gerald Carter
a834a73e34 sync'ing up for 3.0alpha20 release
(This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
2002-09-25 15:19:00 +00:00
Tim Potter
1974c5d92e The new popt_common_debug code obviates the need to muck around with
AllowDebugChange, saving the debuglevel across lp_load() calls etc.
(This used to be commit 561204905b78323fd0a03cc7ec5c9dbb2295bd5b)
2002-09-05 02:00:14 +00:00
Gerald Carter
2d8e2cfc79 remove inet_aton()
(This used to be commit a7616b2b942eaf3be4e16fb9d38cdb42d8b95a94)
2002-09-04 01:15:01 +00:00
Tim Potter
9a4110d3d1 Fix setprinterdata rpcclient command to use new cli_spoolss_setprinterdata
function.  Also fixed crash bug - I don't think anyone uses this
command anymore...
(This used to be commit 82c9bf2a6f03c801e701636aff726090483cea25)
2002-09-03 04:56:39 +00:00
Tim Potter
f02b14f7c6 Change JOB_INFO_CTR to return a pointer to an array rather than array of pointers.
(This used to be commit e9b71b354d923b2cd0f028dd197e7ca81339ec3a)
2002-09-03 03:20:21 +00:00
Jean-François Micouleau
bba043c9e4 allow rpcclient's samlogon command to use cli_net_3().
J.F.
(This used to be commit 3cf419bdfbd3c56f31fb0794b206ab4bd2ac7120)
2002-08-30 11:57:06 +00:00
Jean-François Micouleau
cfb5e91178 added cli_net_auth_3 client code.
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-30 10:46:59 +00:00
Jelmer Vernooij
e095e77a5c Forgot to remove old usage() function
(This used to be commit 4631e1fd1039c7eed58d3738bd7310219acc9000)
2002-08-29 12:44:37 +00:00
Jelmer Vernooij
4d64593834 Use popt for printing --help message
(This used to be commit 355d28d9eae2fd4b94bb591c5c51cad2fab9d2fd)
2002-08-29 12:05:30 +00:00
Andrew Tridgell
901ffd7ca8 slprintf() takes a size argument
(This used to be commit 4e142ba3749d2eb45687425ff87c153fb6147056)
2002-08-27 05:04:16 +00:00
Tim Potter
dbbb157b2e Don't try to convert enumprinters name to a unc name.
(This used to be commit e09007dd5d17d5f84aea3c2fed16ce79ba7be1f2)
2002-08-27 01:48:00 +00:00
Tim Potter
83c5985880 Pass the object name down to the enum_printers rpc. By default this is the
server name and everything works as advertised.  See the MSDN doco for details.
(This used to be commit d6b10fe9691bfc96d5933c029990c60fd292bdc9)
2002-08-27 00:38:55 +00:00
Tim Potter
55315b4b4e Moved calculation of secure channel type into a new function.
(This used to be commit b8dba26978c281259e02b9d6ebacaa7cba4f7787)
2002-08-23 13:38:00 +00:00
Tim Potter
6232468dca Fix for change in cli_netlogon_sam_sync()
(This used to be commit 6ec267618a7ba2c4a7170b78ccfe95120c5430c4)
2002-08-22 23:44:36 +00:00
Tim Potter
266fd83651 Added some new delta types discovered by Ronnie from ethereal"
- SAM_DELTA_RENAME{USER,GROUP,ALIAS}
 - SAM_DELTA_DELETE{USER,GROUP}

Renamed some of the unknown delta types and their unmarshalling functions:

 - SAM_DELTA_TRUST_DOMS
 - SAM_DELTA_SECRET_INFO
(This used to be commit 1f29276c2ff450c4ca3705c27fb0be71ddcda4ad)
2002-08-22 23:39:26 +00:00
Andrew Tridgell
2a505d023f added a 'net rpc samdump' command for dumping the whole sam via
samsync operations (as a BDC)
(This used to be commit e4cb106d2e3e6a41529369545a7a6ce5fe6d8986)
2002-08-22 22:48:54 +00:00
Andrew Bartlett
2749f5e998 A few fixes towards libsmbclient and rpcclient - get pointer types right and
try to keep to functions inside libsmbclient.

Andrew Bartlett
(This used to be commit 340bc31fdb031d79fa87de27c2c46215dd8113a3)
2002-08-22 00:51:00 +00:00
Andrew Bartlett
bad6e2dbe2 Move comment
(This used to be commit 009b331182b1338e07968388004f5d44b835e7f5)
2002-08-22 00:16:21 +00:00
Andrew Tridgell
42364e1b24 make rpcclient use print_guid()
(This used to be commit f2c48cadb22256564f2ddaa5169812c7c4383ec5)
2002-08-19 16:55:47 +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
Jim McDonough
28bf5e5f2d Add lsaqueryinfo2, but keep under "lsaquery" command. It will autoselect
which lsaqueryinfo to do based in infoclass.  Currently 12 is the only one
that causes a queryinfo2.
(This used to be commit f4ec2d52a7b093da701d68906cce6de197f182be)
2002-08-12 13:41:52 +00:00
Jim McDonough
b3d49538fd Use samr connect4, then fall back to samr connect if it fails. This is
what 2k does.
(This used to be commit 99437db17aa7c2e3448f28f627e993e8ab762d31)
2002-08-12 08:26:28 +00:00