Richard Sharpe
c5d23bdb80
Start allocating structures to keep the in memory copy of the registry tree
...
in. Don't yet handle the SK records (security descriptors), but will soon.
It still compiles on Linux, but I am still not King.
(This used to be commit b51bb89841b7251b90a7a58f0a046d87803223a9)
2002-12-09 09:07:00 +00:00
Richard Sharpe
4d9784b3c4
Begin to decode Value Keys, names and values ...
...
(This used to be commit 0ee49da74d357cc73ff4c7e4ee5659a35d085d4c)
2002-12-09 07:55:13 +00:00
Richard Sharpe
cedd02aaab
Add some more handling of Key records ...
...
(This used to be commit 738a82110893b08fc701fbf7b639fa8cb6e116c7)
2002-12-09 06:39:54 +00:00
Richard Sharpe
f3237d343e
Commit some more changes ... Start processing the sub-keys, recursively.
...
(This used to be commit bab2b240ec9a04b636c80599489746529cdd9d57)
2002-12-08 19:50:40 +00:00
Richard Sharpe
98da55e973
Fix the breakage, and start processing the first key record:
...
./editreg ~rsharpe/profile/NTUSER.DAT
NK HDR: Name len: 12, class name len: 0
Key name: $$$PROTO.HIV
(This used to be commit 63efb7ab2f4d010d6df97c539c6225093cdbbdb1)
2002-12-08 19:30:16 +00:00
Richard Sharpe
2a8b92abd3
A small fix to Makefile.in from Bradley Longhurst.
...
Less Fir needed.
(This used to be commit 481fa87154a15eebd5a59ac4de9912fa932a42e7)
2002-12-08 18:48:48 +00:00
Richard Sharpe
b09f6f386a
Define some macros for accessing shorts and ints in an endian independent manner.
...
Start processing the header and etc.
Make sure it compiles on Linux, and runs on Linux for the code that is there.
Will try FreeBSD soon, and maybe Slowaris.
(This used to be commit ee998438618c088d04ddfed05a9ba2d65f36e4ac)
2002-12-08 17:04:23 +00:00
Richard Sharpe
1d44520de8
Add definitions of the various NT Registry on-disk structures ...
...
(This used to be commit a4f9b9effc9491bdc4d0fe4bea3d25d7436e6a71)
2002-12-08 15:32:02 +00:00
Richard Sharpe
0670d6b156
Fix DAT_TIME so it becomes NTTIME and matches Samba source.
...
Add code to start reading the registry file.
(This used to be commit 10bc459dd9d3b5e695f9e18624200705a1bf33dc)
2002-12-08 14:50:06 +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
Richard Sharpe
eeeb898fef
Some more updates ...
...
(This used to be commit 92697adcd72434bcc38b98d618f013746a4db2ed)
2002-12-08 08:27:58 +00:00
Richard Sharpe
355b0e271b
The beginnings of a registry editing program.
...
(This used to be commit b9cb3e6f2acc3e439e2fe99c750ab32983357d8f)
2002-12-08 07:53:35 +00:00
Jeremy Allison
8c13b09b9d
Ensure global_scope() returns "", not the NULL string. Froma tpot fix.
...
Jeremy.
(This used to be commit 7185b846e41da2bf7edaa7f3edeff1cc1486d28b)
2002-12-06 19:58:27 +00:00
Jeremy Allison
1815dad960
Fix debugs for rap mapping. Delete job on map fail.
...
Jeremy.
(This used to be commit 631d6066981c58f61d7fed4376b0254544eede84)
2002-12-05 22:32:25 +00:00
Jim McDonough
90d9cf973e
More printer data to publish
...
(This used to be commit 82f3a786bf01878629fe4c05b028ae8d58eb4394)
2002-12-05 19:13:20 +00:00
Jim McDonough
b3bc5738bd
Add some const
...
(This used to be commit 1426a5ca4f1457be22891544df685e8f841c6337)
2002-12-05 19:11:40 +00:00
Jeremy Allison
76e685e628
The element in fsp->print_job should be a RAP jobid, not a uint32 RPC
...
jobid. This was causing Win9x client "set name" calls to fail.
Still need one cleanup fix to finish.
Jeremy.
(This used to be commit 15f0bad1fc72ff44cd195d34fd530c25a739f42d)
2002-12-05 03:59:56 +00:00
Herb Lewis
c77586e297
fix stat reporting on put command
...
(This used to be commit c53e10ff879535e931cb3267d9190fd798d85b31)
2002-12-05 00:47:41 +00:00
Tim Potter
89a08b1df3
Rerun configure.
...
(This used to be commit 18afae7b7a3a81c184aec5304fd2adda752d3992)
2002-12-05 00:06:12 +00:00
Tim Potter
bb2aa240de
Remove FILE_MACRO as __FILE__ is ANSI C.
...
(This used to be commit 2a9d183cf6ae8333dc7d9d9445c17dce005c1d24)
2002-12-04 23:57:15 +00:00
Tim Potter
8623ca6f82
FUNCTION_MACRO change broke the Python modules.
...
Also fix up string pasting (I thought this should only be a warning?)
(This used to be commit 739285ff694e9ffd317ad47aec373e2007c20f45)
2002-12-04 23:31:47 +00:00
Jeremy Allison
39734e2be8
Added Volker's directory fix - save the attributes
...
from the first call.
Jeremy.
(This used to be commit 2fe7504a08b692ec791c853e7a260a06142b7595)
2002-12-04 22:48:25 +00:00
Jim McDonough
6d66efe6c2
More attributes to publish. All DsSpooler attributes except REG_MULTI_SZ ones should be published now.
...
(This used to be commit 4fc602fd7da4b216748b005f62b14be0cfdddd63)
2002-12-04 21:30:52 +00:00
Jeremy Allison
cf7f1d5de0
Janitor for tpot yet again... Merging in memory leak fix.
...
Jeremy.
(This used to be commit a2ab78d68d269e77d55bf4b6929cf512a28f0708)
2002-12-04 21:28:23 +00:00
Gerald Carter
4ba8936707
change_trust_account_password() must always use the PDC for rpc
...
password changes.
jerry
(This used to be commit 974822526f90aee9b43e75fc7fd5d48fe91add99)
2002-12-04 20:13:29 +00:00
Jeremy Allison
3cb1f90578
Make sure we have a default st_blocksize.
...
Jeremy.
(This used to be commit 9cf56dc97733589d5591990b44c883c7c61d1ea2)
2002-12-04 19:47:18 +00:00
Gerald Carter
2aaf0ea146
cleaning up some friendly error messages
...
(This used to be commit f978387e789eeaf9b53a21231d4cdc7cf3ea6db3)
2002-12-04 19:03:32 +00:00
Gerald Carter
c73c3e1daa
[merge] remove assert(count ==1) for multi-homed PDCs; CR 1277
...
(This used to be commit 157b5ab198670c6999f22d6b49072fdebc84be0d)
2002-12-04 19:00:29 +00:00
Jeremy Allison
a6a0b156bd
Need brackets around macro args. Spotted by Patrick Welche <prlw1@newn.cam.ac.uk>.
...
Jeremy.
(This used to be commit 51c2cf3a9ccf0bf89520588530e04b965ae509f7)
2002-12-04 18:44:21 +00:00
Jeremy Allison
64c9679191
Doing janitorial duty for tpot - memory leak fix.
...
Jeremy.
(This used to be commit c6da50def80e64226c7e5b310dce30d0490512cb)
2002-12-04 18:40:01 +00:00
Jim McDonough
2dd0e949d0
Automatic printer publishing when using APW or choosing 'list in the directory' in printer settings. Currently very little is published, and you cannot unpublish because of a bug in win2k clients.
...
(This used to be commit bbd7c8071a095c4e410f92489050b677a0f0ace1)
2002-12-04 17:28:51 +00:00
Jeremy Allison
d67ec06b7b
Missed the removal of the incorrect ifdef.
...
Jeremy.
(This used to be commit 9cfa245bba2a116b7364ea22feaf6f63b362f5d7)
2002-12-04 03:21:18 +00:00
Jeremy Allison
9dc3ec5af3
Fix for 64 bit issues with oplocks and allocation size.
...
Jeremy.
(This used to be commit 4a9c995e50b24e6ee6ec58c46da32100a8197724)
2002-12-04 03:12:28 +00:00
Jeremy Allison
f23eae814d
THIS FILE IS NOT OBSOLETE JELMER. DO NOT REMOVE ! Removing it breaks
...
autoconf 2.13.
Jeremy.
(This used to be commit 81be3a142925956fec6e2f0609420b7f15356613)
2002-12-04 02:37:47 +00:00
Gerald Carter
1ad8139ef1
[merge from app_head]
...
XP sends GetPrinterData("ChangeId"). So we now respond accordingly.
Possible fix for CR 1147.
(This used to be commit 42a2e7d701fd342f2553660eb5094af8723fb50e)
2002-12-04 01:14:34 +00:00
Jeremy Allison
e7f2ae9c7f
Reformat of reply.c before Volker's patch.
...
Jeremy.
(This used to be commit d41858b9e6a21f6e01305c33d107d16f2b587d37)
2002-12-03 23:57:55 +00:00
Tim Potter
b0b3ea1a7f
Rerun autoconf.
...
(This used to be commit aa496524ccef4dd882f7dfa890fab4cbea0cae64)
2002-12-03 22:32:44 +00:00
Tim Potter
2872557a69
Defaulting python breaks the clean target it python isn't installed.
...
(This used to be commit 5739ee4e63a35d7778506047ae3ad2ddceb69ec5)
2002-12-03 22:04:54 +00:00
Herb Lewis
73bf5369b8
use FILE_MACRO instead of __FILE__
...
use FUNCTION_MACRO instead of __FUNCTION_
(This used to be commit 243763d6eb107ab2444d81025232c8fe795baaf1)
2002-12-03 21:49:00 +00:00
Herb Lewis
db9686ff89
use the new IVAL_TO_SMB_OFF_T for file_info size member
...
dir now shows correct size on large files
(This used to be commit ce7d421ba9cfa65e3ed404f18e8b3b4cf4730593)
2002-12-03 20:00:31 +00:00
Jim McDonough
34c7d48033
Support printer info 7, used for publishing
...
(This used to be commit 3c9726454ea6beb8d5d308805caecb86395c7ad2)
2002-12-03 19:48:18 +00:00
Jim McDonough
2e6c2a1456
Stop using hardcoded key/value strings, be more forgiving of dsspooler/dsdriver info existence.
...
(This used to be commit ca8735532cb656a09c1586326cdce33984fe38b4)
2002-12-03 19:41:43 +00:00
Jim McDonough
fc67cd8bf3
Stop using hacks for dns host/domain names.
...
(This used to be commit 1d0086aadb4fa57b127e80e455835dd6eb387f71)
2002-12-03 19:37:42 +00:00
Jim McDonough
ce397dbf04
fns for retrieving dns host name and domain name (get rid of lp_realm hacks).
...
(This used to be commit 456813308d8542211183f9655b7fe598144f7bfc)
2002-12-03 19:35:46 +00:00
Jim McDonough
d9f51cd143
Add defines for standard DsSpooler/DsDriver values that get published.
...
(This used to be commit 2b152addf49f0ede001b263174d2eaab2600e933)
2002-12-03 19:26:47 +00:00
Jim McDonough
8bd12bc330
Don't segfault when trying to delete a key when none exist.
...
(This used to be commit 1bf36d3fc69b8129fff08f5a735e27a94eb46d49)
2002-12-03 19:24:51 +00:00
Jeremy Allison
9a0b6a2273
Fixed nasty bug where file writes with start offsets in the range
...
0x80000000 -> 0xFFFFFFFF would fail as they were being cast
from IVAL (uint32) to SMB_OFF_T (off_t or off64_t, both *signed* types).
The sign extension would cause the offset to be treated as negative.
Thanks to Herb for helping me track this one down (IRIX is good for large
file tests :-).
Jeremy.
PS. That horrid EXEXIST thing has broken configure.....
(This used to be commit fc7d3faed798e7496f2991ec7d795c3b1a3758f5)
2002-12-03 08:02:21 +00:00
Tim Potter
e21df94c52
Fixes for EXEEXT - must use \$ signs when you want an actual $ sign to
...
be used.
(This used to be commit 8c306804c6f3f0523ff5347e4b9360474d696a50)
2002-12-03 05:44:36 +00:00
Andrew Bartlett
a65dc990f8
As per Jeremy's request back this out, so as to re-gain the implicit length
...
check.
Andrew Bartlett
(This used to be commit 323088259f19f59008160d56fbcb9df6a6cd0d98)
2002-12-01 19:52:09 +00:00
Andrew Bartlett
9de7abd8db
Link less with smbmnt and smbumount. Also change from a pstrcpy() to a
...
strncpy() to make it clear that we must operate on a PATH_MAX sized buffer.
Andrew Bartlett
(This used to be commit 49d9698ef08d66dc238b2e3469da8944b444dfa1)
2002-12-01 04:11:20 +00:00