summaryrefslogtreecommitdiff
path: root/source3/utils/profiles.c
AgeCommit message (Collapse)AuthorFilesLines
2003-01-02BIG patch...Andrew Bartlett1-1/+1
This patch makes Samba compile cleanly with -Wwrite-strings. - That is, all string literals are marked as 'const'. These strings are always read only, this just marks them as such for passing to other functions. What is most supprising is that I didn't need to change more than a few lines of code (all in 'net', which got a small cleanup of net.h and extern variables). The rest is just adding a lot of 'const'. As far as I can tell, I have not added any new warnings - apart from making all of tdbutil.c's function const (so they warn for adding that const string to struct). Andrew Bartlett (This used to be commit 92a777d0eaa4fb3a1c7835816f93c6bdd456816d)
2002-11-20Spelling fix.Tim Potter1-1/+1
(This used to be commit 43cd6e5a702bb1004b36a5845e0765851395ebf2)
2002-11-07Merge of scalable printing code fix... Needs testing.Jeremy Allison1-6/+4
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-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-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-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-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)