summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-param Remove 'sam database' parameterAndrew Bartlett2011-06-0610-26/+23
| | | | | | This now just relies on the private dir parameter, which remains. Andrew Bartlett
* s4-ipv6: fill in family when initialising from sockaddrAndrew Tridgell2011-06-061-1/+13
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Jun 6 05:35:36 CEST 2011 on sn-devel-104
* s4-ipv6: removed the old unused ipv6 code in dcerpc_sock.cAndrew Tridgell2011-06-061-43/+6
| | | | the code is now generic to both V4 and V6
* s4-ipv6: fix the address family for IPv6 string addressesAndrew Tridgell2011-06-061-0/+5
|
* s4-ipv6: allow for IPv6 in dcerpc socket callsAndrew Tridgell2011-06-061-2/+2
|
* s4-ipv6: allow for IPv6 in resolver top level callsAndrew Tridgell2011-06-061-4/+2
|
* s4-ipv6: use the server address familyAndrew Tridgell2011-06-061-1/+1
| | | | don't force v4 in connect_multi
* s4-ipv6: cope with IPv6 in our async DNS client codeAndrew Tridgell2011-06-061-28/+28
|
* s4-script: install some of the samba scripts in bin/ during buildAndrew Tridgell2011-06-062-0/+7
|
* s4-testparm: testparm is now part of samba_toolAndrew Tridgell2011-06-063-222/+1
|
* s4-ipv6: enable IPv6 by defaultAndrew Tridgell2011-06-061-2/+2
| | | | it now passes all tests
* s4-ipv6: fixed binding to ipv4 addressesAndrew Tridgell2011-06-061-1/+1
|
* s4-ipv6: removed an old commentAndrew Tridgell2011-06-061-1/+0
| | | | the comment is not correct any more
* s4-ipv6: don't add link local addresses to DNSAndrew Tridgell2011-06-061-1/+3
| | | | these make no sense as DNS addresses
* s4-ipv6: ensure wrepl server does not use ipv6Andrew Tridgell2011-06-062-1/+4
| | | | WINS only does IPv4
* s4-ipv6: added IPv6 support to samba_dnsupdateAndrew Tridgell2011-06-062-7/+33
|
* s4-ipv6: update callers to load_interface_list()Andrew Tridgell2011-06-0626-30/+30
|
* 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
* 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
* 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>
* lib/util/time.c: timeval_current_ofs_usecRusty Russell2011-06-014-4/+4
| | | | | | | | | | | | | | | Several places want "microseconds from current time", and several were simply handing "usecs" values which could be over a million. Using a helper to do this is safer and more readable. I didn't replace any obviously correct callers (ie. constants). I also renamed wait_nsec in source3/lib/util_sock.c; it's actually microseconds not nanoseconds (introduced with this code in Volker's 19b783cc Async wrapper for open_socket_out_send/recv). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* lib/util/time.c: timeval_current_ofs_msecRusty Russell2011-06-011-2/+1
| | | | | | | | | | Several places want "milliseconds from current time", and several were simply doing "msec * 1000" which can (and does in one place) result in a usec value over 1 a million. Using a helper to do this is safer and more readable. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* samba-tool: improved error handling in user setexpiryAndrew Tridgell2011-06-012-1/+9
|
* samba-tool: improved user enable error handlingAndrew Tridgell2011-06-012-1/+8
|
* s4:samba-tool: Move samba-tool setexpiry to samba-tool user setexpiry <user>Theresa Halloran2011-06-014-74/+41
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4/samba-tool: Move samba-tool enableaccount to samba-tool user enable command.Theresa Halloran2011-06-014-64/+45
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* librpc/ndr: add new LIBNDR_FLAG_STR_RAW8 for ndr_pull_stringSean Finney2011-06-013-1/+201
| | | | | | | | | | | | | | | | | | | | Introduce a new flag, LIBNDR_FLAG_STR_RAW8, which indicates that libndr should not attempt to convert the corresponding byte sequence, and place the responsibility on the caller to do so later. This is needed in cases where the string is known to be 8-bit and either NULL terminated or of known length, but in an unspecified character set. For example, when pulling PT_STRING8 properties from an exchange server via libmapi + libndr, the codepage is neither known nor in the control of the caller, and is determined by subsequent properties requested from the server. Therefore the client would like to fetch all properties in one large batch, and convert the resulting strings locally. This commit also includes some (basic) tests of each of the flags' respective behaviors with the ndr push/pull string functions, in a new source4 torture test suite ndr.ndr_string. Signed-off-by: Sean Finney <seanius@seanius.net>
* libcli/util Remove ntstatus_check_dos_mappingAndrew Bartlett2011-05-312-37/+0
| | | | | | | This has been set to true since the global loadparm was removed in 2008, and removes an #ifdef SAMBA_BUILD == 4 Andrew Bartlett
* s4-libcli Merge error map order with source3 errmap_unix.cAndrew Bartlett2011-05-311-26/+28
| | | | | | This makes it easier to see what the actual differences here are. Andrew Bartlett
* heimdal: Remove getprogname and setprogname from the heimdal importAndrew Bartlett2011-05-312-139/+0
|
* heimdal_build: Don't use heimdal's getprogname() and setprogname()Andrew Bartlett2011-05-312-6/+17
| | | | | | | Writing into an __progname variable spooks me, and if we use the local variable, then we duplciate the system one, which fails SYMBOLCHECK Andrew Bartlett
* s4:torture: fix SEGFAULT in raw.acl.dynamicGregor Beck2011-05-301-7/+8
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s4:samldb LDB module - check if the RODC group exists if creating an RODCMatthias Dieter Wallnöfer2011-05-251-13/+43
| | | | | | | | | | Older AD deployments simply don't have it and hence there is no RODC support. Reviewed-by: abartlet Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed May 25 10:26:37 CEST 2011 on sn-devel-104
* s4:samldb LDB module - better to call "samldb_prim_group_trigger"Matthias Dieter Wallnöfer2011-05-251-1/+1
| | | | | | | "samldb_prim_group_trigger" which as a wrapper calls "samldb_prim_group_change" for a LDB modify operation. Reviewed-by: abartlet
* s4:samldb LDB module - convert a "dsdb_module_search" into ↵Matthias Dieter Wallnöfer2011-05-251-5/+2
| | | | | | | | "dsdb_module_search_dn" It saves us from checking the number of returned entries. Reviewed-by: abartlet
* s4:sam.py - uncomment/enhance some account type testsMatthias Dieter Wallnöfer2011-05-251-30/+48
| | | | Reviewed-by: abartlet