Age | Commit message (Collapse) | Author | Files | Lines |
|
The changes here start our own copy of BIND, listening on a new
interface that we create at the start of the script. The user must
specify the IP address etc that this interface will have, and BIND and
Samba will bind to that interface only.
This means that we won't conflict with an existing BIND on the system,
so long as it isn't configured to listen on all interfaces.
We also auto-create the /etc/resolv.conf and restore it at the end of
the script, using the existing server value from the script as a
forwarder.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Nov 23 08:30:34 CET 2010 on sn-devel-104
|
|
- Don't change the IP address if DHCP is not in use
The main reason to 'fix' the IP is to get around Dynamic DNS issues caused
by the DHCP server, if the VM is already on a fixed IP, it does not matter.
- Set the maximum telnet connection limit to 1024
This ensures that we can always make a new connection, regardless
of the existing configuration. We also catch more conditions when
the server has restricted the number of connections, and try again.
- Set the route after the connection drops out
My WinXP box always wants to drop the default route
- Set the DNS as a distinct step
My WinXP box drops the connection when we set DNS servers
Andrew Bartlett
|
|
|
|
Andrew Bartlett
|
|
These are not strings, but may get passed into this function on the
way to pexpect.
Andrew Bartlett
|
|
The idea here is that the virtual machine stays on the address
allocated by DHCP, but is configured statically. This avoids the need
to manually set the address on the host, but avoids the host being
instructed by DHCP not to do Dynamic DNS.
Andrew Bartlett
|
|
This avoids needing to set the krb5.conf for the whole host to match
the test environment.
Andrew Bartlett
|
|
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Nov 22 23:26:11 CET 2010 on sn-devel-104
|
|
|
|
|
|
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Nov 22 20:28:14 CET 2010 on sn-devel-104
|
|
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Mon Nov 22 18:39:06 CET 2010 on sn-devel-104
|
|
|
|
|
|
Although unlikely, Jelmer pointed out that using persistent
SamDB connections between test may interfere with tests
behaviour (and is not xUnit compliant anyway)
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Mon Nov 22 15:24:03 CET 2010 on sn-devel-104
|
|
Thus caller will be able to connect to SamDB and fetch
RootDSE info in a single step
|
|
Otherwise system_session() creates a LoadParm() instance
wich resets certain params to their defaults from smb.conf
("log level" for instance)
|
|
Thanks Tridge!
|
|
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Nov 22 12:31:33 CET 2010 on sn-devel-104
|
|
Guenther
|
|
Guenther
|
|
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Nov 22 00:52:56 CET 2010 on sn-devel-104
|
|
filter-subunit for the exit code.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Nov 21 23:56:23 CET 2010 on sn-devel-104
|
|
still work.
|
|
errorred.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Nov 21 21:13:00 CET 2010 on sn-devel-104
|
|
correct subunit libs
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Nov 21 16:21:54 CET 2010 on sn-devel-104
|
|
outcommented for the moment
It would be nice if someone could activate them as needed.
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Nov 21 14:41:53 CET 2010 on sn-devel-104
|
|
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Sun Nov 21 13:57:14 CET 2010 on sn-devel-104
|
|
|
|
|
|
|
|
|
|
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Nov 20 23:35:48 CET 2010 on sn-devel-104
|
|
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Nov 20 22:32:06 CET 2010 on sn-devel-104
|
|
- they don't need the allocated "ac" context
- some small code cleanups
|
|
And enhance the testsuite
|
|
|
|
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Nov 20 19:52:36 CET 2010 on sn-devel-104
|
|
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Nov 20 16:43:47 CET 2010 on sn-devel-104
|
|
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Nov 20 15:28:26 CET 2010 on sn-devel-104
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"unsigned int"
Since these are derived from a LDB result.
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Nov 20 11:29:07 CET 2010 on sn-devel-104
|
|
outside samba as well
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Nov 20 03:07:04 CET 2010 on sn-devel-104
|
|
module, change the signature of VFS_REALPATH to always return a
malloc'ed string.
Needed to make some privileges work I plan on doing shortly
easier to code.
Jeremy.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Nov 20 02:15:50 CET 2010 on sn-devel-104
|
|
And some small cleanups
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Nov 20 00:06:35 CET 2010 on sn-devel-104
|