summaryrefslogtreecommitdiff
path: root/source3/modules
AgeCommit message (Collapse)AuthorFilesLines
2003-08-28Fix rename of struct gap. ab - LOOK AT THIS. You changed one moduleJeremy Allison1-1/+1
but not the other. This now compiles but I need verification. Jeremy. (This used to be commit 787c9764b300651af83a6e54f3090cfcf078a8a9)
2003-08-28Refactor charset plugins a bit and add CP437 module.Alexander Bokovoy2-73/+362
Now all 8-bit charsets with gaps (not all symbols defined) could be produced through one macro -- SMB_GENERATE_CHARSET_MODULE_8_BIT_GAP(CHARSETNAME) within source file with three charset tables. Full source code for such modules can be generated by source/script/gen-8bit-gap.sh script which was taken from GNU libc and changed slightly to follow our data types and structure. (This used to be commit 37042c7bc0f349370e93e4bed37d8fa371013247)
2003-08-28skel_ -> cap_Alexander Bokovoy1-51/+51
(This used to be commit 8bb033273a0fa20ba88ad6797c9a6ba092224e3b)
2003-08-27Remove what looks like gcc-isms.Jeremy Allison1-16/+17
Jeremy. (This used to be commit ed72e0a1d56f0da29e4ef964f560f0962630e080)
2003-08-27Add CAP VFS module from Monyo. Primary purpose of this module is to provide ↵Alexander Bokovoy1-0/+453
CAP-compatible encoded file names for CJKV (This used to be commit e8a5a962ed2218144cbb9c593d8e996c7d034b0c)
2003-08-27Be consistent about using capital letters in the function names. (The onlyPaul Green1-5/+5
one that really matters is the init entrypoint, but I changed the others to remain consistent). (This used to be commit ce0469ad1c01b36d3f0000756f6917478df37d02)
2003-08-26Fix for #150.Alexander Bokovoy1-0/+414
We now fallback to Samba-provided CP850 charset module if CP850 or IBM850 does not exist on target system at runtime. 1. Introduce CP850 charset module based on charmaps table from GNU libc 2.2.5 2. Make CP850 charset module shared and build it by default Should fix Solaris run-time (This used to be commit e855dc8c9115fa11d315eb34d57722ff612daa11)
2003-08-20Make compiling vfs_readonly static possibleJelmer Vernooij1-1/+1
(This used to be commit b8ef536b9e62ceeed6c4db58923a66ba8506871d)
2003-08-15get rid of some sompiler warnings on IRIXHerb Lewis2-0/+2
(This used to be commit a6a39c61e8228c8b3b7552ab3c61ec3a6a639143)
2003-08-14Fix overflow in vfs_recycle module (and hopefully also bug #291)Jelmer Vernooij1-1/+2
(This used to be commit 8625f0e015481a79b0a7dedb77c60ce7b2cb7b84)
2003-08-12VFS layer should be TRANSPARENT, not OPAQUEAlexander Bokovoy1-1/+1
(This used to be commit 30f207375a7e54265fc696a91ba4686ed932329e)
2003-08-12Use path relative to source/ for modules/getdate.hAlexander Bokovoy2-2/+2
(This used to be commit 555d1ba01c01b88039e9125e8d468166e2e1b2a3)
2003-08-12Add vfs_readonly module which allows to enforce periodic read-only limit on ↵Alexander Bokovoy4-0/+3717
a share based on a specified start and end dates according to date(1) format (This used to be commit 8b263c2fda89ff6aa2dc3a60460c5d46cf0814c6)
2003-07-29Add NT quotas support. Users allowed now to manage quotas on systems with ↵Alexander Bokovoy1-0/+180
sysquotas interface detected (Linux at least) using native Windows tools. Also move default quota support for NT quotas to VFS module default_quota. Code by Metze (This used to be commit e856a96c2c42c39843e5e1a3a6b0d538e7179900)
2003-06-22Found out a good number of NT_STATUS_IS_ERR used the wrong way.Simo Sorce2-2/+2
As abartlet rememberd me NT_STATUS_IS_ERR != !NT_STATUS_IS_OK This patch will cure the problem. Working on this one I found 16 functions where I think NT_STATUS_IS_ERR() is used correctly, but I'm not 100% sure, coders should check the use of NT_STATUS_IS_ERR() in samba is ok now. Simo. (This used to be commit c501e84d412563eb3f674f76038ec48c2b458687)
2003-06-17Const fixes by metzeVolker Lendecke1-2/+2
Volker (This used to be commit c0e35f3be8a33f19823826c5a84c885764c62508)
2003-05-23Ignore *.po files.Tim Potter1-0/+1
(This used to be commit e90c5796d2dcdbb81b2e78c580704da1f93547cc)
2003-05-14Prefix VFS API macros with SMB_ for consistency and to avoid problems with ↵Alexander Bokovoy5-96/+96
VFS_ macros at system side. We currently have one clash with AIX and its VFS_LOCK. Compiled and tested -- no new functionality or code, just plain rename of macros for yet-unreleased VFS API version. Needs to be done before a24 is out (This used to be commit c2689ed118b490e49497a76ed6a2251262018769)
2003-05-11Fix VFS layer:Alexander Bokovoy5-806/+493
1. Finally work with cascaded modules with private data storage per module 2. Convert VFS API to macro calls to simplify cascading 3. Add quota support to VFS layer (prepare to NT quota support) Patch by Stefan (metze) Metzemacher, with review of Jelmer and me Tested in past few weeks. Documentation to new VFS API for third-party developers to follow (This used to be commit 91984ef5caa2d13c5d52e1f535bd3bbbae1ec978)
2003-04-28Use NTSTATUS as return value for smb_register_*() functions and init_module()Jelmer Vernooij6-12/+12
function. Patch by metze with some minor modifications. (This used to be commit bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d)
2003-04-26Add the weird charset in 3_0 and build it by default for ./configure ↵Jelmer Vernooij1-0/+131
--enable-developer (This used to be commit bc5603454a81b3ab6e5286283ed5ce58542bc5ef)
2003-04-24Patch from Stephan Metzmacher to add default arguments to lp_parm() smb.confJelmer Vernooij1-84/+142
parameters. Does not break binary compatibility with older modules. (This used to be commit 147c4d56d873a20a49194c5b036a3694299b1b48)
2003-04-17Do not use lp_parm_bool() and lp_parm_ulong() yet. They're only in HEADJelmer Vernooij1-138/+72
(This used to be commit 58aa32ea6ac587df92ceefc527afbb1ff5bd0b08)
2003-04-16More merges from HEAD:Jelmer Vernooij4-103/+157
- Stephan Kulow's changes (fixing warnings in libsmbclient) - VFS modules - Seperating libs (This used to be commit 6e9b7802335428c88ecf4e44a0e2395ac58e96b5)
2003-04-09port HEAD modsSimo Sorce1-12/+10
(This used to be commit 646eb2dda66d1f619f165076edfc82cd7144ba5a)
2003-04-07ooops new_dir is already len +1 bytesSimo Sorce1-2/+2
(This used to be commit ffd0d643c224e9169737e7dbfef40cab46fde8f3)
2003-04-07check braindead safe_* function length interpretation is correctSimo Sorce1-7/+7
(This used to be commit b4a5362f04a7798e627c6dce6296165ed1719fca)
2003-04-07remove unneded instructionSimo Sorce1-1/+0
(This used to be commit a6bc706625ad0bb16c11e20d533c536447a661a0)
2003-03-27This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User1-0/+287
used to be commit 6cd4d3f39a1258d51c022c99c73a7341b0ff94a5)
2003-03-27Use the new modules system in VFS. If a module can't be loaded with theJelmer Vernooij5-62/+24
new modules system, we still fall back to the old system. (This used to be commit cebe8d8b424f10006f2f791a8f086c6c8a7f5d57)
2003-03-25Make these functions static, keep them out of proto.Andrew Bartlett2-4/+4
(This used to be commit 34934d2edf0d575fae7d729fe4d8d3ab034a544f)
2003-03-24Fix init function name and return valueJelmer Vernooij1-2/+2
(This used to be commit 27f3fbac724847f2d0926d2231808871508a7dd9)
2003-03-23Don't duplicate the default group mapping functions - use the onesJelmer Vernooij1-60/+0
from passdb (This used to be commit 78e135cdb17dcf70d8a1259897fd44ecd7a4b3c6)
2003-03-19Put in the new modules system. It's now used by passdb and rpc. I willJelmer Vernooij2-14/+4
put a doc about it in dev-doc later today. (This used to be commit af7bfee0c6902c07fdb8d3abccf4c8d6bab00b5a)
2003-03-03Fixes to the vfs_fake_perms modules - we only need to specify the VFSAndrew Bartlett1-211/+29
functions that we actually modify. Also a better implementation of the stat() and fstat() functions. Andrew Bartlett (This used to be commit 03e74be11cf76167ed211398016274cbaba5847b)
2003-02-24Fix off-by-one bugs, and move to strdup() rather than malloc()/strcpy().Andrew Bartlett1-16/+9
Andrew Bartlett (This used to be commit aa486355e282b891b299d63cc07431f32213b1b8)
2003-02-21patch from Hal Roberts check for a valid [f]chmod_acl function pointer ↵Gerald Carter1-2/+12
before calling it. Fixes seg fault in audit VFS module (This used to be commit e5acebbe79a97191903ee3a1819410a0fb9ac655)
2003-02-21patch from Hal Roberts check for a valid [f]chmod_acl function pointer ↵Gerald Carter1-2/+12
before calling it. Fixes seg fault in audit VFS module (This used to be commit 5e115d43812021f9a16111fc7c05d750026cca1e)
2003-02-20Make init_module() and thus smb_load_module() return an int.Jelmer Vernooij1-1/+1
modules/developer.c: init_module() should return an int (This used to be commit 7f59703550378ff2333e3c851bf1a77037510abd)
2003-02-11Merge from HEAD: Patch by Anthony Liguori <aliguor@us.ibm.com> to replace ↵Andrew Bartlett1-16/+15
scandir() with portable readdir() calls. Andrew Bartlett (This used to be commit b9ca0b9ef39442726afd580dc38b6dafce542335)
2003-02-11Patch from Anthony Liguori <aliguor@us.ibm.com> to remove scandir() portabilityAndrew Bartlett1-16/+15
madness. Andrew Bartlett (This used to be commit 7836b9a58d158a54a7326b3de5d2fa757a9bb5b6)
2003-02-07Added my name to copyright.John Terpstra1-0/+1
(This used to be commit 143df82aeb3c590e603bb006d01ee50b91602204)
2003-02-07Added extended audit module that logs to smbd log as well as syslog.John Terpstra1-0/+319
(This used to be commit d2fe7e38b287b87d6c76a9b73724118928941e93)
2003-02-07Added audit module that logs info to smbd log file as well as syslog.John Terpstra1-0/+318
(This used to be commit 0ce5f23bdb6796260303b4884b3f62f4329ee6c8)
2002-12-30Add a new VFS module, that just fiddles the file permissions. Still need toAndrew Bartlett1-0/+471
make it fiddle with NT ACLs (or report no ACL, so Samba fakes it up). The idea here is that Samba reports an NT ACL to Windows clients, which use that ACL in downloaded profiles. If the user doesn't have write permissions on the directories being downloaded, then it cant put the subfolders in (yes, NT will set perms so that it can't access the dir as the user the created it) and the profile download fails. The current solution it to give the user unix write perms to the folders, but this is rather dangerous - sombody could trojen the profile. This should avoid that mess. I'll test this out properly next week, but it works in vfstest (thanks idra!). Andrew Bartlett (This used to be commit 1ad782282a3eb4f89c489a77ad8404099d41d0f9)
2002-12-23Finish adding strings to all talloc_init() calls.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 784d15761c3271bfd602866f8f9f880dac77671c)
2002-12-22talloc_init_named -> talloc_init.Jeremy Allison2-6/+6
Jeremy. (This used to be commit 35d00bacdc4b48c9b9e2ba9d4335c53a13f40f73)
2002-12-22talloc_init_named -> talloc_init.Jeremy Allison2-7/+7
Jeremy. (This used to be commit 20a44d4cf11d91e7a09176bfe673ad0cb230dffe)
2002-12-09finnally put in Alexander parametric pacthSimo Sorce1-40/+21
(This used to be commit e6ae8b4eac66637d398406545654bba960d9e6b8)
2002-12-09make vfs recycle use vfs facilities correctly!Simo Sorce1-23/+138
WARNING: every vfs module maintainer should look at these changes to understand how to properly write a vfs module in head!! also make installmodules work correctly when the directory structure is not yet in place. Simo. (This used to be commit 6dfa46098679681a6d2c931395d6eeae2a978466)