summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2011-06-01s3-rpc_server: Fixed debug messages of srv_pipe_hnd.Andreas Schneider1-5/+5
2011-06-01s3-rpc_server: Fixed debug messages for rpc_handles.Andreas Schneider1-6/+7
2011-06-01s3-rpc_server: Fix debug messages.Andreas Schneider1-46/+20
2011-06-01s3-rpc_server: Don't segfault if there are not handles to free.Andreas Schneider1-0/+4
2011-06-01s3-rpc_server: Remove guessing of the syntax id.Andreas Schneider5-51/+11
This is only a wild guess. We don't know to which rpc service the client wants to talk until we read the the rpc bind packet.
2011-06-01s3-rpc_server: Use the correct syntax id for debugging.Andreas Schneider1-8/+11
2011-06-01s3-rpc_server: Migrate init_pipe_handles() to new syntax.Andreas Schneider1-8/+21
2011-06-01s3-rpc_server: Use the context syntax id in api_pipe_request().Andreas Schneider1-7/+7
2011-06-01s3-rpc_server: Use the correct syntax id in api_pipe_bind_req().Andreas Schneider1-19/+14
2011-06-01s3-rpc_server: Use the correct context syntax.Andreas Schneider1-2/+20
2011-06-01s3-rpc_server: Move the context functions to own file.Andreas Schneider5-22/+72
2011-06-01s3-rpc_server: Store the ndr syntax id in the pipe context.Andreas Schneider1-5/+6
The client tell us in the rpc bind to which rpc service it wants to connect. We did set the p->syntax earlier by guessing to which pipe name it connects, but we don't know to which rpc service it wants to bind until we read the first packet.
2011-06-01s3-rpc_server: Added syntax id to pipe_rpc_fns struct.Andreas Schneider1-1/+2
2011-06-01lib/tevent/tevent.h: minor documentation fix.Rusty Russell1-3/+3
The usecs arguments are (of course) microseconds, not milliseconds. This was added by Andreas Schneider in 6c1bcdc2 (tevent: Document the tevent helper functions.). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Wed Jun 1 11:47:38 CEST 2011 on sn-devel-104
2011-06-01libcli/cldap/cldap.c: don't hand huge values to tevent_timeval_add usecsRusty Russell1-2/+4
state->request.delay is two million here, resulting in an invalid timeval. Since tevent doesn't have a convenient wrapper to add arbitrary usecs, do the arithmetic here (it's the sole caller of this function). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-01lib/util/time.c: timeval_current_ofs_usecRusty Russell8-12/+26
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>
2011-06-01lib/util/time.c: timeval_current_ofs_msecRusty Russell8-14/+22
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>
2011-06-01samba-tool: update tests for new 'user enable' syntaxAndrew Tridgell2-2/+2
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Jun 1 10:37:50 CEST 2011 on sn-devel-104
2011-06-01samba-tool: improved error handling in user setexpiryAndrew Tridgell2-1/+9
2011-06-01samba-tool: improved user enable error handlingAndrew Tridgell2-1/+8
2011-06-01s4:samba-tool: Move samba-tool setexpiry to samba-tool user setexpiry <user>Theresa Halloran4-74/+41
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-01s4/samba-tool: Move samba-tool enableaccount to samba-tool user enable command.Theresa Halloran4-64/+45
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-01build: fixed a problem with installing scripts in the build treeAndrew Tridgell1-18/+9
the SAMBA_SCRIPT() function was not always triggering correctly. The base problem was that we were using a target outside the build tree. This implements a simpler solution where we just create the links directly in SAMBA_SCRIPT() rather than creating a waf task Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Jun 1 06:50:04 CEST 2011 on sn-devel-104