bbaumbach/samba-autobuild/.git
16 years agor18058: we don't actually need __VA_ARGS__ yet (its another C99 feature which
Andrew Tridgell [Tue, 5 Sep 2006 04:23:11 +0000 (04:23 +0000)]
r18058: we don't actually need __VA_ARGS__ yet (its another C99 feature which
I don't think we use anywhere)
(This used to be commit bac8d5ce28e86b703a917902f44588746d7e8290)

16 years agor18057: fixed an #ifdef
Andrew Tridgell [Tue, 5 Sep 2006 04:19:16 +0000 (04:19 +0000)]
r18057: fixed an #ifdef
(This used to be commit e4c3b9ea2fd47540f693ced2fa6b7aa55372315b)

16 years agor18056: includes needed for O_CREAT
Andrew Tridgell [Tue, 5 Sep 2006 02:05:36 +0000 (02:05 +0000)]
r18056: includes needed for O_CREAT
(This used to be commit 0b80ee8b3b17d4914010c9a54d5c2dcb69738990)

16 years agor18055: aix needs time.h for timegm.c to compile
Andrew Tridgell [Tue, 5 Sep 2006 02:03:22 +0000 (02:03 +0000)]
r18055: aix needs time.h for timegm.c to compile
(This used to be commit 1c91de687f0078100aa9de9111416c9fced45990)

16 years agor18054: snprintf.c needs to use replace.h to get the rep_vasprintf and related
Andrew Tridgell [Tue, 5 Sep 2006 01:54:49 +0000 (01:54 +0000)]
r18054: snprintf.c needs to use replace.h to get the rep_vasprintf and related
macros
(This used to be commit 3917436ff733f8ee1925e646eec2331190d79663)

16 years agor18053: the sig_atomic_t test needs to be in libreplace for getpass.c to
Andrew Tridgell [Tue, 5 Sep 2006 01:50:52 +0000 (01:50 +0000)]
r18053: the sig_atomic_t test needs to be in libreplace for getpass.c to
compile on hpux
(This used to be commit a0bd4f5c4a08f4815aa742cc2406ed8e46d7b8f5)

16 years agor18052: discard_const_p() isn't part of the libreplace API, so we can't use it
Andrew Tridgell [Mon, 4 Sep 2006 22:58:55 +0000 (22:58 +0000)]
r18052: discard_const_p() isn't part of the libreplace API, so we can't use it
inside libreplace.
(This used to be commit 5745ecdd826c387137a742f32ee3c8f60191a6a7)

16 years agor18051: - add gcc warning flags
Andrew Tridgell [Mon, 4 Sep 2006 22:49:30 +0000 (22:49 +0000)]
r18051: - add gcc warning flags

- fix piles of warnings and ftruncate bug in libreplace testsuite
(This used to be commit f5fc88f0c4c752a2773d5280ed4d94818e2d4744)

16 years agor18050: Run more NET tests on the build farm.
Rafal Szczesniak [Mon, 4 Sep 2006 20:48:29 +0000 (20:48 +0000)]
r18050: Run more NET tests on the build farm.

rafal
(This used to be commit 2185e978891617f2e3ad4428df55269bcdf62443)

16 years agor18046: Add 'z' specifier support and a configure test.
Simo Sorce [Mon, 4 Sep 2006 16:30:40 +0000 (16:30 +0000)]
r18046: Add 'z' specifier support and a configure test.

Jeremy should I backport this to samba3 too?
(This used to be commit dc689b5579987da8ee5397b9758a42b01e44fb73)

16 years agor18045: Update format, list "test" target as phony.
Jelmer Vernooij [Mon, 4 Sep 2006 13:47:57 +0000 (13:47 +0000)]
r18045: Update format, list "test" target as phony.
(This used to be commit 1f431dcd0a1f9a2cd5a0a3b73fbf8b05b8bc6793)

16 years agor18044: timegm.c needs to be in a separate file
Andrew Tridgell [Mon, 4 Sep 2006 13:35:03 +0000 (13:35 +0000)]
r18044: timegm.c needs to be in a separate file
(This used to be commit 3ec1db7bd12cdc233c37f261073a33fc48ecd7ce)

16 years agor18043: added strlcpy() test
Andrew Tridgell [Mon, 4 Sep 2006 13:28:54 +0000 (13:28 +0000)]
r18043: added strlcpy() test
(This used to be commit a68b3395199d2d47af3b23959e6da7109a9c5193)

16 years agor18042: testsuite needs to link to libreplace.a :-)
Andrew Tridgell [Mon, 4 Sep 2006 13:27:16 +0000 (13:27 +0000)]
r18042: testsuite needs to link to libreplace.a :-)
(This used to be commit d359dea98eceadb4881578f70d8f4453ec0a2b88)

16 years agor18041: started on the bodies of the testsuite functions for libreplace
Andrew Tridgell [Mon, 4 Sep 2006 13:10:49 +0000 (13:10 +0000)]
r18041: started on the bodies of the testsuite functions for libreplace
(This used to be commit a2a6782ec721312e329cd16b609fb3eff8ad284d)

16 years agor18040: Use only one strnlen implementation
Jelmer Vernooij [Mon, 4 Sep 2006 13:10:14 +0000 (13:10 +0000)]
r18040: Use only one strnlen implementation
(This used to be commit 9a421425d242f6e0385414121c114c7c62ea1aaa)

16 years agor18039: Include header with time_t if needed.
Jelmer Vernooij [Mon, 4 Sep 2006 13:07:29 +0000 (13:07 +0000)]
r18039: Include header with time_t if needed.
(This used to be commit b0cfdd24be88ba3963eb43cdbcb6317e65aed57b)

16 years agor18038: make test fns static
Andrew Tridgell [Mon, 4 Sep 2006 12:57:40 +0000 (12:57 +0000)]
r18038: make test fns static
(This used to be commit 2dda101a5fcc40702df9fa2f932d6fe97ae64163)

16 years agor18037: added 'make installcheck' target
Andrew Tridgell [Mon, 4 Sep 2006 12:56:14 +0000 (12:56 +0000)]
r18037: added 'make installcheck' target
(This used to be commit 34f173d8cb23a3e12e94744b696343757b837066)

16 years agor18036: Add missing file
Jelmer Vernooij [Mon, 4 Sep 2006 12:49:17 +0000 (12:49 +0000)]
r18036: Add missing file
(This used to be commit 9ad8075d702d67fc82974e1ef2cfbcaefb2028f5)

16 years agor18035: - fixed 'make clean' to remove test objects
Andrew Tridgell [Mon, 4 Sep 2006 12:39:41 +0000 (12:39 +0000)]
r18035: - fixed 'make clean' to remove test objects

- fixed 'make install' to create target dir

should be ready to go into the build farm as a standalone build now?
(This used to be commit 5feaeaf1dc6434874c8f4c0e913a7e6c70b87309)

16 years agor18034: fixed build of libreplace outside of source directory
Andrew Tridgell [Mon, 4 Sep 2006 12:36:06 +0000 (12:36 +0000)]
r18034: fixed build of libreplace outside of source directory
(This used to be commit 8c07569227c6f2b0c9abdfe535733f3d5cb40fe5)

16 years agor18033: added install-sh, needed for standalone libreplace build
Andrew Tridgell [Mon, 4 Sep 2006 12:31:40 +0000 (12:31 +0000)]
r18033: added install-sh, needed for standalone libreplace build
(This used to be commit 652c11e4b8d5188690bbe512b205ab5ac783aee8)

16 years agor18032: added a 'make distclean'
Andrew Tridgell [Mon, 4 Sep 2006 12:31:23 +0000 (12:31 +0000)]
r18032: added a 'make distclean'
(This used to be commit e83ea30b72c92ecf242274d090b00009bddd8be6)

16 years agor18031: Merge my replace fixes:
Jelmer Vernooij [Mon, 4 Sep 2006 12:21:42 +0000 (12:21 +0000)]
r18031: Merge my replace fixes:
 * libreplace can now build stand-alone
 * add stub testsuite for libreplace
 * make talloc/tdb/ldb use libreplace
(This used to be commit fe7ca4b1454e01a33ed0d53791ebffdd349298b4)

16 years agor18027: Fix some 64-bit warnings
Volker Lendecke [Mon, 4 Sep 2006 08:55:58 +0000 (08:55 +0000)]
r18027: Fix some 64-bit warnings
(This used to be commit cd495d89314a653b5976b1690e075fd7bac2f59b)

16 years agor18026: patch from Brad allowing the windows testing to be configured
Andrew Tridgell [Mon, 4 Sep 2006 04:54:20 +0000 (04:54 +0000)]
r18026: patch from Brad allowing the windows testing to be configured
externally in the build farm
(This used to be commit a85646cba5ae5f96d99bd79d491e4151ffe6e78e)

16 years agor18025: Don't try to set a target host if there isn't one (such as with ldapi://).
Andrew Bartlett [Mon, 4 Sep 2006 03:59:04 +0000 (03:59 +0000)]
r18025: Don't try to set a target host if there isn't one (such as with ldapi://).

Andrew Bartlett
(This used to be commit 556a21faeed0b6e3cc6efcfa8e0939b151a802de)

16 years agor18024: The %c sscanf format I'm using doesn't null terminate.
Andrew Bartlett [Mon, 4 Sep 2006 01:59:23 +0000 (01:59 +0000)]
r18024: The %c sscanf format I'm using doesn't null terminate.

Andrew Bartlett
(This used to be commit 1920cb8b3978f745cba7e854410deb9174de2dc0)

16 years agor18023: Add support infrusructure for testing against an OpenLDAP server.
Andrew Bartlett [Mon, 4 Sep 2006 00:32:46 +0000 (00:32 +0000)]
r18023: Add support infrusructure for testing against an OpenLDAP server.

This will give a bit more noise on platforms without OpenLDAP (when we
run the slaptest check), but it shouldn't be too bad.

We don't start the LDAP server or re-provision unless LDAP_TEST is set.

Andrew Bartlett
(This used to be commit 999d989131f41d0218ec05595c9761aff5bbf5fa)

16 years agor18022: Increment number of records converted, and print number of records skipped.
Andrew Bartlett [Mon, 4 Sep 2006 00:27:37 +0000 (00:27 +0000)]
r18022: Increment number of records converted, and print number of records skipped.

Andrew Bartlett
(This used to be commit 6c11501ec3d8b95d5a80d5dbca745ae9e02d3304)

16 years agor18021: Add ldapi support to our LDAP client. To be used for testing an
Andrew Bartlett [Mon, 4 Sep 2006 00:26:10 +0000 (00:26 +0000)]
r18021: Add ldapi support to our LDAP client.  To be used for testing an
OpenLDAP backend.

Andrew Bartlett
(This used to be commit da66b53e6ac39c5f020781830ee69d460aa0cae5)

16 years agor18018: Fix the build on OpenBSD. No license problem this time, I've written strnlen
Volker Lendecke [Sun, 3 Sep 2006 16:33:12 +0000 (16:33 +0000)]
r18018: Fix the build on OpenBSD. No license problem this time, I've written strnlen
from scratch.

Volker
(This used to be commit 2a7cdf52e4113db30a7a8b180c68cec736f6c186)

16 years agor18017: Separate NET tests out of RPC. This way it's easier to run libnet
Rafal Szczesniak [Sun, 3 Sep 2006 12:30:55 +0000 (12:30 +0000)]
r18017: Separate NET tests out of RPC. This way it's easier to run libnet
tests only for quick checking.

rafal
(This used to be commit a6c9a01e89d837d0ce8e45499ff5d3dfa8fb46f4)

16 years agor17998: start working on syntaxes
Simo Sorce [Sat, 2 Sep 2006 02:41:26 +0000 (02:41 +0000)]
r17998: start working on syntaxes
(This used to be commit b49b8f5cb5ffa29a3b63f70a1f437c9720d2228c)

16 years agor17993: as metze pointed out, the composite_error() already calls the async
Andrew Tridgell [Fri, 1 Sep 2006 14:23:17 +0000 (14:23 +0000)]
r17993: as metze pointed out, the composite_error() already calls the async
handler, so don't call composite_done()
(This used to be commit d70ec77b00e542cc4b8c2bd7d27fe5940623abc5)

16 years agor17992: reverted r17842
Andrew Tridgell [Fri, 1 Sep 2006 12:37:17 +0000 (12:37 +0000)]
r17992: reverted r17842

This needs more consideration, as the patch removed the copyright
notice and license from the timegm.c code.

Volker, when you get a minute can you let me know what problem this
patch fixed so I can find a different approach?
(This used to be commit 5b9b9dd5303300778bb9e6d0479ab03fdd70c67d)

16 years agor17991: Implement a few more calls (with not implemented :-).
Andrew Bartlett [Fri, 1 Sep 2006 10:41:27 +0000 (10:41 +0000)]
r17991: Implement a few more calls (with not implemented :-).

Remove references to dnsDomain, replace with references to dnsRoot

Andrew Bartlett
(This used to be commit e09dd33379c79982dffadd69d7a4e9e24be7c248)

16 years agor17990: added timeout checking on dcerpc connection establishment. This should
Andrew Tridgell [Fri, 1 Sep 2006 10:33:55 +0000 (10:33 +0000)]
r17990: added timeout checking on dcerpc connection establishment. This should
fix the problem on some build farm hosts where we were waiting forever
for a connection to DRSUAPI to be made, so the next test will start.

Next is to try and work out why the connection is timing out on some
hosts. That is probably a server bug, but at least with this change we
can see it.
(This used to be commit 45fccc6d229168058a2a02fe5fe6f0bc259d6afe)

16 years agor17989: Add RPC-NETLOGON as a test we now run against Samba4.
Andrew Bartlett [Fri, 1 Sep 2006 07:28:25 +0000 (07:28 +0000)]
r17989: Add RPC-NETLOGON as a test we now run against Samba4.

Andrew Bartlett
(This used to be commit c271c488a5380d3d8ace662d6041d6b7f3f5b4ad)

16 years agor17988: Add 'not for Samba4' hacks into the RPC-NETLOGON torture test.
Andrew Bartlett [Fri, 1 Sep 2006 07:22:33 +0000 (07:22 +0000)]
r17988: Add 'not for Samba4' hacks into the RPC-NETLOGON torture test.

Andrew Bartlett
(This used to be commit 2aa0e6a1bf977d60a14314d5d82d176824751d00)

16 years agor17987: Make the LSA pipe listen on the \pipe\netlogon interface.
Andrew Bartlett [Fri, 1 Sep 2006 07:21:13 +0000 (07:21 +0000)]
r17987: Make the LSA pipe listen on the \pipe\netlogon interface.

Andrew Bartlett
(This used to be commit 700e9c0ea40799a09db3fdeb4a0ff3a417a8718e)

16 years agor17986: Add a copy of the Heimdal licence to our source tree, to make it very
Andrew Bartlett [Fri, 1 Sep 2006 06:59:24 +0000 (06:59 +0000)]
r17986: Add a copy of the Heimdal licence to our source tree, to make it very
clear what the conditions on this code are, and that the terms are GPL
compatible.

Andrew Bartlett
(This used to be commit 99ce2ecf396837caa812acf279f5156c50818373)

16 years agor17983: Use the UTF8-correct strcasecmp_m call for sorting these entries,
Andrew Bartlett [Fri, 1 Sep 2006 04:37:31 +0000 (04:37 +0000)]
r17983: Use the UTF8-correct strcasecmp_m call for sorting these entries,
which has been recently fixed to cope with NULL pointers (fix segfault
on Solaris).

Andrew Bartlett
(This used to be commit ce36069765e8dff3bbdabed5d50af1c7a8fa8e45)

16 years agor17982: One final hack...
Andrew Bartlett [Fri, 1 Sep 2006 04:34:21 +0000 (04:34 +0000)]
r17982: One final hack...

When against a real, schema-checking LDAP backend, we need
extensibleObject on the baseDN entry (as entryUUID isn't run for
creating this basic ldif) output.
(This used to be commit befac43f59c4688f6c6827eb2e4e916c1056a740)

16 years agor17980: handle NULL arguments without crashing in strcasecmp_m() and
Andrew Tridgell [Fri, 1 Sep 2006 04:23:24 +0000 (04:23 +0000)]
r17980: handle NULL arguments without crashing in strcasecmp_m() and
strncasecmp_m(). This makes the use of these functions in sorting
routines with RPC replies sane
(This used to be commit 93413f84502ff308e88947b9d3bdc9d219478935)

16 years agor17978: make the ldap backend test for ldb work both with and without modules
Andrew Tridgell [Fri, 1 Sep 2006 01:51:54 +0000 (01:51 +0000)]
r17978: make the ldap backend test for ldb work both with and without modules
(so it works on both redhat and debian, for example)
(This used to be commit 71264bb78558ada7539ef59048eb38887579c1d1)

16 years agor17968: Consolidate the DSSETUP and LSA pipes into a single file, as DSSETUP
Andrew Bartlett [Thu, 31 Aug 2006 13:10:11 +0000 (13:10 +0000)]
r17968: Consolidate the DSSETUP and LSA pipes into a single file, as DSSETUP
is just one call.

This simplifies the one remaining DSSETUP call, and removes another
user of the dnsDomain attribute.

Andrew Bartlett
(This used to be commit 6a54711564b67891c368c09ead3f7389ad40111f)

16 years agor17967: Somewhere along the line we lost unixName here, and so lost the
Andrew Bartlett [Thu, 31 Aug 2006 13:07:51 +0000 (13:07 +0000)]
r17967: Somewhere along the line we lost unixName here, and so lost the
ability for 'administrator' to log in as unix user 'root'.

Andrew Bartlett
(This used to be commit 221efba5289b8bbb54b770c556f19bfbdc9ee216)

16 years agor17966: remove all generated files
Stefan Metzmacher [Thu, 31 Aug 2006 11:35:03 +0000 (11:35 +0000)]
r17966: remove all generated files

metze
(This used to be commit 2493f670d3581df2bbbca7a0295e31ae3a09c2c0)

16 years agor17965: make talloc build more portable
Stefan Metzmacher [Thu, 31 Aug 2006 11:31:10 +0000 (11:31 +0000)]
r17965: make talloc build more portable

metze
(This used to be commit 64ba7ffdb866cc74366842750d95a25b47266097)

16 years agor17964: try to support sun* hosts
Stefan Metzmacher [Thu, 31 Aug 2006 10:31:40 +0000 (10:31 +0000)]
r17964: try to support sun* hosts

metze
(This used to be commit 87d88b3a47047f837101aca2180555dc35cfcf31)

16 years agor17963: fix install logic for talloc.3
Stefan Metzmacher [Thu, 31 Aug 2006 10:17:54 +0000 (10:17 +0000)]
r17963: fix install logic for talloc.3

metze
(This used to be commit 161f2c04f78ba03ae4a24667e50cc9d8a446921e)

16 years agor17962: source/intl/ isn't used in samba4 anymore
Stefan Metzmacher [Thu, 31 Aug 2006 10:04:49 +0000 (10:04 +0000)]
r17962: source/intl/ isn't used in samba4 anymore

metze
(This used to be commit 3412f6690828c2bbffdb495bc64c7a6989ccd1c3)

16 years agor17961: source/po/ isn't justed in samba4, so remove it
Stefan Metzmacher [Thu, 31 Aug 2006 09:57:57 +0000 (09:57 +0000)]
r17961: source/po/ isn't justed in samba4, so remove it

metze
(This used to be commit 0c546524de23496837c9222b8a19813d141d28a3)

16 years agor17960: try to use gmake if present on IRIX
Stefan Metzmacher [Thu, 31 Aug 2006 09:38:48 +0000 (09:38 +0000)]
r17960: try to use gmake if present on IRIX

metze
(This used to be commit 18b4ae591a3a137dd25edd16a574e489cd5552bf)

16 years agor17958: as talloc_init() enabled null tracking, we should avoid to use it
Stefan Metzmacher [Thu, 31 Aug 2006 09:26:43 +0000 (09:26 +0000)]
r17958: as talloc_init() enabled null tracking, we should avoid to use it
in smbtorture, and in the LOCAL-TALLOC we should reset the null tracking

also make bin/smbtorture //url/foo LOCAL-TALLOC LOCAL-TALLOC possible

metze
(This used to be commit d1dd3df5e4fd21f5cbd00e472438fe3eadb266e5)

16 years agor17957: don't try to use an internet connection when generating the manpage
Stefan Metzmacher [Thu, 31 Aug 2006 09:18:06 +0000 (09:18 +0000)]
r17957: don't try to use an internet connection when generating the manpage
and only install the manpage if we build it

metze
(This used to be commit 23c6c7a27cc966d8e948e00c41d34e9a6ad40f2c)

16 years agor17956: LSA Cleanup!
Andrew Bartlett [Thu, 31 Aug 2006 08:22:13 +0000 (08:22 +0000)]
r17956: LSA Cleanup!

This commit cleans up a number of aspects of the LSA interface.

Firstly, we do 2 simple searches on opening the LSA policy, to obtain
the basic information we need.  This also avoids us searching for
dnsDomain (an invented attribute).

While I was at it, I added and tested new LSA calls, including the
enumTrustedDomainsEx call.  I have also merged the identical structures
lsa_DomainInformation and lsa_DomainList.

Also in this commit: Fix netlogon use of uninitialised variables.

Andrew Bartlett
(This used to be commit 3f3fa7f466df56612064029143fbae8effb668aa)

16 years agor17955: Don't search for the dnsDomain attribute, it is invented (not in the
Andrew Bartlett [Thu, 31 Aug 2006 08:17:09 +0000 (08:17 +0000)]
r17955: Don't search for the dnsDomain attribute, it is invented (not in the
AD schema).

Andrew Bartlett
(This used to be commit fac27e4dddc98288dc765e135db6b168fbec760c)

16 years agor17954: Avoid including \n in error strings (left over from DEBUG() conversion).
Andrew Bartlett [Thu, 31 Aug 2006 08:15:23 +0000 (08:15 +0000)]
r17954: Avoid including \n in error strings (left over from DEBUG() conversion).

Make it easier to debug CrackNames failures.

Andrew Bartlett
(This used to be commit 5dd07074db0b25ea2e929bbdcf89f26e3665bd1c)

16 years agor17952: merge changes from samba3
Stefan Metzmacher [Thu, 31 Aug 2006 07:43:09 +0000 (07:43 +0000)]
r17952: merge changes from samba3

metze
(This used to be commit ff8d044c2e14e81b4bb32eaacc56875e9602ce4d)

16 years agor17950: sync talloc with samba3
Stefan Metzmacher [Thu, 31 Aug 2006 06:33:54 +0000 (06:33 +0000)]
r17950: sync talloc with samba3

metze
(This used to be commit 5697841e2949d2f7a053b4766c48906943a5a04e)

16 years agor17940: Fix a warning spotted on the buildfarm.
Rafal Szczesniak [Wed, 30 Aug 2006 22:30:47 +0000 (22:30 +0000)]
r17940: Fix a warning spotted on the buildfarm.

rafal
(This used to be commit b285a34ddd8bf570a060b8c9eb8aee1566317c27)

16 years agor17939: Fix compiler warnings spotted on buildfarm.
Rafal Szczesniak [Wed, 30 Aug 2006 22:05:59 +0000 (22:05 +0000)]
r17939: Fix compiler warnings spotted on buildfarm.

rafal
(This used to be commit 4803e95c68d8824b5494ee86d626e474d8a0c925)

16 years agor17938: More comments.
Rafal Szczesniak [Wed, 30 Aug 2006 20:48:06 +0000 (20:48 +0000)]
r17938: More comments.

rafal
(This used to be commit 4a127aacfa142838b474b2d8186026575bca14a4)

16 years agor17932: Fix header installation.
Jelmer Vernooij [Wed, 30 Aug 2006 13:27:13 +0000 (13:27 +0000)]
r17932: Fix header installation.
(This used to be commit d0b7c740c77c901960c6de80f0d3b77cd396946f)

16 years agor17931: Really remove the files this time. Looks like there's something wrong with
Jelmer Vernooij [Wed, 30 Aug 2006 11:47:40 +0000 (11:47 +0000)]
r17931: Really remove the files this time. Looks like there's something wrong with
the rename code in bzr-svn...
(This used to be commit 03e402181ace8fddde38d626fb8d765693b8d429)

16 years agor17930: Merge noinclude branch:
Jelmer Vernooij [Wed, 30 Aug 2006 11:29:34 +0000 (11:29 +0000)]
r17930: Merge noinclude branch:
 * Move dlinklist.h, smb.h to subsystem-specific directories
 * Clean up ads.h and move what is left of it to dsdb/
   (only place where it's used)
(This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)

16 years agor17926: add trustedDomain class
Simo Sorce [Tue, 29 Aug 2006 22:50:49 +0000 (22:50 +0000)]
r17926: add trustedDomain class
(This used to be commit 43e95f4572778fec70ea4a62b6b4d20d8f96a2f8)

16 years agor17925: Another class we need.
Andrew Bartlett [Tue, 29 Aug 2006 22:38:59 +0000 (22:38 +0000)]
r17925: Another class we need.

Andrew Bartlett
(This used to be commit 5ff3f10d4fbd47419797890f87df3a50b3bb31fa)

16 years agor17907: - add a generic talloc_report_depth_cb() function which takes a callback
Stefan Metzmacher [Tue, 29 Aug 2006 09:51:49 +0000 (09:51 +0000)]
r17907: - add a generic talloc_report_depth_cb() function which takes a callback
  to do the actual report.
- make the talloc_report_depth_file() a wrapper of it
- and talloc_report() and talloc_report_full() are wrapper of
  talloc_report_depth_file()

metze
(This used to be commit b199557b358e6216d89d233513079fcd56b307aa)

16 years agor17905: fix c++ warnings
Stefan Metzmacher [Tue, 29 Aug 2006 09:46:59 +0000 (09:46 +0000)]
r17905: fix c++ warnings

metze
(This used to be commit 972a84f220f0dabc4e1cc3ffd40a4bf4dedc74d9)

16 years agor17904: we don't want warnings about unused parameters
Stefan Metzmacher [Tue, 29 Aug 2006 09:29:09 +0000 (09:29 +0000)]
r17904: we don't want warnings about unused parameters

volker that one was for you:-)

metze
(This used to be commit d0aa78177d24877320bac2294328e0083f34e9a5)

16 years agor17898: handle objectcategory and isdefunct for classes
Simo Sorce [Mon, 28 Aug 2006 23:30:43 +0000 (23:30 +0000)]
r17898: handle objectcategory and isdefunct for classes
(This used to be commit 7664b52b89bfac6f2db52fae2daa65c856acd1ac)

16 years agor17895: - talloc_increase_ref_count() can fail
Stefan Metzmacher [Mon, 28 Aug 2006 18:21:21 +0000 (18:21 +0000)]
r17895: - talloc_increase_ref_count() can fail
- make talloc_reference() typesafe when gcc >= 3 is used

metze
(This used to be commit 933d1b47ad614d02cc02b602e704948b342febdb)

16 years agor17894: better name for the internal syntax type
Simo Sorce [Mon, 28 Aug 2006 18:00:45 +0000 (18:00 +0000)]
r17894: better name for the internal syntax type
(This used to be commit 4241a1bb832461ca44ce0f20cb770ea2b6f2d7e3)

16 years agor17893: add a function to disable the null_context
Stefan Metzmacher [Mon, 28 Aug 2006 17:50:26 +0000 (17:50 +0000)]
r17893: add a function to disable the null_context

metze
(This used to be commit 7cab4285b1b61ad5cb425e42d89bcf7d645b0710)

16 years agor17892: fix the last talloc c++ warning
Stefan Metzmacher [Mon, 28 Aug 2006 17:40:31 +0000 (17:40 +0000)]
r17892: fix the last talloc c++ warning

metze
(This used to be commit 6955ffe4544eddd9e34461f57858480b1acf49c9)

16 years agor17891: remove c++ warnings from talloc
Stefan Metzmacher [Mon, 28 Aug 2006 17:38:49 +0000 (17:38 +0000)]
r17891: remove c++ warnings from talloc

metze
(This used to be commit fb73ce8d4364a1da3c320034d90c0556529c61c4)

16 years agor17890: add -Wc++-compat option to gcc but don't use it yet
Stefan Metzmacher [Mon, 28 Aug 2006 17:21:34 +0000 (17:21 +0000)]
r17890: add -Wc++-compat option to gcc but don't use it yet

metze
(This used to be commit 6b4f788c71a6d445ded522d89cd5425f9e2fb391)

16 years agor17889: allocate a valid element where the pointer can point to,
Stefan Metzmacher [Mon, 28 Aug 2006 17:18:41 +0000 (17:18 +0000)]
r17889: allocate a valid element where the pointer can point to,
fix c++ warnings

metze
(This used to be commit b15e4c7cfa4df3dc429945e4d330a8a9766eb1a6)

16 years agor17888: use talloc_*_ptrtype() macros as wrappers arround the talloc_*_size()
Stefan Metzmacher [Mon, 28 Aug 2006 17:17:39 +0000 (17:17 +0000)]
r17888: use talloc_*_ptrtype() macros as wrappers arround the talloc_*_size()
functions to get rid of c++ warnings

metze
(This used to be commit 7579503bb886e9c4cc08756013f5311ce550c9fd)

16 years agor17887: fix c++ warnings
Stefan Metzmacher [Mon, 28 Aug 2006 17:12:12 +0000 (17:12 +0000)]
r17887: fix c++ warnings

metze
(This used to be commit ccef1f729089939b9250f1b177d5241f8baaa5eb)

16 years agor17886: add talloc_ptrtype() and talloc_array_ptrtype(),
Stefan Metzmacher [Mon, 28 Aug 2006 16:55:51 +0000 (16:55 +0000)]
r17886: add talloc_ptrtype() and talloc_array_ptrtype(),
see the manpage what they do:-)

metze
(This used to be commit bfca83c91e47e9017474809cd7bc8b2e6e20416a)

16 years agor17885: use _TALLOC_TYPEPF() consitently
Stefan Metzmacher [Mon, 28 Aug 2006 15:36:12 +0000 (15:36 +0000)]
r17885: use _TALLOC_TYPEPF() consitently

metze
(This used to be commit 155cd6b88283b85c53c7ec65efcf431da7b649ac)

16 years agor17884: Shape up the snprintf fix after Metzes comments
Volker Lendecke [Mon, 28 Aug 2006 14:38:47 +0000 (14:38 +0000)]
r17884: Shape up the snprintf fix after Metzes comments
(This used to be commit 66b6456eee579623b64c649356ab0175c46f5789)

16 years agor17883: check if talloc_asprintf() works correct
Stefan Metzmacher [Mon, 28 Aug 2006 14:06:23 +0000 (14:06 +0000)]
r17883: check if talloc_asprintf() works correct

metze
(This used to be commit bb79542edbb290c7dbea7c921b0e911dd1b3366b)

16 years agor17882: merge change from samba3
Stefan Metzmacher [Mon, 28 Aug 2006 12:15:13 +0000 (12:15 +0000)]
r17882: merge change from samba3

metze
(This used to be commit eca7085850ba8475cc01dda1911c4222dd14c1a6)

16 years agor17876: Require one less patch for the LDAP backend to work.
Andrew Bartlett [Mon, 28 Aug 2006 05:26:42 +0000 (05:26 +0000)]
r17876: Require one less patch for the LDAP backend to work.

This lets the modules or backend generate the host and domain GUID,
rather than the randguid() function.  These can still be specified
from the command line.

Andrew Bartlett
(This used to be commit 32996ca9d62568006f8bee85a1f2f37c64c04fb5)

16 years agor17871: Add an option to make the system account behave as anonymous on the
Andrew Bartlett [Mon, 28 Aug 2006 03:28:03 +0000 (03:28 +0000)]
r17871: Add an option to make the system account behave as anonymous on the
network.  This helps where we are trying to talk to an LDAP server,
until we share a common SASL authentication scheme.

Andrew Bartlett
(This used to be commit f9d39dba41441cd5d06964ce0aebef9bcba40759)

16 years agor17870: This module (for the moment) handles the modifyTimestamp generation. For...
Andrew Bartlett [Mon, 28 Aug 2006 03:26:17 +0000 (03:26 +0000)]
r17870: This module (for the moment) handles the modifyTimestamp generation.  For that, it needs to hook into the modify operation.

Andrew Bartlett
(This used to be commit d22117a53bafa4bb72c854353620099b5a6f81d8)

16 years agor17868: remove duplicated attributes from list
Simo Sorce [Mon, 28 Aug 2006 02:57:54 +0000 (02:57 +0000)]
r17868: remove duplicated attributes from list
(This used to be commit fab0e66281ca0feddf1ce26249706e865856b17a)

16 years agor17860: Let's commit the work down up to now on the new schema module.
Simo Sorce [Sun, 27 Aug 2006 23:39:09 +0000 (23:39 +0000)]
r17860: Let's commit the work down up to now on the new schema module.
At the moment it is able to validate an object has no conflicting
objectlasses that it meets the criteria to be inserted as child of
the parent and also sorts and create the objectclass hierarchy so
that the objectclass .c module can be obsoleted.

Not activated by default as we have to completely rework the
current provisioning method. (In my tests I could not activate
it before all other ldif except for the one that create users
were loaded, make test seem to be happy anyway if it is activated
after provisioning).

Next steps will be attribute and attribute syntax checking on add operation.
And then the modify operation will follow.

Simo.
(This used to be commit 0c444ba1adfb9ce5cfa736bf0620aa3bec66050d)

16 years agor17859: Fix some return values
Simo Sorce [Sun, 27 Aug 2006 23:32:14 +0000 (23:32 +0000)]
r17859: Fix some return values
(This used to be commit 5b4fc48c49bada2711e356c557ba5f45e34396f6)

16 years agor17858: Add new libnet domain open tests.
Rafal Szczesniak [Sun, 27 Aug 2006 20:41:29 +0000 (20:41 +0000)]
r17858: Add new libnet domain open tests.

rafal
(This used to be commit c9b0b1fb67855ed3bfd1f34c664275bd7f34ff8c)

16 years agor17857: A couple of new tests.
Rafal Szczesniak [Sun, 27 Aug 2006 20:39:50 +0000 (20:39 +0000)]
r17857: A couple of new tests.

rafal
(This used to be commit 6db488cc6e29704ae2ae17b2875a76ded5d86b88)

16 years agor17856: The two new functions - libnet_LookupName and libnet_UserInfo.
Rafal Szczesniak [Sun, 27 Aug 2006 20:37:23 +0000 (20:37 +0000)]
r17856: The two new functions - libnet_LookupName and libnet_UserInfo.
These two perform name resolving in SAM database and fetching
user account information, respectively. The code is quite rough
yet, but it builds and basic tests work. Now, I'm working on
cleaning it up...

rafal
(This used to be commit 4a932255a01d9f1ac91feb9e371494933f1ae74e)

16 years agor17849: Next round for RPC-SAMBA3-SHARESEC
Volker Lendecke [Sun, 27 Aug 2006 10:46:19 +0000 (10:46 +0000)]
r17849: Next round for RPC-SAMBA3-SHARESEC
(This used to be commit e17371b7f970fe4cc91f8034c18292cc3c22f161)

16 years agor17848: Ok, this did not do it. Still got the same problem.
Volker Lendecke [Sun, 27 Aug 2006 10:08:18 +0000 (10:08 +0000)]
r17848: Ok, this did not do it. Still got the same problem.
(This used to be commit bb393603707ada3d4b917f8374b7738f16c78f46)