Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | set the default hashing scheme in head to "hash2" | Andrew Tridgell | 2002-04-12 | 1 | -0/+3 |
| | | | | it seems to be a much better scheme | ||||
* | nicer measurement of failures and collisions | Andrew Tridgell | 2002-04-12 | 1 | -7/+15 |
| | |||||
* | better mangling test. We now test that we can create by long name and | Andrew Tridgell | 2002-04-12 | 1 | -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 on | Andrew Tridgell | 2002-04-12 | 4 | -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 in | Andrew Bartlett | 2002-04-11 | 3 | -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 ends | Jeremy Allison | 2002-04-11 | 1 | -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 it | Andrew Tridgell | 2002-04-11 | 4 | -672/+697 |
| | |||||
* | don't try to return a void | Andrew Tridgell | 2002-04-11 | 1 | -1/+1 |
| | |||||
* | possibly fix the 15000 user problem | Andrew Tridgell | 2002-04-11 | 2 | -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 the | Andrew Tridgell | 2002-04-11 | 1 | -2/+4 |
| | | | | | hash to suit - the prefix ends at the last dot, not the first | ||||
* | a few debug statements (disabled) | Andrew Tridgell | 2002-04-11 | 1 | -2/+7 |
| | |||||
* | don't treat '.' as FLAG_ASCII, instead handle it separately | Andrew Tridgell | 2002-04-11 | 1 | -2/+2 |
| | |||||
* | - tidier flag checking code | Andrew Tridgell | 2002-04-11 | 1 | -8/+40 |
| | | | | - finished the is_mangled() function | ||||
* | added some more comments | Andrew Tridgell | 2002-04-11 | 1 | -5/+15 |
| | |||||
* | some optimisations to the new mangling system | Andrew Tridgell | 2002-04-11 | 1 | -16/+44 |
| | |||||
* | this adds a completely new hash based mangling scheme | Andrew Tridgell | 2002-04-11 | 4 | -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 Potter | 2002-04-11 | 1 | -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 Potter | 2002-04-11 | 2 | -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 Potter | 2002-04-11 | 1 | -0/+1 |
| | |||||
* | removed unnecessary memset | Gerald Carter | 2002-04-11 | 1 | -2/+1 |
| | |||||
* | Correctly emulate NT in printer handle opening access rights. | Jeremy Allison | 2002-04-11 | 1 | -1/+6 |
| | | | | Jeremy. | ||||
* | This split the mangling code up to allow for the possibility of multiple | Andrew Tridgell | 2002-04-11 | 14 | -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 compile | Gerald Carter | 2002-04-11 | 1 | -3/+3 |
| | |||||
* | merge from 2.2 | Gerald Carter | 2002-04-11 | 1 | -1/+0 |
| | |||||
* | WERROR merge from SAMBA_2_2 | Gerald Carter | 2002-04-11 | 2 | -50/+40 |
| | |||||
* | specversion merge from SAMBA_2_2 | Gerald Carter | 2002-04-11 | 2 | -0/+29 |
| | |||||
* | Added a whole bunch more permission constants. | Tim Potter | 2002-04-11 | 1 | -0/+20 |
| | |||||
* | Removed duplicate _LARGEFILE64_SOURCE added in error. | Jeremy Allison | 2002-04-11 | 2 | -6/+0 |
| | | | | Jeremy. | ||||
* | Ensure VFS modules will build correctly by adding defines for CPPFLAGS | Jeremy Allison | 2002-04-11 | 4 | -767/+934 |
| | | | | | defines into acconfig.h - only defined if seen. Jeremy. | ||||
* | Rename of ads_do_search_all2() to ads_do_search_all() and removal of | Jim McDonough | 2002-04-10 | 1 | -23/+11 |
| | | | | server sort controls. Also put option externs in the net.h include. | ||||
* | Add a few option externs for net_ads.c | Jim McDonough | 2002-04-10 | 1 | -0/+4 |
| | |||||
* | A few more updates: | Jim McDonough | 2002-04-10 | 1 | -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 controls | Jim McDonough | 2002-04-10 | 1 | -0/+5 |
| | |||||
* | Fixed missing alignment in spoolss_io_q_enumjobs() function. | Tim Potter | 2002-04-10 | 1 | -0/+3 |
| | |||||
* | Added cli_spoolss_enumjobs() function. | Tim Potter | 2002-04-10 | 1 | -0/+52 |
| | |||||
* | Added Shirish's client side caching policy change. | Jeremy Allison | 2002-04-10 | 6 | -6/+212 |
| | | | | Jeremy. | ||||
* | fixed a return value for a help function | Andrew Tridgell | 2002-04-10 | 1 | -0/+1 |
| | |||||
* | Moved definition of winbind username/password secrets into secrets.h | Tim Potter | 2002-04-10 | 2 | -8/+8 |
| | |||||
* | When printing a tdb log message display "unnamed" instead of "unknown" if | Tim Potter | 2002-04-09 | 1 | -1/+1 |
| | | | | the tdb has not been named. | ||||
* | Shirish pointed out more areas we should be doing roundups for allocation size. | Jeremy Allison | 2002-04-09 | 1 | -17/+16 |
| | | | | Jeremy. | ||||
* | Fixed typo in debug statement. | Tim Potter | 2002-04-09 | 1 | -1/+1 |
| | |||||
* | Fixed some compiler warnings. | Tim Potter | 2002-04-09 | 1 | -5/+5 |
| | |||||
* | Added WERR_INVALID_FORM_NAME constant. | Tim Potter | 2002-04-09 | 3 | -0/+3 |
| | |||||
* | Add a become_root()/unbecome_root() pair to allow acces to the passdb for | Andrew Bartlett | 2002-04-09 | 1 | -0/+4 |
| | | | | SID lookup. This fixes a bug where SIDs (rather than names) are displayed in windows ACL lists | ||||
* | Fixed setform and addform functions. | Tim Potter | 2002-04-09 | 1 | -21/+17 |
| | |||||
* | Added constants for form types and WERROR values. | Tim Potter | 2002-04-09 | 1 | -0/+38 |
| | |||||
* | The useless_ptr must be non-zero for addform and setform client functions | Tim Potter | 2002-04-09 | 1 | -2/+5 |
| | | | | | | to work. Note about setprinter level 1 not existing. | ||||
* | Fix location of binaries and make sure they get there. Still experimental. | John Terpstra | 2002-04-08 | 1 | -5/+5 |
| | |||||
* | a fix yet committed to 2.2 sometimes ago and reintroduced here! | Simo Sorce | 2002-04-08 | 1 | -1/+1 |
| | |||||
* | Reintroduce the 2.2 name mangling code, until we get are more flexible solution. | Andrew Bartlett | 2002-04-08 | 4 | -830/+805 |
| | | | | | | | Even for a hash/cache setup, this code needs some more work, in particular it needs to use mangle_get_prefix() etc and to move to unicode internals. Andrew Bartlett |