summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove "read only" stuff - not really useful.Jeremy Allison2001-04-091-33/+2
| | | | Jeremy.
* Fix up error codes for share manipulation.Jeremy Allison2001-04-091-6/+21
| | | | Jeremy.
* fix cast warning. fix indent to remove line wrap (cosmetic)Herb Lewis2001-04-091-6/+6
|
* Get/Set of SD's on shares now works. Correctly ensure scripts exist beforeJeremy Allison2001-04-091-12/+15
| | | | | calling. Jeremy.
* Set SD's for share. Added level 1501. Map GENERIC file bits to specific bits.Jeremy Allison2001-04-093-15/+94
| | | | Jeremy.
* Ensure Everyone/All access is mapped correctly to file generic perms to allowJeremy Allison2001-04-091-1/+5
| | | | | anonymous IPC access. Jeremy.
* Added get/set SD's on shares. Check on tcon.Jeremy Allison2001-04-094-18/+170
| | | | Jeremy.
* 2.2 specific paranioia about slprintf.Jeremy Allison2001-04-082-9/+9
| | | | Jeremy.
* Got "medieval on our ass" about adding the -1 to slprintf.Jeremy Allison2001-04-0831-87/+87
| | | | Jeremy.
* Added share security tdb. Tidied up many slprintf's (should be -1 to length).Jeremy Allison2001-04-083-98/+239
| | | | Jeremy.
* Fixed up the "add" command - although not SD's yet. Now for the SD db andJeremy Allison2001-04-071-19/+74
| | | | | the "change" command. Jeremy.
* Fix from Andrew Bartlett to add a NULL check to get_sXX pw function returns.Jeremy Allison2001-04-071-1/+1
| | | | Jeremy.
* Added 3 params to manipulate shares. "add share command/change share command/Jeremy Allison2001-04-075-29/+111
| | | | | | delete share command". Implemented "delete" - more work to come on add and change. Jeremy.
* Fix from Ed Boraas for not core dumping when out of connection structs.Jeremy Allison2001-04-061-1/+0
| | | | Jeremy.
* keep cflags from being duplicated if defined in environmentHerb Lewis2001-04-062-7/+7
|
* Implemented stub function for NET_SHARE_DELETE. Now to implement the realJeremy Allison2001-04-065-5/+124
| | | | | internals to support server manager. Jeremy
* Added stub function for NET_SHARE_ADD. Once this is implemented to call a hookJeremy Allison2001-04-065-0/+154
| | | | | | | | function (same for NET_SHARE_DELETE and NET_SHARE_SET) we will be able to manage the shares section in smb.conf via NT server manager........ This should enhance the friendliness of Samba in NT-only shops by an order of magnitude. Jeremy.
* If we can't open the username map file, at least print the strerror.Jeremy Allison2001-04-061-1/+1
| | | | Jeremy.
* NT sucks ! :-). We have to prefix the UNIX path with a C: in order to pass theJeremy Allison2001-04-061-6/+9
| | | | | | server manager tests :-). Ensure we don't set a return level on set as server manager barfs.... Jeremy.
* We can now use server manager to look at Samba shares. NT still expects a ":"Jeremy Allison2001-04-064-29/+72
| | | | | in the path though.... I'm looking into it. Jeremy.
* Setup syslog correctly in swat. Patch from Andrew Bartlett.Jeremy Allison2001-04-051-0/+1
| | | | Jeremy.
* Fix from Michael Davidson <md@sco.COM> to merge Solaris and UnixWare ACLs.Jeremy Allison2001-04-053-605/+58
| | | | Jeremy.
* Fix from "Romeril, Alan" <a.romeril@ic.ac.uk> to get his NFS quota codeJeremy Allison2001-04-051-6/+6
| | | | | to work on Solaris 2.6. Jeremy.
* Tidy up tmp file handling.Jeremy Allison2001-04-051-7/+2
| | | | Jeremy.
* I know we're supposed to be feature frozen, but I couldn't resist this... :-).Jeremy Allison2001-04-045-16/+502
| | | | | | | | I worked out and added the per-share get/set RPCs for security descriptors. Currently this code returns Everyone, full access on get and permission denied on set, but backending this with a tdb and checking it on tconX (to give full NT semantics for security on shares) is now an excersise for the reader... :-). Jeremy.
* Fix for broken RelientUNIX.Jeremy Allison2001-04-042-1/+11
| | | | Jeremy.
* Actually merged changes for NT forms. My CVS mistake.Jeremy Allison2001-04-031-20/+69
| | | | Jeremy
* Fix from Jim Vopni <jimv@metrics.com> for NT forms problem. People using theJeremy Allison2001-04-032-20/+177
| | | | | | new printing functionality please test this. I've tested it here and it seems fine, but more testing is always welcome. Jeremy.
* Patches from Andrew Bartlett.John Terpstra2001-04-035-163/+101
|
* added 'total print jobs' to smb.conf and fixed a lot of typos/Gerald Carter2001-04-0310-555/+654
| | | | ambiguous sentences found by Rafal Szczesniak
* posix locking parameter added(thought I already had) andGerald Carter2001-04-033-26/+100
| | | | update to dos filemode
* Updated - a little overdue!John Terpstra2001-04-031-1/+10
|
* Added XFS ACL code on Linux from John Trostel <jtrostel@connex.com>.Jeremy Allison2001-04-037-4/+313
| | | | Jeremy.
* include/ntdomain.h:Jeremy Allison2001-04-024-7/+4
| | | | | | | | rpc_server/srv_lsa_hnd.c: Remove the back pointer to pipes that may go away before the handle does. include/proto.h: lib/replace.c: Don't protoise setlinebuf as it differs amongst systems. Jeremy.
* IRIX does not like default ACL qualifier of -1Herb Lewis2001-04-021-1/+1
|
* Integrated solaris nfs quota code from Alan Romeril <a.romeril@ic.ac.uk>Jeremy Allison2001-04-011-112/+275
| | | | Jeremy
* configure configure.in include/config.h.in lib/replace.c: Added test and ↵Jeremy Allison2001-03-316-25/+15
| | | | | | | | | | replacement for setlinebuf which apparantly doesn't exist on HPUX 11. rpc_parse/parse_prs.c: Fixed bug spotted by the sharp eyes of JF - big endian unicode packet would cause a early truncate of string parsing as we were checking for a char * 0, not a uint16 * 0. Jeremy.
* 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.