Age | Commit message (Collapse) | Author | Files | Lines |
|
(This used to be commit 74c8f616c33b08d94a15e1ba8219063b190fe5f2)
|
|
the writing of a registry tree, since I can store the header, and the first
key (NK_REC) and the SD associated with that key, the SK_REC.
(This used to be commit abced0ed9eec7b8467065892c56cef9b86cff947)
|
|
(This used to be commit 6cf0ee44caa182057eed09e7f646ef20eb059b17)
|
|
(This used to be commit 7105265238de850f5b7effef3be8fb3f5d383669)
|
|
DESCs etc, so we can store these in an output file.
(This used to be commit 7607a1c3cd5ffb69b8db0bfe50283bda97047c42)
|
|
(This used to be commit 39f298fd395b91a0cf4bcadf3938b58a9a14c95f)
|
|
(This used to be commit ae5f8e4b5f7b8880293cc94c9bbe0df81a56959e)
|
|
(This used to be commit cfa67f23e3e2ba4c7abd40405227b0a8b1b76fc8)
|
|
(This used to be commit de337632c99080f4be73a6e49839d424b49c8cc3)
|
|
depth first fashion in the file.
Also add some more infrastructure needed to handle storing these trees.
(This used to be commit f993f7187c7ae49f443aa1966584aa88787bd7ca)
|
|
(This used to be commit 03fce4ed0f73586928424e75bd6d7db9ff7105dd)
|
|
partially implement some routines to construct a default ACL and SEC DESC
etc.
(This used to be commit 043374a3c0be6769b4fee2228dcff42abbb74028)
|
|
paths.
(This used to be commit 0741369c59bcb6057f6b32d3fe4f6dec08ce4ae3)
|
|
Lots more to do, like handling regular expressions for keys, and input of
the security descriptors, etc. However, I now have to work on writing the
in-memory tree out to a file in a format that Windows can understand.
(This used to be commit 562b36510c704eba84b036aacdb1f984339afafc)
|
|
This needs a lot more testing and debugging, but it does delete values.
Next to see if it can add values ...
(This used to be commit 02e6782243a7ef9e182db449ad377b0d168a40b2)
|
|
key value, and tidy up processing of key values when reading in the registry
file ...
(This used to be commit 53ea4c0de88a350b99e36c0dc514c5f2821ff7f8)
|
|
Next, we have to add the code for adding values etc.
(This used to be commit 266fc6c9f2283c81de97e526e9f289288948cb27)
|
|
Added code to add keys to the in-momory key tree.
Added code to convert SID strings to SIDs in memory format.
Added code to construct initial security descriptors and to inherit
security descriptors.
A couple of more hours should see the code to add keys and values complete.
Then I have to start on the code to write out a registry :-(
(This used to be commit fc691a9a5e86686ebd0b3bab75a286488ab6ca57)
|
|
descriptors etc ...
(This used to be commit b8e85afefbe52701317632d1c1a446785ed66abf)
|
|
(This used to be commit e3c4f8c91394eecc8c77bbf0f9685cdb18c617b1)
|
|
(This used to be commit 31ded623b1817156b247170130237c1e5fd67a5b)
|
|
things easier ... now on to more functionality.
Hope Jerry fixes the breakage, BTW :-)
(This used to be commit c7d39a7426e5970b15ece89737d2f0ba3d5c0835)
|
|
(This used to be commit 882799ca113566b91e42c3c852a9c1986552daaa)
|
|
(This used to be commit 410451f9478ff1e73cabc8ee2213ded4f08315c6)
|
|
Hopefully more coming ...
(This used to be commit 22d1819011de02351976bad778837a28ab45a449)
|
|
(This used to be commit 691c63ad6b522ae7984017ebadffb5c7c13f6992)
|
|
the regedit file parser etc.
(This used to be commit 5040b498675b91cd18bc7fe4456c94df0a8fa41d)
|
|
configure that Herb needs.
(This used to be commit 490ff93bbfe38d92746693d5f9902f985de6bc12)
|
|
testing a pointer value to be equal to 0x19 ???
(This used to be commit 15b2b91f4b77a62163c0f79592111d4809317b9f)
|
|
warnings.
(This used to be commit 431ac28b5b7ea688ec342b5834c25eca059e7a16)
|
|
This patch makes Samba compile cleanly with -Wwrite-strings.
- That is, all string literals are marked as 'const'. These strings are
always read only, this just marks them as such for passing to other functions.
What is most supprising is that I didn't need to change more than a few lines of code (all
in 'net', which got a small cleanup of net.h and extern variables). The rest
is just adding a lot of 'const'.
As far as I can tell, I have not added any new warnings - apart from making all
of tdbutil.c's function const (so they warn for adding that const string to
struct).
Andrew Bartlett
(This used to be commit 92a777d0eaa4fb3a1c7835816f93c6bdd456816d)
|
|
structure to be manipulated. Keys can be partially deleted now.
(This used to be commit 9181ba0c682c3f37bbbaab96928c39757491d225)
|
|
Still have to make sure that the datastructure is correct, though.
Then on to writing it out and editing/changing keys, values and sec_descriptors
(This used to be commit 8686b551cd0158a72c1ba4dfea6af5d0d7049210)
|
|
area overrun somewhere :-(
(This used to be commit 330012a4d787c8b4a2eb6a4b77f53110815e073e)
|
|
Soon to move onto writing these things out.
(This used to be commit eb2f1c826b28647fc99b46e203fe90147f7f3d05)
|
|
(This used to be commit 3564565d33e0e3a691e5014e39ab2e5156112a08)
|
|
(This used to be commit eca76f2f6609c9decd5cb9dcf7ab9b75c2a805a6)
|
|
(This used to be commit 16e0a3cc0834b691fcfec75d20dfdd5fa4d0afa6)
|
|
Does not print value values, yet.
(This used to be commit fbdd850e5a53e6e2c60dbf1eb6cdcf732307135f)
|
|
More work to do on the iterators and access functions.
Still not King. Stinks really.
(This used to be commit f4235ae1e6e691436d3b6dc2e903950b514a7601)
|
|
Fix a couple of duplicated macros.
(This used to be commit 5273844a748230f710d860e33bdcde1c0b1e6c6f)
|
|
but not tested as yet.
(This used to be commit 6b2943122a5008e0b06b52fcefd5e88326d9ecaa)
|
|
Security Descriptors/Keys not yet processed.
Make debugging printfs only occur if verbose is set.
Create an iterator for the registry key.
Still not King. Bother!
(This used to be commit 8bc6aa72f533976493dba7c70a95cdfc8856f0d4)
|
|
and the data parts of the VK records.
Also have to code up routines that can iterate across keys and values, as
well as return values associated with a particular key, etc.
(This used to be commit 8dd608f7adeab33655b7eb139185108a69f64906)
|
|
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)
|
|
(This used to be commit 0ee49da74d357cc73ff4c7e4ee5659a35d085d4c)
|
|
(This used to be commit 738a82110893b08fc701fbf7b639fa8cb6e116c7)
|
|
(This used to be commit bab2b240ec9a04b636c80599489746529cdd9d57)
|
|
./editreg ~rsharpe/profile/NTUSER.DAT
NK HDR: Name len: 12, class name len: 0
Key name: $$$PROTO.HIV
(This used to be commit 63efb7ab2f4d010d6df97c539c6225093cdbbdb1)
|
|
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)
|