summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-ipv6: update callers to load_interface_list()Andrew Tridgell2011-06-0627-31/+31
|
* s4-ipv6: allow ipv6 to be enabled/disabled in smb.confAndrew Tridgell2011-06-061-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
* s4-gpo: fixed display of GPO version numbersAndrew Tridgell2011-06-061-1/+1
|
* s4-ipv6: the wins replication server can only handle IPv4Andrew Tridgell2011-06-061-0/+3
|
* s4-webserver: fixed a talloc reference error on startup failureAndrew Tridgell2011-06-062-3/+4
|
* s4-ipv6: only listen on V4 addresses in the NBT serverAndrew Tridgell2011-06-061-5/+12
| | | | NBT doesn't do IPv6
* s4-ipv6: use "ip" instead of "ipv4" for serversAndrew Tridgell2011-06-064-7/+7
| | | | | this allows stream_setup_socket() to work with both v4 and v6 addresses
* s4-ipv6: use iface_list_wildcard() to listen on IPv6Andrew Tridgell2011-06-067-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 ::
* s4-ipv6: fixed stream_setup_socket() to handle IPv6Andrew Tridgell2011-06-061-18/+27
| | | | | for IP we now detect the address family from the address, rather than requiring the caller to specify it.
* s4-ipv6: fixed ipv6_listen() to use IPV6_V6ONLYAndrew Tridgell2011-06-061-4/+24
| | | | | this changes ipv6_listen() to use IPV6_V6ONLY, and to setup the right scope id for link local IPv6 addresses
* s4-ipv6: added socket_address_from_sockaddr_storage()Andrew Tridgell2011-06-062-0/+48
| | | | this converts a struct sockaddr_storage to a struct socket_address
* s4-ipv6: added ipv4 functions to interface codeAndrew Tridgell2011-06-061-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.
* s4-ipv6: fixed a warningAndrew Tridgell2011-06-061-1/+1
|
* s4-ipv6: allow IPv6 addresses in our interfaces listAndrew Tridgell2011-06-061-5/+0
|
* s4-ipv6: changed the default "socket address"Andrew Tridgell2011-06-061-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.
* s4-ipv6: added iface_list_wildcard()Andrew Tridgell2011-06-062-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
* nss_wins: Add a stackframe to lookup_byname_backend()Volker Lendecke2011-06-051-3/+7
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jun 5 15:17:42 CEST 2011 on sn-devel-104
* s3: Make use of name_resolve_bcast in nmblookupVolker Lendecke2011-06-051-21/+3
|
* s3: Make name_resolve_bcast do parallel lookups to all interfacesVolker Lendecke2011-06-051-21/+19
|
* s3: Add name_queries_send/recvVolker Lendecke2011-06-051-0/+231
|
* s3: Fix a valgrind errorVolker Lendecke2011-06-051-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
* s3:winbind: Convert WINBINDD_WINS_BYIP to the async APIVolker Lendecke2011-06-056-73/+145
|
* Make samba4.drs.fsmo.python knownfailVolker Lendecke2011-06-041-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
* s3: Fix the build on FreeBSD 8Volker Lendecke2011-06-041-0/+5
| | | | | This is probably not the last word on gss_mech_krb5, but for now it fixes the build on FreeBSD
* Add the same fix to the S3 event backend as the previous commit added to the ↵Jeremy Allison2011-06-041-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
* Fix the poll() backend to correctly respond to POLLHUP|POLLERR returns on a ↵Jeremy Allison2011-06-031-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
* In samba_version.m4 the test to get the version now returns severalHerb Lewis2011-06-021-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>
* Fix warning messages on Freebsd 4.6.2.Herb Lewis2011-06-021-0/+2
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* lib/tdb/python/tests/simple.py: don't assume TDB ordering.Rusty Russell2011-06-021-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
* samba3sam.py: don't assume order of ldb results.Rusty Russell2011-06-021-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>
* Remove another PATH_MAX.Jeremy Allison2011-06-021-12/+27
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jun 2 02:51:06 CEST 2011 on sn-devel-104
* Remove a PATH_MAX.Jeremy Allison2011-06-011-2/+3
|
* Fix const warnings.Jeremy Allison2011-06-021-1/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jun 2 01:02:53 CEST 2011 on sn-devel-104
* Fix const warning.Jeremy Allison2011-06-011-1/+1
|
* Fix const warning.Jeremy Allison2011-06-011-1/+1
|
* release_ip() is only used with CLUSTER_SUPPORT.Jeremy Allison2011-06-011-1/+1
|
* Fix type mixing warnings.Jeremy Allison2011-06-011-2/+2
|
* Fix bug where format arguments were reversed. Please compile with -Wall !Jeremy Allison2011-06-011-2/+2
|
* Move fd_close on error path to be identical to all other error paths.Jeremy Allison2011-06-011-2/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jun 1 22:30:03 CEST 2011 on sn-devel-104
* TALLOC_FREE already checks for null.Jeremy Allison2011-06-011-3/+1
|
* Fix bug #8175 - smbd deadlock.Jeremy Allison2011-06-011-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.
* s3:net-man: registry enumerate_recursiveGregor Beck2011-06-011-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
* s3:net-man: registry deletekey & deletekey_recursiveGregor Beck2011-06-011-0/+8
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:net-man: missing dotGregor Beck2011-06-011-1/+1
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Revert "s3: Mark sockets in error state writable"Volker Lendecke2011-06-011-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
* s3-epmapper: Register ports on IPv4 too.Andreas Schneider2011-06-012-2/+2
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Jun 1 13:14:53 CEST 2011 on sn-devel-104
* s3-rpc_server: Remove unused variable pipes_open.Andreas Schneider2011-06-011-4/+2
|
* s3-rpc_server: Remove syntax from pipes_struct.Andreas Schneider2011-06-013-3/+0
|
* s3-rpc_server: Fixed debug messages of srv_pipe_hnd.Andreas Schneider2011-06-011-5/+5
|
* s3-rpc_server: Fixed debug messages for rpc_handles.Andreas Schneider2011-06-011-6/+7
|