summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Two tdb bugfixes. First one - ensure that traverse lock is moved before deletingJeremy Allison2000-12-131-45/+58
| | | | | | | dead records, else the record is just marked for deletion, not actually deleted. Second, ensure allocated record is marked as "in use" before free list lock is released, else other processes in the freelist merge code may try and merge it. Jeremy.
* Fixed bug noticed by JF. se_access_check needs user SID as first in token.Jeremy Allison2000-12-121-10/+23
| | | | Jeremy.
* Fixed processing of dfree script (was being truncated).Jeremy Allison2000-12-121-2/+0
| | | | Jeremy.
* Brief documentation on using the virtual printer codeDavid O'Neill2000-12-121-2/+35
|
* synched up with head so that SAMBA_2_2 will compileGerald Carter2000-12-122-2/+5
| | | | (wrong number of args to create_nt_token())
* Merged in Tim's changes: Removed static limit of MAX_LOOKUP_SIDS in rpc ↵Jeremy Allison2000-12-128-94/+173
| | | | | | | | | server and client lsa_lookup_names() and lsa_lookup_sids(). Removed the special casing of SIDs in se_access_check. This is now done (correctly) when the NT_USER_TOKEN is *created*. Jeremy.
* Owner always has READ_CONTROL and WRITE_DAC access.Jeremy Allison2000-12-121-1/+3
| | | | Jeremy.
* Sorry Gerald, I think the original code was better (plus safer as I'm sureJeremy Allison2000-12-121-7/+10
| | | | | it's working :-). Jeremy.
* Extra part of fix that Gerald missed (sorry).Jeremy Allison2000-12-121-1/+1
| | | | Jeremy.
* subtle bug where files which missed the stat_cache but were addedGerald Carter2000-12-111-10/+7
| | | | | | | | | | | | to the cache during the look returned a blank stat struct. Made weird occurrences such as... $ smbclient //pogo/print$ smb:\ > cd w32x86 ERROR: Invalid path smb:\ > cd w32x86 smb:\w32x86\ >
* Fix for short names not being returned correctly with non-mangled shares.Jeremy Allison2000-12-111-1/+2
| | | | Jeremy
* Fixed very subtle bug returning correct error on an open, when we haveJeremy Allison2000-12-112-10/+91
| | | | | | | a choice of invalid share mode and access denied. We must return the access denied by preference, but also remember to break the oplocks... This is needed for multi-user MS-Access. Jeremy.
* Updated from appliance-head. Debug SD stuff.Jeremy Allison2000-12-112-0/+48
| | | | Jeremy.
* Changes from HEAD:David O'Neill2000-12-111-1/+1
| | | | | - return NULL instead of return False in char *prs_mem_get(); (source/rpc_parse/parse_prs.c)
* Added Tim's fix for read-only crashes.Jeremy Allison2000-12-111-0/+2
| | | | Jeremy.
* Fixed typo causing coredump in file_lines_parse.Jeremy Allison2000-12-091-1/+1
| | | | Jeremy.
* Fixed compiler warning.Jeremy Allison2000-12-081-2/+2
| | | | Jeremy.
* Added missing OLD_NTDOMAIN to fix compiler warnings.Jeremy Allison2000-12-083-0/+6
| | | | Jeremy.
* Removed unused auto (IRIX compiler warning).Jeremy Allison2000-12-081-2/+1
| | | | Jeremy.
* Changes from HEAD:David O'Neill2000-12-082-6/+5
| | | | | - Make the appropriate make_sec_desc() changes to the psec tool. (testsuite/printing/Makefile.psec testsuite/printing/psec.c)
* Fixed very subtle bug where invalid stat return could be used if statJeremy Allison2000-12-081-1/+2
| | | | | failed on last component and directory scan matched the last component. Jeremy.
* Fixed bug in Win9x/ME call where drivername was being returned incorrectlyJeremy Allison2000-12-071-36/+46
| | | | | in one printq case. Now always goes through common function. Jeremy.
* file_lines_load/file_lines_pload can now optionally do a unix_to_dos() on read.Jeremy Allison2000-12-0712-26/+33
| | | | | Added calls for smbcacls. Jeremy.
* Fixed tdb_next_lock bug where it was failing when traversing the end ofJeremy Allison2000-12-072-9/+39
| | | | | one hashchain and the next hashchain was empty. Jeremy.
* - Fix Makefile.in so that clisecdesc.o is in SMBCACLS_OBJ, not LIBSMB_OBJDavid O'Neill2000-12-067-26/+20
| | | | | | | | | Also, fix etags/ctags rules to work when srcdir != builddir - updated configure - compiler warning fixes from APPLIANCE_HEAD (source/lib/util_sec.c source/smbd/vfs-wrap.c) - tdb_chainlock() no longer returns a value. (source/locking/locking.c source/tdb/tdbutil.c source/include/proto.h)
* Merge from applience-head of error message.Jeremy Allison2000-12-061-1/+2
| | | | Jeremy.
* Added missing spinlock.{c,h} files.David O'Neill2000-12-060-0/+0
|
* Remove the need for 'done:' vs. 'done: ;', as it appears both of these makeDavid O'Neill2000-12-061-24/+21
| | | | certain compilers unhappy.
* Fix for Tru64 Unix from Thomas Fichte <fichte@lsl.ifw-dresden.de>Tim Potter2000-12-061-1/+1
|
* merge from HEADGerald Carter2000-12-061-6/+13
| | | | --jerry
* Sync up with appliance-head printing.Jeremy Allison2000-12-061-2/+0
| | | | Jeremy.
* This commit was manufactured by cvs2svn to create branch 'SAMBA_2_2'.cvs2svn Import User2000-12-062-0/+458
|\
| * Changed to sourceforge tdb code. This includes spinlocks (so we now haveJeremy Allison2000-12-0616-1740/+2027
| | | | | | | | | | | | | | | | a --with-spinlocks option to configure, this does mean the on-disk tdb format has changed, so 2.2alphaX sites will need to re-create their tdb's. The upside is no more tdb fragmentation and a +5% on netbench. Swings and roundabouts.... Jeremy.
| * Fixed one tdb_read -> rec_free_read call.Jeremy Allison2000-12-051-10/+2
| | | | | | | | Jeremy.
| * Added sorted freelist neighbour merge code to stop tdb fragmentation.Jeremy Allison2000-12-052-32/+251
| | | | | | | | | | This needs TESTING !!! (It passes tdbtest of course :-). Jeremy.
| * Remove C++ style commentsDavid O'Neill2000-12-041-1/+1
| |
| * Changes from APPLIANCE_HEAD:David O'Neill2000-12-043-3/+7
| | | | | | | | | | | | - clean up yodl doc for the -U changes, update man and html versions (docs/yodldocs/smbclient.1.yo docs/htmldocs/smbclient.1.html docs/manpages/smbclient.1)
| * fixed a typoAndrew Tridgell2000-12-041-1/+1
| |
* | Changed to sourceforge tdb code. This includes spinlocks (so we now haveJeremy Allison2000-12-0515-1613/+1653
| | | | | | | | | | | | | | | | a --with-spinlocks option to configure, this does mean the on-disk tdb format has changed, so 2.2alphaX sites will need to re-create their tdb's. The upside is no more tdb fragmentation and a +5% on netbench. Swings and roundabouts.... Jeremy.
* | Changes from APPLIANCE_HEAD:David O'Neill2000-12-057-102/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - clean up some confusing variable names, remove unreachable 'break' statements. (source/printing/nt_printing.c) - reformatted to fit 80 columns (docs/docbook/docbook.txt) - configure.developer now runs configure in `dirname $0` (source/configure.developer) - syncup of smbclient docs (docs/htmldocs/smbclient.1.html docs/manpages/smbclient.1 docs/yodldocs/smbclient.1.yo) - fix to debugging code (testsuite/printing/psec.c)
* | Syncup of smbcacls from HEAD. Removal of C++ comments.Jeremy Allison2000-12-0412-26/+402
| | | | | | | | Jeremy.
* | This commit was manufactured by cvs2svn to create branch 'SAMBA_2_2'.cvs2svn Import User2000-12-042-0/+755
|\|
| * added a commentAndrew Tridgell2000-12-041-0/+2
| |
| * fixed the parsing again and got setting acls working with w2kAndrew Tridgell2000-12-041-3/+3
| |
| * pass the desired access into cli_nt_create()Andrew Tridgell2000-12-044-5/+8
| |
| * Added some cli_errstr() calls.Tim Potter2000-12-041-4/+4
| |
| * Removed lsa lookup warnings (I'll remember).Tim Potter2000-12-041-4/+19
| | | | | | | | Print an error if -M refers to a non-existent ACL.
| * fixed setting ACLs on directoriesAndrew Tridgell2000-12-041-2/+2
| |
| * fixed indentationAndrew Tridgell2000-12-041-1/+1
| |
| * Mask value now displayed as READ/CHANGE/FULL for standard permissions, orTim Potter2000-12-041-27/+66
| | | | | | | | | | | | | | | | RWXDPO for special permissions. Append 0x to values printed as hex. Spruced up the help message.