1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00

34 Commits

Author SHA1 Message Date
Jelmer Vernooij
56d2bb2b95 Add the weird charset in 3_0 and build it by default for ./configure --enable-developer
(This used to be commit bc5603454a81b3ab6e5286283ed5ce58542bc5ef)
2003-04-26 11:49:05 +00:00
Jelmer Vernooij
1f008c1203 Patch from Stephan Metzmacher to add default arguments to lp_parm() smb.conf
parameters. Does not break binary compatibility with older modules.
(This used to be commit 147c4d56d873a20a49194c5b036a3694299b1b48)
2003-04-24 03:46:17 +00:00
Jelmer Vernooij
3dcc6e28c2 Do not use lp_parm_bool() and lp_parm_ulong() yet. They're only in HEAD
(This used to be commit 58aa32ea6ac587df92ceefc527afbb1ff5bd0b08)
2003-04-17 20:13:08 +00:00
Jelmer Vernooij
ddf662d118 More merges from HEAD:
- Stephan Kulow's changes (fixing warnings in libsmbclient)
 - VFS modules
 - Seperating libs
(This used to be commit 6e9b7802335428c88ecf4e44a0e2395ac58e96b5)
2003-04-16 14:45:11 +00:00
Simo Sorce
ce51825c4b port HEAD mods
(This used to be commit 646eb2dda66d1f619f165076edfc82cd7144ba5a)
2003-04-09 17:36:52 +00:00
Simo Sorce
98a57e6032 ooops new_dir is already len +1 bytes
(This used to be commit ffd0d643c224e9169737e7dbfef40cab46fde8f3)
2003-04-07 18:13:03 +00:00
Simo Sorce
a648f57bfe check braindead safe_* function length interpretation is correct
(This used to be commit b4a5362f04a7798e627c6dce6296165ed1719fca)
2003-04-07 18:11:24 +00:00
Simo Sorce
898b37202e remove unneded instruction
(This used to be commit a6bc706625ad0bb16c11e20d533c536447a661a0)
2003-04-07 18:04:44 +00:00
cvs2svn Import User
00934b5d00 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 6cd4d3f39a1258d51c022c99c73a7341b0ff94a5) 2003-03-27 23:02:44 +00:00
Jelmer Vernooij
11db21cc1c Use the new modules system in VFS. If a module can't be loaded with the
new modules system, we still fall back to the old system.
(This used to be commit cebe8d8b424f10006f2f791a8f086c6c8a7f5d57)
2003-03-27 12:08:46 +00:00
Andrew Bartlett
fc64b4c000 Make these functions static, keep them out of proto.
(This used to be commit 34934d2edf0d575fae7d729fe4d8d3ab034a544f)
2003-03-25 07:55:10 +00:00
Jelmer Vernooij
f9e66df9c7 Fix init function name and return value
(This used to be commit 27f3fbac724847f2d0926d2231808871508a7dd9)
2003-03-24 11:31:01 +00:00
Jelmer Vernooij
477e1a8cee Don't duplicate the default group mapping functions - use the ones
from passdb
(This used to be commit 78e135cdb17dcf70d8a1259897fd44ecd7a4b3c6)
2003-03-23 12:29:19 +00:00
Jelmer Vernooij
47ea3a2bf2 Put in the new modules system. It's now used by passdb and rpc. I will
put a doc about it in dev-doc later today.
(This used to be commit af7bfee0c6902c07fdb8d3abccf4c8d6bab00b5a)
2003-03-19 18:45:19 +00:00
Andrew Bartlett
1cf9038512 Fixes to the vfs_fake_perms modules - we only need to specify the VFS
functions that we actually modify.

Also a better implementation of the stat() and fstat() functions.

Andrew Bartlett
(This used to be commit 03e74be11cf76167ed211398016274cbaba5847b)
2003-03-03 09:12:40 +00:00
Andrew Bartlett
2295c0cf29 Fix off-by-one bugs, and move to strdup() rather than malloc()/strcpy().
Andrew Bartlett
(This used to be commit aa486355e282b891b299d63cc07431f32213b1b8)
2003-02-24 09:10:41 +00:00
Gerald Carter
b0415dfd7b patch from Hal Roberts check for a valid [f]chmod_acl function pointer before calling it. Fixes seg fault in audit VFS module
(This used to be commit e5acebbe79a97191903ee3a1819410a0fb9ac655)
2003-02-21 16:15:44 +00:00
Gerald Carter
193f9200aa patch from Hal Roberts check for a valid [f]chmod_acl function pointer before calling it. Fixes seg fault in audit VFS module
(This used to be commit 5e115d43812021f9a16111fc7c05d750026cca1e)
2003-02-21 16:15:30 +00:00
Jelmer Vernooij
8d8a8c9633 Make init_module() and thus smb_load_module() return an int.
modules/developer.c: init_module() should return an int
(This used to be commit 7f59703550378ff2333e3c851bf1a77037510abd)
2003-02-20 22:26:28 +00:00
Andrew Bartlett
ef6be9db1e Merge from HEAD: Patch by Anthony Liguori <aliguor@us.ibm.com> to replace scandir() with portable readdir() calls.
Andrew Bartlett
(This used to be commit b9ca0b9ef39442726afd580dc38b6dafce542335)
2003-02-11 21:56:38 +00:00
Andrew Bartlett
2d220ef00d Patch from Anthony Liguori <aliguor@us.ibm.com> to remove scandir() portability
madness.

Andrew Bartlett
(This used to be commit 7836b9a58d158a54a7326b3de5d2fa757a9bb5b6)
2003-02-11 21:54:36 +00:00
John Terpstra
51bf3e0b76 Added my name to copyright.
(This used to be commit 143df82aeb3c590e603bb006d01ee50b91602204)
2003-02-07 05:01:06 +00:00
John Terpstra
5eac9f60cc Added extended audit module that logs to smbd log as well as syslog.
(This used to be commit d2fe7e38b287b87d6c76a9b73724118928941e93)
2003-02-07 05:00:34 +00:00
John Terpstra
e0a9628bd4 Added audit module that logs info to smbd log file as well as syslog.
(This used to be commit 0ce5f23bdb6796260303b4884b3f62f4329ee6c8)
2003-02-07 04:53:15 +00:00
Andrew Bartlett
72caa1fc8d Add a new VFS module, that just fiddles the file permissions. Still need to
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-30 04:19:57 +00:00
Jeremy Allison
0fdf60f051 Finish adding strings to all talloc_init() calls.
Jeremy.
(This used to be commit 784d15761c3271bfd602866f8f9f880dac77671c)
2002-12-23 23:53:56 +00:00
Jeremy Allison
fa997c54eb talloc_init_named -> talloc_init.
Jeremy.
(This used to be commit 35d00bacdc4b48c9b9e2ba9d4335c53a13f40f73)
2002-12-22 16:03:28 +00:00
Jeremy Allison
b95b82b798 talloc_init_named -> talloc_init.
Jeremy.
(This used to be commit 20a44d4cf11d91e7a09176bfe673ad0cb230dffe)
2002-12-22 16:02:36 +00:00
Simo Sorce
6265861252 finnally put in Alexander parametric pacth
(This used to be commit e6ae8b4eac66637d398406545654bba960d9e6b8)
2002-12-09 13:02:27 +00:00
Simo Sorce
e6e3b79f74 make vfs recycle use vfs facilities correctly!
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)
2002-12-09 12:06:15 +00:00
Jelmer Vernooij
9da3d41f3c Use smb_register_passdb() - plus some small fixes
(This used to be commit 2addbaff358993923a58ad3845c63168678c2c21)
2002-11-15 17:01:24 +00:00
cvs2svn Import User
ed3d7fd7b5 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 2662e351f2f8802a3bf13df3e7e3f0c1497fdb1c) 2002-11-15 13:53:03 +00:00
Jelmer Vernooij
3dc6b9e5f0 Move 'weird' character set into new 'developer' module
(This used to be commit afbff33eba7edd98329114b5113b3360cd6dfcc6)
2002-11-13 19:07:34 +00:00
Jelmer Vernooij
861bbd3c28 Move working VFS modules to source/modules/
(This used to be commit 14b129e301c94ccf47b9105bda1bd9d142feb1b5)
2002-11-13 13:11:04 +00:00