1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

106 Commits

Author SHA1 Message Date
Volker Lendecke
67e03ce466 r6777: Fix vfs_full_audit.c after jra's change.
Volker
(This used to be commit 16af464582)
2007-10-10 10:56:54 -05:00
Herb Lewis
978ca84860 r6225: get rid of warnings from my compiler about nested externs
(This used to be commit efea76ac71)
2007-10-10 10:56:30 -05:00
Derrell Lipman
9840db418b r6149: Fixes bugs #2498 and 2484.
1. using smbc_getxattr() et al, one may now request all access control
   entities in the ACL without getting all other NT attributes.
2. added the ability to exclude specified attributes from the result set
   provided by smbc_getxattr() et al, when requesting all attributes,
   all NT attributes, or all DOS attributes.
3. eliminated all compiler warnings, including when --enable-developer
   compiler flags are in use.  removed -Wcast-qual flag from list, as that
   is specifically to force warnings in the case of casting away qualifiers.

Note: In the process of eliminating compiler warnings, a few nasties were
      discovered.  In the file libads/sasl.c, PRIVATE kerberos interfaces
      are being used; and in libsmb/clikrb5.c, both PRIAVE and DEPRECATED
      kerberos interfaces are being used.  Someone who knows kerberos
      should look at these and determine if there is an alternate method
      of accomplishing the task.
(This used to be commit 994694f7f2)
2007-10-10 10:56:24 -05:00
Volker Lendecke
eb200fcdda r5880: From the comment....
* Implement a fixed mapping of forbidden NT characters in filenames that are
 * used a lot by the CAD package Catia.
 *
 * Yes, this a BAD BAD UGLY INCOMPLETE hack, but it helps quite some people
 * out there. Catia V4 on AIX uses characters like "<*$ a *lot*, all forbidden
 * under Windows...

Volker
(This used to be commit 8c0148df81)
2007-10-10 10:56:06 -05:00
Jeremy Allison
99db77b2b2 r5820: Fix bug #2451 - missing functions in full audit vfs module.
Jeremy.
(This used to be commit dc6fbc0268)
2007-10-10 10:56:03 -05:00
Jeremy Allison
74dd9f1186 r4864: Remove unused var.
Jeremy.
(This used to be commit 9fd5d633e6)
2007-10-10 10:54:00 -05:00
Jeremy Allison
622480b64b r4738: Fix for bug #2238 - memory leak in shadow copy vfs.
Jeremy.
(This used to be commit fb7f1aff7c)
2007-10-10 10:53:52 -05:00
Jeremy Allison
b46913fb95 r4291: More *alloc fixes inspired by Albert Chin (china@thewrittenword.com).
Jeremy
(This used to be commit efc1b688cf)
2007-10-10 10:53:42 -05:00
Volker Lendecke
ed0131fedd 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"? ;-)
(This used to be commit e717ff70c6)
2007-10-10 10:53:40 -05:00
Jeremy Allison
acf9d61421 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.
(This used to be commit 620f2e608f)
2007-10-10 10:53:32 -05:00
Jelmer Vernooij
86d528928d r3987: Use sys_readdir() instead of readdir()
(This used to be commit 7751f46cc7)
2007-10-10 10:53:27 -05:00
Jelmer Vernooij
06f4c02659 r3985: Fix bug with 64bit fs support
(This used to be commit 5cee4e9478)
2007-10-10 10:53:27 -05:00
Volker Lendecke
7c747d2624 r3839: Some more specific NT security descriptors we've come across. Map them to
defined AFS acls. Thanks to Horst Birthelmer.

Volker
(This used to be commit fea467657d)
2007-10-10 10:53:19 -05:00
Jeremy Allison
d1a939e893 r3671: More warning fixes from Rob Foehl <rwf@loonybin.net>.
Jeremy.
(This used to be commit 3850f142c1)
2007-10-10 10:53:12 -05:00
Jeremy Allison
e87470fa3f r3670: Warning fixes from Rob Foehl <rwf@loonybin.net>.
Jeremy.
(This used to be commit 54da75ca4c)
2007-10-10 10:53:12 -05:00
Jeremy Allison
314a601274 r3662: Fix dirent return.
Jeremy.
(This used to be commit da4117841d)
2007-10-10 10:53:12 -05:00
Gerald Carter
278f9467f2 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.
(This used to be commit 7474c6a446)
2007-10-10 10:52:32 -05:00
Jeremy Allison
651daa4b42 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.
(This used to be commit 5d04cd6804)
2007-10-10 10:52:32 -05:00
Volker Lendecke
50238c240e 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
(This used to be commit e7d7dc94eb)
2007-10-10 10:52:21 -05:00
Stefan Metzmacher
3a6d5a3ab3 r840: use quota debug class
metze
(This used to be commit fd94bdaef5)
2007-10-10 10:51:47 -05:00
Volker Lendecke
68938182ff 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
(This used to be commit 43870a3fc1)
2007-10-10 10:51:23 -05:00
Volker Lendecke
3250a8ab0a r405: Some docs of vfs_full_audit.c as comment :-)
(This used to be commit 567f792377)
2007-10-10 10:51:22 -05:00
Volker Lendecke
9e7dcbdbb7 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
(This used to be commit 9cb9c5f7c9)
2007-10-10 10:51:21 -05:00
Volker Lendecke
87a9681a00 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
(This used to be commit 9a1a8e2663)
2007-10-10 10:51:20 -05:00
Stefan Metzmacher
6f3fe3a85a r329: add the shadow_copy vfs module
I'll add documentation to the Samba-Howto-Collection

metze
(This used to be commit 2bef5d2741)
2007-10-10 10:51:20 -05:00
Gerald Carter
931df5850e r39: * importing .cvsignore files
* updateing WHATSNEW with vl's change
(This used to be commit a7e2730ec4)
2007-10-10 10:51:05 -05:00
Volker Lendecke
4ee66eb4c3 Without words...
(This used to be commit 9cb6b10efa)
2004-03-29 11:54:34 +00:00
Volker Lendecke
f6d86af4a2 Some fixes to expand_msdfs module.
Volker
(This used to be commit 558b5bc1d8)
2004-03-29 11:40:43 +00:00
Volker Lendecke
87280e9a79 Move the Client-IP based msdfs target expansion to a VFS module.
Volker
(This used to be commit 9cb6a4d76f)
2004-03-26 22:26:33 +00:00
Alexander Bokovoy
938cef91ff Fix string overflow due to wrong size calculation
(This used to be commit e1d0b8fc7b)
2004-03-12 11:21:50 +00:00
cvs2svn Import User
130b38a372 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 9ccf8c530d) 2003-11-26 20:58:52 +00:00
Jeremy Allison
b1b4d67f65 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.
(This used to be commit a571194342)
2003-11-26 20:58:51 +00:00
Tim Potter
6188988e43 Merge from 3.0:
>Portability fix from Joachim Schmitz.  Closes bug #546.
(This used to be commit eb9f5c0ec1)
2003-10-09 06:13:11 +00:00
Tim Potter
b914f2ab6c Portability fix from Joachim Schmitz. Closes bug #546.
(This used to be commit 803ae45172)
2003-10-02 23:50:22 +00:00
Tim Potter
54b5bbb57a 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
(This used to be commit a9f34d9fde)
2003-09-19 06:23:51 +00:00
Alexander Bokovoy
3b66918aa7 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.
(This used to be commit 6134d41ff1)
2003-09-17 17:54:49 +00:00
Gerald Carter
4093bf7ff8 sync 3.0 into HEAD for the last time
(This used to be commit c17a7dc9a1)
2003-09-09 04:07:32 +00:00
Jeremy Allison
94f59f5492 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.
(This used to be commit f35e9a8b90)
2003-09-05 19:59:55 +00:00
Alexander Bokovoy
bce1fcd76b Fix CP437 and CP850 syntax for old compilers removing ANSI C99-specifics
(This used to be commit 61c671bd69)
2003-09-01 11:26:57 +00:00
Alexander Bokovoy
01e9f9788c Remove cap_set_quota as it is the same as default one
(This used to be commit e123f1a8c8)
2003-08-29 09:24:24 +00:00
Jeremy Allison
76bcb93c66 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.
(This used to be commit 787c9764b3)
2003-08-28 18:11:11 +00:00
Alexander Bokovoy
e83031c84d 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.
(This used to be commit 37042c7bc0)
2003-08-28 17:16:27 +00:00
Alexander Bokovoy
811bd3b3ba skel_ -> cap_
(This used to be commit 8bb033273a)
2003-08-28 12:30:35 +00:00
Jeremy Allison
ce236ad65d Remove what looks like gcc-isms.
Jeremy.
(This used to be commit ed72e0a1d5)
2003-08-27 23:23:17 +00:00
Alexander Bokovoy
da0397bd2f Add CAP VFS module from Monyo. Primary purpose of this module is to provide CAP-compatible encoded file names for CJKV
(This used to be commit e8a5a962ed)
2003-08-27 20:04:23 +00:00
Paul Green
cd8c082b79 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).
(This used to be commit ce0469ad1c)
2003-08-27 15:05:05 +00:00
Alexander Bokovoy
7e27147422 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
(This used to be commit e855dc8c91)
2003-08-26 19:48:16 +00:00
Jelmer Vernooij
1579089d91 Make compiling vfs_readonly static possible
(This used to be commit b8ef536b9e)
2003-08-20 08:20:14 +00:00
Herb Lewis
062f89bc28 get rid of some sompiler warnings on IRIX
(This used to be commit a6a39c61e8)
2003-08-15 01:42:30 +00:00
Jelmer Vernooij
38f09f326f Fix overflow in vfs_recycle module (and hopefully also bug #291)
(This used to be commit 8625f0e015)
2003-08-14 19:57:23 +00:00