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

135 Commits

Author SHA1 Message Date
Jeremy Allison
23f16cbc2e r13293: Rather a big patch I'm afraid, but this should fix bug #3347
by saving the UNIX token used to set a delete on close flag,
and using it when doing the delete. libsmbsharemodes.so still
needs updating to cope with this change.
Samba4 torture tests to follow.
Jeremy.
2007-10-10 11:06:21 -05:00
Simo Sorce
c068df483f r13224: better to cast the return too 2007-10-10 11:06:19 -05:00
Simo Sorce
6c15af31bc r13222: Never assume mode_t is of type int.
We were trashing the stack on machines that define mode_t as uint16_t
2007-10-10 11:06:18 -05:00
Jeremy Allison
2ab5aeca89 r13028: Fix for #3419 - vfs_full_audit *never* worked
correctly. Static variables were used !
Jeremy.
2007-10-10 11:06:11 -05:00
Jeremy Allison
0c7b8a7637 r12279: unix_mask_match has been broken for *ever*... (How).
Ensure it returns a BOOL.
Jerry (and anyone else) please check this, I think
all uses are now correct but could do with another
set of eyes. Essential for 3.0.21 release.
Jeremy.
2007-10-10 11:05:51 -05:00
Volker Lendecke
9f99d04a54 r12051: Merge across the lookup_name and lookup_sid work. Lets see how the build farm
reacts :-)

Volker
2007-10-10 11:05:43 -05:00
Volker Lendecke
5b1b72ce7b r11585: Implement the possibility to have AFS users as SIDs in pts.
Volker
2007-10-10 11:05:21 -05:00
Jeremy Allison
af85458067 r11232: Added ab's POSIX statvfs vfs call. Sorry for the delay ab.
Jeremy.
2007-10-10 11:05:08 -05:00
Gerald Carter
6c6bf6ca5f r10819: merging a couple of fixes from trunk
* only keep the registry,tdb file open when we have an open key handle
* tpot's setup.py fix
* removing files that no longer exist in trunk and copying some
  that were missing in 3.0
2007-10-10 11:04:54 -05:00
Gerald Carter
939c3cb5d7 r10656: BIG merge from trunk. Features not copied over
* \PIPE\unixinfo
* winbindd's {group,alias}membership new functions
* winbindd's lookupsids() functionality
* swat (trunk changes to be reverted as per discussion with Deryck)
2007-10-10 11:04:48 -05:00
Deryck Hodge
c619ee38f0 r10619: Allow syslog facility and priority to be set via
smb.conf for audit modules.

Facility may be set to USER or LOCAL0-LOCAL7.  Any
of the syslog priority settings may be used.
smb.conf will look like:

audit:facility = LOCAL5
audit:priority = INFO

(Or full_audit:facility, or whatever audit module is used.)

deryck
2007-10-10 11:04:48 -05:00
Volker Lendecke
e076453cf3 r10239: Fix cut&paste error 2007-10-10 11:03:38 -05:00
John Terpstra
80952a7eda r10106: Fix typos. Oops, more fixes. 2007-10-10 11:03:33 -05:00
John Terpstra
4cf1a2ee71 r10105: Fix typos. Oops, modules are called objects. 2007-10-10 11:03:33 -05:00
Stefan Metzmacher
48c5c760af r10061: add some description to the default_quota module
jht: can you merge that to the howto, please?

metze
2007-10-10 11:03:32 -05:00
Jeremy Allison
be5b4e2fa3 r9483: Changed DIR to SMB_STRUCT_DIR because of the amazing stupidity of a UNIX vendor
not understanding abstract data types :-(.
Jeremy.
2007-10-10 11:01:11 -05:00
Volker Lendecke
dfa9eef7b6 r8366: Root-level files don't have a slash, but acls need to be settable on
them. Thanks to Brent Trotter for reminding me to commit this :-)

Volker
2007-10-10 10:58:20 -05:00
Jeremy Allison
c7fe18761e r8219: Merge the new open code from HEAD to 3.0. Haven't yet run the torture
tests on this as it's very late NY time (just wanted to get this work
into the tree). I'll test this over the weekend....
Jerry - in looking at the difference between the two trees there
seem to be some printing/ntprinting.c and registry changes we might
want to examine to try keep in sync.
Jeremy.
2007-10-10 10:58:18 -05:00
Volker Lendecke
2588dd7a27 r8029: Fix bug 2841. Thanks to Brett Trotter.
Volker
2007-10-10 10:58:09 -05:00
Jeremy Allison
1de27da470 r7963: Add aio support to 3.0.
Jeremy.
2007-10-10 10:58:05 -05:00
Volker Lendecke
8fad08db74 r7904: Fix a memleak in vfs_afsacl 2007-10-10 10:58:03 -05:00
Volker Lendecke
6d431eb676 r7902: Fix the build 2007-10-10 10:58:02 -05:00
Jeremy Allison
0f03a6bdcd r7893: Add in the extra parameters to opendir() to fix the large directory/insane app
problem. Rev vfs version. Doesn't change the normal codepath.
Jeremy.
2007-10-10 10:58:02 -05:00
Jeremy Allison
9506b8e145 r7882: Looks like a large patch - but what it actually does is make Samba
safe for using our headers and linking with C++ modules. Stops us
from using C++ reserved keywords in our code.
Jeremy
2007-10-10 10:58:00 -05:00
Günther Deschner
fa8e2c4b04 r7807: Allow to touch mtime in vfs-recycle with
recycle:touch_mtime = true

Guenther
2007-10-10 10:57:21 -05:00
Jeremy Allison
451fbbf1d6 r7544: Fix for bug #2196 from Denis Sbragion <d.sbragion@infotecna.it>.
Allow absolute path (system wide) recycle bin.
Jeremy.
2007-10-10 10:57:13 -05:00
Jeremy Allison
1c94cbd72d r7542: Patch from Renaud Duhaut <rd@duhaut.com> for a parameter
"directory_mode" when creating recycle directories.
Bug #1040.
Jeremy.
2007-10-10 10:57:12 -05:00
Jeremy Allison
0cdc62b60b r7541: Patch from core@road-star.jp for bug #2792. Ensure the shadow copy
module hooks seekdir, telldir, rewinddir to match updated large
directory code.
Jeremy.
2007-10-10 10:57:11 -05:00
Gerald Carter
9727d05241 r7139: trying to reduce the number of diffs between trunk and 3.0; changing version to 3.0.20pre1 2007-10-10 10:57:02 -05:00
Volker Lendecke
16af464582 r6777: Fix vfs_full_audit.c after jra's change.
Volker
2007-10-10 10:56:54 -05:00
Herb Lewis
efea76ac71 r6225: get rid of warnings from my compiler about nested externs 2007-10-10 10:56:30 -05:00
Derrell Lipman
994694f7f2 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.
2007-10-10 10:56:24 -05:00
Volker Lendecke
8c0148df81 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
2007-10-10 10:56:06 -05:00
Jeremy Allison
dc6fbc0268 r5820: Fix bug #2451 - missing functions in full audit vfs module.
Jeremy.
2007-10-10 10:56:03 -05:00
Jeremy Allison
9fd5d633e6 r4864: Remove unused var.
Jeremy.
2007-10-10 10:54:00 -05:00
Jeremy Allison
fb7f1aff7c r4738: Fix for bug #2238 - memory leak in shadow copy vfs.
Jeremy.
2007-10-10 10:53:52 -05:00
Jeremy Allison
efc1b688cf r4291: More *alloc fixes inspired by Albert Chin (china@thewrittenword.com).
Jeremy
2007-10-10 10:53:42 -05:00
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