summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-07-11Commit Tom Jansen's changes to head.Richard Sharpe2-820/+902
(This used to be commit d3fdce07ab5955abd1f923127ae9eb5006aea505)
2002-07-11Regenerated.Tim Potter1-11/+12
(This used to be commit 7ead9602ce8c30a57cb83d56fb76228945a7599f)
2002-07-11Usage fixes from APPLIANCE_HEAD.Tim Potter1-1/+2
(This used to be commit 952d722a3bba15b7a10b4cbabb5548f4dde682d7)
2002-07-11Another compile fix.Tim Potter1-2/+2
(This used to be commit ef5c9698b06c5df99ec07ee781cc54d2e348ba8a)
2002-07-11Compile fix for flags field to cli_full_connection()Tim Potter1-1/+1
(This used to be commit 802f30a1b34888823c1fc80121b3917cb6825119)
2002-07-11Merge of init_domain_list() fix from APPLIANCE_HEAD.Tim Potter1-3/+0
(This used to be commit 66c9cab369e38284c71572bfb3643538e253a451)
2002-07-11added copyrightGerald Carter1-0/+1
(This used to be commit 0bb3d0f1ca9504d2430471558e1a0125d72ee82f)
2002-07-11added copyrightGerald Carter3-2/+4
(This used to be commit dcb6d70706a0e86881588c3828ff5bd4d63d415f)
2002-07-11this implements a completely new strategy for fetching groupAndrew Tridgell2-33/+118
membership from an ADS server. We now use a 'member' query on the group and do a separate call to convert the resulting distinguished name to a name, rid etc. This is *much* faster for very large numbers of groups (on a quantum test system with 10000 groups it drops the time from an hour to about 35 seconds). strangely enough, this actually *increases* the amount of ldap traffic, its just that the MS LDAP server answers these queries much faster. (This used to be commit 5538048e4f6dd224b2990f3c6a3e99fd07065f77)
2002-07-11last check in for tonight.Gerald Carter3-56/+139
* DeletePrinterDriverEx() now has the ability to delete driver files. I need to do some more testing tro veriofy that we are in fact not deleting a file out from under another driver, but it looks ok so far. * DeletePrinterDriver() noiw deletes all versions of the specified driver (cversion == 0, 1, 2, 3) (This used to be commit 17bb780e1327663fa2fcd6a3cb25dd461a29c537)
2002-07-11this fixes the ads dump codeAndrew Tridgell1-3/+3
a char** isn't quite the same thing as a struct berval** :) (This used to be commit a92834ea9460bc49be99d6d5b0d41a817e6f0824)
2002-07-11all that is left to do is to actually perform theGerald Carter3-19/+183
file deletion now. I have the file list. One more commit should do it. (This used to be commit 7207662504f585352b0ceeb99f8998ef58db7f15)
2002-07-11intermediate work on DeletePrinterDriverEx(). This callGerald Carter3-97/+180
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-11*Experimental* new large-scaling printer code. Splits printing.tdb intoJeremy Allison8-162/+424
a separate tdb per printer, but only keeps (currently one) tdb open at a time (although this is easily changed by changing a #define). Needs scalability testing with large numbers of printers now.... Jeremy. (This used to be commit b0909cfa14fc7ef29d2b98b56d52723570da782a)
2002-07-10If we get a SID from group mapping, no need to check it's prefix.Andrew Bartlett1-6/+6
Just set it directly. Andrew Bartlett (This used to be commit 202202bc475f3b8500423b1a9ccf0adc80a4dc49)
2002-07-09some support functions to ease the next commit.Simo Sorce1-6/+96
(This used to be commit 4be1c882be56ae0fe18bb134a1513e0e6f6965b0)
2002-07-098-byte alignment needed for beginning driver_info_level_6.Gerald Carter3-23/+36
Verified by looking at NT4 and 2k servers. First time for everything I guess. (This used to be commit f57640720e4758176116bc2e1b578cf0e867f95f)
2002-07-09Documented -I option to rpcclient.Tim Potter1-0/+18
(This used to be commit 9e64d6973b4a4015a1f0282b11654ed9716786bd)
2002-07-09Added -I option to rpcclient.Tim Potter1-12/+20
(This used to be commit 2674adf1b5c54da03e8a445ec1e12d382294d1c1)
2002-07-09make sure we disable referrals in all ldap searches - they are badlyAndrew Tridgell1-0/+3
broken (This used to be commit 022073d140bae960613127a6d9422e443a8098c6)
2002-07-09fix declaration of global_in_nmbdAndrew Tridgell1-1/+1
(This used to be commit 07de8418369dad1f015369e70e9303fea4130295)
2002-07-09the last WINS update broke self registration when we are a WINSAndrew Tridgell2-10/+4
server. The real problem is all the special cases we had for when we are a wins server as opposed to when we are using a 'real' wins server. This patch removes the special cases. We now accept non-broadcast packets from ourselves and we use ourselves as a wins server when we are one. This gets rid of the special cases and simplifies things quite a bit. It all seems to work, but there are bound to be problems found later. (This used to be commit 3e843d30158d05cdfba716bac7e5c0a75ae7a79c)
2002-07-09Make it clear that the debug comment is the same as the command being testedAndrew Bartlett1-1/+1
for failure. Andrew Bartlett (This used to be commit 6e22f39df8c386781a4f51207a3ccd9c94d151f1)
2002-07-08fixup ADDPRINTERDRIVEREX some more. unknown uint32 for now.Gerald Carter2-21/+25
(This used to be commit b0f178f452a816c6a77b0f5a77fdd8930da98cac)
2002-07-08Fix length in snprintf invocation to account for "dn:" in sasl gssapi bind.Jim McDonough1-2/+1
Also remove unused line which incremented pointer by the wrong length anyway. Provided by Anthony Liguori (aliguori@us.ibm.com). (This used to be commit 47b7a3e0f3d101a3bcffd33db6ef4c0672b57ae0)
2002-07-08fix typoGerald Carter1-1/+1
(This used to be commit be926c3a1a7fc79af62dd1830c56e9503f89f9dd)
2002-07-08added parsing routines for SPOOLSS_ADDPRINTERDRIVEREX andGerald Carter4-66/+200
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 Carter4-4/+350
SPOOLSS_DELETEPRINTERKEY * stub funnctions for SPOOLSS_ADDPRINTERDRIVEREX and SPOOLSS_DELETEPRINTERDRIVEREX (This used to be commit d675974d0c04a68d48d90492005056d96697c96c)
2002-07-08Fix for LPRng from James Henstridge james@daa.com.au.Jeremy Allison1-0/+2
Jeremy. (This used to be commit 9c93f8908919a02099884d393312ef27d4a2d24e)
2002-07-08Kill off const warnings - add a pile of const to various places.Andrew Bartlett5-6/+6
(This used to be commit 1de04ec4735c19ec21cdef6e679cea17c734c5f6)
2002-07-08Fix const warningAndrew Bartlett1-1/+1
(This used to be commit 3d2f0635ed060fca0fa97c97ef850e57641aef19)
2002-07-08Jerry: Sorry if I am stepping on toes here, but this should fix the compile onAndrew Bartlett1-16/+17
solaris CC (void* arithmatic) and fixes the other warnings (global variable shadows) that gcc has with this file. Andrew Bartlett (This used to be commit 7ac6517bec0f425f99f419f6efd2a673b4ec0f83)
2002-07-08(this should have been part of the previous commit)Andrew Bartlett3-14/+51
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-07Updates to the 'name -> sid' code:Andrew Bartlett3-7/+6
Correct the 'none mapped' behaviour, (so that it matches Win2k) and add a function to make the SID types appear as text strings in logs/rpcclient. Also, remove a silly case that would cause 'failure' to be 'success'. (Might look at this a bit more in future). Andrew Bartlett (This used to be commit c20d057f8821d13d3de61b319de44db23773516b)
2002-07-06Copy the NT_TOKEN to the pipe, so the SAMR can use it for access control.Andrew Bartlett1-2/+4
Andrew Bartlett (This used to be commit 685a205445f5505c105ea421712c4b0468bbc127)
2002-07-06Increse the maximum non-unix-account ID (becouse the Compaq Test Drive systemsAndrew Bartlett1-1/+1
have a lot of users ;-). Andrew Bartlett (This used to be commit 2f164e28c349b8e20700e0e2fca204ed08228316)
2002-07-05Remove C++ comments.Tim Potter2-7/+12
(This used to be commit 180374c4440765f3d08e5690967beb387ae3b54d)
2002-07-05Fix debug comment.Andrew Bartlett1-1/+1
(This used to be commit f32980c807adf8287436be0d5a223b9b1ce399b8)
2002-07-04Fix from Andrew Esh for coredump...Jeremy Allison1-8/+11
Jeremy. (This used to be commit aad40894404d000b925024e2f63977f87ecb5a6b)
2002-07-04fixed the geyed out registry keys. Stupid typo on my part.Gerald Carter2-15/+15
Now on to plug in the printing tdbs to the registry view.... jerry (This used to be commit 2a68e4529ad884e8c3800f9006bb1c2b18cfada4)
2002-07-04More code from "Kai Krueger" <kai@kruegernetz.de>, this time starting to makeAndrew Bartlett4-1/+116
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-04* fix seg fault caused by missing DLIST_REMOVE in free_fn()Gerald Carter1-1/+3
* fixed constant vaolued returned by REG_UNKNOWN_1A (This used to be commit 3b934e6a8550a03028eed9fe65c28401f429d591)
2002-07-04Patch to add security descriptors to the SAMR pipe.Andrew Bartlett2-121/+766
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-04Always free_conn() after all the DEBUG()s etc.Andrew Bartlett1-3/+3
(This used to be commit 06529c0433bf75790aad27dd3cecf7005612c694)
2002-07-04Fixed incorrect debug.Tim Potter1-1/+1
(This used to be commit dd46ff7619129782963ec6ea727e5d731370ee7d)
2002-07-03first cut at implementing support for browsing printer and driver driverGerald Carter5-93/+802
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-03Break up the passdb objects (to allow RPC clients to link without brining inAndrew Bartlett7-366/+461
*.o) and implment new enum_dom_users code in the SAMR RPC subsystem. Incresingly, we are using the pdb_get_{user,group}_sid() functions, in the eventual hope that we might one day support muliple domains off a single passdb. To extract the RID, we use sid_peek_check_rid(), and supply an 'expected' domain SID. The id21 -> SAM_ACCOUNT and id23 -> SAM_ACCOUNT code has been moved to srv_samr_util.c, to ease linking in passdb users. Compatiblity code that uses 'get_global_sam_sid()' for the 'expected' sid is in pdb_compat.c Andrew Bartlett (This used to be commit 5a2a6f1ba316489d118a8bdd9551b155226de94f)
2002-07-03Make these functions static. These are not mentioned in the external header,Andrew Bartlett1-4/+4
and appear to be functions for internal use. Richard: please check. Andrew Bartlett (This used to be commit cb61e61a113dede4a0b0f5d31d0ec89c4b6ecd65)
2002-07-03Add my copyright (which I should have added months ago...)Andrew Bartlett1-0/+1
(This used to be commit 2d7eccbeb258b4fdd14323a40f9537eb265f73e1)