obnox/samba/samba-obnox.git
16 years agoMove some access check functions that are not posix-acl specific
Michael Adam [Fri, 26 Oct 2007 17:50:55 +0000 (19:50 +0200)]
Move some access check functions that are not posix-acl specific
to a new source file of their own.

Michael

16 years agoDon't repeat fast-pathing...
Michael Adam [Thu, 25 Oct 2007 11:32:56 +0000 (13:32 +0200)]
Don't repeat fast-pathing...

Michael

16 years agoMerge commit 'origin/v3-2-test' into v3-2-obnox
Michael Adam [Wed, 24 Oct 2007 21:25:52 +0000 (23:25 +0200)]
Merge commit 'origin/v3-2-test' into v3-2-obnox

16 years agoThis is a large patch (sorry). Migrate from struct in_addr
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.

16 years agoFix for AIX interface code from Kyle Stemen <kstemen@centeris.com>
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.

16 years agohandle wellknown sids in winbindd_passwd.c
Stefan Metzmacher [Wed, 24 Oct 2007 11:19:35 +0000 (13:19 +0200)]
handle wellknown sids in winbindd_passwd.c

metze

16 years ago[crash fix] don't use already free'ed memory
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)

16 years agoignore source/cscope.out
Stefan Metzmacher [Wed, 24 Oct 2007 09:19:29 +0000 (11:19 +0200)]
ignore source/cscope.out

metze

16 years agoThis is a proposed patch for Bug #5023.
Michael Adam [Sat, 20 Oct 2007 00:17:07 +0000 (02:17 +0200)]
This is a proposed patch for Bug #5023.

The three can_* access check functions in smbd/posix_acls.c that are used in
smbd/open.c and smbd/nttrans.c explicitly called check_posix_acl_group_access()

This lead to errors with nfsv4 acls (ZFS and GPFS).

This changes the can_* functions to get the nt_acl via VFS layer and call
se_access_check on that. It also removes check_posix_acl_group_access()
which has no more callers.

NOTE: The can_* functions should really not be in smbd/posix_acls.c but
in a separate file (I propose smbd/access.c).

Michael

16 years agoadded a syncops VFS module for filesystems which do not guarantee meta-data operation...
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

16 years agoReorder pthread mutex check so that it doesn't output its result
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.

16 years agor25573: Add my (C) as well
Simo Sorce [Mon, 8 Oct 2007 12:56:57 +0000 (12:56 +0000)]
r25573: Add my (C) as well
(cherry picked from commit a024e27e7136deb87aeed995348a1c494a850ce6)

16 years agor25571: split up child_dispatch_table into domain, idmap and locator tables
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)

16 years agor25570: move code of the locator child into its own file
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

16 years agor25569: move more idmap stuff into winbindd_idmap.c
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)

16 years agor25568: move idmap related functions into their own file.
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)

16 years agor25567: make do_async() non static
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)

16 years agoFix compile error caused by unknown variable.
Gerald (Jerry) Carter [Sun, 21 Oct 2007 18:44:29 +0000 (13:44 -0500)]
Fix compile error caused by unknown variable.

16 years agoMerge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
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

16 years agoCorrect VERSION and version.c to use SAMBA_VERSION_VENDOR_PATCH
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.

16 years agoDon't segfault if locking.tdb can't be opened
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>

16 years agoFix two type-punned warnings
Volker Lendecke [Sat, 20 Oct 2007 14:24:46 +0000 (16:24 +0200)]
Fix two type-punned warnings

16 years agofix move to OPT_LOG_STDOUT
Stefan Metzmacher [Sat, 20 Oct 2007 08:12:55 +0000 (10:12 +0200)]
fix move to OPT_LOG_STDOUT

metze

16 years agoFix an incompatible pointer type warning
Volker Lendecke [Fri, 19 Oct 2007 21:21:01 +0000 (23:21 +0200)]
Fix an incompatible pointer type warning

16 years agoMerge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
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

16 years agoStreamline logic, reducing the amount of indentation.
Michael Adam [Fri, 19 Oct 2007 20:42:28 +0000 (22:42 +0200)]
Streamline logic, reducing the amount of indentation.

Michael

16 years agoAdd test for "struct in6_addr" to the HAVE_IPV6 configure test.
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.

16 years agoMove the test for the AIX specific interface code to the end.
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.

16 years agoFix a crash in resolve_hosts() caused by an out-of-bounds array reference.
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.

16 years agoFix a crash in resolve_hosts() caused by an out-of-bounds array reference.
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.

16 years agoFix the popt / bool issues. Some places we used BOOL
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.

16 years agoMerge Tridge's fix for the winbind 32/64bit padding.
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

16 years agofix startup of smbd, nmbd, winbindd
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

16 years agoRIP BOOL. Convert BOOL -> bool. I found a few interesting
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.

16 years agoremove reference to removed code
Stefan Metzmacher [Thu, 18 Oct 2007 14:52:26 +0000 (16:52 +0200)]
remove reference to removed code

see commit 9e5ad21e6793981a01f63f2de1c4d496ade0bb54

metze

16 years agoAdd net rap file user
Karolin Seeger [Thu, 18 Oct 2007 11:00:46 +0000 (13:00 +0200)]
Add net rap file user

16 years agodon't skip some tests which samba3 passes (at least on my laptop)
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

16 years agomake gdb_backtrace executable
Stefan Metzmacher [Thu, 18 Oct 2007 09:03:18 +0000 (11:03 +0200)]
make gdb_backtrace executable

metze

16 years agoremove configure checks which are now in libreplace
Stefan Metzmacher [Thu, 18 Oct 2007 08:55:59 +0000 (10:55 +0200)]
remove configure checks which are now in libreplace

metze

16 years ago[libreplace] fix the standalone build of libreplace
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

16 years agor16050: Set the session key "SystemLibraryDTC" on ntlmssp binds. We only do INTEGRITY
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)

16 years agoReformatting fix for new coding guidelines. BOOL ->bool.
Jeremy Allison [Wed, 17 Oct 2007 19:10:12 +0000 (12:10 -0700)]
Reformatting fix for new coding guidelines. BOOL ->bool.
Jeremy.

16 years agodelete empty file lib/replace/system/getaddrinfo.h
Stefan Metzmacher [Wed, 17 Oct 2007 13:21:48 +0000 (15:21 +0200)]
delete empty file lib/replace/system/getaddrinfo.h

metze

16 years agor17064: lsa_GetUserName needs to return the name for S-1-5-7 on an anonymous login.
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)

16 years agofix crash bug in pidl generated client code, this
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

16 years agoImprove IPv4 detection.
Jeremy Allison [Tue, 16 Oct 2007 23:01:13 +0000 (16:01 -0700)]
Improve IPv4 detection.
Jeremy.

16 years agoMove #defined for getaddrinfo into network.h (as other
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.

16 years agoAdded in missing def for AI_ADDRCONFIG.
Jeremy Allison [Tue, 16 Oct 2007 19:22:58 +0000 (12:22 -0700)]
Added in missing def for AI_ADDRCONFIG.
Jeremy.

16 years agoFix access control code to be IPv6/v4 protocol independent.
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.

16 years agoFix default domains support using compat syntax.
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

16 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
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

16 years agoMove to protocol independent code in most of lib/util_sock.c
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.

16 years agoFix warning messages for unused variables.
Jeremy Allison [Mon, 15 Oct 2007 22:52:30 +0000 (15:52 -0700)]
Fix warning messages for unused variables.
Jeremy.

16 years agoCorrectly free memory in regfio paths
Alexander Bokovoy [Mon, 15 Oct 2007 03:24:44 +0000 (07:24 +0400)]
Correctly free memory in regfio paths

16 years agoAdd WERR_SERVICE_ALREADY_RUNNING.
Günther Deschner [Mon, 15 Oct 2007 17:10:19 +0000 (19:10 +0200)]
Add WERR_SERVICE_ALREADY_RUNNING.

Guenther

16 years agorename getsmbpass -> rep_getpass and provide the function prototype
Stefan Metzmacher [Mon, 15 Oct 2007 13:42:13 +0000 (15:42 +0200)]
rename getsmbpass -> rep_getpass and provide the function prototype

metze

16 years agouse "system/*.h" to get the system includes
Stefan Metzmacher [Mon, 15 Oct 2007 13:41:06 +0000 (15:41 +0200)]
use "system/*.h" to get the system includes

metze

16 years agofix the compilation of getpass.c and it's configure test
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

16 years agor16320: Ensure variable is not null before calling fclose. Klocwork #412. Jeremy.
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.

16 years agor16245: Cope with string being zero len. Klocwork bug #410. Jeremy.
Jeremy Allison [Thu, 15 Jun 2006 05:32:21 +0000 (05:32 +0000)]
r16245: Cope with string being zero len. Klocwork bug #410. Jeremy.

16 years agoVolker's fix for bug #668. Change the \n after the password prompt to go to tty inste...
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.

16 years agoreapply: Allow ^C to interrupt smbpasswd if using our getpass. from Jeremy
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

16 years agoreformat getpass() replacement code
Stefan Metzmacher [Fri, 5 Oct 2007 13:55:19 +0000 (15:55 +0200)]
reformat getpass() replacement code

metze

16 years agomissing stuff from samba4's libreplace
Stefan Metzmacher [Mon, 15 Oct 2007 08:59:50 +0000 (10:59 +0200)]
missing stuff from samba4's libreplace

metze

16 years agodon't imply "system/network.h" within replace.h,
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

16 years agoLatest ipv6 changes broke (deprecated) smbmount, smbmnt and smbctool
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.

16 years agoFix one more place for IFF_LOOPBACK
Volker Lendecke [Sun, 14 Oct 2007 15:17:07 +0000 (17:17 +0200)]
Fix one more place for IFF_LOOPBACK

16 years agoFix get_interfaces detection
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.

16 years agoMerge commit '5e95c548864bc8b075b8343e69a69e1a22c92456' into 3.2-trivial
Jelmer Vernooij [Sat, 13 Oct 2007 22:56:27 +0000 (00:56 +0200)]
Merge commit '5e95c548864bc8b075b8343e69a69e1a22c92456' into 3.2-trivial

16 years agoIgnore vim backup files.
Jelmer Vernooij [Sat, 13 Oct 2007 21:39:46 +0000 (23:39 +0200)]
Ignore vim backup files.

16 years agoFix typo.
Jelmer Vernooij [Sat, 13 Oct 2007 21:36:16 +0000 (23:36 +0200)]
Fix typo.

16 years agoUse strlcpy instead of strncpy
Volker Lendecke [Sat, 13 Oct 2007 14:50:31 +0000 (16:50 +0200)]
Use strlcpy instead of strncpy

16 years agoFix an uninitialized variable warning
Volker Lendecke [Sat, 13 Oct 2007 14:43:07 +0000 (16:43 +0200)]
Fix an uninitialized variable warning

16 years agoFix a segfault with an unknown interface
Volker Lendecke [Sat, 13 Oct 2007 14:27:52 +0000 (16:27 +0200)]
Fix a segfault with an unknown interface

"interfaces = foo" with "foo" not being a known interface segfaulted for me.

16 years agoAlso find loopback interfaces
Volker Lendecke [Sat, 13 Oct 2007 14:26:42 +0000 (16:26 +0200)]
Also find loopback interfaces

Not sure if a loopback interface is actually a broadcast one.

16 years agoremove unused print_test.c code
Stefan Metzmacher [Sat, 13 Oct 2007 13:09:24 +0000 (15:09 +0200)]
remove unused print_test.c code

metze

16 years agoDummy formatting commit to check I've set up my home git
Jeremy Allison [Sat, 13 Oct 2007 04:50:41 +0000 (21:50 -0700)]
Dummy formatting commit to check I've set up my home git
correctly.

16 years agoConvert get_peer_addr() to IPv6. Only is_myname_or_ipaddr()
Jeremy Allison [Fri, 12 Oct 2007 20:38:04 +0000 (13:38 -0700)]
Convert get_peer_addr() to IPv6. Only is_myname_or_ipaddr()
lefto to do then I can fix the lib/access.c functions.
Jeremy.

16 years agoMerge branch 'v3-2-stable' into my_branch
Jelmer Vernooij [Fri, 12 Oct 2007 17:41:01 +0000 (19:41 +0200)]
Merge branch 'v3-2-stable' into my_branch

16 years agoFix valgrind window title.
Jelmer Vernooij [Fri, 12 Oct 2007 16:42:45 +0000 (18:42 +0200)]
Fix valgrind window title.

16 years agocleanup and extent .gitignore
Stefan Metzmacher [Fri, 12 Oct 2007 14:46:24 +0000 (16:46 +0200)]
cleanup and extent .gitignore

metze

16 years agoRevert "Remove superfluous quotation marks around samba version"
Michael Adam [Fri, 12 Oct 2007 14:15:28 +0000 (16:15 +0200)]
Revert "Remove superfluous quotation marks around samba version"

This reverts commit 016795c550ee0b78fa46c508703fb5e1e40d8f36.

These quotation marks are not superfluous at all... sorry!

Michael

16 years agoRemove superfluous quotation marks around samba version
Michael Adam [Fri, 12 Oct 2007 12:39:35 +0000 (14:39 +0200)]
Remove superfluous quotation marks around samba version
vendor suffix.

Michael

16 years agoAdd become_root/unbecome_root around one call of getsampwsid()
Michael Adam [Fri, 12 Oct 2007 11:20:07 +0000 (13:20 +0200)]
Add become_root/unbecome_root around one call of getsampwsid()
in create_token_from_username(). This caused set_nt_acl to
partially fail in certain circumstances.

This is expected to bring an improvement to bug #4308.

Michael

16 years agoFix the build WITH_DNS_UPDATES.
Günther Deschner [Fri, 12 Oct 2007 09:37:03 +0000 (11:37 +0200)]
Fix the build WITH_DNS_UPDATES.
Jeremy, please have a look.

Guenther

16 years agooffsetof() is always present as shown in some
Stefan Metzmacher [Fri, 12 Oct 2007 08:06:27 +0000 (10:06 +0200)]
offsetof() is always present as shown in some
libreplace testing.

metze

16 years agoTry and fix segfault found by Guenther on Fedora. Fedora
Jeremy Allison [Fri, 12 Oct 2007 01:03:12 +0000 (18:03 -0700)]
Try and fix segfault found by Guenther on Fedora. Fedora
seems to return bogus values for the interface entries on
vmnet and tun interfaces.
Jeremy.

16 years agoAdd const to the get_peer_addr() and get_socket_addr()
Jeremy Allison [Thu, 11 Oct 2007 22:36:13 +0000 (15:36 -0700)]
Add const to the get_peer_addr() and get_socket_addr()
calls. Use the IPv6 varient for get_peer_addr().
Jeremy.

16 years agoRemove bogus comment
Volker Lendecke [Tue, 2 Oct 2007 02:27:28 +0000 (19:27 -0700)]
Remove bogus comment

16 years agoMerge commit 'origin/v3-2-test' into my_branch
Guenther Deschner [Thu, 11 Oct 2007 13:18:50 +0000 (15:18 +0200)]
Merge commit 'origin/v3-2-test' into my_branch

16 years agoRename krb5 locator plugin to "winbind_krb5_locator".
Guenther Deschner [Thu, 11 Oct 2007 13:12:12 +0000 (15:12 +0200)]
Rename krb5 locator plugin to "winbind_krb5_locator".

Guenther

16 years agoprepare the mkversion.sh infrastructure for git branches in the build-farm
Stefan Metzmacher [Thu, 11 Oct 2007 10:27:38 +0000 (12:27 +0200)]
prepare the mkversion.sh infrastructure for git branches in the build-farm

metze

16 years agoSAMBA_VERSION_VENDOR_SUFFIX doesn't need an extra '-'
Stefan Metzmacher [Thu, 11 Oct 2007 08:53:55 +0000 (10:53 +0200)]
SAMBA_VERSION_VENDOR_SUFFIX doesn't need an extra '-'

metze

16 years agoAdded missing is_ipaddress is_ipaddress_v4 not in initial
Jeremy Allison [Thu, 11 Oct 2007 01:47:41 +0000 (18:47 -0700)]
Added missing is_ipaddress is_ipaddress_v4 not in initial
port from old svn code.
Jeremy.

16 years agoAdd start of IPv6 implementation. Currently most of this is avoiding
Jeremy Allison [Thu, 11 Oct 2007 01:25:16 +0000 (18:25 -0700)]
Add start of IPv6 implementation. Currently most of this is avoiding
IPv6 in winbindd, but moves most of the socket functions that were
wrongly in lib/util.c into lib/util_sock.c and provides generic
IPv4/6 independent versions of most things. Still lots of work
to do, but now I can see how I'll fix the access check code.
Nasty part that remains is the name resolution code which is
used to returning arrays of in_addr structs.
Jeremy.

16 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into SAMBA_3_2_0
Jeremy Allison [Thu, 11 Oct 2007 00:56:55 +0000 (17:56 -0700)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into SAMBA_3_2_0

16 years agoMerge from metze of libreplace header changes
Jeremy Allison [Thu, 11 Oct 2007 00:56:19 +0000 (17:56 -0700)]
Merge from metze of libreplace header changes

16 years agoMerge commit 'origin/v3-2-test' into my_branch
Guenther Deschner [Thu, 11 Oct 2007 00:43:29 +0000 (02:43 +0200)]
Merge commit 'origin/v3-2-test' into my_branch

16 years agoMerge commit 'origin/v3-2-test' into my_branch
Guenther Deschner [Thu, 11 Oct 2007 00:33:07 +0000 (02:33 +0200)]
Merge commit 'origin/v3-2-test' into my_branch

16 years agoMerge branch 'v3-2-test' of git://git.samba.org/samba into SAMBA_3_2
Jeremy Allison [Thu, 11 Oct 2007 00:28:21 +0000 (17:28 -0700)]
Merge branch 'v3-2-test' of git://git.samba.org/samba into SAMBA_3_2