summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
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)
2002-11-05Start handling Big Endian machines as well as little endian.Richard Sharpe1-2/+2
(This used to be commit 8f45315b913a9574dfeedaadf5560d143b38ca05)
2002-11-03Extra little fix to vl's patch. Make sure the passdb and testparm messagesAndrew Bartlett1-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 (This used to be commit b70f2a8047ac549841bc103932b38951e9814186)
2002-11-03Force algorithmic rid base to sane values and talk about it.Volker Lendecke1-0/+8
Volker (This used to be commit ce5b2d991b42bbf6865ff75194f8ee4b46694841)
2002-11-02Make sure that %u is used for SID elements ...Richard Sharpe1-1/+1
(This used to be commit 82f6b264037a2f1b882dc75bc43c6c8b41477270)
2002-11-01Add the changes to change the SIDs ...Richard Sharpe1-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. (This used to be commit 7eb89ba467a66190775943834683a42b693d2e3b)
2002-11-01Add more. Parse SIDs on the command line ... soon will actually mod theRichard Sharpe1-11/+88
SecDescs in the NTUSER.DAT ... (This used to be commit dbc608ba7e591175cd02f4adfdcfecd1350526a5)
2002-11-01Fix small typo ...Richard Sharpe1-1/+1
(This used to be commit 59735a5aac88b076320874f06056d50947396fb3)
2002-11-01Add more code to the profiles program and add Makefile.in support.Richard Sharpe1-12/+353
(This used to be commit daefe52a56a7b977b8e561f8f668c42183de413b)
2002-10-31search & replace doesn't always work reliably :-)Volker Lendecke1-2/+2
Volker (This used to be commit 54115fd16ff10d1958153268dfd0f22f3c400bb5)
2002-10-31Add a small utility that can print out the SEC DESCs in NTUSER.DAT.Richard Sharpe1-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 ... (This used to be commit 322151509c255aa288627ae239661154ab0c83d5)
2002-10-28Implement 'net maxrid'. Needed to find the maximum current rid toVolker Lendecke1-0/+79
set 'algorithmic rid base' correctly after a 'net rpc vampire'. Volker (This used to be commit 5c0869be321852919dba1566c6bcab02e4657541)
2002-10-21This moves the group mapping API into the passdb backend.Volker Lendecke2-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 (This used to be commit f30095852fea19421ac8e25dfe9c5cd4b2206f84)
2002-10-21I was somewhat annoyed by 'pdbedit -a vl' spitting an error messageVolker Lendecke1-1/+7
at me :-) Volker (This used to be commit c4452ef22cf63c73bfb3574a55a4810af511ff20)
2002-10-21Fix usage messageJelmer Vernooij1-1/+1
(This used to be commit 2e328928aa9bfafbfa00596f261dbc68bcd51e6b)
2002-10-21sync with SAMBA_3_0Gerald Carter1-585/+0
(This used to be commit 07ac86323f71d6228a222a1680d1c7def0eb7109)
2002-10-17Added new error codes. Fix up connection code to retry in the same wayJeremy Allison3-4/+4
that app-head does. Jeremy. (This used to be commit b521abd86b10573ca8f9116907c81e6deb55f049)
2002-10-14In my test, sync_context simply has to be incremented. CanVolker Lendecke1-10/+9
somebody with a large domain do a net rpc samdump to verify this? Without this change, I don't get everything from a NT4 SP1 and SP6 PDC. Volker (This used to be commit f6a9180a5ff62932de0d4f890092b0d8281e9d6e)
2002-10-12Nice *big* patch from metze.Andrew Bartlett2-34/+34
The actual design change is relitivly small however: It all goes back to jerry's 'BOOL store', added to many of the elements in a SAM_ACCOUNT. This ensured that smb.conf defaults did not get 'fixed' into ldap. This was a great win for admins, and this patch follows in the same way. This patch extends the concept - we don't store values back into LDAP unless they have been changed. So if we read a value, but don't update it, or we read a value, find it's not there and use a default, we will not update ldap with that value. This reduced clutter in our LDAP DB, and makes it easier to change defaults later on. Metze's particular problem was that when we 'write back' an unchanged value, we would clear any muliple values in that feild. Now he can still have his mulitivalued 'uid' feild, without Samba changing it for *every* other operation. This also applies to many other attributes, and helps to eliminate a nasty race condition. (Time between get and set) This patch is big, and needs more testing, but metze has tested usrmgr, and I've fixed some pdbedit bugs, and tested domain joins, so it isn't compleatly flawed ;-). The same system will be introduced into the SAM code shortly, but this fixes bugs that people were coming across in production uses of Samba 3.0/HEAD, hence it's inclusion here. Andrew Bartlett (This used to be commit 7f237bde212eb188df84a5d8adb598a93fba8155)
2002-10-08merge from APP_HEADGerald Carter1-0/+5
* s/driverlocation/comment * detect native mode domain and enumerate local groups Also * Added sendfile stats from SAMBA_2_2 (This used to be commit 764b58e2c0b3179cffe157c0ab58761b156b8423)
2002-10-06try to put every security descriptors related definitions in the same file.Simo Sorce1-2/+2
also try to uniform names to a clean scheme. first part. (This used to be commit a123e05877caf90c28980be2d84b1d0b46e4fd21)
2002-10-05Use popt_common and use popt for showing help infoJelmer Vernooij1-30/+15
(This used to be commit de9ea4ee6b3a939044d84f43ce14f10dd16341ce)
2002-10-05Add more common options to popt_common - and start usingJelmer Vernooij1-19/+7
the ones for debuglevel and configuration file in pdbedit (This used to be commit cb0d03a393d9009c3e16b9d05d88c171de9a9414)
2002-10-04merge of new client side support the Win2k LSARPC UUID in rpcbindGerald Carter4-33/+33
from APP_HEAD (This used to be commit 38c9e4299845fd77cc8629945ce2d259489f7437)
2002-09-30fix logic error in testparm with wins serversGerald Carter1-2/+2
(This used to be commit b9942092cf3d0a9fbf94b51b576836a86059551b)
2002-09-29Some more work on vampire.Volker Lendecke1-26/+18
Volker (This used to be commit f68825e93371e3d3403167f608d1da0d7ada1a04)