summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2003-05-01init wellknown in pdbedit tooSimo Sorce1-0/+6
add group mapping mappings to idmap at startup (This used to be commit 62365023db61d5a4fa32845af3db73bce6cb94ea)
2003-05-01*id_to_*id call reshape to return NTSTATUS errorsSimo Sorce1-0/+2
plus internal fixes 1st stage (This used to be commit 6d036761e565bc93964bb3c939d5b7d78d5778a3)
2003-04-29This is a nice rewrite:Simo Sorce1-33/+15
SAM_ACCOUNT does not have anymore uid and gid fields all the code that used them has been fixed to use the proper idmap calls fix to idmap_tdb for first time idmap.tdb initialization. auth_serversupplied_info structure has now an uid and gid field few other fixes to make the system behave correctly with idmap tested only with tdbsam, but smbpasswd and nisplus should be ok have not tested ldap ! (This used to be commit 6a6f6032467e55aa9b76390e035623976477ba42)
2003-04-29adding ifdef'd code to add alias membership for vampireGerald Carter1-0/+138
(This used to be commit 21867183e082a4ec7fec64a534677058cba1a598)
2003-04-29Merge 3.0's change to how we add users onto HEAD, including a few other bitsAndrew Bartlett1-12/+4
of sync-up for the rpc_server/srv_samr_nt.c Andrew Bartlett (This used to be commit 3c867aedd9abc29389f5d049dbc94ada6738d1b0)
2003-04-28Merge compile and other fixes from 3.0 to HEAD.Andrew Bartlett3-3/+3
Including smbtorture bugfixes, and a better TCONDEV test. Andrew Bartlett (This used to be commit 52c5806004022f153af7d022afdb3ec7cc0d2548)
2003-04-28Fix compiler warning.Tim Potter1-1/+1
(This used to be commit 6a783ca81cead3eed556570152608fd7a224f1ee)
2003-04-28Getting ready for code that actually writes a registry file out.Richard Sharpe1-7/+32
(This used to be commit 22e61a7e77eabd462f192fb03b5adb1d07fa7409)
2003-04-26let's suppose I want to specify exactly which SID a user should have ...Simo Sorce1-5/+74
Simo. (This used to be commit ef1eaa9b7e98b532e8ef98c1036a4b2d5f3d4dc5)
2003-04-25Finish laying out the SD, and now back to finishing off NK records ...Richard Sharpe1-1/+20
(This used to be commit 74c8f616c33b08d94a15e1ba8219063b190fe5f2)
2003-04-25More code to store ACEs and SIDs. I have almost enough to start testingRichard Sharpe1-4/+80
the writing of a registry tree, since I can store the header, and the first key (NK_REC) and the SD associated with that key, the SK_REC. (This used to be commit abced0ed9eec7b8467065892c56cef9b86cff947)
2003-04-25Keep coding this boring stuff to lay out security descriptors ...Richard Sharpe1-2/+77
(This used to be commit 6cf0ee44caa182057eed09e7f646ef20eb059b17)
2003-04-25Missed another condition on a while loop.Tim Potter1-1/+1
(This used to be commit 8ff52aec87a2770c5d7de50786307d246b4be6af)
2003-04-25fix and if () that should be an 'else if()'Gerald Carter1-1/+1
(This used to be commit b110c499fa2a483ee82dc471aff8b6d93f6a88cc)
2003-04-25When calling cli_samr_enum_{dom,als}_groups in a while loop, theTim Potter1-2/+2
terminating condition should be result != STATUS_MORE_ENTRIES, not result == NT_STATUS_OK otherwise we get stuck in an infinite loop when there's any sign of trouble. (This used to be commit 2266d281a4bb0a034461ba3e72513609f86e9a38)
2003-04-24groupmap delete should take a name or a SIDGerald Carter1-2/+13
(This used to be commit 4c7ee6e6b82c69ead96bc90c75cbdfab19486bb5)
2003-04-24More code to do with constructing SK records and self relative SDs.Richard Sharpe1-3/+27
(This used to be commit 7105265238de850f5b7effef3be8fb3f5d383669)
2003-04-24More functions to compute the space taken up by SIDs, ACEs, ACLs, SECRichard Sharpe1-3/+96
DESCs etc, so we can store these in an output file. (This used to be commit 7607a1c3cd5ffb69b8db0bfe50283bda97047c42)
2003-04-23Add more code to store keys and other records ... still more to goRichard Sharpe1-10/+92
(This used to be commit 39f298fd395b91a0cf4bcadf3938b58a9a14c95f)
2003-04-23allow the unix group in a mapping to be changed; doesn't work with LDAP ↵Gerald Carter1-1/+21
right now but should be ok with tdb's (This used to be commit 039e77e1d5b6e68cf85bdcc71ff309ebe6528728)
2003-04-22don't reset the group type unless specifiedGerald Carter1-14/+8
(This used to be commit cb852a047413a3499fde68a353011afdcaa92ef2)
2003-04-22Complete the space allocation code for HBIN blocks ...Richard Sharpe1-1/+25
(This used to be commit ae5f8e4b5f7b8880293cc94c9bbe0df81a56959e)
2003-04-22Commit more code dealing with allocating space in the HBIN blocks ...Richard Sharpe1-7/+101
(This used to be commit cfa67f23e3e2ba4c7abd40405227b0a8b1b76fc8)
2003-04-22default new groups to domain groupsGerald Carter1-3/+3
(This used to be commit f0c7d9def78db31b0f7f1e97a4cb6dac3382e217)
2003-04-22Merge from 3.0 - fix domain joins not to always join as BDC.Andrew Bartlett2-6/+4
(This used to be commit 09bc2dd51c8407536b68aaeaeba4546f93256ec2)
2003-04-22support referencing group by sid in all operations; allow group name to be ↵Gerald Carter1-13/+60
changed (This used to be commit 00dfaa7c2c9227a082ca17ed14aefc19d9087a57)
2003-04-22merging fixes from SAMBA_3_0Gerald Carter1-5/+15
(This used to be commit 8c3be38f6acbc85454f2c9bb74c358c99ee5d22a)
2003-04-22More infrastructure for storing registryRichard Sharpe1-17/+63
(This used to be commit de337632c99080f4be73a6e49839d424b49c8cc3)
2003-04-21Use the -W domain option to select the SID to showAndrew Bartlett1-2/+2
(This used to be commit 715bd4cf4e2d9d11db031ef3ed5e614b4c1a8a13)
2003-04-21Correct comments about breadth first, as the registry tree is stored in aRichard Sharpe1-2/+28
depth first fashion in the file. Also add some more infrastructure needed to handle storing these trees. (This used to be commit f993f7187c7ae49f443aa1966584aa88787bd7ca)
2003-04-21Start the outline of the code to store a registry tree ...Richard Sharpe1-2/+99
(This used to be commit 03fce4ed0f73586928424e75bd6d7db9ff7105dd)
2003-04-21Some comments about the format of the on-disk reg file, as well asRichard Sharpe1-7/+86
partially implement some routines to construct a default ACL and SEC DESC etc. (This used to be commit 043374a3c0be6769b4fee2228dcff42abbb74028)
2003-04-20Add a -f command-line flag to specify printing all paths or only terminalRichard Sharpe1-3/+11
paths. (This used to be commit 0741369c59bcb6057f6b32d3fe4f6dec08ce4ae3)
2003-04-20Well, we can now add keys and values and delete keys and values ...Richard Sharpe1-4/+6
Lots more to do, like handling regular expressions for keys, and input of the security descriptors, etc. However, I now have to work on writing the in-memory tree out to a file in a format that Windows can understand. (This used to be commit 562b36510c704eba84b036aacdb1f984339afafc)
2003-04-20Add code to delete values ...Richard Sharpe1-9/+104
This needs a lot more testing and debugging, but it does delete values. Next to see if it can add values ... (This used to be commit 02e6782243a7ef9e182db449ad377b0d168a40b2)
2003-04-20Begin the code that handles key values ... Delete a key value and add aRichard Sharpe1-4/+58
key value, and tidy up processing of key values when reading in the registry file ... (This used to be commit 53ea4c0de88a350b99e36c0dc514c5f2821ff7f8)
2003-04-20Complete most of the coding for adding keys. We can now add a key.Richard Sharpe1-26/+32
Next, we have to add the code for adding values etc. (This used to be commit 266fc6c9f2283c81de97e526e9f289288948cb27)
2003-04-20The code is a bit of a mess right now.Richard Sharpe1-51/+146
Added code to add keys to the in-momory key tree. Added code to convert SID strings to SIDs in memory format. Added code to construct initial security descriptors and to inherit security descriptors. A couple of more hours should see the code to add keys and values complete. Then I have to start on the code to write out a registry :-( (This used to be commit fc691a9a5e86686ebd0b3bab75a286488ab6ca57)
2003-04-20More functionality, esp around adding keys and inheritance of securityRichard Sharpe1-1/+26
descriptors etc ... (This used to be commit b8e85afefbe52701317632d1c1a446785ed66abf)
2003-04-20MOre functionality ... got to test it.Richard Sharpe1-3/+23
(This used to be commit e3c4f8c91394eecc8c77bbf0f9685cdb18c617b1)
2003-04-19Some more work added ...Richard Sharpe1-5/+20
(This used to be commit 31ded623b1817156b247170130237c1e5fd67a5b)
2003-04-19Squelch some warnings, and move a bit of code around to make some futureRichard Sharpe1-8/+11
things easier ... now on to more functionality. Hope Jerry fixes the breakage, BTW :-) (This used to be commit c7d39a7426e5970b15ece89737d2f0ba3d5c0835)
2003-04-19[merge from SAMBA_3_0]Gerald Carter3-0/+453
Merging smbgroupedit into 'net groupmap'. Not entirely done. Need to check on where the privilege code is sitting and update the docs. Examples: root# bin/net help groupmap net groupmap add Create a new group mapping net groupmap modify Update a group mapping net groupmap delete Remove a group mapping net groupmap list List current group map # bin/net groupmap add Usage: net groupmap add rid=<int> name=<string> type=<domain|local|builtin> [comment=<string>] # bin/net groupmap delete Usage: net groupmap delete name=<string|SID> # bin/net groupmap modify Usage: net groupmap modify name=<string|SID> [comment=<string>] [type=<domain|local>] (This used to be commit 0fd28bc3a803ca1ec3dcd8cc6236d4ecc3134584)
2003-04-18More minor edits to add features ...Richard Sharpe1-0/+21
(This used to be commit 882799ca113566b91e42c3c852a9c1986552daaa)
2003-04-17More updates ...Richard Sharpe1-2/+64
(This used to be commit 410451f9478ff1e73cabc8ee2213ded4f08315c6)
2003-04-17Updates to editreg.c to provide more functionality ...Richard Sharpe1-261/+1119
Hopefully more coming ... (This used to be commit 22d1819011de02351976bad778837a28ab45a449)
2003-04-16Check for -1 not EOF as return value of poptGetNextOptJelmer Vernooij1-1/+1
(This used to be commit 84fba11ff0a649932e1f812408017ae4c5611083)
2003-04-16Fix segfault by getting this the right way aroundAndrew Bartlett1-1/+1
(This used to be commit 8ba6148c69031e9a82687d4d006e1fa7ada21e91)
2003-04-16Store the type of 'sec channel' that we establish to the DC. If we are aAndrew Bartlett6-56/+151
workstation, we have to use the workstation type, if we have a BDC account, we must use the BDC type - even if we are pretending to be a workstation at the moment. Also actually store and retreive the last change time, so we can do periodic password changes again (for RPC at least). And finally, a couple of minor fixes to 'net'. Andrew Bartlett (This used to be commit 6e6b7b79edae3efd0197651e9a8ce6775c001cf2)
2003-04-14Change ADS CHOSTPASS to ADS CHANGETRUSTPW and add aJelmer Vernooij3-6/+20
general CHANGETRUSTPW that calls ADS CHANGETRUSTPW or RPC CHANGETRUSTPW depending on what we have. (This used to be commit 17d27db5c9d3511444fc2770d4452647284e8014)