Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | start adding IRIX ACL support | Herb Lewis | 2001-03-30 | 4 | -1/+11 |
| | |||||
* | Fixed extern ref typo for file generic perms. 2am coding strikes again :-). | Jeremy Allison | 2001-03-30 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | added 'dos filemode' | Gerald Carter | 2001-03-30 | 3 | -6/+69 |
| | |||||
* | missed these yesterday. I'm bad about that :-( | Gerald Carter | 2001-03-30 | 2 | -16/+16 |
| | |||||
* | This is a big, rather ugly patch. Whilst investigating the files not truncated | Jeremy Allison | 2001-03-30 | 8 | -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 Allison | 2001-03-30 | 1 | -1/+43 |
| | | | | Jeremy. | ||||
* | Expanded delete on close test to 6 cases. I now understand the semantics of | Jeremy Allison | 2001-03-30 | 1 | -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 make | Jeremy Allison | 2001-03-30 | 1 | -9/+57 |
| | | | | | delete test explicit. Jeremy. | ||||
* | Added delete on close test that has allowed me to determine how w2k | Jeremy Allison | 2001-03-30 | 1 | -0/+147 |
| | | | | | behaves in this situation. Jeremy. | ||||
* | add online version of OS2-Client-HOWTO | Gerald Carter | 2001-03-29 | 1 | -0/+210 |
| | |||||
* | link in OS2-Client-HOWTO to SWAT main page | Gerald Carter | 2001-03-29 | 1 | -0/+1 |
| | |||||
* | converted OS2-Client-HOWTO.txt to SGML/DocBook and added | Gerald Carter | 2001-03-29 | 4 | -1133/+1651 |
| | | | | updates from Jim McDonough @ IBM | ||||
* | added | Gerald Carter | 2001-03-29 | 3 | -6/+221 |
| | | | | | | vfs object vfs options os2 driver map | ||||
* | moving to DocBook | Gerald Carter | 2001-03-29 | 1 | -64/+0 |
| | |||||
* | added some new comments to the printing section about | Gerald Carter | 2001-03-29 | 4 | -1325/+1547 |
| | | | | using 'rpcclient setdriver' | ||||
* | Added cli_nt_delete_on_close() call to allow flag to be set for torture tests. | Jeremy Allison | 2001-03-29 | 2 | -10/+46 |
| | | | | Jeremy. | ||||
* | Added cli_nt_create_full() as a way to get at all the ntcreate parameters. | Jeremy Allison | 2001-03-29 | 2 | -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 Allison | 2001-03-28 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | autogen | Gerald Carter | 2001-03-28 | 4 | -11/+111 |
| | |||||
* | documentation updates. This includes Andrew's enhanced browsing | Gerald Carter | 2001-03-28 | 2 | -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 to | Jeremy Allison | 2001-03-28 | 1 | -1/+1 |
| | | | | | be returned. Jeremy. | ||||
* | Things are making more sense every day :-) | Gerald Carter | 2001-03-28 | 5 | -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 User | 2001-03-28 | 1 | -0/+2513 |
|\ | |||||
| * | More memory leaks fixed courtesy of Insure ... | Richard Sharpe | 2001-03-28 | 1 | -11/+44 |
| | | |||||
| * | Changed usage message for query_groupmem and query_usergroups as they don't | Tim Potter | 2001-03-28 | 1 | -2/+2 |
| | | | | | | | | convert names to rids yet. | ||||
| * | Fixed the problem Gerald reported. Unfortunately we need to go back to | Jeremy Allison | 2001-03-28 | 1 | -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 proto | Gerald Carter | 2001-03-27 | 1 | -7/+7 |
| | | |||||
| * | merge from 2.2. | Gerald Carter | 2001-03-27 | 4 | -69/+69 |
| | | |||||
| * | One small Insure fix for a memory leak. More fixes to come perhaps ... | Richard Sharpe | 2001-03-27 | 1 | -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 Allison | 2001-03-27 | 1 | -279/+112 |
| | | | | | | | | Jeremy. | ||||
| * | Patch from itegem <J.P.M.v.Itegem@ele.tue.nl> to handle LPRng v3.16 and above. | Jeremy Allison | 2001-03-27 | 1 | -11/+30 |
| | | | | | | | | Jeremy | ||||
| * | Added NFS quota support for Solaris 5.x from Alan Romeril <a.romeril@ic.ac.uk>. | Jeremy Allison | 2001-03-27 | 1 | -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 Allison | 2001-03-27 | 2 | -2/+2 |
| | | | | | | | | Jeremy. | ||||
| * | Patch from David Gibson <dgibson@linuxcare.com> to reduce "silent abort" | Jeremy Allison | 2001-03-27 | 2 | -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 Allison | 2001-03-27 | 1 | -4/+10 |
| | | | | | | | | Jeremy. | ||||
| * | Bail out early if null passwords and lp_null_passwords not set. | Jeremy Allison | 2001-03-27 | 1 | -0/+5 |
| | | | | | | | | Jeremy. | ||||
| * | merge from 2.2 | Gerald Carter | 2001-03-27 | 1 | -8/+71 |
| | | |||||
| * | Patch from Massimo Sivilotti <mass@tanner.com> to log remote machine/ip on | Jeremy Allison | 2001-03-26 | 1 | -1/+2 |
| | | | | | | | | | | connection fail. Jeremy. | ||||
| * | Fix from Ryo Kawahara <rkawa@lbe.co.jp> to make SWAT correctly write and ↵ | Jeremy Allison | 2001-03-26 | 6 | -26/+75 |
| | | | | | | | | | | | | | | smb.conf file in utf8. Jeremy. | ||||
| * | Fix for smbtar race condition from Glenn Burkhardt <glenn@aoi.ultranet.com>. | Jeremy Allison | 2001-03-26 | 1 | -1/+11 |
| | | | | | | | | Jeremy. | ||||
| * | Missed a cli_set_port on message code connect. | Jeremy Allison | 2001-03-26 | 1 | -1/+1 |
| | | | | | | | | Jeremy. | ||||
| * | Patch from Sean.Batt@anu.edu.au to ensure error reporting is done before | Jeremy Allison | 2001-03-26 | 1 | -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 Allison | 2001-03-26 | 1 | -1/+13 |
| | | | | | | | | Jeremy. | ||||
| * | Patch to make automount lookup fallback to get home directory from getpwnam. | Jeremy Allison | 2001-03-26 | 2 | -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 it | Jeremy Allison | 2001-03-26 | 3 | -15/+15 |
| | | | | | | | | | | to the places where [f]chmod_acl is called instead. Jeremy. | ||||
| * | Ensure get/set NT ACL code is redirected through vfs. | Jeremy Allison | 2001-03-26 | 1 | -2/+2 |
| | | | | | | | | Jeremy. | ||||
| * | smbd/posix_acls.c: Sync up with 2.2 changes - don't return deny ACE's. | Jeremy Allison | 2001-03-26 | 2 | -67/+19 |
| | | | | | | | | | | smbd/vfs.c: Don't call [f]chmod_acl if no acl support. Jeremy. | ||||
| * | merge from 2.2 | Gerald Carter | 2001-03-25 | 1 | -0/+96 |
| | | |||||
| * | Added Gerald's fixes. | Jeremy Allison | 2001-03-23 | 2 | -3/+0 |
| | | | | | | | | Jeremy. | ||||
| * | a much simpler talloc() implementation. This version has the following | Andrew Tridgell | 2001-03-23 | 2 | -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 |