summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2002-12-16fix usage messageGerald Carter1-2/+3
(This used to be commit e68c7e0ebc053b97abf9c8a8213f305679ef000d)
2002-12-16We now read in the whole of the registry, including security bits.Richard Sharpe1-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)
2002-12-15Fix fnum leak under error condition in cacl_dump.Tim Potter1-6/+13
(This used to be commit ab337572b82a0b40b56f055cdbb2f5864ef10c87)
2002-12-15All the code for reading in the registy is done, but I have a malloc'dRichard Sharpe1-21/+83
area overrun somewhere :-( (This used to be commit 330012a4d787c8b4a2eb6a4b77f53110815e073e)
2002-12-15Almost finished processing the registry encoded SEC DESC ...Richard Sharpe1-1/+102
Soon to move onto writing these things out. (This used to be commit eb2f1c826b28647fc99b46e203fe90147f7f3d05)
2002-12-14More code to read in and create security descriptor entries ...Richard Sharpe1-28/+121
(This used to be commit 3564565d33e0e3a691e5014e39ab2e5156112a08)
2002-12-13Begin to handle Security descriptors for keys.Richard Sharpe1-0/+95
(This used to be commit eca76f2f6609c9decd5cb9dcf7ab9b75c2a805a6)
2002-12-12merge of smbpasswd segfault from SAMBA_2_2Gerald Carter1-7/+10
(This used to be commit 8311c4bf8d9697f5a65a00300b60dfde12e46ae7)
2002-12-11Fix a small bug.Richard Sharpe1-2/+2
(This used to be commit 16e0a3cc0834b691fcfec75d20dfdd5fa4d0afa6)
2002-12-11Improve the iterator wrt values ... Now prints keys and value names.Richard Sharpe1-6/+60
Does not print value values, yet. (This used to be commit fbdd850e5a53e6e2c60dbf1eb6cdcf732307135f)
2002-12-10Tidy up some bits. We can now at least list all the keys.Richard Sharpe1-16/+26
More work to do on the iterators and access functions. Still not King. Stinks really. (This used to be commit f4235ae1e6e691436d3b6dc2e903950b514a7601)
2002-12-10Add support to Makefile.in for editregRichard Sharpe1-3/+0
Fix a couple of duplicated macros. (This used to be commit 5273844a748230f710d860e33bdcde1c0b1e6c6f)
2002-12-10Complete more of the code. An iterator is close to complete. Compiles,Richard Sharpe1-18/+87
but not tested as yet. (This used to be commit 6b2943122a5008e0b06b52fcefd5e88326d9ecaa)
2002-12-10Clean up the code some more. Create more elements of the tree.Richard Sharpe1-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)
2002-12-09Handle the creation of more parts of the tree ... Still have to do SK recordsRichard Sharpe1-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)
2002-12-09Start allocating structures to keep the in memory copy of the registry treeRichard Sharpe1-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)
2002-12-09Begin to decode Value Keys, names and values ...Richard Sharpe1-0/+79
(This used to be commit 0ee49da74d357cc73ff4c7e4ee5659a35d085d4c)
2002-12-09Add some more handling of Key records ...Richard Sharpe1-8/+124
(This used to be commit 738a82110893b08fc701fbf7b639fa8cb6e116c7)
2002-12-08Commit some more changes ... Start processing the sub-keys, recursively.Richard Sharpe1-4/+30
(This used to be commit bab2b240ec9a04b636c80599489746529cdd9d57)
2002-12-08Fix the breakage, and start processing the first key record:Richard Sharpe1-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)
2002-12-08Define some macros for accessing shorts and ints in an endian independent ↵Richard Sharpe1-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)
2002-12-08Add definitions of the various NT Registry on-disk structures ...Richard Sharpe1-3/+181
(This used to be commit a4f9b9effc9491bdc4d0fe4bea3d25d7436e6a71)
2002-12-08Fix DAT_TIME so it becomes NTTIME and matches Samba source.Richard Sharpe1-3/+12
Add code to start reading the registry file. (This used to be commit 10bc459dd9d3b5e695f9e18624200705a1bf33dc)
2002-12-08Some more updates ...Richard Sharpe1-2/+43
(This used to be commit 92697adcd72434bcc38b98d618f013746a4db2ed)
2002-12-08The beginnings of a registry editing program.Richard Sharpe1-0/+506
(This used to be commit b9cb3e6f2acc3e439e2fe99c750ab32983357d8f)
2002-11-26Having waited for *way* too long, this is mimir's namecache and trusted domainAndrew Bartlett2-21/+42
cache code. This uses gencache, mimir's new caching code that stores at text-based cache of various data. Mimir has done a *lot* of work on this patch, and it is finally time to get it in CVS. Andrew Bartlett (This used to be commit 47f3bfe9564e7f3aff60cefaefd599e0abb30a31)
2002-11-26[print notify fixes from APP_HEAD]Gerald Carter1-5/+49
* fixing change notify on print server handle * adding change notify support into smbcontrol for sending comment changes, etc... All part of CR 1159/1160 (This used to be commit 256d8c27cdc6f802f3bfba44593b07014f6ae10a)
2002-11-24Add support to switch between Squid 2.4 and 2.5 protocols - squid doesn'tAndrew Bartlett1-7/+20
encode the username, so don't decode it (users could play HTTP escaping games on usernames). Andrew Bartlett (This used to be commit 71e24d0200e71ffcf52eaa77edc89175f31a45cd)
2002-11-24No need to #include smb.h, when we already #include include.hAndrew Bartlett3-3/+0
(This used to be commit b3049bb0d0ff97142940e2b33e9603d1c231ccfe)
2002-11-24Add ntlm_auth, a new program to provide a stable interface to winbind'sAndrew Bartlett1-0/+416
authentication code. In particular, ntlm_auth is designed to replace the winbind authentication 'helpers' currently supplied by Squid. I have added support for the current plaintext password protocol used by Squid, and will add the real guts (NTLMSSP support) shortly. I'll merge this into 3.0 when I've got the interface more stable (error message format etc) and got the important NTLMSSP support added. Also move SWAT's URL decoding code into util_str.c, for use in both utilities. Andrew Bartlett (This used to be commit 82dbf838879e8a2d2d3f9dd5be6eda50b780b787)
2002-11-23[merge from APP_HEAD]Gerald Carter1-1/+2
90% fix for CR 1076. The password server parameter will no take things like password server = DC1 * which means to contact DC1 first and the go to auto lookup if it fails. jerry (This used to be commit c31a17889e3e4daf7c1e807038efc2c0fba78be3)
2002-11-23jcmd really should run with a higher compiler warning level more often :-).Jeremy Allison1-1/+1
Jeremy. (This used to be commit 0ac3af1a27b8f1b9935bbcb6f3ec0b11d01bfcbd)
2002-11-20Spelling fix.Tim Potter1-1/+1
(This used to be commit 43cd6e5a702bb1004b36a5845e0765851395ebf2)
2002-11-18Back out some goofs that accidentally checked in with printer publishing.Jim McDonough1-3/+3
(This used to be commit 6b51934616d8dd4280ce3013378f7ddd5569f267)
2002-11-18Next step of printer publishing.Jim McDonough1-34/+37
net ads printer publish <printername> [servername] Will retreive the DsSpooler and DsDriver info by rpc for a remote server then publish it. Next comes doing it within smbd (This used to be commit 64951938cc5666a757683cbe9bee3a2c20a05323)
2002-11-15Add samdump and vampire to 'net rpc help'Andrew Bartlett1-0/+2
Andrew Bartlett (This used to be commit cc7566ca508f8705a95cdd546553a018731d5f5f)
2002-11-13Don't crash when there are no arguments specifiedJelmer Vernooij1-1/+4
(This used to be commit 0855e5810aefd71c37031be31abe91229e2de8b3)
2002-11-12Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison13-118/+60
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-10make sure we don't try to decode any null password buffers during aAndrew Tridgell1-11/+30
SAM sync. This copes with both unset passwords from NT4 DCs and the null passwords you get from w2k domains. (This used to be commit 20c1cd86aca8040c1fe7497b84bb546526676e48)
2002-11-09Add net help join text, from Steve Langasek.Jim McDonough1-15/+32
Also update the other commands to his correct example of [<method>], since it is optional. Thanks, Steve. (This used to be commit 9fc12e6cb23aa34b2542252b2a05d8a17b8172ce)
2002-11-09Fix bug where not specifying '-S PDC' in 'net join' would cause it to attemptAndrew Bartlett1-0/+1
to contact a random IP address. Andrew Bartlett (This used to be commit e6837a85605f258da1fa9ac7ad329bc62392f29a)
2002-11-08Make smbpasswd tell people to use 'net join', not 'net rpc join' now we haveAndrew Bartlett1-1/+1
the automagic detection. (This used to be commit a066bed5a4855dac955bf0bd7630939220314cfe)
2002-11-07Back out lp_modules() check - this one got in by accident when I added ↵Jelmer Vernooij1-6/+0
poptSetOtherOptions (This used to be commit d7388b3e1e33a3514007e0e0b508469cb1ebed64)
2002-11-07fixed some formatting errors and improved some debug statements inAndrew Tridgell1-7/+11
'net rpc vampire' (This used to be commit 1526b3b19e0be5926977d3eb1e642330bfeba5a2)
2002-11-07Merge of scalable printing code fix... Needs testing.Jeremy Allison2-6/+7
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-06Merge of get_dc_list() api change. This was slightly more intrusiveTim Potter2-27/+14
than the version in APPLIANCE so watch out for boogs. (This used to be commit 1e054e3db654801fbb5580211529cdfdea9ed686)
2002-11-05A small fix by Andy Thomas. Now that incrementing the Auth index hasRichard Sharpe1-1/+2
been pushed into a macro, things do not work so well. Move the increment out of the array index. (This used to be commit 39136827d135c91e42ec2b36f420262b1b18093c)
2002-11-05Tell popt this command requires 1 'normal' argument and has two optional ↵Jelmer Vernooij1-0/+7
'normal' parameters (This used to be commit b4f00ceaadc77158870ea2bd9d8a0e0845c89b7a)
2002-11-05See if char * makes the Irix C compiler happier than void *?Richard Sharpe1-1/+1
(This used to be commit 6b218da6453032339f2451a434d14894050dd1b5)
2002-11-05Make all of the required (I think) changes to make this code work forRichard Sharpe1-25/+61
big endian and little endian systems. (This used to be commit f50051120f93b5f95f72dcb3df201979e6302f5b)