summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2002-07-24several changes in this checkinGerald Carter1-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.... (This used to be commit 419d7208e8384e4ad2c4dd328ad5e630971bc76c)
2002-07-23* changed structure of REG_R_ENUM_VALUE structure since the BUFFER2Gerald Carter1-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 (This used to be commit 998eb9c7312c3c9a9ed1e9ec294593503c0304bf)
2002-07-23reran configureAndrew Tridgell1-10/+6
(This used to be commit 54c7ad47e13d92efd4c4dae2654e2e62927487e5)
2002-07-19* refactored registry operations some. subkey lists andGerald Carter1-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 (This used to be commit e7b55e8f017e638342d9c8c1a9259000745a0298)
2002-07-18Prevent gcc warning about shadowed global "index".Jeremy Allison1-1/+1
Jeremy (This used to be commit ae924493754220b8ad9e9767eb25f0f53a23327d)
2002-07-18virtual registry framework with initial printing hooks.Gerald Carter3-3/+79
(This used to be commit a43d9788fa8823d678ee72470421b980165ec2b0)
2002-07-16print_jobid in the fsp struct should be uint32.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 51c8338c7ac8665fcaaac6de5f2d81b460e803f5)
2002-07-15splitting off storage/retrieval routines for abstracting theGerald Carter1-0/+16
registry view front end. Now to plug in the various hooks. (This used to be commit 9772acd9ad44af2800dfb9d8610c2d5c23eaceb4)
2002-07-15preparing for release of 3.0-alpha18Samba Release Account1-1/+1
(This used to be commit 9556d3316cf262d14da4f3481d3e733b23d0862b)
2002-07-14removed some meaningless const casts that were causing thousands ofAndrew Tridgell1-12/+11
warnings (literally!) for the irix compiler (This used to be commit 35b6b46bc67104671298641e2993225bad2c9a39)
2002-07-13Some fix ups but committing so Andrew can look at the problem I have.Richard Sharpe1-37/+11
(This used to be commit 146ba3eb49bade732d57691d8ce181ef6608e0cb)
2002-07-13Fix up the include file that had problems as well.Richard Sharpe1-5/+251
(This used to be commit 753df0b89767261420f242da21d5dfb5403c966b)
2002-07-11added copyrightGerald Carter1-0/+1
(This used to be commit 0bb3d0f1ca9504d2430471558e1a0125d72ee82f)
2002-07-11intermediate work on DeletePrinterDriverEx(). This callGerald Carter1-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 (This used to be commit 3fa6c3132950c9ff1c6a532d8264ee34a6b2b0ff)
2002-07-11Up the printing tdb version number to 5 as I've changed it.Jeremy Allison1-1/+1
Jeremy. (This used to be commit f4eff4a99edd49ab11d0fc061fdb4efe96e713f5)
2002-07-098-byte alignment needed for beginning driver_info_level_6.Gerald Carter1-1/+0
Verified by looking at NT4 and 2k servers. First time for everything I guess. (This used to be commit f57640720e4758176116bc2e1b578cf0e867f95f)
2002-07-08fixup ADDPRINTERDRIVEREX some more. unknown uint32 for now.Gerald Carter1-0/+1
(This used to be commit b0f178f452a816c6a77b0f5a77fdd8930da98cac)
2002-07-08added parsing routines for SPOOLSS_ADDPRINTERDRIVEREX andGerald Carter1-0/+3
SPOOLSS_DELETEPRINTERDRIVEREX. Ran them through some testing. I know I'm off by 2 x uint32's in the former RPC. (This used to be commit 55fbfd02ba917b74fd4df7a1aa8cc8c5a91e3e07)
2002-07-08* basic implementation of SPOOLSS_DELETEPRINTERDATAEX andGerald Carter1-3/+76
SPOOLSS_DELETEPRINTERKEY * stub funnctions for SPOOLSS_ADDPRINTERDRIVEREX and SPOOLSS_DELETEPRINTERDRIVEREX (This used to be commit d675974d0c04a68d48d90492005056d96697c96c)
2002-07-08(this should have been part of the previous commit)Andrew Bartlett2-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 (This used to be commit fc9739861104df4ddc93efab3275275307e4fbb9)
2002-07-05Remove C++ comments.Tim Potter1-5/+10
(This used to be commit 180374c4440765f3d08e5690967beb387ae3b54d)
2002-07-04More code from "Kai Krueger" <kai@kruegernetz.de>, this time starting to makeAndrew Bartlett1-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 (This used to be commit 0c4afe075aa018ec2be10f36fd3f0a5af2a032f1)
2002-07-04Patch to add security descriptors to the SAMR pipe.Andrew Bartlett1-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 (This used to be commit 43b72493708e74e089989db42a003a3862c793e6)
2002-07-03first cut at implementing support for browsing printer and driver driverGerald Carter1-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.... (This used to be commit 542d3c93a998083c07b2afa91a7c927c376caf54)
2002-07-03Kill off codepage related stuff, now we don't use codepages any more.Andrew Bartlett2-28/+0
Andrew Bartlett (This used to be commit d1ca2b9f23ce701eb6b6becafb1acd813fc8fc3a)
2002-07-02Merge of constant renames from APPLIANCE_HEAD.Tim Potter1-6/+4
(This used to be commit daf4c6a013ffa474d768055e73a1cb31ee941e80)
2002-07-01used findstatic.pl to make some variables static and remove some deadAndrew Tridgell1-1/+0
code (This used to be commit 91ad9041e9507d36eb3f40c23c5d4df61f139ef0)
2002-06-28STRING was being redefined...Jeremy Allison1-1/+0
Jeremy. (This used to be commit f631f7e0fc7ff655d56ad17606134784f401f171)
2002-06-28Proper merge of all the working printing stuff from APPLIANCE_HEAD.Jeremy Allison4-24/+48
Now let's keep this in sync ! Jeremy. (This used to be commit 3603cd4947df2c10df604447dc542932cb9e5d5a)
2002-06-25Update cli_full_connection() to take a 'flags' paramater, and try to get aAndrew Bartlett1-0/+4
few more places to use it. Andrew Bartlett (This used to be commit 23689b0746d5ab030d8693abf71dd2e80ec1d7c7)
2002-06-24forgot new error code from 2.2Gerald Carter1-0/+1
(This used to be commit 8b805be8e8d1a5616158d39427ad640de4210de9)
2002-06-24Merged across trans2.c from SAMBA_2_2. UNIX extensions and passthroughJeremy Allison1-1/+11
now supported in HEAD. Jeremy. (This used to be commit 082c5c084ef870709d3046f580eef597bb2aeef3)
2002-06-22Add module versioning to the passdb module systemAndrew Bartlett1-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 (This used to be commit 4a57c445dd4354034fc41b132a484afe6ab66e16)
2002-06-21Don't use uint. It doesn't exist on some platforms and we don't define it.Jeremy Allison1-4/+4
Replaced with "unsigned int". Jeremy. (This used to be commit 5841ca54b6a8c36f3d76c12570ff8f2211ed2363)
2002-06-18more debug classess activatedSimo Sorce1-1/+1
(This used to be commit 897e64d2e0c1d04ab93441ccaffe369bf43be46e)
2002-06-17compile warngin fixes merged from 2.2Gerald Carter1-2/+6
(This used to be commit 29874f4b8fecdc7cbd84d656dafce54cca49e0b1)
2002-06-16Fix up some of the SMB signing code:Andrew Bartlett1-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 (This used to be commit 1dc5a8765876c1ca822e454651f8fd4a551965e9)
2002-06-15Rework much of the service.c code:Andrew Bartlett1-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 (This used to be commit 4c0cbcaed95231f8cf11edb43f6adbec9a0d0b5c)
2002-06-14Fix spelling typo.Jeremy Allison1-11/+11
Jeremy. (This used to be commit 0e7e8d44627ad9645a90e96001f8550b68b67a62)
2002-06-14More of SMB signing for client - not yet finished (should be harmless).Jeremy Allison2-2/+4
Jeremy. (This used to be commit c1b20db4bb4bb1ba485466f50b9795470027327c)
2002-06-13Merge in mangle fixes from 2.2.Jeremy Allison1-2/+5
Jeremy. (This used to be commit 5e2571f424a40df4d67fe279517a9b21184b78e1)
2002-06-13Latest patch from metze <metze@metzemix.de> to move most of samba acrossAndrew Bartlett1-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 (This used to be commit 04f9a8ff4c7982f6597c0f6748f85d66d4784901)
2002-06-12Removed eff_name field from cli_struct as it wasn't being used anywhere.Tim Potter1-1/+0
(This used to be commit aff65bf6c9f339ae1d3122d12114005c017b9b5d)
2002-06-11few fixes from Elrond(elrond@samba-tng.org) and Billy ↵Simo Sorce1-5/+6
O'Connor(billy@oconnoronline.net) (This used to be commit 88718883e031a3249152861300432dfc895ac587)
2002-06-10Merge of Jerry's fix from 2.2.Jeremy Allison1-3/+10
Jeremy. (This used to be commit 64af68924b8fc36caac3f978dc0f9deccc41e059)
2002-06-10Remove "sids.h" as it really wasn't being used anywhere, and was exportingAndrew Bartlett2-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 (This used to be commit e2a76a7fc94dd59c09bba3cda91446fad9f8c0e0)
2002-06-07Globally replace 'global_sam_sid' with get_global_sam_sid(), a selfAndrew Bartlett1-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 (This used to be commit 96afea638e15d4cbadc57023a511094a770c6adc)
2002-06-07Add flags2 for security signituresAndrew Bartlett1-0/+1
(This used to be commit 39c3f245f5e5d5e7532f9097683e6af3190dc872)
2002-06-06Fix compile error - doh!Tim Potter1-0/+4
(This used to be commit e80e6637064a39635faba5311f774a90b1d5ab43)
2002-06-06Moved some notify related constants into srv_spoolss_nt.c sinceTim Potter1-4/+3
they're only used there. Added a PRINTER_NOTIFY_VERSION constant. (This used to be commit 9d3933a59219388c209d8be4ae6decfa337d229f)