Jeremy Allison [Tue, 30 Oct 2007 00:16:13 +0000 (17:16 -0700)]
Add in the recvfile entry to the VFS layer with a default
implementation. Needed for the zero-copy write code.
Jeremy.
(This used to be commit
bfbdb6324c5d13bfde8b742e9c5a0e0c9092bd86)
Jeremy Allison [Mon, 29 Oct 2007 22:03:36 +0000 (15:03 -0700)]
Fix the setup_kaddr() call to cope with IPv6.
This is the last obvious change I can see. At
this point we can start claiming IPv6 support
(Hurrah !:-).
Jeremy.
(This used to be commit
bda8c0bf571c994b524a9d67eebc422033d17094)
Jeremy Allison [Mon, 29 Oct 2007 20:34:00 +0000 (13:34 -0700)]
Change our DNS code to cope with AAAA records. A6 records
look like a nightmare to use, so ignore them for now.
Jeremy.
(This used to be commit
814daded90781dc5a5bdd522ea8cfe5d47e6d7a7)
Volker Lendecke [Sun, 28 Oct 2007 10:58:26 +0000 (11:58 +0100)]
Enable vfs objects = /full/path/to/object.so
Right now I'm testing a vfs object. I can't right now in make test, because
"vfs objects" assumes the .so files to be in $libdir/vfs. This patch parses the
module name out of the object name in case it starts with "/". The module name
is assumed to be the last path component's basename.
(This used to be commit
95cc019af775a6ab28ea602ad767fa54d7c86197)
Jeremy Allison [Sun, 28 Oct 2007 03:29:36 +0000 (20:29 -0700)]
Change all occurrences of zero_addr(&ss,AF_INET) to
zero_addr(&ss). All current uses were always of the
AF_INET form, so simplify the call. If in the future
we need to zero an addr to AF_INET6 this can be
done separately.
Jeremy.
(This used to be commit
2e92418a138bf2738b77b7e0fcb2fa37ad84fc0c)
Jeremy Allison [Sat, 27 Oct 2007 19:51:38 +0000 (12:51 -0700)]
Fix zero_addr(&ip, INADDR_ANY); -> zero_addr(&ip, AF_INET)
from Volker's patch.
Jeremy.
(This used to be commit
9f82a5766968dc72db5a86ad0afc71e8cffd5be0)
Volker Lendecke [Sat, 27 Oct 2007 19:15:07 +0000 (21:15 +0200)]
Two patches
Hi!
Can you check and push them?
Thanks,
Volker
From
b488af5905e2dee12a1a72a3b40801ae5c26f24f Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl@sernet.de>
Date: Sat, 27 Oct 2007 14:20:09 +0200
Subject: [PATCH] Fix some warnings and errors
(This used to be commit
e17d3e10e860c96b6d5208e5fe51e43b8e58c174)
Stefan Metzmacher [Sat, 27 Oct 2007 09:57:48 +0000 (11:57 +0200)]
rerun make idl
metze
(This used to be commit
83b3ecde1312092fd9875a2a8628652ffa6b6aca)
metze [Sat, 27 Oct 2007 08:10:14 +0000 (08:10 +0000)]
add NDR_ERR_INVALID_POINTER
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25744
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
3625ed395c23101095321de80e89fcbc8c76be4c)
Jeremy Allison [Sat, 27 Oct 2007 00:58:28 +0000 (17:58 -0700)]
Ensure temporary memory is freed - pointed out by "Li, Ying (ESG)" <ying.li2@hp.com>.
We aren't currently leaking memory, but are leaving it around for
longer than we need to.
Jeremy.
(This used to be commit
25bbc9a6613bef0f3f73ecf634a38a9d56020f40)
Jeremy Allison [Fri, 26 Oct 2007 23:22:18 +0000 (16:22 -0700)]
Fix popt bool problems (need POPT_ARG_NONE, not POPT_ARG_VALUE).
Reported by kukks - thanks !
Jeremy.
(This used to be commit
9993f8d1af23735f3a4b6de82f5825a6a6ba22d6)
Jeremy Allison [Fri, 26 Oct 2007 23:03:20 +0000 (16:03 -0700)]
Move the horrible hack for link local addresses out of namequery.c
and into util_sock.c. is_ipaddress() now copes with link:local:v6%ifname
addresses, as does interpret_string_addr().
Jeremy
(This used to be commit
a3f7db3d30ced566c8340696914f1be3293a9c5b)
Jeremy Allison [Fri, 26 Oct 2007 23:02:16 +0000 (16:02 -0700)]
Fix a few more sockaddr -> sockaddr_storgage.
Jeremy.
(This used to be commit
4b3635d6bc1bd5e4135ef208dff052e1d9b58a12)
Stefan Metzmacher [Fri, 26 Oct 2007 14:37:32 +0000 (16:37 +0200)]
one more struct in_addr => struct sockaddr_storage
jra: please check this...
metze
(This used to be commit
cecc8075513a3cca17aeab0c88ae05ed13a07ee3)
Jeremy Allison [Fri, 26 Oct 2007 02:07:25 +0000 (19:07 -0700)]
Fix bug in writing names into gencache
as well as 2 typos where AF_INET6 was mistypes as AF_INET.
JERRY YOU NEED THESE FIXES.
Fixes smbclient -L localhost -U%
Bugs reported by Kukks (thanks kukks).
Jeremy.
(This used to be commit
f109f82622ca30ae2360e8300152e90b9587ffd8)
Jeremy Allison [Fri, 26 Oct 2007 01:28:36 +0000 (18:28 -0700)]
Fix resolve name to resolve IPv6 addresses of link-local%ifaddr
Jeremy.
(This used to be commit
e6609cab732d5cd5cc9a5ae50aee15147f2ec6ec)
Jeremy Allison [Fri, 26 Oct 2007 01:29:49 +0000 (18:29 -0700)]
Fix a mismatched interface where we were using
uint32 instead of enum lsa_SidType.
Jeremy.
(This used to be commit
2df8252ff76406bfe57cd76e9927b5056e89e6ae)
Jeremy Allison [Fri, 26 Oct 2007 01:15:02 +0000 (18:15 -0700)]
Fix cast typo - would have broken all dgram sends.
Jeremy.
(This used to be commit
17ea899f39e80241afa235cb933695ba6bae846a)
Jeremy Allison [Fri, 26 Oct 2007 01:11:29 +0000 (18:11 -0700)]
Fixed missing in_addr -> sockaddr_storage conversion (how did
I miss this...).
Jeremy.
(This used to be commit
f982774c8d95c48355bbd821c8224fadb8bb303e)
Jeremy Allison [Fri, 26 Oct 2007 00:17:46 +0000 (17:17 -0700)]
Fix reversed bool check for access. Found by kukks.
Thanks !
Jeremy.
(This used to be commit
a13e8bd39de978d69666b8aeb884d943885a3605)
Jeremy Allison [Thu, 25 Oct 2007 23:22:40 +0000 (16:22 -0700)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit
ec891be53cc4042baf418c1f7b037a11e5055273)
Jeremy Allison [Thu, 25 Oct 2007 23:14:52 +0000 (16:14 -0700)]
When doing reverse lookups actually look up the name, not
just the numeric address (doh!) :-).
Jeremy.
(This used to be commit
9aa9ecd8cc29d055d78f16b8fb2156ec04063c42)
Jeremy Allison [Thu, 25 Oct 2007 22:43:44 +0000 (15:43 -0700)]
Try and fix the Solaris build by adding a missing define
(from Jerry).
Jeremy
(This used to be commit
a68bbea0d42cc64b9fa731ab2a1da82ef30937c6)
Jeremy Allison [Thu, 25 Oct 2007 21:11:35 +0000 (14:11 -0700)]
Ensure we don't terminate if we fail to bind to a socket,
only fail if we can't bind to any socket.
Jeremy.
(This used to be commit
2ec6224b552ef86fa1739c9e396c39c7ec6c76c6)
metze [Thu, 25 Oct 2007 09:16:11 +0000 (09:16 +0000)]
[libreplace] define AI_NUMERICSERV as it's used in getaddrinfo.c
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25728
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
11a977aa0757801fb0fa805b123e7bc75c8be447)
metze [Thu, 25 Oct 2007 08:43:00 +0000 (08:43 +0000)]
[libreplace] move and fix getaddrinfo configure checks
- move getaddrinfo check into getaddrinfo.m4
- add getaddrinfo.o to LIBREPLACEOBJ so that we really build the replacements
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25726
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
de01c503f4d16b8c3c0ad75225cf0b1822fd8c7f)
metze [Thu, 25 Oct 2007 06:53:38 +0000 (06:53 +0000)]
- include getaddrinfo.h after we have defined struct addrinfo
- use rep_ instead of pg_ as prefix in getaddrinfo.[ch]
- define HAVE_<name> macros when we replace functions
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25724
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
e56977ea459b3615d33237d19ed8e7ad8b509853)
metze [Wed, 24 Oct 2007 13:01:03 +0000 (13:01 +0000)]
[libreplace] if we replace types define the HAVE_<type> macro
this is needed as heimdal's roken.h also tries to replace the types
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25718
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
b81d8bc43cd7167a5cd4b18c26ba3eecf75043eb)
metze [Wed, 24 Oct 2007 12:57:57 +0000 (12:57 +0000)]
[libreplace] move definition of struct addrinfo so that it can use socklen_t
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25715
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
45150075677451b48ce56ebdce96aca1ed13fa80)
metze [Wed, 24 Oct 2007 12:55:40 +0000 (12:55 +0000)]
[libreplace] move define of a constant to near to the others
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25714
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
fa120f7c50d0084e7d887811e5fa59ae3bcfe53e)
metze [Wed, 24 Oct 2007 12:53:34 +0000 (12:53 +0000)]
[libreplace] include socket_wrapper.h after we have typedef'ed socklen_t
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25713
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
f1d434a132e424f2fdce59d51a7c398988c1474d)
Jeremy Allison [Wed, 24 Oct 2007 23:11:01 +0000 (16:11 -0700)]
Don't terminate on an invalid address family.
Jeremy.
(This used to be commit
d04a8a6cdcc505e0244882a9abb7174eadbf81a7)
Jeremy Allison [Wed, 24 Oct 2007 21:40:24 +0000 (14:40 -0700)]
We do support name lookups for host and service in our replacement
code - remove the restrictions from the original Postgres code.
Jeremy.
(This used to be commit
bc9008aa1dcb66890795f0ff2d3046da7df867d9)
Jeremy Allison [Wed, 24 Oct 2007 21:16:54 +0000 (14:16 -0700)]
This is a large patch (sorry). Migrate from struct in_addr
to struct sockaddr_storage in most places that matter (ie.
not the nmbd and NetBIOS lookups). This passes make test
on an IPv4 box, but I'll have to do more work/testing on
IPv6 enabled boxes. This should now give us a framework
for testing and finishing the IPv6 migration. It's at
the state where someone with a working IPv6 setup should
(theorecically) be able to type :
smbclient //ipv6-address/share
and have it work.
Jeremy.
(This used to be commit
98e154c3125d5732c37a72d74b0eb5cd7b6155fd)
Jeremy Allison [Wed, 24 Oct 2007 19:44:38 +0000 (12:44 -0700)]
Fix for AIX interface code from Kyle Stemen <kstemen@centeris.com>
Jeremy.
(This used to be commit
4d4ab9aeb9d85b4c98cbf8a8363a9cefecd4b365)
Stefan Metzmacher [Wed, 24 Oct 2007 11:19:35 +0000 (13:19 +0200)]
handle wellknown sids in winbindd_passwd.c
metze
(This used to be commit
251bd4ea4cdd0a751ed3b91562272221af148e37)
Stefan Metzmacher [Wed, 24 Oct 2007 12:29:06 +0000 (14:29 +0200)]
[crash fix] don't use already free'ed memory
(found by "make valgrindtest" and my "start winbindd on make test" patch)
metze
(cherry picked from commit
fe21e48489852720a05b305b251e4f5cbb200f7a)
(cherry picked from commit
26d8a1ad20c10da495970c584983fbd261b4946e)
(This used to be commit
a128a8805e172738334ec6854548f138c335058b)
Stefan Metzmacher [Wed, 24 Oct 2007 09:19:29 +0000 (11:19 +0200)]
ignore source/cscope.out
metze
(This used to be commit
49b2b8784b75c10cdf6e91de6a06f0ca435089cc)
Andrew Tridgell [Tue, 23 Oct 2007 10:43:27 +0000 (20:43 +1000)]
added a syncops VFS module for filesystems which do not guarantee meta-data operations are immediately committed to disk in stable form. Essential for clustered Samba setups
(This used to be commit
8b19cb17b9ae9e1cd4a96df6e7dedb75aff7ee96)
James Peach [Tue, 23 Oct 2007 05:03:40 +0000 (22:03 -0700)]
Reorder pthread mutex check so that it doesn't output its result
in the middle of the output for the winbind nss check.
(This used to be commit
1eddefa72cefd0c6836ddbe8eaef074ce732b0d9)
Simo Sorce [Mon, 8 Oct 2007 12:56:57 +0000 (12:56 +0000)]
r25573: Add my (C) as well
(cherry picked from commit
a024e27e7136deb87aeed995348a1c494a850ce6)
(This used to be commit
37ee6f498b175b8f3b7e75eba8dd7c709327384c)
Stefan Metzmacher [Mon, 8 Oct 2007 12:25:57 +0000 (12:25 +0000)]
r25571: split up child_dispatch_table into domain, idmap and locator tables
metze
(cherry picked from commit
abbb36a37c1dba2218a6c7ec31739eba5f250127)
(This used to be commit
5af1b45ed31043f952ec141d0f5f2973aec69d1a)
Stefan Metzmacher [Mon, 8 Oct 2007 11:15:28 +0000 (11:15 +0000)]
r25570: move code of the locator child into its own file
metze
(This used to be commit
56640908a6367acfdfd53568a0d329c13330e5eb)
Stefan Metzmacher [Mon, 8 Oct 2007 11:13:36 +0000 (11:13 +0000)]
r25569: move more idmap stuff into winbindd_idmap.c
metze
(cherry picked from commit
953229f040580071f6ee09413f67f7edd3227728)
(This used to be commit
590954407b5badfb9d6b8fb55077dc6a520fb816)
Stefan Metzmacher [Mon, 8 Oct 2007 11:11:46 +0000 (11:11 +0000)]
r25568: move idmap related functions into their own file.
the final goal is to have 3 child dispatch tables
'domain', 'idmap' and 'locator' instead of one.
metze
(cherry picked from commit
97c63f1b95190f3bcc1d9f34765934c97ffb720c)
(This used to be commit
a1c354866c04a305aa28a287dc6c72db1aa845a9)
Stefan Metzmacher [Mon, 8 Oct 2007 10:54:33 +0000 (10:54 +0000)]
r25567: make do_async() non static
metze
(cherry picked from commit
badc714d7f82f8d7c21ecfeab137efb57e970210)
(This used to be commit
d623b2fa710cfe7ef85b7e9dd84b274b081841ae)
Gerald (Jerry) Carter [Sun, 21 Oct 2007 18:44:29 +0000 (13:44 -0500)]
Fix compile error caused by unknown variable.
(This used to be commit
dfef16ac4318b460a5bd29475eb395c1905a5cd8)
Gerald (Jerry) Carter [Sun, 21 Oct 2007 17:39:15 +0000 (12:39 -0500)]
Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
(This used to be commit
33f690b3de03dc300590c3f69718f608b104a529)
Gerald (Jerry) Carter [Sun, 21 Oct 2007 17:32:06 +0000 (12:32 -0500)]
Correct VERSION and version.c to use SAMBA_VERSION_VENDOR_PATCH
which is used by mkversion.sh.
(This used to be commit
a62c7f9350322ab435244eafe6053fd5ee618973)
Volker Lendecke [Sun, 21 Oct 2007 15:05:34 +0000 (17:05 +0200)]
Don't segfault if locking.tdb can't be opened
Thanks to Steve Langasek <vorlon@debian.org>
(This used to be commit
67328bd27b1e881a4bcdd5160133afa9a267eaac)
Volker Lendecke [Sat, 20 Oct 2007 14:24:46 +0000 (16:24 +0200)]
Fix two type-punned warnings
(This used to be commit
04d660bbb371f859cc50a9f3ea7d358f74acfa8b)
Stefan Metzmacher [Sat, 20 Oct 2007 08:12:55 +0000 (10:12 +0200)]
fix move to OPT_LOG_STDOUT
metze
(This used to be commit
97f47e39139cef738a5f02980a0792417e0d365e)
Volker Lendecke [Fri, 19 Oct 2007 21:21:01 +0000 (23:21 +0200)]
Fix an incompatible pointer type warning
(This used to be commit
3c50caa9620899f982cd4a833356d965f47ec843)
Gerald (Jerry) Carter [Fri, 19 Oct 2007 20:54:32 +0000 (15:54 -0500)]
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
(This used to be commit
23d3db0c229fe5e1d69f890d87c2be39b356ffb5)
Michael Adam [Fri, 19 Oct 2007 20:42:28 +0000 (22:42 +0200)]
Streamline logic, reducing the amount of indentation.
Michael
(This used to be commit
aae3d04e30a0e6f21f661da3dc6a2835d31ce964)
Gerald (Jerry) Carter [Fri, 19 Oct 2007 13:14:12 +0000 (08:14 -0500)]
Add test for "struct in6_addr" to the HAVE_IPV6 configure test.
Also make use of "if defined(HAVE_IPV6)" rather than testing for
AF_INET6 since this is not sufficient on HP-UX 11.11 to ensure
a working IPv6 implementation.
(This used to be commit
620785df4e57b72471ff0315e22e0d2f28a2b1a5)
Gerald (Jerry) Carter [Fri, 19 Oct 2007 14:06:14 +0000 (09:06 -0500)]
Move the test for the AIX specific interface code to the end.
This tests goes into an infinite loop on OS X so avoid it.
Probably should also be only conditionaly be run on AIX in the
first place.
(This used to be commit
641d0968da73dca24a3ddaf93451de1200d3c09b)
Gerald (Jerry) Carter [Fri, 19 Oct 2007 19:36:34 +0000 (14:36 -0500)]
Fix a crash in resolve_hosts() caused by an out-of-bounds array reference.
(This used to be commit
bafcede2c29813f8719fc3b54f94612e72c48043)
Gerald (Jerry) Carter [Fri, 19 Oct 2007 19:36:34 +0000 (14:36 -0500)]
Fix a crash in resolve_hosts() caused by an out-of-bounds array reference.
(This used to be commit
fd28d09a95b31bdbc6babd13c5a4ed9fc9ef4bfd)
Jeremy Allison [Fri, 19 Oct 2007 18:38:36 +0000 (11:38 -0700)]
Fix the popt / bool issues. Some places we used BOOL
where we meant int. Fix this. Thanks to metze for
pointing this out.
Jeremy.
(This used to be commit
793a9d24a163cb6cf5a3a0aa5ae30e9f8cf4744a)
Günther Deschner [Fri, 19 Oct 2007 11:03:44 +0000 (13:03 +0200)]
Merge Tridge's fix for the winbind 32/64bit padding.
Guenther
(This used to be commit
36578b22f12a7de21df5a795d7702c10d19b1f3d)
Stefan Metzmacher [Fri, 19 Oct 2007 08:34:06 +0000 (10:34 +0200)]
fix startup of smbd, nmbd, winbindd
jra: POPT_ARG_VAL arguments need int values.
I assume there're more places like this
in the cmdline tools.
Please fix this properly, as my commit is just
a hack to get make test working again.
in samba4 we have a workaround for this see
smbd/server.c
metze
(This used to be commit
9cb1937fe8601e526b5c924930500e0a3b52abd5)
Jeremy Allison [Fri, 19 Oct 2007 00:40:25 +0000 (17:40 -0700)]
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
f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
Stefan Metzmacher [Thu, 18 Oct 2007 14:52:26 +0000 (16:52 +0200)]
Karolin Seeger [Thu, 18 Oct 2007 11:00:46 +0000 (13:00 +0200)]
Add net rap file user
(This used to be commit
2972c97e5e676964585de930601f083c19080735)
Stefan Metzmacher [Thu, 18 Oct 2007 09:04:58 +0000 (11:04 +0200)]
don't skip some tests which samba3 passes (at least on my laptop)
metze
(This used to be commit
d70ddad2e8fc2f533fb9211223c172c25878254e)
Stefan Metzmacher [Thu, 18 Oct 2007 09:03:18 +0000 (11:03 +0200)]
make gdb_backtrace executable
metze
(This used to be commit
f694df1919fe98c5efef36c867a2be6527efa6ed)
Stefan Metzmacher [Thu, 18 Oct 2007 08:55:59 +0000 (10:55 +0200)]
remove configure checks which are now in libreplace
metze
(This used to be commit
50d5eec508bd5b98b81825b4e20c06f698029fdf)
Stefan Metzmacher [Thu, 18 Oct 2007 08:54:37 +0000 (10:54 +0200)]
[libreplace] fix the standalone build of libreplace
all configure results which are used in replace.h
or any system/*.h should be in the in the libreplace
*.m4 files!
metze
(This used to be commit
1eefa0264bb1a304a30ec4c7c6e2392c627ee6a3)
Volker Lendecke [Mon, 5 Jun 2006 20:38:21 +0000 (20:38 +0000)]
r16050: Set the session key "SystemLibraryDTC" on ntlmssp binds. We only do INTEGRITY
and PRIVACY, so no other cases to take care of so far...
Andrew B., if you have time, could you take a look? This makes us survive the
RPC-SAMBA3SESSIONKEY test.
Volker
(cherry picked from commit
25cc1e7ff15675b70001d1cb8d8584880650dd2e)
(This used to be commit
b4746009735bf66b2578b884973c505b0363a79d)
Jeremy Allison [Wed, 17 Oct 2007 19:10:12 +0000 (12:10 -0700)]
Reformatting fix for new coding guidelines. BOOL ->bool.
Jeremy.
(This used to be commit
315215e20e1e470c5077122a2e250ecb3d45ce9b)
Stefan Metzmacher [Wed, 17 Oct 2007 13:21:48 +0000 (15:21 +0200)]
delete empty file lib/replace/system/getaddrinfo.h
metze
(This used to be commit
354bdd38e8714b789daffc897cd843a8d401be45)
Volker Lendecke [Sat, 15 Jul 2006 17:55:01 +0000 (17:55 +0000)]
r17064: lsa_GetUserName needs to return the name for S-1-5-7 on an anonymous login.
Found that because I want to play around with setsharesecurity, for this I
need the "whoami" call figuring out the SID of the currently connected user.
Not activating this test yet until the build farm has picked up the new samba4
revision.
Volker
(cherry picked from commit
5cfe482841b77208b68376f9e2b8a4a62271f7c9)
(This used to be commit
15935bad1d756d3896f0687108e60ca10a35a936)
Stefan Metzmacher [Wed, 17 Oct 2007 08:35:51 +0000 (10:35 +0200)]
fix crash bug in pidl generated client code, this
could have happend with [in,out,unique] pointers
when the clients sends a valid pointer, but the server
reponse with a NULL pointer (as samba-3.0.26a do for some calls).
I've tested with midl to see how windows handles this situation
and also the reverse case where the client sends NULL and
the server reposnse with non-NULL.
It appears that midl generated code just ignores this
and only copies the result if both pointers are non-NULL.
metze
(This used to be commit
cb98869fa189ce2a926a00fa9077a114f31a5d45)
Jeremy Allison [Tue, 16 Oct 2007 23:01:13 +0000 (16:01 -0700)]
Improve IPv4 detection.
Jeremy.
(This used to be commit
2ef50e325c2183385286b994216624dc3a309ff3)
Jeremy Allison [Tue, 16 Oct 2007 22:15:23 +0000 (15:15 -0700)]
Move #defined for getaddrinfo into network.h (as other
defines). Allows RHEL4 compile to work.
Jeremy.
(This used to be commit
0ffdf4fdeea88c21880c8bf69d8db56fb49effa7)
Jeremy Allison [Tue, 16 Oct 2007 19:22:58 +0000 (12:22 -0700)]
Added in missing def for AI_ADDRCONFIG.
Jeremy.
(This used to be commit
3ef3c3afc3f56b0f4fdb384d55d2e712060fbedf)
Jeremy Allison [Tue, 16 Oct 2007 18:33:37 +0000 (11:33 -0700)]
Fix access control code to be IPv6/v4 protocol independent.
Make unix_wild_match() talloc, not pstring based.
Next will be name resolution code, and client code.
Jeremy.
(This used to be commit
f6a01b82c5a47957659df08ea84e335dfbba1826)
Simo Sorce [Tue, 16 Oct 2007 18:16:03 +0000 (14:16 -0400)]
Fix default domains support using compat syntax.
Without this fix idmap_rid can't be used with the compatible syntax.
Includes fix to keep trusted domains working
(This used to be commit
8c770c367c71d118651964fef63e2fd0fa4a05a5)
Jeremy Allison [Mon, 15 Oct 2007 23:12:01 +0000 (16:12 -0700)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit
5c8adce3f368d51a67d74ae168a0f59a20e1d64c)
Jeremy Allison [Mon, 15 Oct 2007 23:11:48 +0000 (16:11 -0700)]
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
4a56b697b6adcf095e25895c4a9ba3192ed34124)
Jeremy Allison [Mon, 15 Oct 2007 22:52:30 +0000 (15:52 -0700)]
Fix warning messages for unused variables.
Jeremy.
(This used to be commit
406737cd9a34ac498e5823b380e1768d41e16c1b)
Alexander Bokovoy [Mon, 15 Oct 2007 03:24:44 +0000 (07:24 +0400)]
Correctly free memory in regfio paths
(This used to be commit
97f9a90b823887e808cca96eca7a041f121e6111)
Günther Deschner [Mon, 15 Oct 2007 17:10:19 +0000 (19:10 +0200)]
Add WERR_SERVICE_ALREADY_RUNNING.
Guenther
(This used to be commit
357f00384994946485a5190b6a9c493aeee53cd2)
Stefan Metzmacher [Mon, 15 Oct 2007 13:42:13 +0000 (15:42 +0200)]
rename getsmbpass -> rep_getpass and provide the function prototype
metze
(This used to be commit
96820f8d8f6522fc264efda0f069e2f6a420ac2e)
Stefan Metzmacher [Mon, 15 Oct 2007 13:41:06 +0000 (15:41 +0200)]
use "system/*.h" to get the system includes
metze
(This used to be commit
d20c2fa274297e9577ed28b8ed04806a425bdc57)
Stefan Metzmacher [Mon, 15 Oct 2007 09:02:24 +0000 (11:02 +0200)]
fix the compilation of getpass.c and it's configure test
metze
(This used to be commit
f4c0961a16a84dcdfe6e2faafb75c76983e6d466)
Jeremy Allison [Fri, 16 Jun 2006 23:07:42 +0000 (23:07 +0000)]
r16320: Ensure variable is not null before calling fclose. Klocwork #412. Jeremy.
(This used to be commit
33ee0cfb190a883229d0824d7194898fd8966ceb)
Jeremy Allison [Thu, 15 Jun 2006 05:32:21 +0000 (05:32 +0000)]
r16245: Cope with string being zero len. Klocwork bug #410. Jeremy.
(This used to be commit
46c12de07fe6f44bcf58ca9de276e7932384843d)
jmcd [Thu, 23 Oct 2003 13:47:17 +0000 (13:47 +0000)]
Volker's fix for bug #668. Change the \n after the password prompt to go to tty instead of stdout.
(This used to be commit
0cd1ed0424ce87f60070d43caffda41be6706d59)
Stefan Metzmacher [Fri, 5 Oct 2007 14:20:38 +0000 (16:20 +0200)]
reapply: Allow ^C to interrupt smbpasswd if using our getpass. from Jeremy
metze
(This used to be commit
d4ae42b1b2982dd786d6da16d7fa964d25fd3356)
Stefan Metzmacher [Fri, 5 Oct 2007 13:55:19 +0000 (15:55 +0200)]
reformat getpass() replacement code
metze
(This used to be commit
3e8f43e3cf97f10be4717978643ef3edca8650a5)
Stefan Metzmacher [Mon, 15 Oct 2007 08:59:50 +0000 (10:59 +0200)]
missing stuff from samba4's libreplace
metze
(This used to be commit
0177158d85797e0d22c81d88175a77d4ad5ed711)
metze [Wed, 10 Oct 2007 12:09:06 +0000 (12:09 +0000)]
don't imply "system/network.h" within replace.h,
as this brings in the socket_wrapper.h in unexpected
code and we endup with a missing 'swrap_close' while linking
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25602
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
(This used to be commit
ec8e3f7f92522c65ec472058321db8a7ac30ec4c)
Günter Kukkukk [Sun, 14 Oct 2007 23:16:01 +0000 (01:16 +0200)]
Latest ipv6 changes broke (deprecated) smbmount, smbmnt and smbctool
In addition some cleanup has been done to avoid compiler warnings.
(This used to be commit
29eb4d0e2d8ce4a0bd2a081265417684c8c69d6d)
Volker Lendecke [Sun, 14 Oct 2007 15:17:07 +0000 (17:17 +0200)]
Fix one more place for IFF_LOOPBACK
(This used to be commit
add1294562b76c38d5e471f280ca1167b4d8a93d)
Volker Lendecke [Sun, 14 Oct 2007 11:41:21 +0000 (13:41 +0200)]
Fix get_interfaces detection
During configure, we don't have config.h around yet, and we need strlcpy now.
(This used to be commit
483cf289c884f48df43f2ddce86b05b9c3e84920)
Jelmer Vernooij [Sat, 13 Oct 2007 22:56:27 +0000 (00:56 +0200)]
Jelmer Vernooij [Sat, 13 Oct 2007 21:39:46 +0000 (23:39 +0200)]
Ignore vim backup files.
(This used to be commit
84660aaab02338f22669bdf20af0f98607b6db17)
Jelmer Vernooij [Sat, 13 Oct 2007 21:36:16 +0000 (23:36 +0200)]