Jelmer Vernooij [Wed, 2 May 2007 16:09:33 +0000 (16:09 +0000)]
r22637: Install tdbbackup and tdbdump again.
Stefan Metzmacher [Wed, 2 May 2007 09:54:06 +0000 (09:54 +0000)]
r22635: make it possible to not turn off dns canonicalization of hostnames
with krb5:set_dns_canonicalize=yes
needed for the drsuapi replication, but we should fix this with
a kdc locator plugin ...
metze
Andrew Tridgell [Tue, 1 May 2007 21:29:42 +0000 (21:29 +0000)]
r22634: make the events system much less dependent on the samba4 build system
Andrew Tridgell [Tue, 1 May 2007 20:57:54 +0000 (20:57 +0000)]
r22632: merged volkers select events fix
Stefan Metzmacher [Tue, 1 May 2007 09:55:36 +0000 (09:55 +0000)]
r22629: if irpc gets freed within event_loop_once() we crash...
so deferr the freeing
metze
Stefan Metzmacher [Tue, 1 May 2007 09:06:25 +0000 (09:06 +0000)]
r22628: convert to new composite api
and free the smbcli_request explicit to fix a crash where
the request handler gets called after its private data is already
freed
metze
Stefan Metzmacher [Tue, 1 May 2007 08:43:52 +0000 (08:43 +0000)]
r22627: fix crash msgs_tmp isn't always initialized
and we don't need an extra allocated string anyway
metze
Stefan Metzmacher [Tue, 1 May 2007 04:12:54 +0000 (04:12 +0000)]
r22626: test member server with local and domain credentials
metze
Stefan Metzmacher [Tue, 1 May 2007 03:30:04 +0000 (03:30 +0000)]
r22625: hopefully fix make test on solaris
metze
Stefan Metzmacher [Tue, 1 May 2007 03:28:12 +0000 (03:28 +0000)]
r22624: - configure other auth methods for the member server
- use the netbiosname as domain and realm for the provision
of the member server
metze
Stefan Metzmacher [Tue, 1 May 2007 03:26:01 +0000 (03:26 +0000)]
r22623: export SMB_CONF_PATH from selftest.pl
metze
Stefan Metzmacher [Tue, 1 May 2007 03:25:17 +0000 (03:25 +0000)]
r22622: make it possible to pass the config file via 'SMB_CONF_PATH' envvar
very usefull for make testenv!
this makes it also possible to pass a config file to smbscript
metze
Stefan Metzmacher [Tue, 1 May 2007 03:22:17 +0000 (03:22 +0000)]
r22621: fix the 'sam' auth module
metze
Stefan Metzmacher [Tue, 1 May 2007 02:08:11 +0000 (02:08 +0000)]
r22620: fix compiler warnings
metze
Stefan Metzmacher [Tue, 1 May 2007 02:01:45 +0000 (02:01 +0000)]
r22619: fix pidl warnings
metze
Stefan Metzmacher [Tue, 1 May 2007 02:00:57 +0000 (02:00 +0000)]
r22618: handle the properties related to the type
and not to 'declare' to avoid a pidl warning with:
declare [switch_type(uint16)] union netr_Validation;
void foo([in] uint16 level, [in,switch_is(level)] netrValidation info);
metze
Stefan Metzmacher [Tue, 1 May 2007 01:57:17 +0000 (01:57 +0000)]
r22617: assume we have defered elements if the type is just provides via
'declare' this should fix the problem with the winbind IRPC calls
metze
Andrew Tridgell [Mon, 30 Apr 2007 22:38:27 +0000 (22:38 +0000)]
r22616: allow the unclist file to not specify a share name, and instead
inherit the share name from the command line if it is not
specified. This allows you to just specify the servers in the unclist,
and connect to the same share on all servers.
Andrew Bartlett [Mon, 30 Apr 2007 16:52:30 +0000 (16:52 +0000)]
r22612: Fix more cases where we have uninitialised values in the
composite_context, because we don't use the creation function.
Andrew Bartlett
Stefan Metzmacher [Mon, 30 Apr 2007 14:32:50 +0000 (14:32 +0000)]
r22610: fix build with included popt
metze
Stefan Metzmacher [Mon, 30 Apr 2007 13:24:00 +0000 (13:24 +0000)]
r22609: skip BASE-UTABLE (400s) and BASE-SMB (837s)
maybe we should have a "make completetest"
that includes all benchmark and scanner tests,
which we can run before doing a release...
metze
Stefan Metzmacher [Mon, 30 Apr 2007 13:17:19 +0000 (13:17 +0000)]
r22608: use a shorter share name as testparm complained about
a share name longer than 12 chars
metze
Stefan Metzmacher [Mon, 30 Apr 2007 13:13:49 +0000 (13:13 +0000)]
r22607: work with the solaris version of popt
metze
Stefan Metzmacher [Mon, 30 Apr 2007 13:03:03 +0000 (13:03 +0000)]
r22606: don't every try to prompt within make test...
metze
Jelmer Vernooij [Mon, 30 Apr 2007 12:48:42 +0000 (12:48 +0000)]
r22605: Set up all required environments before starting tests.
Jelmer Vernooij [Mon, 30 Apr 2007 11:27:41 +0000 (11:27 +0000)]
r22602: s/HAVE_SOCKET_IPV6/HAVE_IPV6/ to match the define used by Heimdal.
Stefan Metzmacher [Mon, 30 Apr 2007 11:16:50 +0000 (11:16 +0000)]
r22601: run net join with the correct socket_wrapper and krb5 configuration
metze
Jelmer Vernooij [Mon, 30 Apr 2007 10:49:42 +0000 (10:49 +0000)]
r22600: Update bzr ignores, put right version in .pc files, prepare for support of system versions of tdb, talloc.
Jelmer Vernooij [Mon, 30 Apr 2007 10:23:20 +0000 (10:23 +0000)]
r22599: Document member server.
Jelmer Vernooij [Mon, 30 Apr 2007 09:38:25 +0000 (09:38 +0000)]
r22598: Simplify includes for replace.
Stefan Metzmacher [Mon, 30 Apr 2007 09:35:32 +0000 (09:35 +0000)]
r22597: try to pass on some more boxes in the build-farm without timeout
metze
Jelmer Vernooij [Mon, 30 Apr 2007 08:53:56 +0000 (08:53 +0000)]
r22596: Set _CFLAGS variables rather than putting knowledge in the ldb Makefile.
This should make it easier to allow use of system tdb or talloc libs using
pkg-config.
Jelmer Vernooij [Mon, 30 Apr 2007 08:08:36 +0000 (08:08 +0000)]
r22595: Add version numbers.
Andrew Bartlett [Mon, 30 Apr 2007 06:55:23 +0000 (06:55 +0000)]
r22594: This helped coax out valgrind errors last night, but we don't need it any more.
Andrew Bartlett
Andrew Bartlett [Sun, 29 Apr 2007 21:40:48 +0000 (21:40 +0000)]
r22582: Cleanups towards making winbind work again. We still have a long way to go, as this has bitrotted over the past months.
This change in particular catches winbind up with the next
composite_create() function.
We also needed to remove an unused flags field, and fill in the lm
response.
Andrew Bartlett
Stefan Metzmacher [Sun, 29 Apr 2007 21:40:17 +0000 (21:40 +0000)]
r22581: disable BASE-UTABLE and BASE-SMB on the ntvfs/cifs share
we should maybe disable them complete they're protocol scanners!
and take more than 400s each
metze
Stefan Metzmacher [Sun, 29 Apr 2007 21:38:32 +0000 (21:38 +0000)]
r22580: remove not yet needed line...
metze
Stefan Metzmacher [Sun, 29 Apr 2007 21:37:29 +0000 (21:37 +0000)]
r22579: disable progress printing in the build-farm
metze
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.