summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2001-04-11Changed the order of -kPIC and -kpic.Jeremy Allison4-36/+38
Added patch from Michael Davidson <md@sco.COM> for Solaris/Unixware ACLS. Jeremy. (This used to be commit 144a2906810e8d4414d627835eb80f60bd1d88a4)
2001-04-11Fixed some compiler warnings.Tim Potter1-2/+2
(This used to be commit cda0f211b0dd41ae72ef3d65b9476c11c6f72de3)
2001-04-11Added SMB_ prefix to enums that clash with Solaris ACL definitions.Jeremy Allison1-9/+9
Jeremy. (This used to be commit 493d2c316a9e80de0239ef3a6f0b3f4ec9ac6e13)
2001-04-11Updating pampass from Samba-2.2 code tree. ===> JHTJohn Terpstra2-278/+174
(This used to be commit 88b6043b4e26c2771e0c444376b7017f5048baf8)
2001-04-11Restrict dfs add and dfs remote to root at Shirish's advice.Jeremy Allison1-0/+16
Jeremy. (This used to be commit 9dd77c4fb1282d23cfbfd9d0ed790be62534e201)
2001-04-10Merged in missing break fix from Shirish.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 8ecf6c33673693ca64f99bd7fb26d3383658d86b)
2001-04-10Fixed missing HAVE_STDARG_H.Jeremy Allison1-4/+20
Jeremy. (This used to be commit 7cdd87954634cadda042df06c2f56aac40a7d743)
2001-04-10Fixed --with-automount compile error.Jeremy Allison2-2/+4
Jeremy. (This used to be commit ab916199f542528293b3f63fe6f24eecd83eccb4)
2001-04-10Added HAVE_STDARG_H to tdbutil.cJeremy Allison1-5/+51
Jeremy. (This used to be commit e404e001990409eacf2e620d2269c2b162fa938b)
2001-04-10passdb/pass_check.c: Ensure second check is done only if given username is ↵Jeremy Allison3-131/+63
all in caps. rpc_server/srv_srvsvc_nt.c: Added "CONFIGFILE" arg to scripts so path to smb.conf is given. Jeremy. (This used to be commit 3c4c649951464be51541d5890afb997e3ecfcd23)
2001-04-10Added JohnT and Andrew Bartlett's PAM changes.Jeremy Allison5-269/+889
Jeremy. (This used to be commit ecd00e258c6fe4e8d90f48da74874e090dce4a40)
2001-04-10Use message system to notify when smb.conf is updated.Jeremy Allison2-7/+22
Jeremy. (This used to be commit ae9eda5c3c3bbfc8ec795b43ab18dc492e5fdcf6)
2001-04-09looking towards abstracting the passdb and uidmapping interfaces.Gerald Carter1-0/+66
This is more of a note to myself. In not used anywhere yet. (This used to be commit 442605c6bc81dd115f4df5cc20df3f61601c6013)
2001-04-09Fixup warnings about extra ';' from SGI compiler.Jeremy Allison1-22/+22
Jeremy. (This used to be commit 7ee448d83263714676bd250ecc3805b08198e916)
2001-04-09Removed "read only" arg as it isn't useful.Jeremy Allison1-33/+2
Jeremy. (This used to be commit 6b75d79c4bcfb8333aaf1ed61cf8bd022e498f75)
2001-04-09Tidy up return codes for server manager.Jeremy Allison1-6/+21
Jeremy. (This used to be commit b4cbdcb644066e132d5c806ae4f45d6a05276beb)
2001-04-09Get/Set of SD's on shares now works. Correctly ensure scripts exist beforeJeremy Allison1-12/+15
calling. Jeremy. (This used to be commit aae44ee41f2f133524e37f72b46b63ce6ddb192b)
2001-04-09Set SD's for share. Added level 1501. Map GENERIC file bits to specific bits.Jeremy Allison4-15/+95
Jeremy. (This used to be commit 04976c32f319531e16d890797b45a76dab64f370)
2001-04-09Ensure Everyone/All access is mapped correctly to file generic perms to allowJeremy Allison1-1/+5
anonymous IPC access. Jeremy. (This used to be commit 2f34e144c53d6be911de96298c55c34d08c4733f)
2001-04-09Added set/get SD's on shares. Check before tcon.Jeremy Allison4-18/+170
Jeremy. (This used to be commit 036b1a8b09fe6a7cca83d631624145574acad7f2)
2001-04-08HEAD specific slprintf paranoia fixes.Jeremy Allison2-11/+11
Jeremy. (This used to be commit 61723c18f96a7b38cab0fcf545da7fb3640c5f7b)
2001-04-08Got "medieval on our ass" about adding the -1 to slprintf.Jeremy Allison31-85/+85
Jeremy. (This used to be commit 94747b4639ed9b19f7d0fb896e43aa392a84989a)
2001-04-08Added per-share security tdb. Tidied up many slprintfs (need -1 on length).Jeremy Allison3-98/+239
Jeremy. (This used to be commit d786191bc116c17a3f53a1c272d969942b7e5d25)
2001-04-07Fixed up the "add" command - although not SD's yet. Now for the SD db andJeremy Allison1-19/+74
the "change" command. Jeremy. (This used to be commit bdec63bedbeabb9d74d68a7f03254acc291df76b)
2001-04-07Added 3 params to manipulate shares. "add share command/change share command/Jeremy Allison5-29/+111
delete share command". Implemented "delete" - more work to come on add and change. Jeremy. (This used to be commit 2e6b1759e14456421066ee131af70a495f862f2b)
2001-04-06Fix from Ed Boraas for not core dumping when out of connection structs.Jeremy Allison1-1/+0
Jeremy. (This used to be commit f50ea32dd0deb07c626c211caedd86dc1ccd5427)
2001-04-06keep cflags from being duplicated if defined in environmentHerb Lewis2-670/+688
(This used to be commit 2097298565b367157a3bc0c1178f17b1a6bbdd86)
2001-04-06Implemented stub function for NET_SHARE_DELETE. Now to implement the realJeremy Allison5-5/+124
internals to support server manager. Jeremy (This used to be commit 3512ba1f655d5588db87f1afa1d12f599ad7b74a)
2001-04-06Added stub function for NET_SHARE_ADD. Once this is implemented to call a hookJeremy Allison5-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. (This used to be commit a2cd5f2ba11164a17622b96374ab43070f9ed691)
2001-04-06If we can't open the username map file, at least print the strerror.Jeremy Allison1-1/+1
Jeremy. (This used to be commit abf436153a476b7c5a7bff31f1e657b8f53b9dee)
2001-04-06NT sucks ! :-). We have to prefix the UNIX path with a C: in order to pass theJeremy Allison1-6/+9
server manager tests :-). Ensure we don't set a return level on set as server manager barfs.... Jeremy. (This used to be commit cb66e78c181878809e367f4f03f3b4c31cb4b8e1)
2001-04-06We can now use server manager to look at Samba shares. NT still expects a ":"Jeremy Allison4-29/+72
in the path though.... I'm looking into it. Jeremy. (This used to be commit a152c2c59a9a8972a3c73287e26e4de2f49c2d65)
2001-04-05Setup syslog correctly in swat. Patch from Andrew Bartlett.Jeremy Allison1-0/+1
Jeremy. (This used to be commit ffd9bf192273370c1ebf6f1a2d5ebe8d8c434133)
2001-04-05Fix from Michael Davidson <md@sco.COM> to merge Solaris and UnixWare ACLs.Jeremy Allison3-605/+58
Jeremy. (This used to be commit ffa800e980bfed3d82ec7b0a037085c4558f8f0f)
2001-04-05Fix from "Romeril, Alan" <a.romeril@ic.ac.uk> to get his NFS quota codeJeremy Allison1-6/+6
to work on Solaris 2.6. Jeremy. (This used to be commit bd2fe239db24b8b3fa6a906542af2e238f435331)
2001-04-05Tidy up tmp file handling.Jeremy Allison1-7/+2
Jeremy. (This used to be commit 1751a6316af91d5d2e31c3a7e8de2841aae033c7)
2001-04-04I know we're supposed to be feature frozen, but I couldn't resist this... :-).Jeremy Allison5-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. (This used to be commit 3bfd155ba78798c50588904d4ea3389f50f8abb6)
2001-04-04Fix for broken RelientUNIX.Jeremy Allison2-1/+11
Jeremy. (This used to be commit 6808ec0d471d8b436506bbd7b9db67c28832be76)
2001-04-03Missed forms update - my CVS mistake.Jeremy Allison1-21/+70
Jeremy. (This used to be commit 06dee898607ff2bf194d53fb55ad6d82e8f305e8)
2001-04-03test commit for jeremyAndrew Tridgell1-1/+1
(This used to be commit d747ab8ab37ca20635f99a9dff64a635461852a6)
2001-04-03Sync up with new NT forms code.Jeremy Allison2-20/+197
Jeremy. (This used to be commit 63ce316d870be0cf61ae669c955479ec175fdaef)
2001-04-03Added XFS ACLs on Linux. Code from John Trostel <jtrostel@connex.com>.Jeremy Allison7-10/+332
Jeremy. (This used to be commit 0865366f6b1070a8db3d8421c37c8072b36b96e3)
2001-04-02IRIX ACLs from Herb.Jeremy Allison2-0/+274
Jeremy. (This used to be commit 2f2365e93833e5f08dc14ab0022dd9f6f0d028ad)
2001-04-02include/ntdomain.h:Jeremy Allison5-76/+158
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. (This used to be commit 887ef3e12dc56b89b2284d42b16a81f03e15110b)
2001-04-01Integrated solaris nfs quota code from Alan Romeril <a.romeril@ic.ac.uk>Jeremy Allison1-112/+275
Jeremy (This used to be commit 181d41572ceb17dc765d3c0f1a05934e35f56a61)
2001-03-31configure configure.in include/config.h.in lib/replace.c: Added test and ↵Jeremy Allison7-642/+696
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. (This used to be commit 13765eca71e54aa5d048ce36cd8066b8406777c8)
2001-03-31started converting some of the only-ascii code to use srvstr_*Andrew Tridgell3-475/+494
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 used to be commit 8b0e3679a6dc479c0e3177707dff386559779b69)
2001-03-30utils/torture.c: Added one more delete on close test.Jeremy Allison2-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. (This used to be commit f952380c5d0cfbbec1e7de98b712952f302cddfd)
2001-03-30Fixed extern ref typo for file generic perms. 2am coding strikes again :-).Jeremy Allison1-1/+1
Jeremy. (This used to be commit fe38692643ad7c163c30d9c031a8bd3dec81ffee)
2001-03-30This is a big, rather ugly patch. Whilst investigating the files not truncatedJeremy Allison9-194/+258
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. (This used to be commit 51987684bd231c744da2e5f3705fd236d5616173)