1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

32 Commits

Author SHA1 Message Date
Gerald Carter
c17a7dc9a1 sync 3.0 into HEAD for the last time -
Gerald Carter
99feae7b5b ading new files from 3.0 -
Gerald Carter
adb98e7b7c trying to get HEAD building again. If you want the code
prior to this merge, checkout HEAD_PRE_3_0_0_BETA_3_MERGE
-
Tim Potter
c2e5b37452 Added file from SAMBA_3_0 branch. -
Jelmer Vernooij
f4576757d1 Use NTSTATUS as return value for smb_register_*() functions and init_module()
function. Patch by metze with some minor modifications.
-
Jelmer Vernooij
9b969f877f Move pdb_mysql and pdb_xml from modules/ to passdb/, just like they are
in 3_0
-
Jelmer Vernooij
aa07b12fda Patch from Stefan Metzmacher to add default parameters to the lp_parm()
smb.conf parameters along with some other small fixes. Binary
compatible with older modules.
-
Jelmer Vernooij
aa4c11370b Default to "passdb.xml" as default output filename instead of "-" -
Simo Sorce
bc5d1873da collaps same repeted task into 2 code paths -
Simo Sorce
f4be4e70a1 reworked to not malloc PATH_MAX long strings
corrected path_name creation
-
Simo Sorce
671579874e remove unnened and wrong instructions -
Simo Sorce
99c2e11ccf fix wrong string handling
thanks to Stefan (metzte) Metzmacher
-
Jelmer Vernooij
794d3ed036 - Point users at the HOWTO Collection instead of 'README' in modules/mysql.c
- Make passdb work with absolute paths (passdb backend = /path/to/smbpasswd.so works now). vfs, rpc and charset will follow
-
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
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
7836b9a58d Patch from Anthony Liguori <aliguor@us.ibm.com> to remove scandir() portability
madness.

Andrew Bartlett
-
John Terpstra
d2fe7e38b2 Added extended audit module that logs to smbd log 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
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 -
Jelmer Vernooij
afbff33eba Move 'weird' character set into new 'developer' module -
Jelmer Vernooij
14b129e301 Move working VFS modules to source/modules/ -