summaryrefslogtreecommitdiffstats
path: root/source3/utils/editreg.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace all use of bzero with memset ...Richard Sharpe2003-06-161-15/+15
| | | | (This used to be commit e21aab516b33b01536dd9ea067a16b94a38ff4b1)
* More updates on editreg.c to bring it better in line with the Samba source.Richard Sharpe2003-06-101-21/+21
| | | | (This used to be commit dc69a638b9e12726f050d79b63f92f816c35fe8f)
* Sync up to head ...Richard Sharpe2003-05-091-34/+100
| | | | (This used to be commit 045210e129e6e0aef8f847e7ed8714d0d9974e7f)
* Sync to the changes in head ...Richard Sharpe2003-05-091-1/+1
| | | | (This used to be commit 7f76eac5a0f93107d990b0fde651838c38970092)
* Fix up a bunch of problems in editreg.cRichard Sharpe2003-05-091-16/+16
| | | | | Now the build farm will no doubt find more. (This used to be commit e91e648c9b0841fbffbc8f39e71abade0996a1e7)
* Fix up some of the warnings that the build farm is finding ...Richard Sharpe2003-05-051-3/+2
| | | | (This used to be commit 29d775fe68be8988e344c35106a80d6ca8236e4d)
* Syncronize head editreg.c with 3.0.0 ...Richard Sharpe2003-05-051-93/+1200
| | | | (This used to be commit 8257f537de57a2681e6d9cc2c421435b1d751a60)
* Fix some compiler warnings.Tim Potter2003-05-051-4/+1
| | | | (This used to be commit 52d5ff7bdafabb421e76b6b19d95be22b380ddb4)
* More updates ...Richard Sharpe2003-04-171-2/+64
| | | | (This used to be commit 410451f9478ff1e73cabc8ee2213ded4f08315c6)
* Updates to editreg.c to provide more functionality ...Richard Sharpe2003-04-171-261/+1119
| | | | | Hopefully more coming ... (This used to be commit 22d1819011de02351976bad778837a28ab45a449)
* Convert to popt.Jelmer Vernooij2003-03-231-42/+29
| | | | (This used to be commit 691c63ad6b522ae7984017ebadffb5c7c13f6992)
* Recover much of my changes to editreg.c. Add some const and start codingRichard Sharpe2003-02-161-8/+203
| | | | | the regedit file parser etc. (This used to be commit 5040b498675b91cd18bc7fe4456c94df0a8fa41d)
* Some fixes to editreg. Clientgen should not be touched, and an update to ↵Richard Sharpe2003-01-081-3/+0
| | | | | | configure that Herb needs. (This used to be commit 490ff93bbfe38d92746693d5f9902f985de6bc12)
* this makes it compile, but I'm not sure if it is correct. Are we reallyHerb Lewis2003-01-071-1/+1
| | | | | testing a pointer value to be equal to 0x19 ??? (This used to be commit 15b2b91f4b77a62163c0f79592111d4809317b9f)
* 'index' is the name of a libc function. Rename to 'ndx' to avoid compilerTim Potter2003-01-071-4/+4
| | | | | warnings. (This used to be commit 431ac28b5b7ea688ec342b5834c25eca059e7a16)
* BIG patch...Andrew Bartlett2003-01-021-10/+10
| | | | | | | | | | | | | | | | | 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)
* Start adding code to allow the in memory version of the registry treeRichard Sharpe2002-12-171-23/+168
| | | | | structure to be manipulated. Keys can be partially deleted now. (This used to be commit 9181ba0c682c3f37bbbaab96928c39757491d225)
* We now read in the whole of the registry, including security bits.Richard Sharpe2002-12-161-13/+21
| | | | | | | 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)
* All the code for reading in the registy is done, but I have a malloc'dRichard Sharpe2002-12-151-21/+83
| | | | | area overrun somewhere :-( (This used to be commit 330012a4d787c8b4a2eb6a4b77f53110815e073e)
* Almost finished processing the registry encoded SEC DESC ...Richard Sharpe2002-12-151-1/+102
| | | | | Soon to move onto writing these things out. (This used to be commit eb2f1c826b28647fc99b46e203fe90147f7f3d05)
* More code to read in and create security descriptor entries ...Richard Sharpe2002-12-141-28/+121
| | | | (This used to be commit 3564565d33e0e3a691e5014e39ab2e5156112a08)
* Begin to handle Security descriptors for keys.Richard Sharpe2002-12-131-0/+95
| | | | (This used to be commit eca76f2f6609c9decd5cb9dcf7ab9b75c2a805a6)
* Fix a small bug.Richard Sharpe2002-12-111-2/+2
| | | | (This used to be commit 16e0a3cc0834b691fcfec75d20dfdd5fa4d0afa6)
* Improve the iterator wrt values ... Now prints keys and value names.Richard Sharpe2002-12-111-6/+60
| | | | | Does not print value values, yet. (This used to be commit fbdd850e5a53e6e2c60dbf1eb6cdcf732307135f)
* Tidy up some bits. We can now at least list all the keys.Richard Sharpe2002-12-101-16/+26
| | | | | | | More work to do on the iterators and access functions. Still not King. Stinks really. (This used to be commit f4235ae1e6e691436d3b6dc2e903950b514a7601)
* Add support to Makefile.in for editregRichard Sharpe2002-12-101-3/+0
| | | | | Fix a couple of duplicated macros. (This used to be commit 5273844a748230f710d860e33bdcde1c0b1e6c6f)
* Complete more of the code. An iterator is close to complete. Compiles,Richard Sharpe2002-12-101-18/+87
| | | | | but not tested as yet. (This used to be commit 6b2943122a5008e0b06b52fcefd5e88326d9ecaa)
* Clean up the code some more. Create more elements of the tree.Richard Sharpe2002-12-101-7/+84
| | | | | | | | 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)
* Handle the creation of more parts of the tree ... Still have to do SK recordsRichard Sharpe2002-12-091-3/+38
| | | | | | | | 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)
* Start allocating structures to keep the in memory copy of the registry treeRichard Sharpe2002-12-091-5/+52
| | | | | | | 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)
* Begin to decode Value Keys, names and values ...Richard Sharpe2002-12-091-0/+79
| | | | (This used to be commit 0ee49da74d357cc73ff4c7e4ee5659a35d085d4c)
* Add some more handling of Key records ...Richard Sharpe2002-12-091-8/+124
| | | | (This used to be commit 738a82110893b08fc701fbf7b639fa8cb6e116c7)
* Commit some more changes ... Start processing the sub-keys, recursively.Richard Sharpe2002-12-081-4/+30
| | | | (This used to be commit bab2b240ec9a04b636c80599489746529cdd9d57)
* Fix the breakage, and start processing the first key record:Richard Sharpe2002-12-081-8/+110
| | | | | | | ./editreg ~rsharpe/profile/NTUSER.DAT NK HDR: Name len: 12, class name len: 0 Key name: $$$PROTO.HIV (This used to be commit 63efb7ab2f4d010d6df97c539c6225093cdbbdb1)
* Define some macros for accessing shorts and ints in an endian independent ↵Richard Sharpe2002-12-081-19/+46
| | | | | | | | | | | 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)
* Add definitions of the various NT Registry on-disk structures ...Richard Sharpe2002-12-081-3/+181
| | | | (This used to be commit a4f9b9effc9491bdc4d0fe4bea3d25d7436e6a71)
* Fix DAT_TIME so it becomes NTTIME and matches Samba source.Richard Sharpe2002-12-081-3/+12
| | | | | Add code to start reading the registry file. (This used to be commit 10bc459dd9d3b5e695f9e18624200705a1bf33dc)
* Some more updates ...Richard Sharpe2002-12-081-2/+43
| | | | (This used to be commit 92697adcd72434bcc38b98d618f013746a4db2ed)
* The beginnings of a registry editing program.Richard Sharpe2002-12-081-0/+506
(This used to be commit b9cb3e6f2acc3e439e2fe99c750ab32983357d8f)