summaryrefslogtreecommitdiffstats
path: root/source/utils/profiles.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace sid_string_static with sid_string_tosVolker Lendecke2007-12-151-8/+8
| | | | In utils/ I was a bit lazy...
* Getting to the home stretch for elimination of pstrings...Jeremy Allison2007-12-031-24/+39
| | | | Jeremy.
* Fix the popt / bool issues. Some places we used BOOLJeremy Allison2007-10-191-1/+1
| | | | | | where we meant int. Fix this. Thanks to metze for pointing this out. Jeremy.
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-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.
* Correctly free memory in regfio pathsAlexander Bokovoy2007-10-151-1/+4
|
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r21540: Fix Bug #3713 and readd reporting what the profiles tool does (whenGünther Deschner2007-10-101-4/+56
| | | | | | | | called with the -v option). Patch from William Jojo <jojowil@hvcc.edu>. Guenther
* r18745: Use the Samba4 data structures for security descriptors and security ↵Jelmer Vernooij2007-10-101-4/+4
| | | | | | | | | descriptor buffers. Make security access masks simply a uint32 rather than a structure with a uint32 in it.
* r16409: Fix Klocwork ID's.Volker Lendecke2007-10-101-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
* r13486: Two more -- fix bug 3503Volker Lendecke2007-10-101-0/+2
|
* r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4Jeremy Allison2007-10-101-1/+1
| | | | | x86_64 box. Jeremy.
* r9780: Clean up a bunch of compiler warnings.James Peach2007-10-101-2/+2
|
* r9739: conver the reg_objects (REGSUBKEY_CTR & REGVAL_CTR) to useGerald Carter2007-10-101-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.
* r9658: cleanup a few debug messagesGerald Carter2007-10-101-2/+2
|
* r9653: adding common popt args to profiles tool (needed for debuglevel to ↵Gerald Carter2007-10-101-15/+25
| | | | regfio lib)
* r9628: rewrite profiles tool to use the regfio code.Gerald Carter2007-10-101-692/+164
| | | | Still have one bug to track down in it though....
* r9277: Another unused variable. Bugzilla #2985.Tim Potter2007-10-101-2/+0
|
* r7882: Looks like a large patch - but what it actually does is make SambaJeremy Allison2007-10-101-3/+3
| | | | | | safe for using our headers and linking with C++ modules. Stops us from using C++ reserved keywords in our code. Jeremy
* r7703: Fix the problem with MAP_PRIVATE not updating the file.Richard Sharpe2007-10-101-1/+1
|
* r5318: Fix a small problem in where we ignore the response from a ↵Richard Sharpe2007-10-101-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.
* r5269: BUG 858: fix order of popt args evalution so we don't crash when ↵Gerald Carter2007-10-101-2/+2
| | | | given no command line args
* Set errno = ENOSYS if mmap not supported.Tim Potter2003-10-141-0/+1
| | | | From Joachim Schmitz <schmitz@hp.com>
* Portability fixes from schmitz@hp.com (Joachim Schmitz). Bug #549.Jeremy Allison2003-10-021-1/+7
| | | | Jeremy.
* get rid of more compiler warningsHerb Lewis2003-08-151-1/+1
|
* #ifdef out apparently unused function.Tim Potter2003-07-021-0/+4
|
* And finally IDMAP in 3_0Simo Sorce2003-05-121-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.
* Reverse previous patch from Stefan and me after comments by Andrew BartlettJelmer Vernooij2003-05-101-2/+0
|
* Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij2003-05-101-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.
* Merge:Tim Potter2003-04-141-62/+64
| | | | - Jelmer's latest popt changes
* Grrr. Kill all BSD-isms... Spotted by Paul Green <paulg@sw.stratus.com>.Jeremy Allison2003-02-031-1/+1
| | | | Jeremy.
* Merge the fix from head about short variables.Richard Sharpe2003-01-161-1/+1
|
* Some more profiles merges from HEAD (cvsignore and a stray const).Tim Potter2003-01-061-1/+1
|
* Add profiles utility support to Samba 3.0.xRichard Sharpe2003-01-061-1/+1
|
* BIG patch...Andrew Bartlett2003-01-021-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
* Spelling fix.Tim Potter2002-11-201-1/+1
|
* Merge of scalable printing code fix... Needs testing.Jeremy Allison2002-11-071-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.
* 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.
* 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
|
* 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
|
* 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 ...