summaryrefslogtreecommitdiffstats
path: root/source/include
Commit message (Collapse)AuthorAgeFilesLines
...
* several changes in this checkinGerald Carter2002-07-241-4/+9
| | | | | | | | | | | | | | | | | | | * added REG_OPEN_HKCR for supporting regedit.exe * All data n a REGISTRY_VALUE is stored to a pointer now * fixed REG_INFO to correctly display data when double clicking on and entry in the registry editor * Will now enumerate installed driver_info_3 data * fixed numerous bugs related to pointer offsets, memory issues, etc.. in the registry routines * added a simple caching mechanism to fetch_reg_[keys|values]_specific() All that is left now is to enumerate PrinterData and I will have finished what I started out to do....
* * changed structure of REG_R_ENUM_VALUE structure since the BUFFER2Gerald Carter2002-07-231-2/+4
| | | | | | | | is not and [in/out] buffer * registry value enumeration is working now for the Print\Forms key. The format of the binary data is not quite right yet but all installed forms are listed
* reran configureAndrew Tridgell2002-07-231-10/+6
|
* * refactored registry operations some. subkey lists andGerald Carter2002-07-191-9/+24
| | | | | | | | | | | | | | | | | | registry values are now passed around in containers (REGSUBKEY_CTR & REGVAL_CTR) which each possess a TALLOC_CTX. * removed subkey_specific_fn() from REGISTRY_OPS. Is implemented in the form of a wrapper * temporarily broke the printing registry ops. * implemented inheritence for the data_p of nodes in a SORTED_TREE * All REGISTRY_KEY instances now store a valid REGISTRY_HOOK since the default REGOSTRY_OPS structure is stored in the root of the cache_tree. * Probably some other change I forgot.... T
* Prevent gcc warning about shadowed global "index".Jeremy Allison2002-07-181-1/+1
| | | | Jeremy
* virtual registry framework with initial printing hooks.Gerald Carter2002-07-183-3/+79
|
* print_jobid in the fsp struct should be uint32.Jeremy Allison2002-07-161-1/+1
| | | | Jeremy.
* splitting off storage/retrieval routines for abstracting theGerald Carter2002-07-151-0/+16
| | | | registry view front end. Now to plug in the various hooks.
* preparing for release of 3.0-alpha18Samba Release Account2002-07-151-1/+1
|
* removed some meaningless const casts that were causing thousands ofAndrew Tridgell2002-07-141-12/+11
| | | | warnings (literally!) for the irix compiler
* Some fix ups but committing so Andrew can look at the problem I have.Richard Sharpe2002-07-131-37/+11
|
* Fix up the include file that had problems as well.Richard Sharpe2002-07-131-5/+251
|
* added copyrightGerald Carter2002-07-111-0/+1
|
* intermediate work on DeletePrinterDriverEx(). This callGerald Carter2002-07-111-7/+10
| | | | | | will actually delete driver files ( not yet though I don't think). Just wanted to get it in since Jeremy and I are both working on nt_printing.c
* Up the printing tdb version number to 5 as I've changed it.Jeremy Allison2002-07-111-1/+1
| | | | Jeremy.
* 8-byte alignment needed for beginning driver_info_level_6.Gerald Carter2002-07-091-1/+0
| | | | | Verified by looking at NT4 and 2k servers. First time for everything I guess.
* fixup ADDPRINTERDRIVEREX some more. unknown uint32 for now.Gerald Carter2002-07-081-0/+1
|
* added parsing routines for SPOOLSS_ADDPRINTERDRIVEREX andGerald Carter2002-07-081-0/+3
| | | | | SPOOLSS_DELETEPRINTERDRIVEREX. Ran them through some testing. I know I'm off by 2 x uint32's in the former RPC.
* * basic implementation of SPOOLSS_DELETEPRINTERDATAEX andGerald Carter2002-07-081-3/+76
| | | | | | SPOOLSS_DELETEPRINTERKEY * stub funnctions for SPOOLSS_ADDPRINTERDRIVEREX and SPOOLSS_DELETEPRINTERDRIVEREX
* (this should have been part of the previous commit)Andrew Bartlett2002-07-082-13/+14
| | | | | | | | | | Add a function to display 'sid types' as strings - makes rpcclient outptut and DEBUG() logs much eaiser to understand. Move the enum for SID types to smb.h, becouse is really isn't LSA specific any more. Andrew Bartlett
* Remove C++ comments.Tim Potter2002-07-051-5/+10
|
* More code from "Kai Krueger" <kai@kruegernetz.de>, this time starting to makeAndrew Bartlett2002-07-041-1/+21
| | | | | | | the 'user cannot change password' button work. Needs help from a future SAM backend, but at least this parses the data, and returns an error. Andrew Bartlett
* Patch to add security descriptors to the SAMR pipe.Andrew Bartlett2002-07-041-0/+164
| | | | | | | | | | | | | This is not the final solution, I think this will probably changed with the move to the new SAM subsystem, but it allows some research and gives us somthing to start with. It should also help with getting proper NT_TOKEN passing set-up. Original patch by "Kai Krueger" <kai@kruegernetz.de>, which I have modified to pass back NTSTATUS returns in more places and to use a little more common code. Andrew Bartlett
* first cut at implementing support for browsing printer and driver driverGerald Carter2002-07-031-20/+25
| | | | | | | | | | | | | | | | | | | | | | | via regedt32.exe. The regsitry.tdb is only a framework. It is not intended to store values, only key/subkey structure. The data will be retrieved from nt*tdb (for printers) creating a virtual view of the data. You can currently connect to a Samba box using regedt32.exe (haven't tried regedit.exe). Some basic keys are created in registry.tdb for use. There are two problems.... * something is getting freed in the winreg code that causes heap corruption later on. As long as you don't play with the winreg server functionality, I don't think you'll be bitten by this. * no access controls are currently implemented * I can't browse HKLM because regedt32 greys out the SYSTEM subkey. ok so that was three....
* Kill off codepage related stuff, now we don't use codepages any more.Andrew Bartlett2002-07-032-28/+0
| | | | Andrew Bartlett
* Merge of constant renames from APPLIANCE_HEAD.Tim Potter2002-07-021-6/+4
|
* used findstatic.pl to make some variables static and remove some deadAndrew Tridgell2002-07-011-1/+0
| | | | code
* STRING was being redefined...Jeremy Allison2002-06-281-1/+0
| | | | Jeremy.
* Proper merge of all the working printing stuff from APPLIANCE_HEAD.Jeremy Allison2002-06-284-24/+48
| | | | | Now let's keep this in sync ! Jeremy.
* Update cli_full_connection() to take a 'flags' paramater, and try to get aAndrew Bartlett2002-06-251-0/+4
| | | | | | few more places to use it. Andrew Bartlett
* forgot new error code from 2.2Gerald Carter2002-06-241-0/+1
|
* Merged across trans2.c from SAMBA_2_2. UNIX extensions and passthroughJeremy Allison2002-06-241-1/+11
| | | | | now supported in HEAD. Jeremy.
* Add module versioning to the passdb module systemAndrew Bartlett2002-06-221-0/+14
| | | | | | | | | | | | | All passdb modules need to include a 'magic' macro that creates simple 'return my version number' function. (from metze and jelmer) Also fix up the dir_drive autosubsitute code to correctly use lp_logon_drive(). (from metze) Andrew Bartlett
* Don't use uint. It doesn't exist on some platforms and we don't define it.Jeremy Allison2002-06-211-4/+4
| | | | | Replaced with "unsigned int". Jeremy.
* more debug classess activatedSimo Sorce2002-06-181-1/+1
|
* compile warngin fixes merged from 2.2Gerald Carter2002-06-171-2/+6
|
* Fix up some of the SMB signing code:Andrew Bartlett2002-06-161-0/+1
| | | | | | | | | | | | | The problem was that *all* packets were being signed, even packets before signing was set up. (This broke the session request). This fixes it to be an 'opt in' measure - that is, we only attempt to sign things after we have got a valid, non-guest session setup as per the CIFS spec. I've not tested this against an MS server, becouse my VMware is down, but at least it doesn't break the build farm any more. Andrew Bartlett
* Rework much of the service.c code:Andrew Bartlett2002-06-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The aim of this execise is to give the 'security>=user' code a straight paper path. Security=share will sill call authorise_login(), but otherwise we avoid that mess. This allow *much* more accurate error code reporting, beocuse we don't start pretending that we can use the (nonexistant) password etc. Also in this patch is code to create the 'homes' share at session setup time (as we have done in the past - been broken recently) and to record this on the user's vuser struct for later reference. The changes here should also allow for much better use of %H (some more changes to come here). The service.c changes move a lot of code around, but are not as drastric as they look... (Also included is a fix to srv_srvsvc_nt.c where 'total_entries' not '*total_entries' was compared). This code is needs testing, but passes my basic tests. I expect we have lost some functionality, but the stuff I had expected to loose was already broken before I started. In particular, we don't 'fall back' to guest if the user cannot access a share (for security=user). If you want this kind of stuff then you really want security=share anyway. Andrew Bartlett
* Fix spelling typo.Jeremy Allison2002-06-141-11/+11
| | | | Jeremy.
* More of SMB signing for client - not yet finished (should be harmless).Jeremy Allison2002-06-142-2/+4
| | | | Jeremy.
* Merge in mangle fixes from 2.2.Jeremy Allison2002-06-131-2/+5
| | | | Jeremy.
* Latest patch from metze <metze@metzemix.de> to move most of samba acrossAndrew Bartlett2002-06-131-2/+2
| | | | | | | | | | | to using SIDs instead of RIDs. The new funciton sid_peek_check_rid() takes an 'expected domain sid' argument. The idea here is to prevent mistakes where the SID is implict, but isn't the same one that we have in the struct. Andrew Bartlett
* Removed eff_name field from cli_struct as it wasn't being used anywhere.Tim Potter2002-06-121-1/+0
|
* few fixes from Elrond(elrond@samba-tng.org) and Billy ↵Simo Sorce2002-06-111-5/+6
| | | | O'Connor(billy@oconnoronline.net)
* Merge of Jerry's fix from 2.2.Jeremy Allison2002-06-101-3/+10
| | | | Jeremy.
* Remove "sids.h" as it really wasn't being used anywhere, and was exportingAndrew Bartlett2002-06-102-40/+0
| | | | | | | | | the (now static) global_sam_sid. The only place it was being used was to return global_sid_NULL to some uid->sid functions - and I'm not convinced this is correct in any case. Andrew Bartlett
* Globally replace 'global_sam_sid' with get_global_sam_sid(), a selfAndrew Bartlett2002-06-071-1/+1
| | | | | | | | | initialising function. This patch thanks to the work of "Stefan (metze) Metzmacher" <metze@metzemix.de> This is partly to enable the transition to SIDs in the the passdb. Andrew Bartlett
* Add flags2 for security signituresAndrew Bartlett2002-06-071-0/+1
|
* Fix compile error - doh!Tim Potter2002-06-061-0/+4
|
* Moved some notify related constants into srv_spoolss_nt.c sinceTim Potter2002-06-061-4/+3
| | | | | | they're only used there. Added a PRINTER_NOTIFY_VERSION constant.