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

98 Commits

Author SHA1 Message Date
Volker Lendecke
e717ff70c6 r4251: AFS does not cope with spaces in file names. Implement a stupid mapping that
maps the space to another character choosable by afsacl:space.

Volker

P.S: Who is "OH"? ;-)
2007-10-10 10:53:40 -05:00
Jeremy Allison
620f2e608f r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation
functions so we can funnel through some well known functions. Should help greatly with
malloc checking.
HEAD patch to follow.
Jeremy.
2007-10-10 10:53:32 -05:00
Jelmer Vernooij
7751f46cc7 r3987: Use sys_readdir() instead of readdir() 2007-10-10 10:53:27 -05:00
Jelmer Vernooij
5cee4e9478 r3985: Fix bug with 64bit fs support 2007-10-10 10:53:27 -05:00
Volker Lendecke
fea467657d r3839: Some more specific NT security descriptors we've come across. Map them to
defined AFS acls. Thanks to Horst Birthelmer.

Volker
2007-10-10 10:53:19 -05:00
Jeremy Allison
3850f142c1 r3671: More warning fixes from Rob Foehl <rwf@loonybin.net>.
Jeremy.
2007-10-10 10:53:12 -05:00
Jeremy Allison
54da75ca4c r3670: Warning fixes from Rob Foehl <rwf@loonybin.net>.
Jeremy.
2007-10-10 10:53:12 -05:00
Jeremy Allison
da4117841d r3662: Fix dirent return.
Jeremy.
2007-10-10 10:53:12 -05:00
Gerald Carter
7474c6a446 r2133: Several fixes:
* BUG 1627: fix for NIS compiles on HPUX 11.00, AIX 4.3 and 5.1
  patch from Olaf Flebbe <o.flebbe@science-computing.de>.
  Will need to watch this one in the build farm.

* Fix bug found by rwf@loonybin.net where the PRINT_ATTRIBUTE_PUBLISHED
  was getting reset by attempts to sanitize the defined attributes
  (PRINTER_ATTRIBUTE_SAMBA)

* Resolve name conflict on DEC OSF-5.1 (inspired by patch from
  Adharsh Praveen <rprav@india.hp.com>)

* Work around parsing error in the print change notify code
  (not that the alignment bug is still there but reording the
   entries in the array works around it).

* remove duplicate declaration of getprintprocdir from rpcclient.
2007-10-10 10:52:32 -05:00
Jeremy Allison
5d04cd6804 r2114: Shameless theft of iconv commit from Samba4 to keep the two libs more in sync :-).
try to cope with a wider range of UTF-16 characters when we are using
an external libiconv library.
Jeremy.
2007-10-10 10:52:32 -05:00
Volker Lendecke
e7d7dc94eb r1853: Improved NT->AFS ACL mapping.
Jerry, this is a really localized patch that I've been using at a customer
site for quite a while, I'd like to get that into 3.0.6.

Thanks,

Volker
2007-10-10 10:52:21 -05:00
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
-