summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-06-06ipv6: always try to convert as a numeric address firstAndrew Tridgell1-0/+9
This avoids unnecessary name lookups, plus it fixes a problem with using interpret_string_addr*() with the wildcard IPv6 address
2011-06-06s4-ipv6: added IPv6 support to samba_dnsupdateAndrew Tridgell2-7/+33
2011-06-06s4-ipv6: update callers to load_interface_list()Andrew Tridgell27-31/+31
2011-06-06s4-ipv6: allow ipv6 to be enabled/disabled in smb.confAndrew Tridgell1-11/+20
this adds the parametric option ipv6:enable=true/false It defaults to false for now, until the remaining issues with testing of ipv6 are resolved
2011-06-06s4-gpo: fixed display of GPO version numbersAndrew Tridgell1-1/+1
2011-06-06s4-ipv6: the wins replication server can only handle IPv4Andrew Tridgell1-0/+3
2011-06-06s4-webserver: fixed a talloc reference error on startup failureAndrew Tridgell2-3/+4
2011-06-06s4-ipv6: only listen on V4 addresses in the NBT serverAndrew Tridgell1-5/+12
NBT doesn't do IPv6
2011-06-06s4-ipv6: use "ip" instead of "ipv4" for serversAndrew Tridgell4-7/+7
this allows stream_setup_socket() to work with both v4 and v6 addresses
2011-06-06s4-ipv6: use iface_list_wildcard() to listen on IPv6Andrew Tridgell7-36/+89
when we need to listen on a wildcard address, we now listen on a list of sockets, usually 0.0.0.0 and ::
2011-06-06s4-ipv6: fixed stream_setup_socket() to handle IPv6Andrew Tridgell1-18/+27
for IP we now detect the address family from the address, rather than requiring the caller to specify it.
2011-06-06s4-ipv6: fixed ipv6_listen() to use IPV6_V6ONLYAndrew Tridgell1-4/+24
this changes ipv6_listen() to use IPV6_V6ONLY, and to setup the right scope id for link local IPv6 addresses
2011-06-06s4-ipv6: added socket_address_from_sockaddr_storage()Andrew Tridgell2-0/+48
this converts a struct sockaddr_storage to a struct socket_address
2011-06-06s4-ipv6: added ipv4 functions to interface codeAndrew Tridgell1-0/+32
this adds iface_list_first_v4() and iface_list_n_is_v4(). The NBT server will use these to allow it to listen only for IPv4 addresses.
2011-06-06s4-ipv6: fixed a warningAndrew Tridgell1-1/+1
2011-06-06s4-ipv6: allow IPv6 addresses in our interfaces listAndrew Tridgell1-5/+0
2011-06-06s4-ipv6: changed the default "socket address"Andrew Tridgell1-1/+1
this changes the default socket address to the empty string. This allows uses to specify 0.0.0.0 meaning to listen only on the IPv4 wildcard address.
2011-06-06s4-ipv6: added iface_list_wildcard()Andrew Tridgell2-1/+29
this returns a list of wildcard address to listen on, when we don't have 'bind interfaces only' set. It is a list, not a single address, we need to listen separately for the IPv6 "::" address from the IPv4 0.0.0.0 address. This also takes account of the loadparm "socket address" option
2011-06-05nss_wins: Add a stackframe to lookup_byname_backend()Volker Lendecke1-3/+7
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jun 5 15:17:42 CEST 2011 on sn-devel-104
2011-06-05s3: Make use of name_resolve_bcast in nmblookupVolker Lendecke1-21/+3
2011-06-05s3: Make name_resolve_bcast do parallel lookups to all interfacesVolker Lendecke1-21/+19
2011-06-05s3: Add name_queries_send/recvVolker Lendecke1-0/+231
2011-06-05s3: Fix a valgrind errorVolker Lendecke1-2/+2
For me this fixes ==1950== Invalid read of size 4 ==1950== at 0x81EBED5: GUID_equal (uuid.c:239) ==1950== by 0x81E51AB: ndr_syntax_id_equal (ndr_misc.c:35) ==1950== by 0x82EB0D1: get_iface_from_syntax (rpc_common.c:160) ==1950== by 0x82EB25E: get_pipe_name_from_syntax (rpc_common.c:179) ==1950== by 0x8509E4F: close_policy_by_pipe (rpc_handles.c:322) ==1950== by 0x8507941: close_internal_rpc_pipe_hnd (rpc_ncacn_np.c:109) ==1950== by 0x468270: _talloc_free_internal (talloc.c:826) ==1950== by 0x467EE0: _talloc_free_internal (talloc.c:1268) ==1950== by 0x467EE0: _talloc_free_internal (talloc.c:1268) ==1950== by 0x467EE0: _talloc_free_internal (talloc.c:1268) ==1950== by 0x467EE0: _talloc_free_internal (talloc.c:1268) ==1950== by 0x80E6487: sam_trusted_domains (winbindd_samr.c:406) ==1950== Address 0x687ea4 is 20 bytes inside a block of size 40 free'd ==1950== at 0x58CDC: free (in /usr/local/lib/valgrind/vgpreload_memcheck-x86-freebsd.so) ==1950== by 0x8507812: free_pipe_rpc_context_internal (rpc_ncacn_np.c:74) ==1950== by 0x8507936: close_internal_rpc_pipe_hnd (rpc_ncacn_np.c:106) ==1950== by 0x468270: _talloc_free_internal (talloc.c:826) ==1950== by 0x467EE0: _talloc_free_internal (talloc.c:1268) ==1950== by 0x467EE0: _talloc_free_internal (talloc.c:1268) ==1950== by 0x467EE0: _talloc_free_internal (talloc.c:1268) ==1950== by 0x467EE0: _talloc_free_internal (talloc.c:1268) ==1950== by 0x80E6487: sam_trusted_domains (winbindd_samr.c:406) ==1950== by 0x80C2F85: trusted_domains (winbindd_cache.c:2820) ==1950== by 0x80D5188: winbindd_dual_list_trusted_domains (winbindd_misc.c:162) ==1950== by 0x80E987F: wb_child_request_trigger (winbindd_dual.c:437) ==1950== Andreas, Guenther, please check! Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jun 5 13:19:39 CEST 2011 on sn-devel-104
2011-06-05s3:winbind: Convert WINBINDD_WINS_BYIP to the async APIVolker Lendecke6-73/+145
2011-06-04Make samba4.drs.fsmo.python knownfailVolker Lendecke1-0/+1
This frequently blocks autobuild for me, this time with Testing for rid role transfer from localdc.samba.example.com to localvampiredc.samba.example.com ERROR: Failed to initiate transfer of 'rid' role: LDAP error 52 LDAP_UNAVAILABLE - <Failed FSMO transfer: NT_STATUS_IO_TIMEOUT> <> UNEXPECTED(failure): samba4.drs.fsmo.python(vampire_dc).fsmo.DrsFsmoTestCase.test_RIDMasterTransfer REASON: _StringException: _StringException: Content-Type: text/x-traceback;charset=utf8,language=python traceback 36E Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/runtest.py", line 128, in _run_user return fn(*args) File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 368, in _run_test_method testMethod() File "/memdisk/vlendec/a/b5798/samba4/source4/torture/drs/python/fsmo.py", line 125, in test_RIDMasterTransfer self._role_transfer(role="rid", role_dn=self.rid_dn) File "/memdisk/vlendec/a/b5798/samba4/source4/torture/drs/python/fsmo.py", line 97, in _role_transfer self._net_fsmo_role_transfer(DC=self.dnsname_dc2, role=role) File "/memdisk/vlendec/a/b5798/samba4/source4/torture/drs/python/fsmo.py", line 68, in _net_fsmo_role_transfer self.assertEquals(ret, 0, "Transferring role %s to %s has failed!" % (role, DC)) AssertionError: Transferring role rid to localvampiredc.samba.example.com has failed! 0 NT_STATUS_IO_TIMEOUT -- does that mean that sn.samba.org is not powerful enough to run this test successfully? Volker Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jun 4 15:24:20 CEST 2011 on sn-devel-104
2011-06-04s3: Fix the build on FreeBSD 8Volker Lendecke1-0/+5
This is probably not the last word on gss_mech_krb5, but for now it fixes the build on FreeBSD
2011-06-04Add the same fix to the S3 event backend as the previous commit added to the ↵Jeremy Allison1-1/+14
tevent poll backend. Metze please check ! Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Jun 4 00:27:37 CEST 2011 on sn-devel-104
2011-06-03Fix the poll() backend to correctly respond to POLLHUP|POLLERR returns on a ↵Jeremy Allison1-1/+13
fd selected for TEVENT_FD_WRITE only. Don't trigger the write handler and remove the POLLOUT flag for this fd. Report errors on TEVENT_FD_READ requests only. Metze please check ! Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jun 3 22:53:52 CEST 2011 on sn-devel-104
2011-06-02In samba_version.m4 the test to get the version now returns severalHerb Lewis1-1/+1
lines instead of the one we really wanted which causes some spurious output when configure tries to print the samba version when it starts running. This is only a cosmetic problem but still looks ugly. Signed-off-by: Jeremy Allison <jra@samba.org>
2011-06-02Fix warning messages on Freebsd 4.6.2.Herb Lewis1-0/+2
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-06-02lib/tdb/python/tests/simple.py: don't assume TDB ordering.Rusty Russell1-1/+3
TDB2 can break this assumption. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Thu Jun 2 12:07:40 CEST 2011 on sn-devel-104
2011-06-02samba3sam.py: don't assume order of ldb results.Rusty Russell1-142/+164
Switching to tdb2 breaks this test horribly, because it relied on the order of TDB1 traversal. Fix it to sort te results (by db), then check them. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-02Remove another PATH_MAX.Jeremy Allison1-12/+27
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jun 2 02:51:06 CEST 2011 on sn-devel-104
2011-06-01Remove a PATH_MAX.Jeremy Allison1-2/+3
2011-06-02Fix const warnings.Jeremy Allison1-1/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jun 2 01:02:53 CEST 2011 on sn-devel-104
2011-06-01Fix const warning.Jeremy Allison1-1/+1
2011-06-01Fix const warning.Jeremy Allison1-1/+1
2011-06-01release_ip() is only used with CLUSTER_SUPPORT.Jeremy Allison1-1/+1
2011-06-01Fix type mixing warnings.Jeremy Allison1-2/+2
2011-06-01Fix bug where format arguments were reversed. Please compile with -Wall !Jeremy Allison1-2/+2
2011-06-01Move fd_close on error path to be identical to all other error paths.Jeremy Allison1-2/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jun 1 22:30:03 CEST 2011 on sn-devel-104
2011-06-01TALLOC_FREE already checks for null.Jeremy Allison1-3/+1
2011-06-01Fix bug #8175 - smbd deadlock.Jeremy Allison1-27/+71
Force the open operation (which is the expensive one anyway) to acquire and release locks in a way compatible with the more common do_lock check. Jeremy.
2011-06-01s3:net-man: registry enumerate_recursiveGregor Beck1-0/+7
Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Jun 1 17:16:05 CEST 2011 on sn-devel-104
2011-06-01s3:net-man: registry deletekey & deletekey_recursiveGregor Beck1-0/+8
Signed-off-by: Michael Adam <obnox@samba.org>
2011-06-01s3:net-man: missing dotGregor Beck1-1/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2011-06-01Revert "s3: Mark sockets in error state writable"Volker Lendecke1-23/+0
This reverts commit 5f6f71956460d6840c1433b59e20555268b622ac. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jun 1 14:56:25 CEST 2011 on sn-devel-104
2011-06-01s3-epmapper: Register ports on IPv4 too.Andreas Schneider2-2/+2
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Jun 1 13:14:53 CEST 2011 on sn-devel-104
2011-06-01s3-rpc_server: Remove unused variable pipes_open.Andreas Schneider1-4/+2
2011-06-01s3-rpc_server: Remove syntax from pipes_struct.Andreas Schneider3-3/+0