jelmer
9f862e9faf
Check for HPUX dl functions.
...
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25855 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-06 09:38:58 +01:00
jelmer
322cf8002b
Move SHLIBEXT determination into a test as well.
...
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25852 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-06 09:38:58 +01:00
jelmer
63b7690335
Move system-specific ldflags checks to libreplace so they can be used by ldb.
...
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25851 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-06 09:38:58 +01:00
jelmer
48c70f6040
Add macro for picflag.
...
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25850 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-06 09:38:58 +01:00
jelmer
4904af51cd
Add configure test for -Wl,--export-dynamic.
...
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25846 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-06 09:38:57 +01:00
metze
809fee4bef
libreplace: include nss_wrapper.h if NSS_WRAPPER is defined
...
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25838 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-06 09:38:57 +01:00
Jeremy Allison
e1fcd851ab
Ensure we null out the address correctly.
...
Jeremy.
2007-11-05 23:17:19 -08:00
Michael Adam
e2ffc6053d
Fix another segfault and make smbfilter run again.
...
This fix is not complete yet (loop after "client closed connection")
but at least it starts again...
Micheal
2007-11-06 01:10:05 +01:00
Michael Adam
98225a0752
Fix a segfault.
...
Michael
2007-11-06 01:10:04 +01:00
Michael Adam
1f0fcc3e4e
Try to fix the build. There was one forgotten caller
...
of receive_smb. Jeremy: please check!
Michael
2007-11-06 01:10:04 +01:00
Günther Deschner
d140d68537
When deleting a key from the registry make sure the non-default
...
security descriptor gets deleted as well.
Guenther
2007-11-06 00:50:47 +01:00
Michael Adam
bf23c4ddff
Add two const's.
...
Michael
2007-11-05 23:23:35 +01:00
Jeremy Allison
255c2adf7b
Remove the horror that was the global smb_rw_error.
...
Each cli struct has it's own local copy of this variable,
so use that in client code. In the smbd server, add one
static to smbd/proccess.c and use that inside smbd. Fix
a bunch of places where smb_rw_error could be set by
calling read_data() in places where we weren't reading
from the SMB client socket (ie. winbindd).
Jeremy.
2007-11-05 11:12:56 -08:00
Michael Adam
5721a511d8
Fix a typo.
...
Michael
2007-11-05 15:16:11 +01:00
Jeremy Allison
b5e37af251
Don't alloc struct iface_struct nics[MAX_INTERFACES]; (128 entries)
...
on the stack - use talloc.
Jeremy
2007-11-04 22:20:04 -08:00
Jeremy Allison
5ab76b58c0
This should really be a cond_set_smb_read_error().
...
Jeremy.
2007-11-04 22:14:19 -08:00
Jeremy Allison
08ee4314a9
Don't use 0 when we mean SMB_READ_OK.
...
Jeremy.
2007-11-04 22:12:31 -08:00
Günther Deschner
d0bf0ad2ae
Merge commit 'origin/v3-2-test' into branches/upstream
2007-11-05 03:39:18 +01:00
Volker Lendecke
4cdebda39b
Remove unnecessary code
...
SAFE_FREE checks for NULL anyway, and SMB_STRDUP panics on failure
2007-11-05 03:40:31 +01:00
Volker Lendecke
a86849e4f9
Fix a debug message
2007-11-05 03:40:18 +01:00
Günther Deschner
52bf835c5e
Display sec ace flags.
...
Guenther
2007-11-05 03:27:13 +01:00
Günther Deschner
62d4cce456
Make sure we can read SACLs from the registry.
...
Guenther
2007-11-05 03:26:01 +01:00
Volker Lendecke
5b8ca7ebde
Fix the smbmount build
2007-11-05 03:18:52 +01:00
Volker Lendecke
5490e2d772
static pstring removal
2007-11-05 03:16:58 +01:00
Volker Lendecke
f5468d2c9a
pstring removal
2007-11-05 03:16:48 +01:00
Volker Lendecke
934964c90f
Make load_registry_service return the share number
2007-11-05 02:45:14 +01:00
Jeremy Allison
46f3b04dde
Forgot arg type.
...
Jeremy.
2007-11-04 17:15:35 -08:00
Jeremy Allison
de2ebffa3c
Don't believe len returned from read_smb_length_return_keepalive(),
...
it may be a UNIX large writeX (which wraps len in that case).
Stevef this should fix your 128k write bug.
Jeremy.
2007-11-04 15:38:43 -08:00
Jeremy Allison
963fc76852
Remove most of the remaining globals out of lib/util_sock.c.
...
I have a plan for dealing with the remaining..... Watch
this space.
Jeremy.
2007-11-03 23:20:10 -07:00
Jeremy Allison
35aaa36f82
Remove more static data from lib/util_sock.c and
...
callers.
Jeremy.
2007-11-03 22:34:46 -07:00
Jeremy Allison
62b5ca3334
Missed one case where I need to pass down addrlen.
...
Jeremy
2007-11-03 20:27:59 -07:00
Jeremy Allison
95d01279a5
I can't get away without a 'length' arg. :-).
...
Jeremy.
2007-11-03 18:41:26 -07:00
Jeremy Allison
e848506c85
Stop get_peer_addr() and client_addr() from using global
...
statics. Part of my library cleanups.
Jeremy.
2007-11-03 18:15:45 -07:00
Jeremy Allison
d50d14c300
Remove the smb_read_error global variable and replace
...
it with accessor functions. "One global or pstring a day...." :-).
Jeremy.
2007-11-03 15:12:42 -07:00
Jeremy Allison
ac4f897f0d
Remove unused var noticed by metze.
...
Jeremy.
2007-11-03 10:25:51 -07:00
Jeremy Allison
494bf6293b
Fix the snprintf checks, and fix a typo in pointer indirection.
...
These fixes are needed for a working getaddrinfo etc. replacement.
Fixes from Wayne Davison <wayned@samba.org> from rsync.
Jeremy.
2007-11-02 14:23:10 -07:00
Jeremy Allison
638579d75a
Ensure we use the correct socklen_t values for bind() for
...
Solaris.
Jeremy.
2007-11-02 14:22:19 -07:00
Jeremy Allison
6b7ccd3efb
Fix typos in calc_sa_size, noticed by jim.brown@miami.edu
...
Jeremy.
2007-11-02 12:56:21 -07:00
Jeremy Allison
81ca5853b2
Change the client library to write directly out of
...
the incoming buffer in the non-signed case. Speeds
up writes by over 10% or so. Complete the server
recvfile implementation.
Jeremy.
2007-11-02 12:21:34 -07:00
Jeremy Allison
319dfbaf1b
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
2007-11-02 12:06:15 -07:00
Jeremy Allison
619e33248d
Forgot one more getnameinfo.
...
Jeremy.
2007-11-02 12:05:17 -07:00
Gerald (Jerry) Carter
95de80218c
Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
2007-11-02 14:16:40 -04:00
Gerald (Jerry) Carter
10af752391
Fix build breakage when not specifying --with-fhs.
...
Ensure that CODEPAGEDIR, STATEDIR, and CACHEDIR have values.
2007-11-02 14:16:06 -04:00
Jeremy Allison
c3de44b6b0
Argggh. smblen doesn't include the +4, so my smb_doff calculations
...
shouldn't either :-).
Jeremy.
2007-11-02 10:35:10 -07:00
Jeremy Allison
4d7badb0c4
Fix Solaris by ensuring we use the IPv4 or IPv6 length
...
in any getnameinfo calls.
Jeremy
2007-11-02 10:25:34 -07:00
Jeremy Allison
8c73e19f51
Fix state_path to take a const string, not use pstring.
...
Jeremy.
2007-11-02 09:27:04 -07:00
Jeremy Allison
84d22f7747
Ensure we can't accidently do a pipe write with
...
unread bytes in the socket buffer.
Jeremy
2007-11-01 22:42:21 -07:00
Jeremy Allison
2d3ff9c502
Be careful and take care of the correct lengths in large
...
writeX calls.
Jeremy.
2007-11-01 22:24:39 -07:00
Jeremy Allison
1c71546b61
Ensure we detect a large writeX when using recvfile.
...
More changes needed to make the UNIX_LARGE_WRITEX_CAP
writes work (I'll add these tomorrow).
Jeremy.
2007-11-01 21:51:45 -07:00
Gerald (Jerry) Carter
779353b86d
Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
2007-11-01 21:30:43 -04:00