summaryrefslogtreecommitdiffstats
path: root/source/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* I was somewhat annoyed by 'pdbedit -a vl' spitting an error messageVolker Lendecke2002-10-211-1/+7
| | | | | | at me :-) Volker
* Fix usage messageJelmer Vernooij2002-10-211-1/+1
|
* sync with SAMBA_3_0Gerald Carter2002-10-211-585/+0
|
* Added new error codes. Fix up connection code to retry in the same wayJeremy Allison2002-10-173-4/+4
| | | | | that app-head does. Jeremy.
* In my test, sync_context simply has to be incremented. CanVolker Lendecke2002-10-141-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
* Nice *big* patch from metze.Andrew Bartlett2002-10-122-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
* merge from APP_HEADGerald Carter2002-10-081-0/+5
| | | | | | | | | * s/driverlocation/comment * detect native mode domain and enumerate local groups Also * Added sendfile stats from SAMBA_2_2
* try to put every security descriptors related definitions in the same file.Simo Sorce2002-10-061-2/+2
| | | | | | also try to uniform names to a clean scheme. first part.
* Use popt_common and use popt for showing help infoJelmer Vernooij2002-10-051-30/+15
|
* Add more common options to popt_common - and start usingJelmer Vernooij2002-10-051-19/+7
| | | | the ones for debuglevel and configuration file in pdbedit
* merge of new client side support the Win2k LSARPC UUID in rpcbindGerald Carter2002-10-044-33/+33
| | | | from APP_HEAD
* fix logic error in testparm with wins serversGerald Carter2002-09-301-2/+2
|
* Some more work on vampire.Volker Lendecke2002-09-291-26/+18
| | | | Volker
* Minor updates:Andrew Bartlett2002-09-272-6/+20
| | | | | | | | | | Add const to some more functions, and reintroduce 'net rpc join oldstyle' as *only* trying an old-style join. This means that we can rely on it not prompting for a password on the build farm. Andrew Bartlett
* Fix typoAndrew Bartlett2002-09-271-1/+1
|
* add -r to usage outputGerald Carter2002-09-261-0/+1
|
* Add -r parameter to smbgroupedit. With -r you can manually chooseVolker Lendecke2002-09-261-21/+26
| | | | | | a rid. Volker
* move all the passdb internal interface to NTSTATUSSimo Sorce2002-09-261-13/+13
| | | | | | | | | only the interface has been fully moved to NTSTATUS not all the plugins make full use of it, but have been all converted. My testings passed completely, however a bit of more testing is welcome Simo.
* This is a first working version of net rpc vampire. First do a net rpcVolker Lendecke2002-09-241-12/+264
| | | | | | | | getsid, then join as a BDC, and then watch net rpc vampire suck out the good stuff out of a PDC :-). It's not perfect, but it does quite a bit for me. Watch out for more. Volker
* Update some help. People keep forgetting that!Richard Sharpe2002-09-231-1/+3
|
* Add net getlocalsid [name]Richard Sharpe2002-09-231-0/+26
|
* Ok, getting a bit more ambitious. Stop me, if this is wrong. ;-)Volker Lendecke2002-09-231-2/+3
| | | | | | | | | When creating a group you have to take care of the fact that the underlying unix might not like the group name. This change gets around that problem by giving the add group script the chance to invent a group name. It then must only return the newly created numerical gid. Volker
* Cosmetic fix for debug message.Volker Lendecke2002-09-231-2/+1
|
* Add the ability to view/set the current local domain SIDs.Volker Lendecke2002-09-231-0/+45
| | | | Volker
* Change parsing of policy and privs delta to what Ethereal says.Volker Lendecke2002-09-221-3/+1
| | | | Volker
* First code for 'net rpc vampire'. We should probably find a moreVolker Lendecke2002-09-182-1/+279
| | | | | | positive name for this. It creates users and global groups. More to come. Volker
* Add a synonym for samdump ...Richard Sharpe2002-09-181-0/+1
|
* Add clock skew handling to our kerberos code. This allows us to cope withAndrew Tridgell2002-09-171-14/+12
| | | | the DC being out of sync with the local machine.
* added gencache implementation from mimir - thanks!Andrew Tridgell2002-09-113-0/+330
|
* removing compiler warnings about shadowed globalsGerald Carter2002-09-101-18/+18
|
* This is the 'easy' parts of the trusted domains patch n+3 patch fromAndrew Bartlett2002-09-061-0/+8
| | | | | | | | | | | | Rafal Szczesniak <mimir@diament.ists.pwr.wroc.pl> It includes a conversion of make_user_info*() to NTSTATUS and some minor changes to other files. It also picks up on a nasty segfault that can occour in some security=domain cases. Andrew Bartlett
* Patch from "Stefan (metze) Metzmacher" <metze@metzemix.de>Andrew Bartlett2002-09-061-1/+1
| | | | | | | | | | | | | to extend the ADS_STATUS system to include NTSTATUS, and to provide a better general infrustructure for his sam_ads work. I've also added some extra failure mode DEBUG()s to parts of the code. NOTE: The ADS_ERR_OK() macro is rather sensitive to braketing issues - without the final set of brakets, the test is essentially inverted - causing some intersting 'error = success' messages... Andrew Bartlett