1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-17 04:23:50 +03:00
Commit Graph

107 Commits

Author SHA1 Message Date
Jeremy Allison
9dafb7f48c r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need
to do the upper layer directories but this is what
everyone is waiting for....

Jeremy.
2007-10-10 11:19:14 -05:00
James Peach
514a767c57 r14668: Set the FILE_STATUS_OFFLINE bit by observing the events a DMAPI-based
HSM is interested in. Tested on both IRIX and SLES9.
2007-10-10 11:15:42 -05:00
James Peach
763f4c0148 r14600: Refactor capability interface from being IRIX-specific to using only
the POSIX interface. Note that this removes support for inherited
capabilities. This wasn't used, and probably should not be.
2007-10-10 11:15:39 -05:00
Günther Deschner
69fb189a6b r13566: Fix EA support for AIX.
Patch from Bjoern Jacke <bjacke-at-sernet-dot-de>.

Guenther
2007-10-10 11:10:14 -05:00
Jeremy Allison
bea6fa293e r11845: Removed error code list as it isn't correct for Linux.
Jeremy.
2007-10-10 11:05:29 -05:00
Jeremy Allison
8f2e472fa3 r11841: Fix #3262 from Timur Bakeyev to improve reporting on FreeBSD DOS
attribute errors.
Jeremy.
2007-10-10 11:05:29 -05:00
Jeremy Allison
081e458801 r11732: Remember to return early if -1 returned from *BSD EA call.
Pointed out by timur@com.bat.ru.
Jeremy.
2007-10-10 11:05:25 -05:00
Jeremy Allison
3d8faf42e8 r11383: Patch from Alex Masterov <alex@infobit.ru> to fix
XATTR calls on *BSD systems (bug #3218).
Jeremy.
2007-10-10 11:05:14 -05:00
Jeremy Allison
b242f27860 r9545: (Hopefully the last) fixes for DIR -> SMB_STRUCT_DIR.
Jeremy.
2007-10-10 11:01:12 -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
Jeremy Allison
6ea3aadd66 r8704: Patch from Timur Bakeyev <timur@com.bat.ru> to fix typo
calling wrong aio_fsync function. Bugid #2909.
Jeremy.
2007-10-10 11:00:15 -05:00
Jeremy Allison
1de27da470 r7963: Add aio support to 3.0.
Jeremy.
2007-10-10 10:58:05 -05:00
Gerald Carter
39288aa566 r6681: updating copyrights (see bug 2546) 2007-10-10 10:56:51 -05:00
Jeremy Allison
059a2e30c9 r6253: Add FreeBSD EA API support. Bug #2576 - patch donated by Timur Bakeyev <timur@com.bat.ru>
Jeremy.
2007-10-10 10:56:32 -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
Jeremy Allison
344e9dd33a r3642: Extend vfs to add seekdir/telldir/rewinddir. Yes I know I have to
fix the modules too... First step in fixing out large directories
problem.
Jeremy.
2007-10-10 10:53:11 -05:00
Jeremy Allison
b25cc59641 r2651: Added 'stat' command to smbclient to exercise the UNIX_FILE_BASIC
info level. Outputs data on the file in the same format the the
stat command in Linux. Should be useful to people wanting to learn
how to parse the UNIX extension output.
Yes I will add the docs later :-).
Jeremy.
2007-10-10 10:52:48 -05:00
Stefan Metzmacher
b0c0d73691 * Fix sys_chown() when no chown() is presend
metze
-
Jeremy Allison
019aaaf0df Patch based on work from James Peach <jpeach@sgi.com> to convert over to
using pread/pwrite. Modified a little to ensure fsp->pos is correct.
Fix for #889.
Jeremy.
-
Jeremy Allison
1b1c216122 Fix from James Flemer <jflemer@uvm.edu> to make HAVE_ATTR_LIST linked to
HAVE_SYS_ATTRIBUTES_H to fix AIX compile.
Jeremy.
-
Gerald Carter
9df3f53e6a wrap internals of sys_setgroups() so the sys_XX() call can be done unconditionally; bug 550 -
Herb Lewis
589e94f4ff add IRIX EA support -
Jelmer Vernooij
d3c02b40c4 Use filedes as first argument to fsetxattr, not the undefined variable 'path' :-) -
Jeremy Allison
4885314074 Get ready for EA code... Add Linux interface.
Jeremy.
-
Jeremy Allison
54e5413a92 dlysym takes a const char *.
Jeremy.
-
Andrew Bartlett
9e5297131c Merge from HEAD - add PRINTF_ATTRIBUTE to a few more functions. -
Gerald Carter
65e7b5273b sync'ing up for 3.0alpha20 release -
Jelmer Vernooij
3928578b52 sync 3.0 branch with head -
Andrew Tridgell
03ac082dcb updated the 3.0 branch from the head branch - ready for alpha18 -
Jeremy Allison
74eac41c68 Added sys_adminlog() system for info the appliance admins really
need to know about. Different from the DEBUG system.
Jeremy.
-
Jeremy Allison
ac1baba35d Removed HAVE_LIBDL from most places (except system.c). Added checks for
dlopen & friends into configure.in. This should help building on *BSD
where dl*** calls are in libc.
Jeremy
-
Jeremy Allison
ad1e858d8e Sync up vfs changes from 2.2.x.
Jeremy.
-
Tim Potter
6a58c9bd06 Removed version number from file header.
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
-
Jeremy Allison
6210d4aa19 Getting ready to add UNIX extensions in HEAD also.
Jeremy
-
Tim Potter
2d0922b0ea Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. -
Simo Sorce
60e907b7e8 move to SAFE_FREE() -
Jeremy Allison
ed5a1f70c6 Wrapped dlerror() in the same way as the other dlxxx() calls.
Jeremy.
-
Andrew Tridgell
c41fc06376 strchr and strrchr are macros when compiling with optimisation in gcc, so we can't redefine them. damn. -
Andrew Tridgell
debb471267 The big character set handling changeover!
This commit gets rid of all our old codepage handling and replaces it with
iconv. All internal strings in Samba are now in "unix" charset, which may
be multi-byte. See internals.doc and my posting to samba-technical for
a more complete explanation.
-
Jeremy Allison
c24e6b41ea Ensured all the system calls in msdfs.c go through the vfs layer.
Added vfs calls to symlink() and readlink() with appropriate configure
checks.
Jeremy.
-
Jeremy Allison
dc31b47ded Fixed password entry caching bug pointed out by Elrond.
Jeremy.
-
Jeremy Allison
5b9a88c2d0 Sync up with 2.2 ACL code.
Jeremy.
-
Jeremy Allison
49f0e7e714 Added sys_dlopen/sys_dlsym/sys_dlclose.
Jeremy.
-
Andrew Tridgell
348ebe30d0 removed useless debug msg -
Jeremy Allison
af364b93d9 lib/system.c (Finally) fixed all insure errors in password caching code. We can't
stop libc routines from calling getpwXXX functions, so caching a pointer to them
is impossible. This new code now makes two copies of the returned struct passwd
struct - one used as a cache, one returned to allow the caller to modify. When
doing a lookup we compare against the cached copy. Code is now easier to understand
also.
smbd/posix_acls.c: If we move the head of the linked list, remember to pass a
reference to that pointer.....
Jeremy.
-
Gerald Carter
a55a4fea97 change pstrcpy() in setup_pwret() to fstrcpy() since we are
using fstrings.  Spotted by Elrond.  Thanks :-)




jerry
-
Jeremy Allison
c4f810a758 lib/system.c: Fix for pw caching.
srv_samr.c: Fix for pw caching.
smbd/nttrans.c: Fix to allow trans create to set ACL on open.
Jeremy.
-
Jeremy Allison
2bd4f16389 Fix insure problems with passwd caching code.
Jeremy.
-
Jeremy Allison
3712e35c54 Added modification to Richard Bollinger getpw[nam|uid] cache patch. Only
uses cache max 100 times.
Jeremy.
-
Gerald Carter
158430ba6a getpw[nam|uid] caching patch from "Richard Bollinger"
<rabollinger@home.com>



jerry
-