jelmer/samba4-debian.git
11 years agor17755: fix the build...
Stefan Metzmacher [Wed, 23 Aug 2006 14:13:54 +0000 (14:13 +0000)]
r17755: fix the build...

I hope we can find a more clean approach to import lib/replace/ into ldb.

metze

11 years agor17754: remove the --always-create option from mkproto.pl
Stefan Metzmacher [Wed, 23 Aug 2006 13:20:16 +0000 (13:20 +0000)]
r17754: remove the --always-create option from mkproto.pl
and make this behavior the default.

as with make 3.81 and autodependencies this way is much
faster as make can use faster codepathes internally.

(without this make needed more and more startup time after using
 autodependencies for a few weeks)

metze

11 years agor17753: fix compiler warnings and make the code simpler
Stefan Metzmacher [Wed, 23 Aug 2006 13:14:03 +0000 (13:14 +0000)]
r17753: fix compiler warnings and make the code simpler

metze

11 years agor17752: using -1 in a uint16_t value causes compiler warnings,
Stefan Metzmacher [Wed, 23 Aug 2006 13:06:31 +0000 (13:06 +0000)]
r17752: using -1 in a uint16_t value causes compiler warnings,
use UINT16_MAX as invalid search handle

metze

11 years agor17750: these have moved to ldb/replace/ now
Andrew Tridgell [Wed, 23 Aug 2006 11:32:29 +0000 (11:32 +0000)]
r17750: these have moved to ldb/replace/ now

11 years agor17749: more HPUX madness
Andrew Tridgell [Wed, 23 Aug 2006 11:31:43 +0000 (11:31 +0000)]
r17749: more HPUX madness

11 years agor17748: make the casts much easier to understand
Stefan Metzmacher [Wed, 23 Aug 2006 11:29:08 +0000 (11:29 +0000)]
r17748: make the casts much easier to understand

metze

11 years agor17747: ldb's make test should not try to install something
Stefan Metzmacher [Wed, 23 Aug 2006 11:27:40 +0000 (11:27 +0000)]
r17747: ldb's make test should not try to install something

metze

11 years agor17746: the automatic archive creation in make breaks on 3 platforms. Lets try
Andrew Tridgell [Wed, 23 Aug 2006 11:21:44 +0000 (11:21 +0000)]
r17746: the automatic archive creation in make breaks on 3 platforms. Lets try
manual archives and see if they work a bit better ....

11 years agor17745: got rid of the final asprintf() in ldb
Andrew Tridgell [Wed, 23 Aug 2006 10:55:20 +0000 (10:55 +0000)]
r17745: got rid of the final asprintf() in ldb

11 years agor17744: we explicit want to get warnings about declarations after statements:-)
Stefan Metzmacher [Wed, 23 Aug 2006 10:01:07 +0000 (10:01 +0000)]
r17744: we explicit want to get warnings about declarations after statements:-)

metze

11 years agor17743: fix compiler warnings
Stefan Metzmacher [Wed, 23 Aug 2006 09:19:19 +0000 (09:19 +0000)]
r17743: fix compiler warnings

metze

11 years agor17742: make the casts explicit and remove compiler warnings
Stefan Metzmacher [Wed, 23 Aug 2006 09:00:57 +0000 (09:00 +0000)]
r17742: make the casts explicit and remove compiler warnings

metze

11 years agor17741: tru64 uses inttypes.h not stdint.h.
Andrew Tridgell [Wed, 23 Aug 2006 05:19:42 +0000 (05:19 +0000)]
r17741: tru64 uses inttypes.h not stdint.h.

ain't standards wonderful?

11 years agor17740: get rid of dependence on asprintf(), using talloc_asprintf() instead
Andrew Tridgell [Wed, 23 Aug 2006 05:08:55 +0000 (05:08 +0000)]
r17740: get rid of dependence on asprintf(), using talloc_asprintf() instead

11 years agor17739: forgot to add replace/*
Andrew Tridgell [Wed, 23 Aug 2006 04:55:39 +0000 (04:55 +0000)]
r17739: forgot to add replace/*

11 years agor17738: solving the seemingly trivial problem of timegm() being missing on
Andrew Tridgell [Wed, 23 Aug 2006 04:53:47 +0000 (04:53 +0000)]
r17738: solving the seemingly trivial problem of timegm() being missing on
some systems requires quite a large change in ldb. The core problem is
that ldb doesn't have its own equivalent of lib/replace/, so we have
no sane place to put things like timegm.c

This patch moves part of lib/replace/ from Samba4 into ldb, and the
next patch will remove those parts from Samba4. We will probably need
to similarly move parts of lib/replace/ into lib/talloc/ and lib/tdb/,
so that at each level the libraries have replacements for the
functions they need, but higher level libraries don't need to
re-include replacements if a lower level library already replaces the
function

11 years agor17737: fixed a 'declaration in code' error
Andrew Tridgell [Wed, 23 Aug 2006 02:51:40 +0000 (02:51 +0000)]
r17737: fixed a 'declaration in code' error

11 years agor17735: a (probably useless) attempt to workaround stupidity in HPs version of
Andrew Tridgell [Wed, 23 Aug 2006 02:06:07 +0000 (02:06 +0000)]
r17735: a (probably useless) attempt to workaround stupidity in HPs version of
make

11 years agor17734: tru64 needs these for standalone build
Andrew Tridgell [Wed, 23 Aug 2006 01:55:02 +0000 (01:55 +0000)]
r17734: tru64 needs these for standalone build

11 years agor17733: doxygen is way too noisy to build every time, and it doesn't do
Andrew Tridgell [Wed, 23 Aug 2006 01:51:45 +0000 (01:51 +0000)]
r17733: doxygen is way too noisy to build every time, and it doesn't do
dependencies. If someone can fix it to only rebuild when something
changes, then feel free to re-enable it by default. Otherwise use
"make doxygen" if you are in need of a doxygen fix ....

11 years agor17732: after some help from Jelmer, changed builddocs.sh not to rely on
Andrew Tridgell [Wed, 23 Aug 2006 01:44:22 +0000 (01:44 +0000)]
r17732: after some help from Jelmer, changed builddocs.sh not to rely on
either an internet connection, or a list of xsl paths

11 years agor17731: try to cope with freebsd handling of .a dependencies
Andrew Tridgell [Wed, 23 Aug 2006 01:13:40 +0000 (01:13 +0000)]
r17731: try to cope with freebsd handling of .a dependencies

11 years agor17730: cast dlsym result to try to avoid a compiler crash on hpux
Andrew Tridgell [Wed, 23 Aug 2006 00:46:40 +0000 (00:46 +0000)]
r17730: cast dlsym result to try to avoid a compiler crash on hpux

11 years agor17729: remove the dependence on an internet connection for building
Andrew Tridgell [Wed, 23 Aug 2006 00:42:33 +0000 (00:42 +0000)]
r17729: remove the dependence on an internet connection for building
standalone ldb by only running xsltproc if we can find a local copy of
the required stylesheets

11 years agor17726: not having slapd installed isn't a ldb test failure
Andrew Tridgell [Tue, 22 Aug 2006 23:48:41 +0000 (23:48 +0000)]
r17726: not having slapd installed isn't a ldb test failure

11 years agor17725: VPATH and builds out of the source directory causes problems with the
Andrew Tridgell [Tue, 22 Aug 2006 23:32:19 +0000 (23:32 +0000)]
r17725: VPATH and builds out of the source directory causes problems with the
AIX 5.1 version of make. Putting a direct dependency on $(OBJS) works
around this, and should be harmless on other systems

11 years agor17724: don't rely on strnlen() as MacOSX 10.4 doesn't have it. Someday apple
Andrew Tridgell [Tue, 22 Aug 2006 23:12:22 +0000 (23:12 +0000)]
r17724: don't rely on strnlen() as MacOSX 10.4 doesn't have it. Someday apple
will realise that buffer overflows are bad ....

11 years agor17722: better to use talloc_vasprintf() than vasprintf() directly, as it
Andrew Tridgell [Tue, 22 Aug 2006 22:28:37 +0000 (22:28 +0000)]
r17722: better to use talloc_vasprintf() than vasprintf() directly, as it
depends on less libc functions

11 years agor17721: fixed the dlopen and MODULESDIR handling in the standalone build
Andrew Tridgell [Tue, 22 Aug 2006 22:27:57 +0000 (22:27 +0000)]
r17721: fixed the dlopen and MODULESDIR handling in the standalone build

11 years agor17720: in standalone ldb build, some systems need sys/stat.h and a defn of
Andrew Tridgell [Tue, 22 Aug 2006 20:49:58 +0000 (20:49 +0000)]
r17720: in standalone ldb build, some systems need sys/stat.h and a defn of
comparison_fn_t

11 years agor17719: ldb_cmdline needs to be static for cc on solaris
Andrew Tridgell [Tue, 22 Aug 2006 20:39:01 +0000 (20:39 +0000)]
r17719: ldb_cmdline needs to be static for cc on solaris

11 years agor17718: don't consider a slapadd failure in the ldap backend tests as a ldb
Andrew Tridgell [Tue, 22 Aug 2006 20:33:39 +0000 (20:33 +0000)]
r17718: don't consider a slapadd failure in the ldap backend tests as a ldb
failure

11 years agor17717: this cried for bugs...and they happened...
Stefan Metzmacher [Tue, 22 Aug 2006 19:28:44 +0000 (19:28 +0000)]
r17717: this cried for bugs...and they happened...
we were passing a struct timeval reference as string,
and gcc gives a warning...use C99 style initialisation.

is there a special reason why the ACB_NORMAL is passed
when the force_password_change is selected?

metze

11 years agor17716: make casts explicit and remove compiler warnings
Stefan Metzmacher [Tue, 22 Aug 2006 19:05:27 +0000 (19:05 +0000)]
r17716: make casts explicit and remove compiler warnings

metze

11 years agor17715: make the cast explicit and remove compiler warnings
Stefan Metzmacher [Tue, 22 Aug 2006 19:01:08 +0000 (19:01 +0000)]
r17715: make the cast explicit and remove compiler warnings

metze

11 years agor17714: fix compiler warnings
Stefan Metzmacher [Tue, 22 Aug 2006 18:51:46 +0000 (18:51 +0000)]
r17714: fix compiler warnings

metze

11 years agor17713: fix compiler warnings
Stefan Metzmacher [Tue, 22 Aug 2006 18:50:03 +0000 (18:50 +0000)]
r17713: fix compiler warnings

metze

11 years agor17712: fix compiler warning
Stefan Metzmacher [Tue, 22 Aug 2006 18:49:11 +0000 (18:49 +0000)]
r17712: fix compiler warning

metze

11 years agor17711: fix compiler warnings
Stefan Metzmacher [Tue, 22 Aug 2006 18:09:49 +0000 (18:09 +0000)]
r17711: fix compiler warnings

metze

11 years agor17708: make the automated testing of the ldb ldap backend more portable
Andrew Tridgell [Tue, 22 Aug 2006 11:26:27 +0000 (11:26 +0000)]
r17708: make the automated testing of the ldb ldap backend more portable

11 years agor17707: Match the output (aside from dividers) the output of
Andrew Bartlett [Tue, 22 Aug 2006 10:49:54 +0000 (10:49 +0000)]
r17707: Match the output (aside from dividers) the output of
ol-schema-migrate.pl in the schema output.

Andrew Bartlett

11 years agor17706: remove the dependence on gnu make in the standalone build
Andrew Tridgell [Tue, 22 Aug 2006 10:46:23 +0000 (10:46 +0000)]
r17706: remove the dependence on gnu make in the standalone build

11 years agor17705: Use the paged_searches module by default against the LDAP backend, if
Andrew Bartlett [Tue, 22 Aug 2006 10:20:38 +0000 (10:20 +0000)]
r17705: Use the paged_searches module by default against the LDAP backend, if
selected.

Andrew Bartlett

11 years agor17704: Add comments suggesting how to get the LDAP backend working.
Andrew Bartlett [Tue, 22 Aug 2006 10:19:46 +0000 (10:19 +0000)]
r17704: Add comments suggesting how to get the LDAP backend working.

Shutdown and reload the LDB, so the entryUUID module knows to read the
schema (will be changed once we have a central schema store and
notifications).

Andrew Bartlett

11 years agor17703: Fixes to enable the entryUUID module to work for it's objectClass ->
Andrew Bartlett [Tue, 22 Aug 2006 10:05:20 +0000 (10:05 +0000)]
r17703: Fixes to enable the entryUUID module to work for it's objectClass ->
OID mappings.

The key point is to 'enable' the partitions in the partitions module
before the init is complete.  That way, the modules can perform
searches that use partitions.

Andrew Bartlett

11 years agor17702: test for gcc, and only enable gcc flags if true
Andrew Tridgell [Tue, 22 Aug 2006 07:20:59 +0000 (07:20 +0000)]
r17702: test for gcc, and only enable gcc flags if true

11 years agor17701: doxygen (if installed!) needs to be run in the src directory
Andrew Tridgell [Tue, 22 Aug 2006 06:49:16 +0000 (06:49 +0000)]
r17701: doxygen (if installed!) needs to be run in the src directory

11 years agor17700: Despite our best hopes, the way module initialisation tends to happen,
Andrew Bartlett [Tue, 22 Aug 2006 06:18:07 +0000 (06:18 +0000)]
r17700: Despite our best hopes, the way module initialisation tends to happen,
we make searches before things are initialised.  Cope with this.

Andrew Bartlett

11 years agor17699: Remove more printf calls.
Andrew Bartlett [Tue, 22 Aug 2006 06:07:01 +0000 (06:07 +0000)]
r17699: Remove more printf calls.

Try to cope with partital initialisation.

Andrew Bartlett

11 years agor17698: The original code assumed that &data->context was a valid talloc
Andrew Bartlett [Tue, 22 Aug 2006 06:01:47 +0000 (06:01 +0000)]
r17698: The original code assumed that &data->context was a valid talloc
pointer.

This only works when this is the only structure member, but when I
added a new context pointer, it failed.

Andrew Bartlett

11 years agor17697: - enable test for slapd
Andrew Tridgell [Tue, 22 Aug 2006 05:33:52 +0000 (05:33 +0000)]
r17697: - enable test for slapd

- include popt.m4

11 years agor17696: attempt to allow ldb to use an external popt directory, so we can
Andrew Tridgell [Tue, 22 Aug 2006 05:27:33 +0000 (05:27 +0000)]
r17696: attempt to allow ldb to use an external popt directory, so we can
point it at the popt sources in the samba source tree when building in
the build farm

11 years agor17695: added installcheck target
Andrew Tridgell [Tue, 22 Aug 2006 04:34:06 +0000 (04:34 +0000)]
r17695: added installcheck target

11 years agor17694: Don't use printf() in a module...
Andrew Bartlett [Tue, 22 Aug 2006 04:32:34 +0000 (04:32 +0000)]
r17694: Don't use printf() in a module...

11 years agor17693: only install man pages if we have managed to generate them with
Andrew Tridgell [Tue, 22 Aug 2006 04:27:13 +0000 (04:27 +0000)]
r17693: only install man pages if we have managed to generate them with
xsltproc

11 years agor17692: - don't try and run ldap tests unless we have slapd
Andrew Tridgell [Tue, 22 Aug 2006 04:19:40 +0000 (04:19 +0000)]
r17692: - don't try and run ldap tests unless we have slapd
- fix manpages install

11 years agor17691: Make the structure more public, so we have somewhere for calling
Andrew Bartlett [Tue, 22 Aug 2006 04:15:39 +0000 (04:15 +0000)]
r17691: Make the structure more public, so we have somewhere for calling
modules to put private data.

Andrew Bartlett

11 years agor17690: Demonstrate how we can read the schema to find out details needed for
Andrew Bartlett [Tue, 22 Aug 2006 04:05:36 +0000 (04:05 +0000)]
r17690: Demonstrate how we can read the schema to find out details needed for
translation.  I hope to have this reading a schema structure in the
future.

Andrew Bartlett

11 years agor17689: build works, this should fix install ....
Andrew Tridgell [Tue, 22 Aug 2006 03:57:31 +0000 (03:57 +0000)]
r17689: build works, this should fix install ....

11 years agor17688: the commit/test cycle for getting this to work in the build farm sure
Andrew Tridgell [Tue, 22 Aug 2006 03:51:22 +0000 (03:51 +0000)]
r17688: the commit/test cycle for getting this to work in the build farm sure
is tedious! nearly there I hope .....

11 years agor17687: remove circular dependency
Andrew Tridgell [Tue, 22 Aug 2006 03:47:32 +0000 (03:47 +0000)]
r17687: remove circular dependency

11 years agor17686: tdb.pc is in the build directory
Andrew Tridgell [Tue, 22 Aug 2006 03:34:08 +0000 (03:34 +0000)]
r17686: tdb.pc is in the build directory

11 years agor17685: talloc.pc is in the build directory
Andrew Tridgell [Tue, 22 Aug 2006 03:28:02 +0000 (03:28 +0000)]
r17685: talloc.pc is in the build directory

11 years agor17684: and we need -Iinclude for tdb
Andrew Tridgell [Tue, 22 Aug 2006 03:24:43 +0000 (03:24 +0000)]
r17684: and we need -Iinclude for tdb

11 years agor17683: to pick up config.h we need -I. as well for talloc
Andrew Tridgell [Tue, 22 Aug 2006 03:24:23 +0000 (03:24 +0000)]
r17683: to pick up config.h we need -I. as well for talloc

11 years agor17682: Add newline to end of file
Andrew Bartlett [Tue, 22 Aug 2006 03:21:29 +0000 (03:21 +0000)]
r17682: Add newline to end of file

11 years agor17681: fixed standalone talloc build to support building in a separate
Andrew Tridgell [Tue, 22 Aug 2006 01:50:44 +0000 (01:50 +0000)]
r17681: fixed standalone talloc build to support building in a separate
directory

11 years agor17680: make standalone tdb support building and testing in a different
Andrew Tridgell [Tue, 22 Aug 2006 01:45:39 +0000 (01:45 +0000)]
r17680: make standalone tdb support building and testing in a different
directory to source

11 years agor17679: - fix 'make test-ldap' to skip ldb specials
Andrew Tridgell [Tue, 22 Aug 2006 01:32:29 +0000 (01:32 +0000)]
r17679: - fix 'make test-ldap' to skip ldb specials

- allow ldb to be built in a separate build directory, using:

     /some/path/to/ldb/configure
     make

  this will make it much easier to put ldb in the build farm without
  interfering with the build farm builds of tdb and talloc

11 years agor17678: don't free result message twice
Andrew Tridgell [Tue, 22 Aug 2006 01:13:45 +0000 (01:13 +0000)]
r17678: don't free result message twice

11 years agor17675: increase max torture test runtime - we have some v slow hosts in the
Andrew Tridgell [Mon, 21 Aug 2006 23:13:06 +0000 (23:13 +0000)]
r17675: increase max torture test runtime - we have some v slow hosts in the
farm!

11 years agor17674: fixed a problem on with our configure logic on systems that have
Andrew Tridgell [Mon, 21 Aug 2006 23:00:53 +0000 (23:00 +0000)]
r17674: fixed a problem on with our configure logic on systems that have
libgnutls but not some of the crt functions

11 years agor17671: Update the tests according to changes in libnet context.
Rafal Szczesniak [Mon, 21 Aug 2006 21:03:28 +0000 (21:03 +0000)]
r17671: Update the tests according to changes in libnet context.

rafal

11 years agor17670: 1) Refactor libnet context structure a bit, to have rpc connection
Rafal Szczesniak [Mon, 21 Aug 2006 20:52:14 +0000 (20:52 +0000)]
r17670: 1) Refactor libnet context structure a bit, to have rpc connection
   properties more consistently reflected.
2) Add domain open routine for lsa pipe - this is needed for ongoing
   name resolve function.

Tests (still neglected) and comments to follow.

rafal

11 years agor17662: some more enhancements to our schema extraction tool,
Simo Sorce [Mon, 21 Aug 2006 13:04:14 +0000 (13:04 +0000)]
r17662: some more enhancements to our schema extraction tool,
with a nasty hack in minschema.js that I really hate

11 years agor17661: A patch from Martin Kuehl:
Andrew Bartlett [Mon, 21 Aug 2006 10:45:58 +0000 (10:45 +0000)]
r17661: A patch from Martin Kuehl:

This commit extends the samba3sam test suite, which contains tests for
the samba3sam and ldb_map modules, with a lot of tests for inbound,
i.e. add, modify, rename and delete requests.

The tests each add a single record, modify it, rename it, and then
delete it, at each step checking that the operations were successful
and that the right data went into the right partitions.
They are run for an unmapped record, a mapped record with data only in
the remote partition, a mapped record with remote data that is later
modified to include local data, and a mapped record with data in both
the local and remote partitions.

It also adds a function to the backend objects that makes construction
of DNs for their respective partitions more comfortable.

Cheers,
Martin

11 years agor17660: fixed configure test
Andrew Tridgell [Mon, 21 Aug 2006 10:30:26 +0000 (10:30 +0000)]
r17660: fixed configure test

11 years agor17659: cope with systems without the x509 gnutls functions
Andrew Tridgell [Mon, 21 Aug 2006 09:27:43 +0000 (09:27 +0000)]
r17659: cope with systems without the x509 gnutls functions

11 years agor17658: several replacement snprintf() fixes.
Andrew Tridgell [Mon, 21 Aug 2006 07:41:17 +0000 (07:41 +0000)]
r17658: several replacement snprintf() fixes.

1) when running the testsuite, actually test against the system
   sprintf(), not against ourselves (doh!)

2) fix the buffer termination to terminate buf2 as well

3) fix handling of %llu, and add a simple test

This fixes a bug with password expiry on solaris

11 years agor17656: some systems (like older solaris) don't return ENOTEMPTY on rmdir()
Andrew Tridgell [Mon, 21 Aug 2006 06:06:02 +0000 (06:06 +0000)]
r17656: some systems (like older solaris) don't return ENOTEMPTY on rmdir()
with non-empty directory

11 years agor17653: fix typo
Simo Sorce [Mon, 21 Aug 2006 05:01:55 +0000 (05:01 +0000)]
r17653: fix typo

11 years agor17652: add oMSyntax to these attributes
Simo Sorce [Mon, 21 Aug 2006 04:44:38 +0000 (04:44 +0000)]
r17652: add oMSyntax to these attributes

11 years agor17651: Commit the set of classess used to generate our schema
Simo Sorce [Mon, 21 Aug 2006 04:33:36 +0000 (04:33 +0000)]
r17651: Commit the set of classess used to generate our schema
and update the schema with the latest additions

11 years agor17648: update minschema.js
Simo Sorce [Mon, 21 Aug 2006 03:52:43 +0000 (03:52 +0000)]
r17648: update minschema.js
this version returns also oMSyntax and oMObjectClass and also
use the right value for the objects CNs

add a nasty hack to ejs' mprLdbMessage() to handle binary blobs situations

11 years agor17647: the init fns should not take a mem_ctx
Andrew Tridgell [Mon, 21 Aug 2006 03:51:55 +0000 (03:51 +0000)]
r17647: the init fns should not take a mem_ctx

11 years agor17646: Use authentication if specified.
Andrew Bartlett [Mon, 21 Aug 2006 02:44:51 +0000 (02:44 +0000)]
r17646: Use authentication if specified.

Andrew Bartlett

11 years agor17645: gcc 4.1.x has started producing "value computed is not used" warnings
Andrew Tridgell [Mon, 21 Aug 2006 01:27:22 +0000 (01:27 +0000)]
r17645: gcc 4.1.x has started producing "value computed is not used" warnings
in very annoying ways for talloc_steal. This rather strange looking
cpp approach avoids these warnings. It's really a problem in gcc, but
better to do this than put up with the huge flood of warnings.

11 years agor17644: change the ldap server to always use the single process model. We are
Andrew Tridgell [Mon, 21 Aug 2006 01:25:20 +0000 (01:25 +0000)]
r17644: change the ldap server to always use the single process model. We are
not aiming to produce a high performance parallel ldap server, so
better to reserve the extra CPUs on a SMP box for file serving.

11 years agor17642: some more mappings
Simo Sorce [Mon, 21 Aug 2006 00:57:54 +0000 (00:57 +0000)]
r17642: some more mappings

11 years agor17641: some more info, add oMObjectClass values (binary :-/)
Simo Sorce [Mon, 21 Aug 2006 00:50:54 +0000 (00:50 +0000)]
r17641: some more info, add oMObjectClass values (binary :-/)

11 years agor17639: Martin Kuhl noticed that we loaded an incorrect value for
Andrew Bartlett [Sun, 20 Aug 2006 23:30:54 +0000 (23:30 +0000)]
r17639: Martin Kuhl noticed that we loaded an incorrect value for
distinguisedName on templated objects.

In looking how to handle distinguishedName correctly on LDAP, I was
very glad to find it supported entryDN, and this adds another mapping.

Andrew Bartlett

11 years agor17634: Kill off another case where we used dnsDomain, and point it again at
Andrew Bartlett [Sun, 20 Aug 2006 21:58:02 +0000 (21:58 +0000)]
r17634: Kill off another case where we used dnsDomain, and point it again at
dnsRoot.

Fix to read the nETBIOSName from the correct result.

Andrew Bartlett

11 years agor17633: Return NULL at the end of the file, or else we can't tell the
Andrew Bartlett [Sun, 20 Aug 2006 21:57:08 +0000 (21:57 +0000)]
r17633: Return NULL at the end of the file, or else we can't tell the
difference between end of file and a blank line.

Andrew Bartlett

11 years agor17632: This is the most accurate mappings between LDAP OID Syntaxes and AD Syntaxes.
Simo Sorce [Sun, 20 Aug 2006 21:23:47 +0000 (21:23 +0000)]
r17632: This is the most accurate mappings between LDAP OID Syntaxes and AD Syntaxes.
Generated by scripts that cross information from the Windows Schema and the
aggregate schema and cross verified by searching on the net

11 years agor17631: Some syntaxes from MS in a now vanished internet draft
Simo Sorce [Sun, 20 Aug 2006 21:22:27 +0000 (21:22 +0000)]
r17631: Some syntaxes from MS in a now vanished internet draft

11 years agor17624: Samba3 does not yet do getprinterinfo level 6
Volker Lendecke [Sun, 20 Aug 2006 17:38:15 +0000 (17:38 +0000)]
r17624: Samba3 does not yet do getprinterinfo level 6

11 years agor17614: Our first "client side' ldb module.
Simo Sorce [Sat, 19 Aug 2006 20:53:43 +0000 (20:53 +0000)]
r17614: Our first "client side' ldb module.

This module has been created with the purpose of being used
for searches against ldap servers without the need to handle
the control manually

You can test it by passing -o modules:paged_searches to ldbsearch

The page search size is set to 500 objects.

Simo.

11 years agor17613: style fix
Simo Sorce [Sat, 19 Aug 2006 20:44:41 +0000 (20:44 +0000)]
r17613: style fix

11 years agor17609: Kill one more use of the fake dnsDomain attribute.
Andrew Bartlett [Fri, 18 Aug 2006 22:20:13 +0000 (22:20 +0000)]
r17609: Kill one more use of the fake dnsDomain attribute.

Add a talloc_steal to avoid a memory leak of the ldb_search result.

Andrew Bartlett