Stefan Metzmacher [Sun, 29 Apr 2007 20:37:59 +0000 (20:37 +0000)]
r22575: move script/tests/ -> selftest/
as discussed with jelmer and abartlet
metze
Andrew Bartlett [Sun, 29 Apr 2007 15:24:49 +0000 (15:24 +0000)]
r22572: Don't manually set objectGUID values
Stefan Metzmacher [Sun, 29 Apr 2007 13:54:51 +0000 (13:54 +0000)]
r22571: - don't use "localhost" anymore in our tests
- use different passwords for dc and member
metze
Stefan Metzmacher [Sun, 29 Apr 2007 13:31:13 +0000 (13:31 +0000)]
r22570: run the NBT tests against DC and MEMBER
metze
Stefan Metzmacher [Sun, 29 Apr 2007 13:07:36 +0000 (13:07 +0000)]
r22569: use the $SERVER_IP for the LDAP-* tests because I'll later change
$SERVER from localhost to localdc.
we should find out why this is needed and add explicit name resolution
in related code...
metze
Stefan Metzmacher [Sun, 29 Apr 2007 13:05:53 +0000 (13:05 +0000)]
r22568: use the $SERVER_IP for the NET-* tests because I'll later change
$SERVER from localhost to localdc
mimir: please take a look why that's needed at all, as it shouldn't:-)
metze
Rafal Szczesniak [Sun, 29 Apr 2007 12:33:04 +0000 (12:33 +0000)]
r22567: add NET-API-DOMLIST test to automatic testing.
rafal
Rafal Szczesniak [Sun, 29 Apr 2007 12:32:17 +0000 (12:32 +0000)]
r22566: add a simple test of libnet_DomainList function.
rafal
Rafal Szczesniak [Sun, 29 Apr 2007 12:31:09 +0000 (12:31 +0000)]
r22565: add libnet_DomainList function.
rafal
Jeremy Allison [Sat, 28 Apr 2007 23:23:24 +0000 (23:23 +0000)]
r22563: As tridge requested remove the _strict calls - for Samba3 I'm moving
to a separate file.
Jeremy.
Andrew Bartlett [Sat, 28 Apr 2007 16:39:24 +0000 (16:39 +0000)]
r22559: Make the ad2OLschema tool case insensitive.
Andrew Bartlett
Andrew Bartlett [Sat, 28 Apr 2007 16:38:06 +0000 (16:38 +0000)]
r22558: Move to a static list of enctypes to put into our keytab. In future,
I'll allow this to be configured from the secrets.ldb, but it should
fix some user issues.
Andrew Bartlett
Andrew Bartlett [Sat, 28 Apr 2007 15:18:25 +0000 (15:18 +0000)]
r22557: Simo has long bugged me that the paths in the sam.ldb partitions were
not relative to the location of the sam.ldb, but instead
lp_private_dir().
This fixes that issue.
Andrew Bartlett
Andrew Bartlett [Sat, 28 Apr 2007 15:17:03 +0000 (15:17 +0000)]
r22556: Make the slapd command valid.
Andrew Bartlett
Stefan Metzmacher [Sat, 28 Apr 2007 09:34:32 +0000 (09:34 +0000)]
r22552: this doesn't need a dc
metze
Stefan Metzmacher [Sat, 28 Apr 2007 09:01:52 +0000 (09:01 +0000)]
r22551: use fixed passwords, to make it possible to reproduce stuff
and look into krb5 blobs when using wireshark on
--socket-wrapper-pcap created files
metze
Stefan Metzmacher [Sat, 28 Apr 2007 08:58:40 +0000 (08:58 +0000)]
r22550: nmblookup -U needs an ip address otherwise we depend on gethostbyname()
metze
Stefan Metzmacher [Sat, 28 Apr 2007 08:57:06 +0000 (08:57 +0000)]
r22549: export some more info ipaddress and in member env also the
details of the dc
metze
Stefan Metzmacher [Sat, 28 Apr 2007 08:48:11 +0000 (08:48 +0000)]
r22548: - maintain a global array of exported envvars
- make it possible to specify the envname for make testenv:
SELFTEST_TESTENV=member make testenv
metze
Stefan Metzmacher [Sat, 28 Apr 2007 08:43:51 +0000 (08:43 +0000)]
r22547: fix some pathes and make sure we work with relative and abslute prefix pathes
metze
Stefan Metzmacher [Sat, 28 Apr 2007 08:37:36 +0000 (08:37 +0000)]
r22546: use the same error codes in both share backends
metze
Stefan Metzmacher [Sat, 28 Apr 2007 08:00:51 +0000 (08:00 +0000)]
r22545: fix formating and a compiler warning
metze
Stefan Metzmacher [Sat, 28 Apr 2007 07:31:19 +0000 (07:31 +0000)]
r22544: use the same syntax as in all other files
maybe that fixes make test on all sun hosts...
metze
Jeremy Allison [Fri, 27 Apr 2007 22:04:27 +0000 (22:04 +0000)]
r22541: Added talloc_size_strict macro.
Jeremy.
Jeremy Allison [Fri, 27 Apr 2007 21:58:10 +0000 (21:58 +0000)]
r22540: Added _strict varients of the macro calls - added
prototypes.
Jeremy.
Jeremy Allison [Fri, 27 Apr 2007 21:09:16 +0000 (21:09 +0000)]
r22539: Added _strict varients of the talloc calls to
return NULL on size == 0 varients.
Jeremy.
Stefan Metzmacher [Fri, 27 Apr 2007 17:35:15 +0000 (17:35 +0000)]
r22538: same day late at night in au...:-)
fix the strcasecmp_m() returns 0 for a match
also use the correct array element to fill priv->dcinfo
the fixes the problems where ldb changes the order of the search results
when changing the main dc netbios name from "localhost" to "localtest"
metze
Stefan Metzmacher [Fri, 27 Apr 2007 14:31:26 +0000 (14:31 +0000)]
r22536: resolve name before passing to cldap
metze
Stefan Metzmacher [Fri, 27 Apr 2007 14:23:08 +0000 (14:23 +0000)]
r22535: pass down $(TESTS) to all test variants
metze
Stefan Metzmacher [Fri, 27 Apr 2007 14:17:28 +0000 (14:17 +0000)]
r22534: don't remove socket and fd_event before we told the
packet layer.
also fix double free (left over from cut-n-paste)
metze
Andrew Bartlett [Fri, 27 Apr 2007 11:13:37 +0000 (11:13 +0000)]
r22531: Fix up OpenLDAP schema map to almost pass 'make test'.
Andrew Bartlett
Stefan Metzmacher [Fri, 27 Apr 2007 10:06:34 +0000 (10:06 +0000)]
r22530: use message() to make --quiet work
metze
Stefan Metzmacher [Fri, 27 Apr 2007 05:45:53 +0000 (05:45 +0000)]
r22528: remember that the connection was marked dead and don't
allow sending packet over the broken connection,
as we would segfault...
metze
Andrew Bartlett [Thu, 26 Apr 2007 09:32:26 +0000 (09:32 +0000)]
r22523: Give a hint why this test fails (helped debugging backend issues).
Andrew Bartlett
Andrew Bartlett [Wed, 25 Apr 2007 16:36:46 +0000 (16:36 +0000)]
r22522: Print why we can't find these entries.
Andrew Bartlett
Andrew Bartlett [Wed, 25 Apr 2007 16:36:15 +0000 (16:36 +0000)]
r22521: Don't fail the module load just because we don't have a schema yet.
This code to be replaced by metze's schema loader soon...
Andrew Bartlett
Jelmer Vernooij [Wed, 25 Apr 2007 16:10:54 +0000 (16:10 +0000)]
r22520: Fix the TYPE command.
Rafal Szczesniak [Wed, 25 Apr 2007 15:24:01 +0000 (15:24 +0000)]
r22519: convert libnet_DomainOpenSamr function from state-handling routine
to composite_continue.
rafal
Jelmer Vernooij [Wed, 25 Apr 2007 14:18:22 +0000 (14:18 +0000)]
r22518: Create pkgconfig dir.
Jelmer Vernooij [Wed, 25 Apr 2007 13:31:38 +0000 (13:31 +0000)]
r22517: Use DESTDIR
Jelmer Vernooij [Wed, 25 Apr 2007 12:58:49 +0000 (12:58 +0000)]
r22516: Use DESTDIR
Stefan Metzmacher [Wed, 25 Apr 2007 12:36:12 +0000 (12:36 +0000)]
r22515: only steal pipe on success
metze
Jelmer Vernooij [Wed, 25 Apr 2007 12:30:25 +0000 (12:30 +0000)]
r22514: Add version numbers to tdb and talloc (required so they can be packaged independent of Samba for Debian).
Stefan Metzmacher [Wed, 25 Apr 2007 02:43:23 +0000 (02:43 +0000)]
r22508: at option for the startup delay
metze
Jelmer Vernooij [Tue, 24 Apr 2007 13:55:04 +0000 (13:55 +0000)]
r22503: Add support for dgram to socket_ipv6. No tests yet...
Rafal Szczesniak [Tue, 24 Apr 2007 09:35:55 +0000 (09:35 +0000)]
r22501: dispatching events explicitly is not necessary.
rafal
Rafal Szczesniak [Tue, 24 Apr 2007 09:10:43 +0000 (09:10 +0000)]
r22500: there's a better way to find out if there are any children
rafal
Rafal Szczesniak [Tue, 24 Apr 2007 08:36:41 +0000 (08:36 +0000)]
r22499: UsrCtx should be created within UsersView. Tree widget just
opens it and passes the domain name(s) to operate on (selectable
via combo box).
rafal
Andrew Bartlett [Tue, 24 Apr 2007 07:57:44 +0000 (07:57 +0000)]
r22498: The initial LDIF import into Fedora DS didn't work, so just push this
onto the end of dse.ldif.
This make Fedora DS work with multiple naming contexts.
Andrew Bartlett
Andrew Bartlett [Tue, 24 Apr 2007 05:57:56 +0000 (05:57 +0000)]
r22497: Support renaming objectclasses and attributes for the LDAP backend.
OpenLDAP is fussy about operational attributes in user-supplied
schema.
Andrew Bartlett
Andrew Bartlett [Mon, 23 Apr 2007 21:56:23 +0000 (21:56 +0000)]
r22494: Skip subSchema again, but we will need to remap this objectClass.
Make the Fedora DS backend test again.
Andrew Bartlett
Jelmer Vernooij [Mon, 23 Apr 2007 15:32:47 +0000 (15:32 +0000)]
r22488: Hopefully fix ipv6.
Rafal Szczesniak [Mon, 23 Apr 2007 13:37:33 +0000 (13:37 +0000)]
r22487: Add a separate widget class for listing users and reposition
things on NetManager's screen. Qooxdoo layout positioning can
be tricky sometimes...
rafal
Stefan Metzmacher [Mon, 23 Apr 2007 12:31:12 +0000 (12:31 +0000)]
r22486: add a flag to ignore timeouts of a request and don't close
the connection on timeout
metze
Stefan Metzmacher [Mon, 23 Apr 2007 10:39:20 +0000 (10:39 +0000)]
r22485: don't crash when the main dcerpc code haven't setup
transport.recv_data yet
also return always a usefull error
metze
Andrew Bartlett [Mon, 23 Apr 2007 07:33:15 +0000 (07:33 +0000)]
r22478: Update the LDAP backend code to handle initialisation of multiple
partitions onto the target LDAP server.
Make the LDAP provision run before smbd starts, then stop the LDAP
server. This ensures this occurs synchronously, We then restart it
for the 'real run' (with slapd's stdin being the FIFO).
This required fixing a few things in the provision scripts, with more
containers being created via a add/modify pair.
Andrew Bartlett
Andrew Bartlett [Mon, 23 Apr 2007 07:26:08 +0000 (07:26 +0000)]
r22477: When an invaild base is specified to ldb_search, it should return
LDB_ERR_NO_SUCH_OBJECT. Handle this (found against LDAP, ldb_tdb is
being updated).
Andrew Bartlett
Andrew Bartlett [Mon, 23 Apr 2007 07:25:09 +0000 (07:25 +0000)]
r22476: The OID match is used very oddly in AD, as it is often used for fields
that contain attribute names and objectClasses. Make it a case
insensitive string for now.
Andrew Bartlett
Andrew Bartlett [Mon, 23 Apr 2007 07:23:45 +0000 (07:23 +0000)]
r22475: Rather than segfault, show the name of the malformed entry.
Andrew Bartlett
Andrew Bartlett [Mon, 23 Apr 2007 07:22:16 +0000 (07:22 +0000)]
r22474: If ldb does not return sucess, then the res variable may not be valid.
It *should* just be NULL from the initialisation above, but I've had
this not be the case...
Andrew Bartlett
Stefan Metzmacher [Mon, 23 Apr 2007 00:43:47 +0000 (00:43 +0000)]
r22472: Commit the start of the DRSUAPI pull replication service.
It doesn't work completely yet because we aren't able to
resolve DNS SRV records. And also we also need a kdc locator
plugin...
But with some hacks the pull replication works fine
metze
Simo Sorce [Mon, 23 Apr 2007 00:36:49 +0000 (00:36 +0000)]
r22471: Convert more code to use proper LDB error codes.
This is a 1 to 1 convertion, next step is to make this
code report an error if the basedn is not used, hopefully
avoiding an explicit search on the base object in the most
common cases.
Stefan Metzmacher [Sun, 22 Apr 2007 23:00:22 +0000 (23:00 +0000)]
r22470: merge handling of broken connections from wins replication client code
to the rpc client code
we need to always ask for read events on the socket otherwise we never
get the connection error reported.
shutdown the transport when a request timeout.
metze
Jelmer Vernooij [Sun, 22 Apr 2007 15:59:34 +0000 (15:59 +0000)]
r22462: Fix test suite for ndr parser without using 'our'
Jelmer Vernooij [Sun, 22 Apr 2007 14:19:22 +0000 (14:19 +0000)]
r22457: Fix tests for Samba3 client generator.
Jelmer Vernooij [Sun, 22 Apr 2007 13:57:07 +0000 (13:57 +0000)]
r22456: Merge wireshark and ejs test improvements.
Stefan Metzmacher [Sun, 22 Apr 2007 11:40:11 +0000 (11:40 +0000)]
r22455: split dependecies array for compiling and linking and use better names:-)
calculate the CFLAGS only based on the public dependencies when recursing
metze
Stefan Metzmacher [Sun, 22 Apr 2007 11:28:12 +0000 (11:28 +0000)]
r22454: - let asn1_deps.pl calculate the dependencies depending on the IMPORT line in the asn1 file
- fix some heimdal dependencies
metze
Jelmer Vernooij [Sun, 22 Apr 2007 10:42:33 +0000 (10:42 +0000)]
r22453: Fix TDR testsuite without using our.
Stefan Metzmacher [Sun, 22 Apr 2007 10:37:51 +0000 (10:37 +0000)]
r22452: fix creation of MK_FILES variable in Makefile
metze
Stefan Metzmacher [Sun, 22 Apr 2007 10:33:59 +0000 (10:33 +0000)]
r22451: allow
SKIP_DEP_FILES=yes make
metze
Andrew Bartlett [Sun, 22 Apr 2007 09:17:25 +0000 (09:17 +0000)]
r22443: It isn't fatal to get the case wrong on this stuff.
Andrew Bartlett
Stefan Metzmacher [Sun, 22 Apr 2007 07:49:54 +0000 (07:49 +0000)]
r22442: fix the build without autodependencies
metze
Stefan Metzmacher [Sun, 22 Apr 2007 00:21:14 +0000 (00:21 +0000)]
r22440: fix autodependencies build
metze
Stefan Metzmacher [Sat, 21 Apr 2007 23:12:45 +0000 (23:12 +0000)]
r22439: fix some dependencies
metze
Stefan Metzmacher [Sat, 21 Apr 2007 23:02:49 +0000 (23:02 +0000)]
r22438: get rid of printf format warnings in heimdal code
metze
Stefan Metzmacher [Sat, 21 Apr 2007 22:33:23 +0000 (22:33 +0000)]
r22437: fix dependencies
metze
Stefan Metzmacher [Sat, 21 Apr 2007 22:07:10 +0000 (22:07 +0000)]
r22436: allow:
AUTOGEN_SKIP_SWAT=yes ./autogen.sh
metze
Andrew Bartlett [Sat, 21 Apr 2007 21:09:56 +0000 (21:09 +0000)]
r22427: Abort in a few more cases of failure to provision.
Andrew Bartlett
Andrew Tridgell [Sat, 21 Apr 2007 08:04:58 +0000 (08:04 +0000)]
r22424: fixed the bad merge (thanks to metze for pointing out)
Andrew Tridgell [Sat, 21 Apr 2007 07:37:21 +0000 (07:37 +0000)]
r22423: don't need popt here
Andrew Tridgell [Sat, 21 Apr 2007 07:25:40 +0000 (07:25 +0000)]
r22422: merged tdb changes from ctdb
Andrew Tridgell [Sat, 21 Apr 2007 07:23:42 +0000 (07:23 +0000)]
r22421: merged in latest ctdb changes from bzr
Stefan Metzmacher [Sat, 21 Apr 2007 07:21:08 +0000 (07:21 +0000)]
r22420: fix smbd timeout
metze
James Peach [Fri, 20 Apr 2007 17:55:36 +0000 (17:55 +0000)]
r22415: Remove test directory once we are finished. Merge -r 22393:22394
from SAMBA_3_0.
Stefan Metzmacher [Fri, 20 Apr 2007 17:13:52 +0000 (17:13 +0000)]
r22414: use more portable perl
hopefully fix solaris 8...
metze
Stefan Metzmacher [Fri, 20 Apr 2007 11:44:45 +0000 (11:44 +0000)]
r22410: disallow PUBLIC_ options on MODULE and BINARY
metze
Stefan Metzmacher [Fri, 20 Apr 2007 11:40:44 +0000 (11:40 +0000)]
r22409: try to fix selftest.pl on systems with old perl versions
metze
Stefan Metzmacher [Fri, 20 Apr 2007 11:29:45 +0000 (11:29 +0000)]
r22408: more private dependecies
split MODULE::DCESRV from SUBSYSTEM::dcerpc_server
metze
Stefan Metzmacher [Fri, 20 Apr 2007 11:28:25 +0000 (11:28 +0000)]
r22407: this dependecies should be private
metze
Stefan Metzmacher [Fri, 20 Apr 2007 11:04:13 +0000 (11:04 +0000)]
r22406: this dependencies should also be private
metze
Stefan Metzmacher [Fri, 20 Apr 2007 11:02:45 +0000 (11:02 +0000)]
r22405: fix memory leak in error path
metze
Stefan Metzmacher [Fri, 20 Apr 2007 11:00:20 +0000 (11:00 +0000)]
r22404: more dependencies which should be private
metze
Stefan Metzmacher [Fri, 20 Apr 2007 10:57:13 +0000 (10:57 +0000)]
r22403: this dependencies should be private
metze
Stefan Metzmacher [Fri, 20 Apr 2007 07:36:21 +0000 (07:36 +0000)]
r22400: only add srcdir and builddir path if they differ
metze
Stefan Metzmacher [Fri, 20 Apr 2007 06:57:07 +0000 (06:57 +0000)]
r22399: fix major memory leak
metze
Stefan Metzmacher [Fri, 20 Apr 2007 06:09:37 +0000 (06:09 +0000)]
r22398: try to let all tests pass 5400 seconds is not enough
with the amount of tests we run now.
metze
Stefan Metzmacher [Fri, 20 Apr 2007 05:58:31 +0000 (05:58 +0000)]
r22397: hopefully fix the build on some aix hosts in the build-farm
we need to make sure -Iheimdal/lib/gssapi comes before -I/usr/local/include
metze
Stefan Metzmacher [Fri, 20 Apr 2007 05:56:22 +0000 (05:56 +0000)]
r22396: remove unused vars
metze
Stefan Metzmacher [Thu, 19 Apr 2007 17:55:52 +0000 (17:55 +0000)]
r22387: see if this fixes the build on the aix1 hosts
metze