Jeremy Allison
632ab7dc2e
Many systems don't have sa_len as part of struct sockaddr.
...
Revert 5c347cb46d
"Choose a better default for sockaddr length.".
Jeremy.
(This used to be commit 677ac6adc3
)
2007-12-09 14:59:07 -08:00
James Peach
8892c7a235
Choose a better default for sockaddr length.
...
(This used to be commit 5c347cb46d
)
2007-12-09 14:02:23 -08:00
James Peach
daba3f8b54
Fix connect(2) callers to use correct sockaddr size.
...
Some systems (eg Mac OSX 10.5) require the length passed to match
the socket address family. This introduces sys_connect() that does
the right thing, and replaces all uses oc connect(2) with sys_connect().
Note that there are some LGPL callers that still call connect(2)
directly.
(This used to be commit e1bfdc17c4
)
2007-12-09 13:28:00 -08:00
Jeremy Allison
acf15ae730
Don't build rpctorture anymore - not maintained. Just remove.
...
Remove all vestiges of pstring (except for smbctool as noted
in previous commit).
Jeremy
(This used to be commit 4c32a22ac5
)
2007-12-07 12:26:32 -08:00
Michael Adam
66887ddfba
Remove workaround for broken capabilites.h from lib/system.c - now in lib/replace.
...
Michael
(This used to be commit a3fbb53232
)
2007-12-03 16:54:13 +01:00
Tomoki AONO
02571885a9
1. lib/system.c (xattr code for Solaris) could not be
...
built against c90 compilers. (declaration after
statement.) Sample patch attached.
(This used to be commit 102a247df9
)
2007-11-26 09:00:33 +01:00
Jeremy Allison
2b3c44e4fb
Always define PATH_MAX. Makes code simpler (removes
...
a bunch of #defines). Remove pstring from msdfs.c.
Jeremy.
(This used to be commit e203ba2227
)
2007-11-10 22:31:34 -08:00
Stefan Metzmacher
fdc27be1be
remove faked_create_user() BUILD_FARM hack as we have nss_wrapper now
...
metze
(This used to be commit fc98c19048
)
2007-11-09 09:53:02 +01:00
Jeremy Allison
e075b3692b
Fix Solaris by ensuring we use the IPv4 or IPv6 length
...
in any getnameinfo calls.
Jeremy
(This used to be commit 4d7badb0c4
)
2007-11-02 10:25:34 -07:00
Jeremy Allison
30191d1a57
RIP BOOL. Convert BOOL -> bool. I found a few interesting
...
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
(This used to be commit f35a266b3c
)
2007-10-18 17:40:25 -07:00
Jeremy Allison
666f50b01f
Move to protocol independent code in most of lib/util_sock.c
...
We don't use gethostbyname any more except in one case where
we're looking for host aliases (I don't know how to do that
with getaddrinfo yet). New function should be getaddrinfo().
Next step will be fixing lib/access.c, and then changing
libsmb/namequery.c to cope with IPv6 address returns.
Jeremy.
(This used to be commit 4a56b697b6
)
2007-10-15 16:11:48 -07:00
Jeremy Allison
941544a951
r25505: Add a replacement (IPv4 only) implementation of getaddrinfo/freeaddrinfo
...
under the 2 clause *BSD license for future use in IPv6 code. Original
code was from PostgreSQL and I've maintained their license even though
I've rewritten large parts of it (I probably should donate this back
to them).
Jeremy.
(This used to be commit 760d993340
)
2007-10-10 12:31:10 -05:00
Jeremy Allison
2548e43164
r25172: Remove commented out code we will never enable.
...
Jeremy.
(This used to be commit 6032fbc358
)
2007-10-10 12:30:48 -05:00
Jeremy Allison
12f61e09d9
r25117: The mega-patch Jerry was waiting for. Remove all pstrings from
...
the main server code paths. We should now be able to cope with
paths up to PATH_MAX length now.
Final job will be to add the TALLOC_CTX * parameter to
unix_convert to make it explicit (for Volker).
Jeremy.
(This used to be commit 7f0db75fb0
)
2007-10-10 12:30:41 -05:00
Volker Lendecke
06dd8d28ae
r24547: Fix #4897 , patch from David S. Collier-Brown <davecb@spamcop.net> -- Thanks!
...
(This used to be commit 4a90264d17
)
2007-10-10 12:29:56 -05:00
Stefan Metzmacher
9342df7027
r24304: patch from Bjoern JAcke <bj@SerNet.DE>:
...
attached patches add EA support for Solaris. If no one disagrees, can
someone check this in please?
metze
(This used to be commit 81e5afc363
)
2007-10-10 12:29:25 -05:00
Andrew Tridgell
5e54558c6d
r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
...
(This used to be commit b0132e94fc
)
2007-10-10 12:28:22 -05:00
Jeremy Allison
d824b98f80
r23779: Change from v2 or later to v3 or later.
...
Jeremy.
(This used to be commit 407e6e695b
)
2007-10-10 12:28:20 -05:00
Volker Lendecke
3d3035bcfe
r23658: One pstring a day....
...
This one was particularly tasty, it was a static one. So 1k less
footprint per process.
(This used to be commit 83865e3288
)
2007-10-10 12:23:42 -05:00
James Peach
0e67063cbc
r23576: Fix some confusion between HAVE_BROKEN_GETGROUPS and USE_BSD_SETGROUPS.
...
(This used to be commit 8f6cf4b8c2
)
2007-10-10 12:23:31 -05:00
Michael Adam
f7f3b72b21
r23566: Fix the sys_bsd_setgroups function. The actual workaround was inactive.
...
Michael
(This used to be commit 4b5d9b2ba7
)
2007-10-10 12:23:30 -05:00
James Peach
274782432b
r23475: Fix the prototype for sys_broken_setgroups and log *BSD group list
...
truncation a bit more verbosely.
(This used to be commit e3ea997289
)
2007-10-10 12:23:19 -05:00
James Peach
2cbe284e59
r23470: Fix supplementary group list truncation for *BSD. We need to pass
...
the correct group list length and only truncate to NGROUPS_MAX if
it is too long.
(This used to be commit 07f562be7a
)
2007-10-10 12:23:18 -05:00
James Peach
74c74f8dcc
r23393: Support BSD group semantics by making sure that the effective GID is always
...
passed as the first GID when calling setgroups(2).
(This used to be commit 6ebaf856c1
)
2007-10-10 12:23:12 -05:00
Jeremy Allison
57d6318a0b
r23105: Add lchown to the vfs layer. We need this in the POSIX code.
...
Jeremy.
(This used to be commit 932523cbb5
)
2007-10-10 12:22:46 -05:00
Jeremy Allison
f76fe23e11
r21725: Fix for memalign used without test guards. Was
...
breaking the build on *BSD's. Tested by Herb.
Jeremy.
(This used to be commit 4816af5ce9
)
2007-10-10 12:18:26 -05:00
Gerald Carter
e972e2967b
r21526: Fix stray character in sys_memalign() that is only
...
is the case where we don't have memalign() or posix_memalign().
(This used to be commit 1635bac800
)
2007-10-10 12:18:10 -05:00
Gerald Carter
56c1d7e507
r21525: Go ahead and checkin the mlock() & memalign() fixes so
...
others don't get stuck with the winbindd hang.
Still waiting on additional confirmation from Guenther
that this fixes thes issues he was observing as well.
But it's been running in my local tree for a day without
problems.
(This used to be commit 0d2b80c6c4
)
2007-10-10 12:18:10 -05:00
Jim McDonough
4fe70bcee2
r19647: Add some GPFS support in a vfs mod. Also adds the kernel flock op to
...
the vfs layer, since gpfs supports it. Thanks to Volker, Christian,
Mathias, Chetan, and Peter.
(This used to be commit 0620658890
)
2007-10-10 12:15:43 -05:00
Stefan Metzmacher
1843884fbf
r19241: compile xattr wrappers on mac os 10
...
patch from Bjoern Jacke and it fixes bug 3698
metze
(This used to be commit e54302b916
)
2007-10-10 12:15:24 -05:00
Stefan Metzmacher
b25c065786
r19102: fix typo, thanks derrell!
...
metze
(This used to be commit 0a516c3026
)
2007-10-10 12:15:13 -05:00
Stefan Metzmacher
0a32e31cbe
r19101: add sys_recv() wrapper
...
metze
(This used to be commit 2f146ec683
)
2007-10-10 12:15:12 -05:00
Jeremy Allison
0ff4706582
r17630: Looks like getpeerid() is a system function on
...
FreeBSD. Change to sys_getpeerid(). Thanks to
vl for pointing this out.
Jeremy.
(This used to be commit dd0069cfca
)
2007-10-10 11:38:44 -05:00
Jeremy Allison
b41e14abfd
r17610: Added the ability for firefox to drive the winbindd
...
ntlm_auth module to allow it to use winbindd cached
credentials.The credentials are currently only stored
in a krb5 MIT environment - we need to add an option to
winbindd to allow passwords to be stored even in an NTLM-only
environment.
Patch from Robert O'Callahan, modified with some fixes
by me.
Jeremy.
(This used to be commit ae7cc298a1
)
2007-10-10 11:38:43 -05:00
Jeremy Allison
fbdcf2663b
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.
(This used to be commit 9dafb7f48c
)
2007-10-10 11:19:14 -05:00
James Peach
40d0707827
r14668: Set the FILE_STATUS_OFFLINE bit by observing the events a DMAPI-based
...
HSM is interested in. Tested on both IRIX and SLES9.
(This used to be commit 514a767c57
)
2007-10-10 11:15:42 -05:00
James Peach
97ee5b1afa
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.
(This used to be commit 763f4c0148
)
2007-10-10 11:15:39 -05:00
Günther Deschner
2cf38b62c5
r13566: Fix EA support for AIX.
...
Patch from Bjoern Jacke <bjacke-at-sernet-dot-de>.
Guenther
(This used to be commit 69fb189a6b
)
2007-10-10 11:10:14 -05:00
Jeremy Allison
e98a396b76
r11845: Removed error code list as it isn't correct for Linux.
...
Jeremy.
(This used to be commit bea6fa293e
)
2007-10-10 11:05:29 -05:00
Jeremy Allison
ac66d7cf69
r11841: Fix #3262 from Timur Bakeyev to improve reporting on FreeBSD DOS
...
attribute errors.
Jeremy.
(This used to be commit 8f2e472fa3
)
2007-10-10 11:05:29 -05:00
Jeremy Allison
d35ca87bc2
r11732: Remember to return early if -1 returned from *BSD EA call.
...
Pointed out by timur@com.bat.ru .
Jeremy.
(This used to be commit 081e458801
)
2007-10-10 11:05:25 -05:00
Jeremy Allison
7f562a8f6f
r11383: Patch from Alex Masterov <alex@infobit.ru> to fix
...
XATTR calls on *BSD systems (bug #3218 ).
Jeremy.
(This used to be commit 3d8faf42e8
)
2007-10-10 11:05:14 -05:00
Jeremy Allison
b67ba1e36b
r9545: (Hopefully the last) fixes for DIR -> SMB_STRUCT_DIR.
...
Jeremy.
(This used to be commit b242f27860
)
2007-10-10 11:01:12 -05:00
Jeremy Allison
f98f86394a
r9483: Changed DIR to SMB_STRUCT_DIR because of the amazing stupidity of a UNIX vendor
...
not understanding abstract data types :-(.
Jeremy.
(This used to be commit be5b4e2fa3
)
2007-10-10 11:01:11 -05:00
Jeremy Allison
07a4d4f114
r8704: Patch from Timur Bakeyev <timur@com.bat.ru> to fix typo
...
calling wrong aio_fsync function. Bugid #2909 .
Jeremy.
(This used to be commit 6ea3aadd66
)
2007-10-10 11:00:15 -05:00
Jeremy Allison
f2f55d703d
r7963: Add aio support to 3.0.
...
Jeremy.
(This used to be commit 1de27da470
)
2007-10-10 10:58:05 -05:00
Gerald Carter
555737a3fe
r6681: updating copyrights (see bug 2546)
...
(This used to be commit 39288aa566
)
2007-10-10 10:56:51 -05:00
Jeremy Allison
8abd17fe1c
r6253: Add FreeBSD EA API support. Bug #2576 - patch donated by Timur Bakeyev <timur@com.bat.ru>
...
Jeremy.
(This used to be commit 059a2e30c9
)
2007-10-10 10:56:32 -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
Jeremy Allison
c0406ae1b0
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.
(This used to be commit 344e9dd33a
)
2007-10-10 10:53:11 -05:00