summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix the build on platforms that use our internal popt.Andrew Bartlett2002-04-131-1/+1
|
* Patch for arbitary smb.conf paramaters (to make the life of plugin maintainersAndrew Bartlett2002-04-131-4/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sane) from ab. Attached is his e-mail to the samba-technical list, as it describes it rather well: Andrew Bartlett Subject: [PATCH] Parametrical options support for Samba 3.0 Date: Fri, 12 Apr 2002 19:13:13 +0300 From: Alexander Bokovoy <a.bokovoy@sam-solutions.net> To: samba-technical@samba.org CC: tridge@samba.org Greetings! Attached patch makes possible arbitrary options to be specified in smb.conf and later queried from VFS modules (and other places) without problems. Below such options are called 'parametrical options'. Patch introduces new notation to smb.conf option's language, as discussed today with Tridgell on @samba-technical: TYPE: OPTION = VALUE Colon sign is important here, it is what distinguishes parametrical options from ones hardcoded in param/loadparm.c. TYPE is 'option domain', OPTION is option name itself. In order to access values of parametrical options, lp_parm_string() function was implemented: char *lp_parm_string(const char *servicename, const char *type, const char *option); This function accepts service name, type and option name, and returns value of option or NULL if this option is underfined. Service name can be NULL, resulting in search in 'global' section only. If option does not exist in specified service, 'global' section is scanned. This allows propagation of globally specified options to all services and later overloading of the option in some services. Caution: 'TYPE: OPTION' combination is case sensitive. So far, testparm is able to handle parametrical options, while SWAT can't. Thus, everyone familiar with SWAT internals is welcomed to add parametrical options support.
* Fix the compile-bug in pdb_ldap from my last patch.Andrew Bartlett2002-04-131-4/+4
| | | | Andrew Bartlett
* Doco update from Hasch@t-online.de (Juergen Hasch)Andrew Bartlett2002-04-131-0/+2
|
* More updates from ctrlsoft. (Jelmer Vernooij <jelmer@nl.linux.org>)Andrew Bartlett2002-04-132-14/+38
| | | | Andrew Bartlett
* Better handling of uid/gid -> RID and RID -> uid/gid code.Andrew Bartlett2002-04-139-85/+108
| | | | | | | | | | | | | | | | | | | All uids and gids must create valid RIDs, becouse other code expects this, and can't handle the failure case. (ACL code in particular) Allow admins to adjust the base of the RID algorithm, so avoid clashes with users brought in from NT (for example). Put all the algorithm code back in one place, so that this change is global. Better coping with NULL sid pointers - but it still breaks a lot of stuff. BONUS: manpage entry for new paramater :-) counter based rids for normal users in tdbsam is disabled for the timebeing, idra and I will work out some things here soon I hope. Andrew Bartlett
* This is the 'multiple pdb backends' patch from ctrlsoft, aka Jelmer VernooijAndrew Bartlett2002-04-139-482/+386
| | | | | | | | | | | | | <jelmer@nl.linux.org>. This patch also includes major rework of pdbedit to use popt, and the addition of -i paramter (allowing the user to specify which PDBs is being operated on) and -e to export a pdb - useful for backup and testing etc. Use of -i and -e gets us pdb2pdb functionality for transition between backends, much like the sam2sam in TNG. Andrew Bartlett
* Make our atomic increment code actually do this during its first/second run.Andrew Bartlett2002-04-131-5/+20
| | | | | | | The previous code would return the same value for both the initial and second call, only incrementing on later calls. Andrew Bartlett
* Tidy up winbindd debug. Added Bill Moran's hide unreadable fix.Jeremy Allison2002-04-132-5/+12
| | | | Jeremy.
* when background printing wasn't enabled printing was completely brokenAndrew Tridgell2002-04-131-1/+4
| | | | as the pid was 0
* fixed the display of the 'size on disk' property of files from w2k.Andrew Tridgell2002-04-121-4/+5
|
* Remove : from the list seperators, as this is used to seperate out componentsAndrew Bartlett2002-04-121-1/+1
| | | | | | in the passdb module selection (after the : you have the options). Andrew Bartlett
* set the default hashing scheme in head to "hash2"Andrew Tridgell2002-04-121-0/+3
| | | | it seems to be a much better scheme
* nicer measurement of failures and collisionsAndrew Tridgell2002-04-121-7/+15
|
* better mangling test. We now test that we can create by long name andAndrew Tridgell2002-04-121-2/+33
| | | | | | | | | | delete by short name, and that we can create by short name and delete by long name our old mangling code fails this test. also tweaked the random filename generation to produce more likely collisions
* - added a mangling test suite that measures the collision rate onAndrew Tridgell2002-04-124-12/+194
| | | | | | randomised filenames - fixed several mangling bugs that the test suite pointed out
* Much better support for both non-algorithic RIDs (where the RID is stored inAndrew Bartlett2002-04-113-155/+145
| | | | | | | | | | | | | the passdb) and RIDs not in the passdb, due to being NIS users etc. The main fix here is to add become_root()/unbecome_root() at critical places. This (finally) fixes the bug where you could not see local users's names in a file's security properties as non-root. Tested. The similar bug in uid_to_sid is also fixed, but is not (yet) Tested. Andrew Bartlett
* HP2500C driver writes devmode with private data that endsJeremy Allison2002-04-111-0/+9
| | | | | | on a 2 byte boundary. We then miss-parse the desired_access. Also added other fixes to ensure we align after private data (discussed with Gerry). Jeremy.
* added strndup() for systems that don't have itAndrew Tridgell2002-04-114-672/+697
|
* don't try to return a voidAndrew Tridgell2002-04-111-1/+1
|
* possibly fix the 15000 user problemAndrew Tridgell2002-04-112-8/+8
| | | | | I think its caused by a rpc operation failing and us giving invalid data back to the cache layer. Using talloc_zero() should solve this.
* - the 36^6 hash space gives 31 bits, not 32 bits. We need to mask theAndrew Tridgell2002-04-111-2/+4
| | | | | hash to suit - the prefix ends at the last dot, not the first
* a few debug statements (disabled)Andrew Tridgell2002-04-111-2/+7
|
* don't treat '.' as FLAG_ASCII, instead handle it separatelyAndrew Tridgell2002-04-111-2/+2
|
* - tidier flag checking codeAndrew Tridgell2002-04-111-8/+40
| | | | - finished the is_mangled() function
* added some more commentsAndrew Tridgell2002-04-111-5/+15
|
* some optimisations to the new mangling systemAndrew Tridgell2002-04-111-16/+44
|
* this adds a completely new hash based mangling schemeAndrew Tridgell2002-04-114-1/+532
| | | | | | | | | | the hash for this scheme is *much* larger (approximately 31 bits) and the code is written to be very fast, correctly handling multibyte while not doing any actual multi-byte conversions in the vast majority of cases you can select this scheme using "mangling method = hash2", although I may make it the default if it works out well.
* Implemented a setup_logging() function that takes two keywords:Tim Potter2002-04-111-1/+10
| | | | | | | | | | interactive and logfilename. These can be used to send Samba DEBUG() output to stdout or to a logfile which makes automated testing much funkier. Also added get_debuglevel() and set_debuglevel() functions. Make open_pipe_creds() accept None as a anonymous credential.
* Implemented a setup_logging() function that takes two keywords:Tim Potter2002-04-112-5/+62
| | | | | | | | interactive and logfilename. These can be used to send Samba DEBUG() output to stdout or to a logfile which makes automated testing much funkier. Also added get_debuglevel() and set_debuglevel() functions.
* Ignore bin directory.Tim Potter2002-04-111-0/+1
|
* removed unnecessary memsetGerald Carter2002-04-111-2/+1
|
* Correctly emulate NT in printer handle opening access rights.Jeremy Allison2002-04-111-1/+6
| | | | Jeremy.
* This split the mangling code up to allow for the possibility of multipleAndrew Tridgell2002-04-1114-999/+1117
| | | | | | mangling implementation, selectable using "mangling method = " in smb.conf It also tidies the interface a little, although it is still nasty.
* s/werror_str/dos_errstr/g to fix compileGerald Carter2002-04-111-3/+3
|
* merge from 2.2Gerald Carter2002-04-111-1/+0
|
* WERROR merge from SAMBA_2_2Gerald Carter2002-04-112-50/+40
|
* specversion merge from SAMBA_2_2Gerald Carter2002-04-112-0/+29
|
* Added a whole bunch more permission constants.Tim Potter2002-04-111-0/+20
|
* Removed duplicate _LARGEFILE64_SOURCE added in error.Jeremy Allison2002-04-112-6/+0
| | | | Jeremy.
* Ensure VFS modules will build correctly by adding defines for CPPFLAGSJeremy Allison2002-04-114-767/+934
| | | | | defines into acconfig.h - only defined if seen. Jeremy.
* Rename of ads_do_search_all2() to ads_do_search_all() and removal ofJim McDonough2002-04-101-23/+11
| | | | server sort controls. Also put option externs in the net.h include.
* Add a few option externs for net_ads.cJim McDonough2002-04-101-0/+4
|
* A few more updates:Jim McDonough2002-04-101-132/+348
| | | | | | - Add doxygen comments - remove server sort control (ms implementation was not reliable) - rename ads_do_search_all2() to ads_do_search_all_fn()
* Add ads ldap server controlsJim McDonough2002-04-101-0/+5
|
* Fixed missing alignment in spoolss_io_q_enumjobs() function.Tim Potter2002-04-101-0/+3
|
* Added cli_spoolss_enumjobs() function.Tim Potter2002-04-101-0/+52
|
* Added Shirish's client side caching policy change.Jeremy Allison2002-04-106-6/+212
| | | | Jeremy.
* fixed a return value for a help functionAndrew Tridgell2002-04-101-0/+1
|
* Moved definition of winbind username/password secrets into secrets.hTim Potter2002-04-102-8/+8
|