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
bc5603454a Add the weird charset in 3_0 and build it by default for ./configure --enable-developer -
Jelmer Vernooij
147c4d56d8 Patch from Stephan Metzmacher to add default arguments to lp_parm() smb.conf
parameters. Does not break binary compatibility with older modules.
-
Jelmer Vernooij
58aa32ea6a Do not use lp_parm_bool() and lp_parm_ulong() yet. They're only in HEAD -
Jelmer Vernooij
6e9b780233 More merges from HEAD:
- Stephan Kulow's changes (fixing warnings in libsmbclient)
 - VFS modules
 - Seperating libs
-
Simo Sorce
646eb2dda6 port HEAD mods -
Simo Sorce
ffd0d643c2 ooops new_dir is already len +1 bytes -
Simo Sorce
b4a5362f04 check braindead safe_* function length interpretation is correct -
Simo Sorce
a6bc706625 remove unneded instruction -
cvs2svn Import User
6cd4d3f39a This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. -
Jelmer Vernooij
cebe8d8b42 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.
-
Andrew Bartlett
34934d2edf Make these functions static, keep them out of proto. -
Jelmer Vernooij
27f3fbac72 Fix init function name and return value -
Jelmer Vernooij
78e135cdb1 Don't duplicate the default group mapping functions - use the ones
from passdb
-
Jelmer Vernooij
af7bfee0c6 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.
-
Andrew Bartlett
03e74be11c 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
-
Andrew Bartlett
aa486355e2 Fix off-by-one bugs, and move to strdup() rather than malloc()/strcpy().
Andrew Bartlett
-
Gerald Carter
e5acebbe79 patch from Hal Roberts check for a valid [f]chmod_acl function pointer before calling it. Fixes seg fault in audit VFS module -
Gerald Carter
5e115d4381 patch from Hal Roberts check for a valid [f]chmod_acl function pointer before calling it. Fixes seg fault in audit VFS module -
Jelmer Vernooij
7f59703550 Make init_module() and thus smb_load_module() return an int.
modules/developer.c: init_module() should return an int
-
Andrew Bartlett
b9ca0b9ef3 Merge from HEAD: Patch by Anthony Liguori <aliguor@us.ibm.com> to replace scandir() with portable readdir() calls.
Andrew Bartlett
-
Andrew Bartlett
7836b9a58d Patch from Anthony Liguori <aliguor@us.ibm.com> to remove scandir() portability
madness.

Andrew Bartlett
-
John Terpstra
143df82aeb Added my name to copyright. -
John Terpstra
d2fe7e38b2 Added extended audit module that logs to smbd log as well as syslog. -
John Terpstra
0ce5f23bdb Added audit module that logs info to smbd log file as well as syslog. -
Andrew Bartlett
1ad782282a 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
-
Jeremy Allison
784d15761c Finish adding strings to all talloc_init() calls.
Jeremy.
-
Jeremy Allison
35d00bacdc talloc_init_named -> talloc_init.
Jeremy.
-
Jeremy Allison
20a44d4cf1 talloc_init_named -> talloc_init.
Jeremy.
-
Simo Sorce
e6ae8b4eac finnally put in Alexander parametric pacth -
Simo Sorce
6dfa460986 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.
-
Jelmer Vernooij
2addbaff35 Use smb_register_passdb() - plus some small fixes -
cvs2svn Import User
2662e351f2 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. -
Jelmer Vernooij
afbff33eba Move 'weird' character set into new 'developer' module -
Jelmer Vernooij
14b129e301 Move working VFS modules to source/modules/ -