1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-24 15:17:06 +03:00

87 Commits

Author SHA1 Message Date
Stefan Metzmacher
fd94bdaef5 r840: use quota debug class
metze
2007-10-10 10:51:47 -05:00
Volker Lendecke
43870a3fc1 r449: Two AFS-related things:
Split off the non-crypto related parts of lib/afs.c into
lib/afs_settoken.c. This makes wbinfo link without -lcrypto.

Commit vfs_afsacl.c, display & set AFS acls via the NT security editor.

Volker
2007-10-10 10:51:23 -05:00
Volker Lendecke
567f792377 r405: Some docs of vfs_full_audit.c as comment :-) 2007-10-10 10:51:22 -05:00
Volker Lendecke
9cb9c5f7c9 r404: Revert the change 378 to vfs_extd_audit.c, the parseable auditing
Implement vfs_full_audit.c that can log every vfs.h operation. So if you
change vfs.h, from now on you also have to change full_audit :-)

Volker
2007-10-10 10:51:21 -05:00
Volker Lendecke
9a1a8e2663 r378: Add an option extd_audit:parseable=True. This gives messages of the form
Apr 27 16:05:59 delphin smbd_audit[14946]: 1011|192.168.234.100|unlink|New Folder/TESTDIR.TMP

where 1011 is the user's uid, 192.168.234.100 is the client IP etc.

Volker
2007-10-10 10:51:20 -05:00
Stefan Metzmacher
2bef5d2741 r329: add the shadow_copy vfs module
I'll add documentation to the Samba-Howto-Collection

metze
2007-10-10 10:51:20 -05:00
Gerald Carter
a7e2730ec4 r39: * importing .cvsignore files
* updateing WHATSNEW with vl's change
2007-10-10 10:51:05 -05:00
Volker Lendecke
9cb6b10efa Without words... -
Volker Lendecke
558b5bc1d8 Some fixes to expand_msdfs module.
Volker
-
Volker Lendecke
9cb6a4d76f Move the Client-IP based msdfs target expansion to a VFS module.
Volker
-
Alexander Bokovoy
e1d0b8fc7b Fix string overflow due to wrong size calculation -
cvs2svn Import User
9ccf8c530d This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. -
Jeremy Allison
a571194342 Patch from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> to add
MacOSX (Darwin) specific charset module code. Also had to add AC_CHECK_CPP
to configure.in (this took a *long* time to track down) to make autoconf
work correctly on Fedora Core 1.
Jeremy.
-
Tim Potter
eb9f5c0ec1 Merge from 3.0:
>Portability fix from Joachim Schmitz.  Closes bug #546.
-
Tim Potter
803ae45172 Portability fix from Joachim Schmitz. Closes bug #546. -
Tim Potter
a9f34d9fde Merge from 3.0:
>Fix warnings on Sun cc Workshop Compilers 5.0. Reported by "Richard
>Bollinger" <rabollinger@comcast.net>. Also fixed script/gaptab.awk to
>produce compatible tables.

>Fix CP437 and CP850 syntax for old compilers removing ANSI C99-specifics
-
Alexander Bokovoy
6134d41ff1 Fix warnings on Sun cc Workshop Compilers 5.0. Reported by "Richard Bollinger" <rabollinger@comcast.net>. Also fixed script/gaptab.awk to produce compatible tables. -
Gerald Carter
c17a7dc9a1 sync 3.0 into HEAD for the last time -
Jeremy Allison
f35e9a8b90 More tuning from cachegrind. Change most trim_string() calls to trim_char(0,
as that's what they do. Fix string_replace() to fast-path ascii.
Jeremy.
-
Alexander Bokovoy
61c671bd69 Fix CP437 and CP850 syntax for old compilers removing ANSI C99-specifics -
Alexander Bokovoy
e123f1a8c8 Remove cap_set_quota as it is the same as default one -
Jeremy Allison
787c9764b3 Fix rename of struct gap. ab - LOOK AT THIS. You changed one module
but not the other. This now compiles but I need verification.
Jeremy.
-
Alexander Bokovoy
37042c7bc0 Refactor charset plugins a bit and add CP437 module.
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.
-
Alexander Bokovoy
8bb033273a skel_ -> cap_ -
Jeremy Allison
ed72e0a1d5 Remove what looks like gcc-isms.
Jeremy.
-
Alexander Bokovoy
e8a5a962ed Add CAP VFS module from Monyo. Primary purpose of this module is to provide CAP-compatible encoded file names for CJKV -
Paul Green
ce0469ad1c Be consistent about using capital letters in the function names. (The only
one that really matters is the init entrypoint, but I changed the others
to remain consistent).
-
Alexander Bokovoy
e855dc8c91 Fix for #150.
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
-
Jelmer Vernooij
b8ef536b9e Make compiling vfs_readonly static possible -
Herb Lewis
a6a39c61e8 get rid of some sompiler warnings on IRIX -
Jelmer Vernooij
8625f0e015 Fix overflow in vfs_recycle module (and hopefully also bug #291) -
Alexander Bokovoy
30f207375a VFS layer should be TRANSPARENT, not OPAQUE -
Alexander Bokovoy
555d1ba01c Use path relative to source/ for modules/getdate.h -
Alexander Bokovoy
8b263c2fda Add vfs_readonly module which allows to enforce periodic read-only limit on a share based on a specified start and end dates according to date(1) format -
Alexander Bokovoy
e856a96c2c Add NT quotas support. Users allowed now to manage quotas on systems with 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 -
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
-
Simo Sorce
c501e84d41 Found out a good number of NT_STATUS_IS_ERR used the wrong way.
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.
-
Volker Lendecke
c0e35f3be8 Const fixes by metze
Volker
-
Tim Potter
c2e5b37452 Added file from SAMBA_3_0 branch. -
Tim Potter
e90c5796d2 Ignore *.po files. -
Alexander Bokovoy
c2689ed118 Prefix VFS API macros with SMB_ for consistency and to avoid problems with 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 -
Alexander Bokovoy
91984ef5ca Fix VFS layer:
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
-
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
bc4b51bcb2 Use NTSTATUS as return value for smb_register_*() functions and init_module()
function. Patch by metze with some minor modifications.
-
Jelmer Vernooij
bc5603454a Add the weird charset in 3_0 and build it by default for ./configure --enable-developer -
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
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
aa4c11370b Default to "passdb.xml" as default output filename instead of "-" -