summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* This is a big, rather ugly patch. Whilst investigating the files not truncatedJeremy Allison2001-03-308-190/+254
| | | | | | | | | | | | | | | | | | | | | | | | | | | when copying to a full disk problem, I discovered that we were not allowing the delete on close flag to be set properly, this led to other things, and after investigation of the proper delete on close semantics and their relationship to the file_share_delete flag I discovered there were some cases where we weren't doing the deny modes properly. And this after only 5 years working on them..... :-) :-). So here's the latest attempt. I realised the delete on close flag needs to be set across all smbds with a dev/ino pair open - in addition, the delete on close flag, allow share delete and delete access requested all need to be stored in the share mode tdb. The "delete_on_close" entry in the fsp struct is now redundant and should really be removed. This may also mean we can get rid of the "iterate_fsp" calls that I didn't like adding in the first place. Whilst doing this patch, I also discovered we needed to do the se_map_generic() call for file opens and POSIX ACL mapping, so I added that also. This code, although ugly, now passes the deny mode torture tests plus the delete on close tests I added. I do need to add one more multiple connection delete on close test to make sure I got the semantics exactly right, plus we should also (as Andrew suggested) move to random testing here. The good news is that NT should now correctly delete the file on disk full error when copying to a disk :-). Jeremy.
* Added one more test - just to make sure flag can be unset.Jeremy Allison2001-03-301-1/+43
| | | | Jeremy.
* Expanded delete on close test to 6 cases. I now understand the semantics ofJeremy Allison2001-03-301-2/+53
| | | | | | this and the FILE_SHARE_DELETE flag exactly. The bad news is it means our share mode handling is broken (again :-). Jeremy.
* Changed to using GENERIC_XX constants instead of hex values to makeJeremy Allison2001-03-301-9/+57
| | | | | delete test explicit. Jeremy.
* Added delete on close test that has allowed me to determine how w2kJeremy Allison2001-03-301-0/+147
| | | | | behaves in this situation. Jeremy.
* add online version of OS2-Client-HOWTOGerald Carter2001-03-291-0/+210
|
* link in OS2-Client-HOWTO to SWAT main pageGerald Carter2001-03-291-0/+1
|
* converted OS2-Client-HOWTO.txt to SGML/DocBook and addedGerald Carter2001-03-294-1133/+1651
| | | | updates from Jim McDonough @ IBM
* addedGerald Carter2001-03-293-6/+221
| | | | | | vfs object vfs options os2 driver map
* moving to DocBookGerald Carter2001-03-291-64/+0
|
* added some new comments to the printing section aboutGerald Carter2001-03-294-1325/+1547
| | | | using 'rpcclient setdriver'
* Added cli_nt_delete_on_close() call to allow flag to be set for torture tests.Jeremy Allison2001-03-292-10/+46
| | | | Jeremy.
* Added cli_nt_create_full() as a way to get at all the ntcreate parameters.Jeremy Allison2001-03-292-10/+30
| | | | | Used in smbtorture mods. Re-cast cli_nt_create() as a call to cli_nt_create_full(). Jeremy.
* Insure fix. Only read 4 bytes from data area if there are 4 bytes to read.Jeremy Allison2001-03-281-1/+1
| | | | Jeremy.
* autogenGerald Carter2001-03-284-11/+111
|
* documentation updates. This includes Andrew's enhanced browsingGerald Carter2001-03-282-1/+38
| | | | | | | | | parameter in HEAD. I do not want to maintain two sets of docs so HEAD-only parameters are flagged in smb.conf. jerry
* Fixed typo bug spotted by Jim Vopni jimv@metrics.com. Caused no status toJeremy Allison2001-03-281-1/+1
| | | | | be returned. Jeremy.
* Things are making more sense every day :-)Gerald Carter2001-03-285-244/+478
| | | | | | | | | | | | | | | | Two things in the commit... o rename of new_smb_io_* to smb_io_* for consistency sake. The latter was the way in whic the majority of related fnuctions were named o added 'setdriver <printer> <driver>' to rpcclient. This means an admin can install the printer driver once and loop over /etc/printcap to set the driver for all printers :-) Yeah! Caveats...I know know how to remove the various memory leaks I have introduced into rpcclient. These will be fixed after I update the documentation.
* This commit was manufactured by cvs2svn to create branch 'SAMBA_2_2'.cvs2svn Import User2001-03-281-0/+2513
|\
| * More memory leaks fixed courtesy of Insure ...Richard Sharpe2001-03-281-11/+44
| |
| * Changed usage message for query_groupmem and query_usergroups as they don'tTim Potter2001-03-281-2/+2
| | | | | | | | convert names to rids yet.
| * Fixed the problem Gerald reported. Unfortunately we need to go back toJeremy Allison2001-03-281-194/+110
| | | | | | | | | | | | | | | | | | | | reporting imaginary "default" inheritable ACLs on directories, otherwise, when you add an entry and click on apply without noticing there's no default entry associated with it, it applies a null acl on the files within the directory (hey, that's what you told NT you wanted, right ! :-). Also ensure that minimum permissions for a directory are r-x for owner, not just r--. Jeremy.
| * make protoGerald Carter2001-03-271-7/+7
| |
| * merge from 2.2.Gerald Carter2001-03-274-69/+69
| |
| * One small Insure fix for a memory leak. More fixes to come perhaps ...Richard Sharpe2001-03-271-2/+52
| | | | | | | | | | Also fixed an error return for smbc_rmdir so that we can distinguish between EACCES and ENOTEMPTY
| * Removed NFS quotas code for Solaris as Alan wants to re-write it.Jeremy Allison2001-03-271-279/+112
| | | | | | | | Jeremy.
| * Patch from itegem <J.P.M.v.Itegem@ele.tue.nl> to handle LPRng v3.16 and above.Jeremy Allison2001-03-271-11/+30
| | | | | | | | Jeremy
| * Added NFS quota support for Solaris 5.x from Alan Romeril <a.romeril@ic.ac.uk>.Jeremy Allison2001-03-271-112/+279
| | | | | | | | | | | | sun1.samba.org is down at the moment so I can't test the compile on this. I'm sure Solaris people using quotas will scream if I've meesed anything up :-). Jeremy.
| * standards.h only exists on IRIX 6.x and above (Herb please check !).Jeremy Allison2001-03-272-2/+2
| | | | | | | | Jeremy.
| * Patch from David Gibson <dgibson@linuxcare.com> to reduce "silent abort"Jeremy Allison2001-03-272-52/+84
| | | | | | | | | | | | problems with smbd failing to create a log file. If we can't create a log file keep using the old file. Jeremy.
| * Fix for ENOSPC from DCB.Jeremy Allison2001-03-271-4/+10
| | | | | | | | Jeremy.
| * Bail out early if null passwords and lp_null_passwords not set.Jeremy Allison2001-03-271-0/+5
| | | | | | | | Jeremy.
| * merge from 2.2Gerald Carter2001-03-271-8/+71
| |
| * Patch from Massimo Sivilotti <mass@tanner.com> to log remote machine/ip onJeremy Allison2001-03-261-1/+2
| | | | | | | | | | connection fail. Jeremy.
| * Fix from Ryo Kawahara <rkawa@lbe.co.jp> to make SWAT correctly write and ↵Jeremy Allison2001-03-266-26/+75
| | | | | | | | | | | | | | smb.conf file in utf8. Jeremy.
| * Fix for smbtar race condition from Glenn Burkhardt <glenn@aoi.ultranet.com>.Jeremy Allison2001-03-261-1/+11
| | | | | | | | Jeremy.
| * Missed a cli_set_port on message code connect.Jeremy Allison2001-03-261-1/+1
| | | | | | | | Jeremy.
| * Patch from Sean.Batt@anu.edu.au to ensure error reporting is done beforeJeremy Allison2001-03-261-3/+3
| | | | | | | | | | any code that could modify errno is called. Jeremy.
| * Fix from Dave Collier Brown to log a debug at level zero on common misconfigure.Jeremy Allison2001-03-261-1/+13
| | | | | | | | Jeremy.
| * Patch to make automount lookup fallback to get home directory from getpwnam.Jeremy Allison2001-03-262-28/+40
| | | | | | | | | | From Robert Montjoy <Rob_Montjoy@ECECS.UC.EDU>. Jeremy.
| * smbd/posix_acls.c: Saving and restoring errno here is the wrong place. Moved itJeremy Allison2001-03-263-15/+15
| | | | | | | | | | to the places where [f]chmod_acl is called instead. Jeremy.
| * Ensure get/set NT ACL code is redirected through vfs.Jeremy Allison2001-03-261-2/+2
| | | | | | | | Jeremy.
| * smbd/posix_acls.c: Sync up with 2.2 changes - don't return deny ACE's.Jeremy Allison2001-03-262-67/+19
| | | | | | | | | | smbd/vfs.c: Don't call [f]chmod_acl if no acl support. Jeremy.
| * merge from 2.2Gerald Carter2001-03-251-0/+96
| |
| * Added Gerald's fixes.Jeremy Allison2001-03-232-3/+0
| | | | | | | | Jeremy.
| * a much simpler talloc() implementation. This version has the followingAndrew Tridgell2001-03-232-31/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | advantages: - memory is trackable by insure - a very simple talloc_realloc() is possible (I've added it) It is slower than the previous talloc code, but I don't think that is going to be a problem. If it is a problem then there are some ways we can make it faster but I'd like to leave those until we have tested this a bit and can see what performance problems might show up in profiling
| * More unused variables.Jeremy Allison2001-03-233-28/+6
| | | | | | | | Jeremy.
| * Fix insure-found parameter size missmatch.Jeremy Allison2001-03-232-3/+3
| | | | | | | | Jeremy.
| * Made the fixes Andrew suggested to asci string code to use srvstr_push.Jeremy Allison2001-03-231-2/+2
| | | | | | | | Jeremy.
| * Two OS/2 printer fixes from Jim McDonough @ IBM.Jeremy Allison2001-03-235-17/+210
| | | | | | | | | | | | | | First one adds a new info level into the lanman printing and an ioctl to the trans2 code. Andrew - this uses ASCII only. It looks ok to me but please check ! Second one adds a parameter "os2 driver map" that allows OS/2 driver names to be mapped. Jeremy.