summaryrefslogtreecommitdiff
path: root/source3/modules
AgeCommit message (Collapse)AuthorFilesLines
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-07-16ading new files from 3.0Gerald Carter1-0/+131
(This used to be commit 99feae7b5b1c229a925367b87c0c0f636d9a2d75)
2003-07-16trying to get HEAD building again. If you want the codeGerald Carter5-810/+497
prior to this merge, checkout HEAD_PRE_3_0_0_BETA_3_MERGE (This used to be commit adb98e7b7cd0f025b52c570e4034eebf4047b1ad)
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-26Added file from SAMBA_3_0 branch.Tim Potter1-0/+1
(This used to be commit c2e5b3745294100a726c329617815f604904963f)
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 Vernooij5-11/+11
function. Patch by metze with some minor modifications. (This used to be commit f4576757d1d52a8f1b96894c869bb76450003fd1)
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-24Move pdb_mysql and pdb_xml from modules/ to passdb/, just like they areJelmer Vernooij2-1546/+0
in 3_0 (This used to be commit 9b969f877f8057930fb53da99ee8a0574b4f5531)
2003-04-24Patch from Stefan Metzmacher to add default parameters to the lp_parm()Jelmer Vernooij3-54/+44
smb.conf parameters along with some other small fixes. Binary compatible with older modules. (This used to be commit aa07b12fda732ca19d8dc41cebc7bb09e2549a30)
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-21Default to "passdb.xml" as default output filename instead of "-"Jelmer Vernooij1-1/+1
(This used to be commit aa4c11370bb09bfd20d02da509ebdd6dc475439d)
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-09collaps same repeted task into 2 code pathsSimo Sorce1-2/+1
(This used to be commit bc5d1873da187c83a1a19a7560685ed903d37455)
2003-04-08reworked to not malloc PATH_MAX long stringsSimo Sorce1-11/+11
corrected path_name creation (This used to be commit f4be4e70a12edae83b9b89622ca5077a7d3d5602)
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 unnened and wrong instructionsSimo Sorce1-2/+0
(This used to be commit 671579874e51b28ffdfc094cdf34a0090567e0cc)
2003-04-07remove unneded instructionSimo Sorce1-1/+0
(This used to be commit a6bc706625ad0bb16c11e20d533c536447a661a0)
2003-04-07fix wrong string handlingSimo Sorce1-3/+4
thanks to Stefan (metzte) Metzmacher (This used to be commit 99c2e11ccfe04867e84b467b0e82de8415c1dcee)
2003-03-30- Point users at the HOWTO Collection instead of 'README' in modules/mysql.cJelmer Vernooij1-1/+1
- Make passdb work with absolute paths (passdb backend = /path/to/smbpasswd.so works now). vfs, rpc and charset will follow (This used to be commit 794d3ed03619a4e41558d9ff65783a1aa1b2be90)
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)