summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Ding Dong the witch is dead ! :-). Ok, I'm happy 'cos I've finally deletedJeremy Allison2001-03-313-151/+181
| | | | | | | | | | | | | | | | | all the *HORRIBLE* DBG_RW_XXX and RW_XXX macros from include/byteorder.h. They were macros that included macros that had conditional macros included. No one understood them (they were the cause of most of the bigendian issue bugs). Finally, I went into parse_prs.c and inlined all of that stuff with regular function calls. They're understandable, they're easy to edit and they don't include macros ! JF - please look at the one comment I added (JF PLEASE CHECK). I have tested this partly with IRIX (a bigendian system) running with AS/U on a Solaris box in SGI's lab, and I've also confirmed these new changes work with W2K (vmware) but there may be the odd bug lurking. Herb, if you could re-checkout and test again with this code that would help. I'm not going to sync these changes with HEAD until I know they're completely correct (which I believe they are). Jeremy
* The changes to the SMBMACROs were causing big endian machines to incorrectlyJeremy Allison2001-03-314-45/+93
| | | | | | | | | | | byte-swap uint32 arrays (SIDS). Restored them to the original values - this wouuld have caused the AS/U work that Herb and I did to break. So I expanded (BY HAND !!! GRRR!!!!) the *stupid* DBG_RW_XXX macros for unicode strings, and made sure that all places marshalling uint16 arrays as unicode strings (spoolss) called the new function which (hopefully) correctly handles byte swapping for big-endian RPC machines. I'm now off to the SGI lab (this is no way to spend a friday night :-) to check with Herb if this works. Jeremy.
* utils/torture.c: Added one more delete on close test.Jeremy Allison2001-03-302-3/+58
| | | | | | | | | | | | | smbd/notify_kernel.c: This code was wrong I believe. It was structured to only return a changenotify event on being called from timeout processing (t != 0). The kernel changenotify events should fire on *asynchronous* processing (EINTR return from select caused by the realtime signal delivery) with t == 0. Reported by Juergen Hasch (Hasch@t-online.de). ANDREW PLEASE CHECK THIS ! Currently the hash style changenotify is done on async processing as well as timeout processing. As this is expensive we may want to revisit doing this and maybe set it to fire only on timeout processing. Jeremy.
* first cut at IRIX ACLS - still being developed and tested but this at leastHerb Lewis2001-03-301-0/+244
| | | | compiles.
* ran autoconfHerb Lewis2001-03-301-9/+16
|
* start adding IRIX ACL supportHerb Lewis2001-03-304-1/+11
|
* Fixed extern ref typo for file generic perms. 2am coding strikes again :-).Jeremy Allison2001-03-301-1/+1
| | | | Jeremy.
* added 'dos filemode'Gerald Carter2001-03-303-6/+69
|
* missed these yesterday. I'm bad about that :-(Gerald Carter2001-03-302-16/+16
|
* 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.