summaryrefslogtreecommitdiffstats
path: root/source/include
Commit message (Collapse)AuthorAgeFilesLines
...
| | * still working on itGerald Carter2001-04-121-6/+13
| | |
| | * Changed lp_add/delete/enum scripts to use lockdir if spool dir doesn'tJeremy Allison2001-04-121-2/+2
| | | | | | | | | | | | | | | | | | | | | exist for printer. Rather than using pid for suffix, use a 16 byte random string. Created generate_random_str() function in genrand.c. Still needs more testing but this is the way to go. Jeremy.
| | * To stop people complaining about the mktemp call, move it into lib/util.c. ↵Jeremy Allison2001-04-112-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Thanks to Andrew for all this code. Fixed extra line in lib/sysacls.c that broke XFS ACL code. Jeremy.
| | * Fix for core dump in security = share code with new share security db.Jeremy Allison2001-04-111-1/+7
| | | | | | | | | | | | Jeremy.
| | * Fixed --with-automount compile error.Jeremy Allison2001-04-101-0/+2
| | | | | | | | | | | | Jeremy.
| | * Use message system to notify when smb.conf is updated.Jeremy Allison2001-04-101-0/+2
| | | | | | | | | | | | Jeremy.
| | * looking towards abstracting the passdb and uidmapping interfaces.Gerald Carter2001-04-091-0/+66
| | | | | | | | | | | | This is more of a note to myself. In not used anywhere yet.
| | * Set SD's for share. Added level 1501. Map GENERIC file bits to specific bits.Jeremy Allison2001-04-092-3/+10
| | | | | | | | | | | | Jeremy.
| | * Added set/get SD's on shares. Check before tcon.Jeremy Allison2001-04-091-1/+1
| | | | | | | | | | | | Jeremy.
| | * Added per-share security tdb. Tidied up many slprintfs (need -1 on length).Jeremy Allison2001-04-081-0/+2
| | | | | | | | | | | | Jeremy.
| | * Added 3 params to manipulate shares. "add share command/change share command/Jeremy Allison2001-04-071-0/+4
| | | | | | | | | | | | | | | | | | delete share command". Implemented "delete" - more work to come on add and change. Jeremy.
| | * Implemented stub function for NET_SHARE_DELETE. Now to implement the realJeremy Allison2001-04-062-0/+20
| | | | | | | | | | | | | | | internals to support server manager. Jeremy
| | * Added stub function for NET_SHARE_ADD. Once this is implemented to call a hookJeremy Allison2001-04-062-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * We can now use server manager to look at Samba shares. NT still expects a ":"Jeremy Allison2001-04-062-21/+3
| | | | | | | | | | | | | | | in the path though.... I'm looking into it. Jeremy.
| | * Fix from Michael Davidson <md@sco.COM> to merge Solaris and UnixWare ACLs.Jeremy Allison2001-04-051-45/+6
| | | | | | | | | | | | Jeremy.
| | * I know we're supposed to be feature frozen, but I couldn't resist this... :-).Jeremy Allison2001-04-042-5/+83
| | | | | | | | | | | | | | | | | | | | | | | | 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-041-1/+1
| | | | | | | | | | | | Jeremy.
| | * Sync up with new NT forms code.Jeremy Allison2001-04-031-0/+42
| | | | | | | | | | | | Jeremy.
| | * Added XFS ACLs on Linux. Code from John Trostel <jtrostel@connex.com>.Jeremy Allison2001-04-033-0/+51
| | | | | | | | | | | | Jeremy.
| | * IRIX ACLs from Herb.Jeremy Allison2001-04-021-0/+30
| | | | | | | | | | | | Jeremy.
| | * include/ntdomain.h:Jeremy Allison2001-04-022-8/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | rpc_server/srv_lsa_hnd.c: Remove back pointer from policy handle list as the pipe that opened the handle may have been closed. We were dereferencing into something that had been closed. rpc_parse/parse_spoolss.c: Sync up with Gerald's changes in 2.2. lib/replace.c: Don't do proto on setlinebuf as it differs between systems. Jeremy.
| | * configure configure.in include/config.h.in lib/replace.c: Added test and ↵Jeremy Allison2001-03-313-556/+469
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | replacement for setlinebuf which apparantly doesn't exist on HPUX 11. include/byteorder.h: rpc_parse/parse_prs.c: Ding Dong the witch is dead ! :-). Ok, I'm happy 'cos I've finally deleted 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. Extra. 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.
| | * started converting some of the only-ascii code to use srvstr_*Andrew Tridgell2001-03-311-464/+466
| | | | | | | | | | | | | | | | | | | | | added srvstr_push_ascii() and srvstr_pull_ascii() as convenience routines to replace the current usage of strncpy() like fns for packet pull/push. We need to do this in *lots* of places in Samba in order to get our codepage handling right
| | * This is a big, rather ugly patch. Whilst investigating the files not truncatedJeremy Allison2001-03-302-3/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 cli_nt_delete_on_close() call to allow flag to be set for torture tests.Jeremy Allison2001-03-291-0/+1
| | | | | | | | | | | | Jeremy.
| | * Added cli_nt_create_full() as a way to get at all the ntcreate parameters.Jeremy Allison2001-03-291-0/+3
| | | | | | | | | | | | | | | Used in smbtorture mods. Re-cast cli_nt_create() as a call to cli_nt_create_full(). Jeremy.
| | * rename of 16 new_smb_io functions to smb_io_* for consistency sakeGerald Carter2001-03-281-16/+16
| | | | | | | | | | | | (merge from 2.2)
| | * make protoGerald Carter2001-03-271-7/+7
| | |
| | * Patch from David Gibson <dgibson@linuxcare.com> to reduce "silent abort"Jeremy Allison2001-03-271-1/+1
| | | | | | | | | | | | | | | | | | problems with smbd failing to create a log file. If we can't create a log file keep using the old file. Jeremy.
| | * Fix from Ryo Kawahara <rkawa@lbe.co.jp> to make SWAT correctly write and ↵Jeremy Allison2001-03-262-2/+5
| | | | | | | | | | | | | | | | | | | | | smb.conf file in utf8. Jeremy.
| | * a much simpler talloc() implementation. This version has the followingAndrew Tridgell2001-03-231-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * Fix insure-found parameter size missmatch.Jeremy Allison2001-03-231-1/+1
| | | | | | | | | | | | Jeremy.
| | * Two OS/2 printer fixes from Jim McDonough @ IBM.Jeremy Allison2001-03-231-0/+1
| | | | | | | | | | | | | | | | | | | | | 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.
| | * groupdb/mapping.c:Jeremy Allison2001-03-231-461/+461
| | | | | | | | | | | | | | | | | | | | | | | | | | | include/proto.h: Fix missing (void) in proto. rpc_server/srv_samr_nt.c: Fix user private group problem by filtering out groups that clash with users. smbd/posix_acls.c: Ensure default ACE's are sensible. utils/pdbedit.c: Fix from Simo Sorce. Jeremy.
| | * first pass of the new group mapping codeJean-François Micouleau2001-03-233-460/+535
| | | | | | | | | | | | J.F.
| | * Fix memory leak when doing DLIST_REMOVE(head,head).Jeremy Allison2001-03-211-1/+1
| | | | | | | | | | | | Jeremy.
| | * added option "enhanced browsing"Andrew Tridgell2001-03-211-0/+1
| | | | | | | | | | | | | | | | | | this allows users to disable the cross-subnet browse extensions that I added to Samba a couple of years ago. This may be useful for getting rid of empty workgroups.
| | * When calling DLIST_REMOVE(x,x) (from lib/interface.c) ensure that the pointerJeremy Allison2001-03-201-1/+1
| | | | | | | | | | | | | | | is still valid before setting prev and next to null. Jeremy.
| | * Fix for crash when doing name lookup with a quoted string. Part ofJeremy Allison2001-03-202-9/+15
| | | | | | | | | | | | | | | | | | lookup_name was expecting to be able to write to the string. Changed lookup_name to use const. Jeremy.
| * | Updated these from head to change EUCLEAN to EINVAL and fix theRichard Sharpe2001-05-151-39/+32
| | | | | | | | | | | | doco in the include file.
| * | hash.c: string_hash() should be static. hash_clear() should be void.Jeremy Allison2001-05-121-2/+1
| | | | | | | | | | | | | | | statcache.c: Head sync. Jeremy.
| * | initial functions for server and client side DeletePrinterDriver()Gerald Carter2001-05-122-1/+35
| | | | | | | | | | | | | | | RPC. Need to fill in the code to actually delete the driver information from the TDB.
| * | make protoGerald Carter2001-05-101-0/+1
| | |
| * | Made "security XXX" masks always apply to ACL sets. By default they haveJeremy Allison2001-05-101-9/+4
| | | | | | | | | | | | | | | no effect. Jeremy.
| * | removed 'domain admin users', 'domain guest users', & 'domain groups'Gerald Carter2001-05-071-3/+0
| | |
| * | missed a merge from HEADGerald Carter2001-05-071-49/+17
| | |
| * | rebuild proto.hAndrew Tridgell2001-05-071-0/+3
| | |
| * | merge some fixes from headAndrew Tridgell2001-05-071-2/+1
| | |
| * | make protoGerald Carter2001-05-071-65/+33
| | |
| * | Patch from David_Tiller@ccnotes.ccity.com finally applied now I've thoughtJeremy Allison2001-05-061-0/+5
| | | | | | | | | | | | | | | | | | about it to stop account lockouts with "security=server" mode. Sorry for the delay David. Jeremy.