summaryrefslogtreecommitdiff
path: root/source3/utils/profiles.c
AgeCommit message (Collapse)AuthorFilesLines
2009-02-23More warning fixes for Solaris.Jeremy Allison1-15/+15
Jeremy.
2008-12-31Fix all warnings in source3 with gcc4.3.Jeremy Allison1-1/+1
Jeremy.
2007-12-15Replace sid_string_static with sid_string_tosVolker Lendecke1-8/+8
In utils/ I was a bit lazy... (This used to be commit 60e830b0f4571bd5d9039f2edd199534f2a4c341)
2007-12-03Getting to the home stretch for elimination of pstrings...Jeremy Allison1-24/+39
Jeremy. (This used to be commit 041163551194102ca67fef52c57d87020a1d09bc)
2007-10-19Fix the popt / bool issues. Some places we used BOOLJeremy Allison1-1/+1
where we meant int. Fix this. Thanks to metze for pointing this out. Jeremy. (This used to be commit 793a9d24a163cb6cf5a3a0aa5ae30e9f8cf4744a)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-4/+4
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-15Correctly free memory in regfio pathsAlexander Bokovoy1-1/+4
(This used to be commit 97f9a90b823887e808cca96eca7a041f121e6111)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r21540: Fix Bug #3713 and readd reporting what the profiles tool does (whenGünther Deschner1-4/+56
called with the -v option). Patch from William Jojo <jojowil@hvcc.edu>. Guenther (This used to be commit 5889f588ee9bee6ceb6e6d517f6e69e42d55a574)
2007-10-10r18745: Use the Samba4 data structures for security descriptors and security ↵Jelmer Vernooij1-4/+4
descriptor buffers. Make security access masks simply a uint32 rather than a structure with a uint32 in it. (This used to be commit b41c52b9db5fc4a553b20a7a5a051a4afced9366)
2007-10-10r16409: Fix Klocwork ID's.Volker Lendecke1-1/+4
1177 In reg_perfcount.c: 1200 1202 1203 1204 In regfio.c: 1243 1245 1246 1247 1251 Jerry, the reg_perfcount and regfio.c ones, can you take a look please? This is really your code, and I'm not sure I did the right thing to return an error. smbcacls.c: 1377 srv_eventlog_nt.c: 1415 1416 1417 srv_lsa_nt.c: 1420 1421 srv_netlog_nt.c: 1429 srv_samr_nt: 1458 1459 1460 Volker Volker (This used to be commit d6547d12b1c9f9454876665a5bdb010f46b9f5ff)
2007-10-10r13486: Two more -- fix bug 3503Volker Lendecke1-0/+2
(This used to be commit 62b02a68438e0ff1119e68347b1ac3495572fa8a)
2007-10-10r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4Jeremy Allison1-1/+1
x86_64 box. Jeremy. (This used to be commit d720867a788c735e56d53d63265255830ec21208)
2007-10-10r9780: Clean up a bunch of compiler warnings.James Peach1-2/+2
(This used to be commit 623d2e69319ffead31a780a4d6156dae45f386d7)
2007-10-10r9739: conver the reg_objects (REGSUBKEY_CTR & REGVAL_CTR) to useGerald Carter1-9/+17
the new talloc() features: Note that the REGSUB_CTR and REGVAL_CTR objects *must* be talloc()'d since the methods use the object pointer as the talloc context for internal private data. There is no longer a regXXX_ctr_intit() and regXXX_ctr_destroy() pair of functions. Simply TALLOC_ZERO_P() and TALLOC_FREE() the object. Also had to convert the printer_info_2->NT_PRINTER_DATA field to be talloc()'d as well. This is just a stop on the road to cleaning up the printer memory management. (This used to be commit ef721333ab9639cb5346067497e99fbd0d4425dd)
2007-10-10r9658: cleanup a few debug messagesGerald Carter1-2/+2
(This used to be commit ddd512526c65899de50cafd95b9c64fe623153b3)
2007-10-10r9653: adding common popt args to profiles tool (needed for debuglevel to ↵Gerald Carter1-15/+25
regfio lib) (This used to be commit 092ff7062544fba47a38e68aed9d3c9d6962fe2b)
2007-10-10r9628: rewrite profiles tool to use the regfio code.Gerald Carter1-692/+164
Still have one bug to track down in it though.... (This used to be commit e69df2d2051d0e7e12b6a11f9c77490f619ba792)
2007-10-10r9277: Another unused variable. Bugzilla #2985.Tim Potter1-2/+0
(This used to be commit 5e91d6450b320bb4585169c6805f292f855492a9)
2007-10-10r7882: Looks like a large patch - but what it actually does is make SambaJeremy Allison1-3/+3
safe for using our headers and linking with C++ modules. Stops us from using C++ reserved keywords in our code. Jeremy (This used to be commit 9506b8e145982b1160a2f0aee5c9b7a54980940a)
2007-10-10r7703: Fix the problem with MAP_PRIVATE not updating the file.Richard Sharpe1-1/+1
(This used to be commit 55038d931863a1c44794a7df4c8badbecfb382c7)
2007-10-10r5318: Fix a small problem in where we ignore the response from a ↵Richard Sharpe1-3/+2
SamrGetGroupsForUser that says the user is in 0 groups, and we issue an RPC to LookupIds for 0 RIDs. The printing that there are no groups the user is a member of might be overkill in that it might upset existing scripts that don't expect that output. (This used to be commit d3482e118f99002c0460291d41708fdf7708c41f)
2007-10-10r5269: BUG 858: fix order of popt args evalution so we don't crash when ↵Gerald Carter1-2/+2
given no command line args (This used to be commit aff2fb7a65a9fc40220d971fba8ba3cf1eeeee9f)
2003-10-14Set errno = ENOSYS if mmap not supported.Tim Potter1-0/+1
From Joachim Schmitz <schmitz@hp.com> (This used to be commit 22655a65ab73576557487e73c550b45296e534ec)
2003-10-02Portability fixes from schmitz@hp.com (Joachim Schmitz). Bug #549.Jeremy Allison1-1/+7
Jeremy. (This used to be commit 93669f329eccec34d4a1da6239ae9759f067fb8b)
2003-08-15get rid of more compiler warningsHerb Lewis1-1/+1
(This used to be commit 398bd14fc6e2f8ab2f34211270e179b8928a6669)
2003-07-02#ifdef out apparently unused function.Tim Potter1-0/+4
(This used to be commit 9324703066cfdcb65208420a12e4ab8f358ccc09)
2003-05-12And finally IDMAP in 3_0Simo Sorce1-2/+2
We really need idmap_ldap to have a good solution with ldapsam, porting it from the prvious code is beeing made, the code is really simple to do so I am confident it is not a problem to commit this code in. Not committing it would have been worst. I really would have been able to finish also the group code, maybe we can put it into a followin release after 3.0.0 even if it may be an upgrade problem. The code has been tested and seem to work right, more testing is needed for corner cases. Currently winbind pdc (working only for users and not for groups) is disabled as I was not able to make a complete group code replacement that works somewhat in a week (I have a complete patch, but there are bugs) Simo. (This used to be commit 0e58085978f984436815114a2ec347cf7899a89d)
2003-05-10Reverse previous patch from Stefan and me after comments by Andrew BartlettJelmer Vernooij1-2/+0
(This used to be commit d817eaf0ecca2d878ab1ffcf7a747a02d71c811e)
2003-05-10Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij1-0/+2
that is now possible to, for example, load a module which contains an auth method into a binary without the auth/ subsystem built in. (This used to be commit 74d9ecfe2dd7364643d32acb62ade957bd71cd0d)
2003-04-14Merge:Tim Potter1-62/+64
- Jelmer's latest popt changes (This used to be commit 6a54d9a0a77c71664dc6cdbed1adf492c28c0cce)
2003-02-03Grrr. Kill all BSD-isms... Spotted by Paul Green <paulg@sw.stratus.com>.Jeremy Allison1-1/+1
Jeremy. (This used to be commit e96978954b830d83880f03b6825bce6e7b53b5d7)
2003-01-16Merge the fix from head about short variables.Richard Sharpe1-1/+1
(This used to be commit e408bf329163e45e60ebd1aef648f79aaeef1c13)
2003-01-06Some more profiles merges from HEAD (cvsignore and a stray const).Tim Potter1-1/+1
(This used to be commit 71b09408efc7f4e01b028f65b3b945296a369d9c)
2003-01-06Add profiles utility support to Samba 3.0.xRichard Sharpe1-1/+1
(This used to be commit 2636b2231cfa6cdfc22181225e2b409bbbb75f7c)
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)