Richard Sharpe
fc15341b82
Parse the NTLMSSP Challenge in cliconnect.c.
...
This gets us closer ... Should have the challenge now. Need to check that it works.
(This used to be commit 5784835db95baf62362d35d3beab5d534cc776e9)
2002-09-03 06:34:40 +00:00
Tim Potter
7616f86a63
Conver cli_spoolss routines to use REGISTRY_VALUE and REGVAL_CTR code. Nice one jerry!
...
(Hey I thought I checked this in already?)
(This used to be commit f0c6303bebe0f494d70ac5371d7f6727413fe482)
2002-09-03 05:35:47 +00:00
Tim Potter
b2e4d8e5f9
Convert to new REGISTRY_VALUE cli_spoolss routines.
...
(This used to be commit 100aa8c893464d65f1b2225dab9dc5b58bbcff91)
2002-09-03 05:00:17 +00:00
Tim Potter
45664627c7
Fixed enumjobs command to use new JOB_INFO_CTR structure.
...
(This used to be commit 9db5be03617740e705bce51784fdb80784779acb)
2002-09-03 04:58:36 +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
Richard Sharpe
629ad6941e
Make sure that an NTLMSSP negotiate blob has the correct stuff in it!
...
(This used to be commit b28267f52c0a5c175b067d7c2d10eca83c20e640)
2002-09-03 04:10:58 +00:00
Richard Sharpe
bb30cd160b
Add type A to the small MSRPC generator ...
...
(This used to be commit 7f8fd5f270af74dcb3fd18af74233f7db4d8f9a7)
2002-09-03 03:53:50 +00:00
Richard Sharpe
2074556104
The session key in NTLMSSP AUTH blobs is actually an empty string.
...
Also, the negotiate blob has two ASCI strings encoded in the same way that the
UNICODE strings are, they are just in ASCII. The PARSER and Generator will have to deal with that.
(This used to be commit aaa7a681ce4ee52edb23c73a53aeabb07fd5b7d8)
2002-09-03 03:48:28 +00:00
Tim Potter
386a416950
Implemented client function for deleteprinterdataex.
...
(This used to be commit 6d792c683df3a4f97e1a04a57bf4890aab35aecd)
2002-09-03 03:21:53 +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
Tim Potter
70a132c2d9
Change JOB_INFO_CTR to return a pointer to an array rather than array of pointers.
...
Implemented client function for deleteprinterdataex.
(This used to be commit f7641c8fd1079c2ef444d4bca5b97b1285733d10)
2002-09-03 03:18:19 +00:00
Tim Potter
62d6c7f8f8
Display printerdata values in hex.
...
(This used to be commit cdd64e0860bf05b115e0d107f6cb2b9e1f6d0e9b)
2002-09-03 01:56:05 +00:00
Tim Potter
2e93f20c1b
Added utility function to convert python strings to hex dump + ascii.
...
(This used to be commit 7a6b6a8b4871065e3178223a7da5fafd8792b0bc)
2002-09-03 01:55:21 +00:00
Tim Potter
53495225a5
A printerdata browser I whipped up in about 5 minutes. (-:
...
Usage: gprinterdata //win2kdc1/fooprinter
(This used to be commit a3e52367c961070ce80ac3d4bba763ad9ec1007c)
2002-09-03 01:48:24 +00:00
Tim Potter
8e56ded996
Rewrote to use gtkdictbrowser.
...
(This used to be commit 6f78c4181449a995b9d5b2955981a20e4fdcc829)
2002-09-03 01:32:05 +00:00
Tim Potter
86d9d827ce
Ignore *.pyc files.
...
(This used to be commit 519d1589a9358d8c2de01bd23159e3d552554131)
2002-09-03 01:30:26 +00:00
Tim Potter
2a18e89da7
Implement deleteprinterdataex
...
(This used to be commit a89fe79e222b36eda123ccdbca96badb7714776e)
2002-09-03 01:10:21 +00:00
Tim Potter
611f9c899d
Return dictionary of printerdata in enumprinterdataex.
...
(This used to be commit 348b6778d8b9e42f27da51652c7198cc42048059)
2002-09-03 00:40:06 +00:00
Tim Potter
882ff84daa
Return data from enumprinterdataex by deep copying on passed in tdb context.
...
(This used to be commit 1f629aa54ea3733c356c21f9f707b7f6075f6429)
2002-09-03 00:26:19 +00:00
Volker Lendecke
e0a8b7e0d0
usrmgr expects unicode as ProductType.
...
This looks a bit like a hack ;-)
Volker
(This used to be commit f673eac06ab4af97a4d28427f7444696402ae680)
2002-09-02 13:47:51 +00:00
Jelmer Vernooij
d38ab3857f
Fix typo - Thanks Kai
...
(This used to be commit 8fb4534212e49d2f64f45cbeb481b9f4a69f3158)
2002-09-02 10:58:03 +00:00
Volker Lendecke
618b02416d
small typo, kai is german :-)
...
(This used to be commit f435bf0095694a283db47e33c9eb1b5b6df13d03)
2002-09-02 09:02:40 +00:00
Tim Potter
1f914af0ec
Add a 'key' field to printer data dictionary.
...
Implemented getprinterdataex, setprinterdataex and enumprinterdataex
(doesn't quite work yet).
(This used to be commit fb0f4f7bfe81923adfe71549973da2be57f0e71f)
2002-09-02 07:47:42 +00:00
Tim Potter
7ee13d88a1
make proto
...
(This used to be commit 88a97d2174eee884de52e848d30bc2c459bf28bb)
2002-09-02 07:44:48 +00:00
Tim Potter
fc8c6e7cf0
Added methods for getprinterdataex, setprinterdataex and enumprinterdataex.
...
(This used to be commit ac84b220aa2910abec309f2dc048adb84f609786)
2002-09-02 07:44:00 +00:00
Tim Potter
d75fc27fa1
Fix transposed args in open_pipe_creds() function.
...
(This used to be commit 63e59b0b737a1cd4ccc588b27e86be8262296052)
2002-09-02 07:42:39 +00:00
Tim Potter
f76bdfdcaa
Implemented some more client side spoolss functions:
...
- getprinterdataex(), setprinterdataex(), enumprinterdataex()
Pass data type down to setprinterdata() fn instead of hardcoding REG_SZ.
Did some trickyness to get enumprinterdataex replies unmarshalled
properly. The code seems to have been written to require the number
of entries returned before unpacking said entries. Skip to the end of
the response and read the number of entries then jump back and process
the printer data.
(This used to be commit 6a1953f2431cc848abf210bdecd7080738991296)
2002-09-02 07:41:12 +00:00
Tim Potter
45fc6b503e
Implemented some more client side spoolss functions:
...
- getprinterdataex(), setprinterdataex(), enumprinterdataex()
Pass data type down to setprinterdata() fn instead of hardcoding REG_SZ
(This used to be commit 62a60782533851b3380aa0db300fa16dfe6ca72e)
2002-09-02 07:37:35 +00:00
Simo Sorce
098b0b40fe
wrong way to handle things, bug found by kai
...
(This used to be commit 58f912da47d18a6a548c50dc9d4298c6bec7ea0d)
2002-09-01 10:24:34 +00:00
Volker Lendecke
21a58f5a64
Fix segfault in net command
...
(This used to be commit 26bee60a419593a5afe4e48614f7f3fc414596a5)
2002-09-01 07:52:54 +00:00
Richard Sharpe
4cb4534dd6
Convert M_DEBUG(0 to M_DEBUG(10 for non-error cases ...
...
(This used to be commit d5c10e7dc76216db793319f9beb99dd12441e76b)
2002-08-31 16:17:36 +00:00
Andrew Bartlett
110954e8e1
Add a dash of static.
...
(This used to be commit e3af3adac1a01842bc5242e68393196497a1d71c)
2002-08-31 08:51:38 +00:00
Andrew Bartlett
7aca67c3e9
Add a bit of 'const' and move a lot of our 'repeditive' DEBUG() statements to
...
'DEBUGADD', so we don't repeat headers. (Makes them much easier to read).
(Based on patch by kai)
Andrew Bartlett
(This used to be commit 9deada345c5f89f338530c4de62835cc1eeb3d0e)
2002-08-31 06:59:00 +00:00
Andrew Bartlett
40e9d9a54e
Avoid writing unitialised bytes to the wire (and consequent valgrind warnings)
...
by zeroing them out if they don't have meaning.
Andrew Bartlett
(This used to be commit 52db44b5c01e16923393b0ec9a8d0f530be7bb2d)
2002-08-31 06:38:27 +00:00
Andrew Bartlett
724d1c3d2d
Add a fix for 'query_disp_info level 2', which should return all machines in
...
the DC's SAM. We were only returning workstations, not PDCs or BDCs.
Win2k's 'Computer Manager' tool uses this to list all computers in the domain
(as opposed to using NetBIOS).
Andrew Bartlett
(This used to be commit 004090edffef6cc04c286b9924b8c47ea3260ef2)
2002-08-30 23:56:37 +00:00
Jeremy Allison
35b7dfaa20
Fix bug with stat mode open being done on read-only open with
...
truncate.
Jeremy.
(This used to be commit 18b9cbd857177a911ef95c9322bdf0709161cd84)
2002-08-30 19:29:59 +00:00
Jeremy Allison
8e33a5d6cc
Correct error message.
...
Jeremy.
(This used to be commit e9392c4a2e1e1ce44fcd1a1105477c17a3410f14)
2002-08-30 19:06:07 +00:00
Jeremy Allison
fcdecb7c29
Correctly fail opens with mismatching SYSTEM or HIDDEN attributes if we
...
are mapping system or hidden.
Jeremy.
(This used to be commit bd1e3df9ffa0717f26696a222e5ec6a0198b3352)
2002-08-30 18:57:23 +00:00
Herb Lewis
39e21d4ef2
off by one in writing to malloced array. this fixes smbd crash I saw at
...
the CIFS conference - finally got purify working
(This used to be commit cf9bb66aa9c3217cb8394058c65c84ffc6ae269a)
2002-08-30 18:56:46 +00:00
Jeremy Allison
0b9bf47fda
Better error reporting on OPEN test.
...
Jeremy.
(This used to be commit 4e836c4ce2b51e42ab4f29c6c916fe6a73a58654)
2002-08-30 18:56:00 +00:00
Jelmer Vernooij
85c9ee4ddb
Put PRINTER_DRIVER back in
...
(This used to be commit 0a92c4db1fed6eff577a67e9c4fd54bd4fe4afac)
2002-08-30 18:01:26 +00:00
Jeremy Allison
bf544f12f5
Added attribute specific OPEN tests (for SYSTEM and HIDDEN).
...
Jeremy.
(This used to be commit 4eeef6ef530acf1cc4e08e24af902c15af57ece7)
2002-08-30 17:22:33 +00:00
Gerald Carter
3cbe892276
fix up print portion of registry. Merge from APP_HEAD.
...
(This used to be commit ec37633548ed329c05b93499f75883d987b78f1e)
2002-08-30 14:48:33 +00:00
Herb Lewis
dd0d4b5270
based on function prototype, the args were switched - this gave an error
...
on the IRIX compiler. could whoever put the FIXME message take a look and
see if it is still broken.
(This used to be commit 29a8f2121114cafca07797cadaeb26c9d0055b24)
2002-08-30 14:05:22 +00:00
Gerald Carter
3cf5819133
fix proto
...
(This used to be commit 4f00844da05b37cf9755def40a63c11e7f82153e)
2002-08-30 12:46:54 +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
Gerald Carter
189c4b8fd3
fix broken dependencies....
...
(This used to be commit 8eab2e79412c771ef57d39e7d61816b705350e0f)
2002-08-30 11:38:39 +00:00
Gerald Carter
4e216f3e94
break out REGISTRY_VALUE & REGVAL_CR objects into separate file for
...
cleaning linking....
(This used to be commit fd140aadd7c76facb4efa80655e633600f9760b6)
2002-08-30 11:03:44 +00:00
Gerald Carter
de3d0310e2
merge of phant0m key fix from APP_HEAD
...
(This used to be commit cb13d334a53f27713665570d85607d57eb407f9f)
2002-08-30 10:47:34 +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