summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * additional fix for CR 601Gerald Carter2003-02-274-2/+26
| | | | | | | | | | | | | | * distinguish WinXP from Win2k * add a 1/3 of a second delay in OpenPrinter in order to trigger a LAN/WAN optimization in 2k clients.
| * Doxygen janitorMartin Pool2003-02-271-5/+6
| |
| * Remove documentation for obsolete parameters, but add a note in ↵Jelmer Vernooij2003-02-272-146/+18
| | | | | | | | 'upgrading-to-3.0'
| * We now use <anchor/> instead of just <anchor> (strict XML syntax)Jelmer Vernooij2003-02-271-1/+1
| |
| * - Rename 'modules = ' to 'preload modules = 'Jelmer Vernooij2003-02-276-29/+77
| | | | | | | | | | | | - Add smb_probe_module() - Add init_modules() - Call these functions
| * Fix possible memory leak on failure.Andrew Bartlett2003-02-271-0/+1
| |
| * Fix to allow blocking lock notification to be done rapidly (no waitJeremy Allison2003-02-277-19/+162
| | | | | | | | | | | | for smb -> smb lock release). Adds new PENDING_LOCK type to lockdb (does not interfere with existing locks). Jeremy.
| * Add -Wwrite-strings to our --enable-developer settings.Andrew Bartlett2003-02-261-2/+2
| | | | | | | | | | | | | | We have compiled relitivly 'clean' with this setting since I did a massive cleanup last month. This should help us stay that way. Andrew Bartlett
| * Netlogon-unigroup changes needed for the winbind RID-to-SID conversion.Andrew Bartlett2003-02-261-12/+25
| | | | | | | | | | | | | | This changes the cache format, which will simply invalidate existing entries, leaving them dead in the cache. Andrew Bartlett
| * Kill RID-only and domain+RID madness from winbind.Andrew Bartlett2003-02-269-440/+377
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now we deal with SIDs in almost all of winbind (a couple of limited exceptions remain, but I'm looking into them - they use non-winbind structs ATM). This has particular benifits in returning out-of-domain SIDs for group membership (Need to look into this a bit more) as well as general code quality. This also removes much of the complexity from the idmap interface, which now only deals with mapping IDs, not with SID->domain translations. Breifly tested, but needs more. Fixes some valgrind-found bugs from my previous commit. Winbind cache chagned to using SID strings in some places, as I could not follow exactly how to save and restore multiple packed sids properly. Andrew Bartlett
| * init_valid_table: Fix a memory leak that would lose theMartin Pool2003-02-261-8/+15
| | | | | | | | | | dynamically-created valid table every time the configuration was reloaded.
| * Merge from appliance:Tim Potter2003-02-261-34/+23
| | | | | | | | | | | | | | | | | | | | | | >Another hopeful fix for CR#1168. Change the RPC used in querying >domain users from QueryDispInfo to EnumDomainUsers. Hopefully this >will fix the random dropouts that keep occuring when listing large >domains. > >My thought is that since QueryDispInfo is only used in the NT user >manager it may have a bug with large domains. A more commonly used >RPC may not have such problems.
| * Fix compiler warning.Tim Potter2003-02-251-1/+1
| |
| * More const fixes and flow on fixes from yesterday's const-fest.Tim Potter2003-02-2516-89/+97
| |
| * Fix unused variable warning when ENCTYPE_ARCFOUR_HMAC is not defined.Tim Potter2003-02-251-0/+2
| |
| * Fix breakage done by myself yesterday.Tim Potter2003-02-251-6/+3
| |
| * Progress on CR 601Gerald Carter2003-02-256-315/+388
| | | | | | | | | | | | | | | | | | cache the printer_info_2 with the open printer handle. cache is invalidated on a mod_a_printer() call **on that smbd**. Yes, this means that the window for admins to step on each other from different clients just got larger, but since handles a generally short lived this is probably ok.
| * Fixed up some const related compiler warnings.Tim Potter2003-02-255-39/+42
| |
| * After some comments from tridge, clean the new usergroups code into a helperAndrew Bartlett2003-02-251-71/+94
| | | | | | | | | | | | function. Andrew Bartlett
| * For some reason some attributes in ADS do not appear (and are not available)Andrew Bartlett2003-02-251-1/+63
| | | | | | | | | | | | | | | | | | in general searches, but only if searching for the DN only. In my case, it was the tokenGroups attribute that caused me trouble, hence this patch. Andrew Bartlett
| * tokenGroups are SIDs, so dump them as such.Andrew Bartlett2003-02-251-0/+1
| |
| * Fix a really nasty bug where some users in AD domains (particularly childAndrew Bartlett2003-02-251-14/+90
| | | | | | | | | | | | | | | | | | | | | | | | domains) would not have the tokenGroups or memberOf attributes filled in. This would cause a user to have no supplementary group membership. Detect this by the fact that the primaryGid must be present in the tokenGroups, and if it isn't (ie, if there is no tokenGroups at all), do a server-side search on all groups using the 'member' attribute and the user's DN. Andrew Bartlett
| * Whenever we have a password, use the in-memory ccache. This fixes a bug whereAndrew Bartlett2003-02-241-2/+3
| | | | | | | | | | | | we were overwriting the user's ccache with the machine password (the -P option). Andrew Bartlett
| * Clean up non-krb5 breakages from my modifications to luke howard's patch.Andrew Bartlett2003-02-242-7/+2
| | | | | | | | Andrew Bartlett
| * Finish removing setenv replacements from smbwrapper.Andrew Bartlett2003-02-242-20/+2
| |
| * Move off-by-one buggy malloc()/safe_strcpy() combination to strdup() instead.Andrew Bartlett2003-02-241-3/+1
| | | | | | | | Andrew Bartlett
| * typoAndrew Bartlett2003-02-241-1/+1
| |
| * Patch from Luke Howard to add mutual kerberos authentication, and SMB sessionAndrew Bartlett2003-02-248-42/+157
| | | | | | | | | | | | keys for kerberos authentication. Andrew Bartlett
| * setenv takes 3 arguments...Andrew Bartlett2003-02-241-4/+4
| |
| * If it's a pstring, use pstrcpy().Andrew Bartlett2003-02-241-2/+2
| |
| * Fix off-by-one bugs, and move to strdup() rather than malloc()/strcpy().Andrew Bartlett2003-02-241-16/+9
| | | | | | | | Andrew Bartlett
| * Quieten compiler warning.Tim Potter2003-02-241-0/+7
| |
| * Merge documentation from 3_0.Martin Pool2003-02-241-6/+13
| |
| * Always initialiseAndrew Bartlett2003-02-241-2/+2
| |
| * Merge:Tim Potter2003-02-241-7/+5
| | | | | | | | > Exit path cleanup for cli_samr_enum_dom_users()
| * Add constAndrew Bartlett2003-02-241-4/+4
| |
| * Fix 2 off-by-one bugs in the use of malloc()ed strings and safe_strcpy().Andrew Bartlett2003-02-242-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | safe_strcpy() isn't particularly safe (this has been noted before) as it does not take the size of the buffer, but instead the size of the buffer *minus 1* The locking.c fix was causing segfaults on machines running with --enable-developer, and was tracked down thanks to the fact that vance's build farm machine runs with such an option, and smbtorture's DIR1 test hits this bug very well. (The --enable-developer code writes to the last byte of the string, to check for incorrect use of safe_strcpy()). Andrew Bartlett
| * forgot the altered include fileSimo Sorce2003-02-231-4/+4
| |
| * move genparser to use talloc contexts instead of [m|c|re]alloc() and free()sSimo Sorce2003-02-232-152/+163
| |
| * Make sure we set the error code to indicate failure...Andrew Bartlett2003-02-221-2/+11
| | | | | | | | Andrew Bartlett
| * See if I can make this look slightly like C. It compiled locally, honest...Andrew Bartlett2003-02-221-3/+4
| | | | | | | | Andrew Bartlett
| * More signed/unsigned fixes (yes, I run with funny compiler options) andAndrew Bartlett2003-02-229-19/+20
| | | | | | | | | | | | make x_fwrite() match fwrite() in returning a size_t. Andrew Bartlett
| * Fixes from Paul Green and vorlon@debian.org for building shared librariesAndrew Bartlett2003-02-222-32/+99
| | | | | | | | (make it possible to build both shared and static) and -lcrypt handling.
| * Fix comment - the other bits of code don't call this any more.Andrew Bartlett2003-02-221-4/+1
| |
| * Add staticAndrew Bartlett2003-02-222-8/+8
| |
| * With assuptions about unixsam gone, we can forget about looking upAndrew Bartlett2003-02-221-4/+1
| | | | | | | | | | | | the user a second time now. Andrew Bartlett
| * Remove 'unixsam' from the default passdb backends.Andrew Bartlett2003-02-2210-283/+264
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The intention is to remove the muliple passdb backends, but we need the 'guest' account to always be there. If the admin adds the guest account to (say) LDAP, there will only be one backend required for operation. This helps remove some nasty behaviours with adding accounts to the system for both the RPC 'create user' and the SAMSYNC code. Users 'added' with an 'add user/machine' script won't magicly appear, and machine accounts 'pre-added' to unix, but not the smbpasswd file will not cause mayhem. This commit also implements somthing tridge discussed with me, the concept of 'default' passdb operation pointers - so that each backend does not need it's own stub funcitons wrapping the default tdb privilages/group mapping code. This also removes an implicit 'sid->name' and 'name->sid' mapping from our own local SID space, to winbind usernames. When adding mapping for NIS/LDAP non-sam users in future, we need to be careful. Andrew Bartlett
| * First check if the user is in the passdb, then check Get_Pwnam().Andrew Bartlett2003-02-222-31/+61
| | | | | | | | | | | | | | | | | | | | We check passdb becouse the user might have things like a logon script set, but we have to check the passdb becouse the user might not be in smbpasswd at all. This is in preperation for the removal of unixsam as an assuption. Andrew Bartlett
| * When checking is_locked() new WRITE locks conflict with existing READ locks evenJeremy Allison2003-02-221-3/+10
| | | | | | | | | | if the context is the same. See LOCKTEST7 in smbtorture. Jeremy.
| * New locktest7 code based on patch from "Srikanta Shivanna" ↵Jeremy Allison2003-02-221-0/+134
| | | | | | | | | | | | <sshivanna@pillardata.com> Jeremy.