summaryrefslogtreecommitdiffstats
path: root/source/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* Complete more of the code. An iterator is close to complete. Compiles,Richard Sharpe2002-12-101-18/+87
| | | | but not tested as yet.
* 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!
* 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.
* 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.
* Begin to decode Value Keys, names and values ...Richard Sharpe2002-12-091-0/+79
|
* Add some more handling of Key records ...Richard Sharpe2002-12-091-8/+124
|
* Commit some more changes ... Start processing the sub-keys, recursively.Richard Sharpe2002-12-081-4/+30
|
* 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
* 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.
* Add definitions of the various NT Registry on-disk structures ...Richard Sharpe2002-12-081-3/+181
|
* 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.
* Some more updates ...Richard Sharpe2002-12-081-2/+43
|
* The beginnings of a registry editing program.Richard Sharpe2002-12-081-0/+506
|
* Having waited for *way* too long, this is mimir's namecache and trusted domainAndrew Bartlett2002-11-262-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
* [print notify fixes from APP_HEAD]Gerald Carter2002-11-261-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
* Add support to switch between Squid 2.4 and 2.5 protocols - squid doesn'tAndrew Bartlett2002-11-241-7/+20
| | | | | | | encode the username, so don't decode it (users could play HTTP escaping games on usernames). Andrew Bartlett
* No need to #include smb.h, when we already #include include.hAndrew Bartlett2002-11-243-3/+0
|
* Add ntlm_auth, a new program to provide a stable interface to winbind'sAndrew Bartlett2002-11-241-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
* [merge from APP_HEAD]Gerald Carter2002-11-231-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
* jcmd really should run with a higher compiler warning level more often :-).Jeremy Allison2002-11-231-1/+1
| | | | Jeremy.
* Spelling fix.Tim Potter2002-11-201-1/+1
|
* Back out some goofs that accidentally checked in with printer publishing.Jim McDonough2002-11-181-3/+3
|
* Next step of printer publishing.Jim McDonough2002-11-181-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
* Add samdump and vampire to 'net rpc help'Andrew Bartlett2002-11-151-0/+2
| | | | Andrew Bartlett
* Don't crash when there are no arguments specifiedJelmer Vernooij2002-11-131-1/+4
|
* Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison2002-11-1213-118/+60
| | | | | | dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy.
* make sure we don't try to decode any null password buffers during aAndrew Tridgell2002-11-101-11/+30
| | | | | SAM sync. This copes with both unset passwords from NT4 DCs and the null passwords you get from w2k domains.
* Add net help join text, from Steve Langasek.Jim McDonough2002-11-091-15/+32
| | | | | | | Also update the other commands to his correct example of [<method>], since it is optional. Thanks, Steve.
* Fix bug where not specifying '-S PDC' in 'net join' would cause it to attemptAndrew Bartlett2002-11-091-0/+1
| | | | | | to contact a random IP address. Andrew Bartlett
* Make smbpasswd tell people to use 'net join', not 'net rpc join' now we haveAndrew Bartlett2002-11-081-1/+1
| | | | the automagic detection.
* Back out lp_modules() check - this one got in by accident when I added ↵Jelmer Vernooij2002-11-071-6/+0
| | | | poptSetOtherOptions
* fixed some formatting errors and improved some debug statements inAndrew Tridgell2002-11-071-7/+11
| | | | 'net rpc vampire'
* Merge of scalable printing code fix... Needs testing.Jeremy Allison2002-11-072-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.
* Merge of get_dc_list() api change. This was slightly more intrusiveTim Potter2002-11-062-27/+14
| | | | than the version in APPLIANCE so watch out for boogs.
* A small fix by Andy Thomas. Now that incrementing the Auth index hasRichard Sharpe2002-11-051-1/+2
| | | | | been pushed into a macro, things do not work so well. Move the increment out of the array index.
* Tell popt this command requires 1 'normal' argument and has two optional ↵Jelmer Vernooij2002-11-051-0/+7
| | | | 'normal' parameters
* See if char * makes the Irix C compiler happier than void *?Richard Sharpe2002-11-051-1/+1
|
* Make all of the required (I think) changes to make this code work forRichard Sharpe2002-11-051-25/+61
| | | | big endian and little endian systems.
* Start handling Big Endian machines as well as little endian.Richard Sharpe2002-11-051-2/+2
|
* Extra little fix to vl's patch. Make sure the passdb and testparm messagesAndrew Bartlett2002-11-031-2/+4
| | | | | | | say exactly the same thing - in particular that we can algorithmic rid base == 1000, and use the BASE_RID macro to avoid the use of magic numbers. Andrew Bartlett
* Force algorithmic rid base to sane values and talk about it.Volker Lendecke2002-11-031-0/+8
| | | | Volker
* Make sure that %u is used for SID elements ...Richard Sharpe2002-11-021-1/+1
|
* Add the changes to change the SIDs ...Richard Sharpe2002-11-011-19/+45
| | | | | | | | You must make two passes over NTUSER.DAT, one for the OWNER SID and one for GROUP SID. I have not tested this yet ... that is, I have not tried to use this on a Win2K etc server.
* Add more. Parse SIDs on the command line ... soon will actually mod theRichard Sharpe2002-11-011-11/+88
| | | | SecDescs in the NTUSER.DAT ...
* Fix small typo ...Richard Sharpe2002-11-011-1/+1
|
* Add more code to the profiles program and add Makefile.in support.Richard Sharpe2002-11-011-12/+353
|
* search & replace doesn't always work reliably :-)Volker Lendecke2002-10-311-2/+2
| | | | Volker
* Add a small utility that can print out the SEC DESCs in NTUSER.DAT.Richard Sharpe2002-10-311-0/+250
| | | | | | | | | This is an early, messy version of the code, but it illustrates what can be done. It currently only prints the Owner SID, Group SID, and Perms and SID from each ACE. Once more work is done, it could actually walk the SEC DESCs and ACEs and change the SIDS ...
* Implement 'net maxrid'. Needed to find the maximum current rid toVolker Lendecke2002-10-281-0/+79
| | | | | | set 'algorithmic rid base' correctly after a 'net rpc vampire'. Volker
* This moves the group mapping API into the passdb backend.Volker Lendecke2002-10-212-15/+20
| | | | | | | | | | | | Currently this calls back to mapping.c, but we have the framework to get the information into LDAP and the passdb.tdb (should we? I think so..). This has received moderate testing with net rpc vampire and usrmgr. I found the add_groupmem segfault in add_aliasmem as well, but that will be another checkin. Volker