summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix for LPRng from James Henstridge james@daa.com.au.Jeremy Allison2002-07-081-0/+2
| | | | Jeremy.
* Kill off const warnings - add a pile of const to various places.Andrew Bartlett2002-07-085-6/+6
|
* Fix const warningAndrew Bartlett2002-07-081-1/+1
|
* Jerry: Sorry if I am stepping on toes here, but this should fix the compile onAndrew Bartlett2002-07-081-16/+17
| | | | | | | solaris CC (void* arithmatic) and fixes the other warnings (global variable shadows) that gcc has with this file. Andrew Bartlett
* (this should have been part of the previous commit)Andrew Bartlett2002-07-083-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
* Updates to the 'name -> sid' code:Andrew Bartlett2002-07-073-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
* Copy the NT_TOKEN to the pipe, so the SAMR can use it for access control.Andrew Bartlett2002-07-061-2/+4
| | | | Andrew Bartlett
* Increse the maximum non-unix-account ID (becouse the Compaq Test Drive systemsAndrew Bartlett2002-07-061-1/+1
| | | | | | have a lot of users ;-). Andrew Bartlett
* Remove C++ comments.Tim Potter2002-07-052-7/+12
|
* Fix debug comment.Andrew Bartlett2002-07-051-1/+1
|
* Fix from Andrew Esh for coredump...Jeremy Allison2002-07-041-8/+11
| | | | Jeremy.
* fixed the geyed out registry keys. Stupid typo on my part.Gerald Carter2002-07-042-15/+15
| | | | | | Now on to plug in the printing tdbs to the registry view.... jerry
* More code from "Kai Krueger" <kai@kruegernetz.de>, this time starting to makeAndrew Bartlett2002-07-044-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
* * fix seg fault caused by missing DLIST_REMOVE in free_fn()Gerald Carter2002-07-041-1/+3
| | | | * fixed constant vaolued returned by REG_UNKNOWN_1A
* Patch to add security descriptors to the SAMR pipe.Andrew Bartlett2002-07-042-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
* Always free_conn() after all the DEBUG()s etc.Andrew Bartlett2002-07-041-3/+3
|
* Fixed incorrect debug.Tim Potter2002-07-041-1/+1
|
* first cut at implementing support for browsing printer and driver driverGerald Carter2002-07-035-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....
* Break up the passdb objects (to allow RPC clients to link without brining inAndrew Bartlett2002-07-037-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
* Make these functions static. These are not mentioned in the external header,Andrew Bartlett2002-07-031-4/+4
| | | | | | | | and appear to be functions for internal use. Richard: please check. Andrew Bartlett
* Add my copyright (which I should have added months ago...)Andrew Bartlett2002-07-031-0/+1
|
* Fix the spelling in the LDAP attributesAndrew Bartlett2002-07-031-2/+2
|
* Fix the forword prototype to be a static for this static function.Andrew Bartlett2002-07-031-1/+1
|
* Remove invalid comment - these are all 'unix' strings now.Andrew Bartlett2002-07-031-1/+1
|
* Kill off codepage related stuff, now we don't use codepages any more.Andrew Bartlett2002-07-035-892/+816
| | | | Andrew Bartlett
* fix typo in unix extensions descriptionGerald Carter2002-07-021-3/+3
|
* Address the string_sub problem by changing len = 0 to mean "no expand".Jeremy Allison2002-07-0214-81/+121
| | | | | | Went through and checked all string_subs I could to ensure they're being used correctly. Jeremy.
* fixed our winreg parsing to handle a diifferent form given to us byAndrew Tridgell2002-07-021-6/+8
| | | | WinXP. This fixes setting security decsriptors from XP Professional.
* Merge of constant renames from APPLIANCE_HEAD.Tim Potter2002-07-023-67/+65
|
* fixed a prototype problem in client.cAndrew Tridgell2002-07-021-0/+3
|
* used findstatic.pl to make some variables static and remove some deadAndrew Tridgell2002-07-0123-304/+80
| | | | code
* ads_mod_ber should be static, not publicAndrew Tridgell2002-07-011-2/+2
| | | | | this fixes the huge number of struct berval warnings on non-ads compiles
* fixed multi-homed re-registration of names when we are a WINSAndrew Tridgell2002-07-011-1/+11
| | | | server. We were rejecting them, leaving the name unregistered!
* don't start the async dns process unless we actually need it!Andrew Tridgell2002-07-011-1/+1
| | | | (ie. check for lp_dns_proxy())
* bias the lookup sorting towards directly reachable IPsAndrew Tridgell2002-07-012-0/+16
|
* sort name query responses by how far they are from our interfaceAndrew Tridgell2002-07-012-2/+43
| | | | | broadcast addresses. This makes it far more likely that we will try to talk to an interface that is routable from one of our interfaces.
* fixed a bug handling startup when the ads server is not contactableAndrew Tridgell2002-07-011-1/+1
|
* The 17-bit length field in the header contains the number ofChristopher R. Hertel2002-07-011-1/+8
| | | | | | | | | | | | | | | | | | bytes which follow the header, not the full packet size. [Yes, the length field is either 17-bits, or (per the RFCs) it is a 16-bit length field preceeded by an 8-bit flags field of which only the low-order bit may be used. If that bit is set, then add 65536 to the 16-bit length field. (In other words, it's a 17-bit unsigned length field.) ...unless, of course, the transport is native TCP [port 445] in which case the length field *might* be 24-bits wide.] Anyway, the change is a very minor one. We were including the four bytes of the header in the length count and, as a result, sending four bytes of garbage at the end of the SESSION REQUEST packet. Small fix in function cli_session_request().
* fixed a makefile syntax error that was breaking the build on someAndrew Tridgell2002-06-301-1/+1
| | | | systems
* Shut down printing tdb correctly - this will be more important when I goJeremy Allison2002-06-282-3/+18
| | | | | to a tdb per-queue for scalability. Jeremy.
* Added limit on SPOOLSS pipes from 2.2.xJeremy Allison2002-06-281-8/+31
| | | | Jeremy.
* Test how many pipes we can open.Jeremy Allison2002-06-281-0/+29
| | | | Jeremy.
* Const cleanup...should only be 2 warnings left from calling lib/util_str.cJim McDonough2002-06-281-117/+158
| | | | str_list_copy(). Perhaps its proto should be fixed.
* STRING was being redefined...Jeremy Allison2002-06-281-1/+0
| | | | Jeremy.
* don't backup to a newer fileAndrew Tridgell2002-06-281-1/+17
|
* make net join a bit less verboseAndrew Tridgell2002-06-283-3/+3
| | | | these errors happen all the time, so they shouldn't be level 0
* don't warn on non-existant files in map_file(), let the caller handle any ↵Andrew Tridgell2002-06-281-1/+2
| | | | warning
* don't warn on the loading of zero length files. This fixes theAndrew Tridgell2002-06-281-1/+1
| | | | 'valid.dat' warning
* Proper merge of all the working printing stuff from APPLIANCE_HEAD.Jeremy Allison2002-06-2814-1040/+1462
| | | | | Now let's keep this in sync ! Jeremy.
* It's fairly obvious that no one has tried to upload a driverGerald Carter2002-06-272-2/+30
| | | | | | | | | | to a Samba print server running HEAD in a while. This has been broken since tridge's changes to make_connection() to not do the chdir() to the connect_path. Sorry it took me so long to get around to fixing it. The problem occured with our internal use of make_connection(). jerry