13 years agor25300: Update howto.txt with modified provision syntax.
Andrew Bartlett [Sat, 22 Sep 2007 12:57:50 +0000 (12:57 +0000)]
r25300: Update howto.txt with modified provision syntax.

Andrew Bartlett
(This used to be commit 15ede335d7d61ad752fac6e2b0f888753f0fee10)

13 years agor25299: Modify the provision script to take an additional argument: --server-role
Andrew Bartlett [Sat, 22 Sep 2007 12:57:17 +0000 (12:57 +0000)]
r25299: Modify the provision script to take an additional argument:  --server-role

This must be set to either 'domain controller', 'domain member' or 'standalone'.

The default for the provision now changes to 'standalone'.

This is not because Samba4 is particularlly useful in that mode, but
because we still want a positive sign from the administrator that we
should advertise as a DC.

We now do more to ensure the 'standalone' and 'member server'
provision output is reasonable, and try not to set odd things into the
database that only belong for the DC.

Andrew Bartlett
(This used to be commit 4cc4ed7719aff712e735628410bd3813c7d6aa40)

13 years agor25298: regenerate lex.c files with config.h as first include
Stefan Metzmacher [Sat, 22 Sep 2007 09:44:29 +0000 (09:44 +0000)]
r25298: regenerate lex.c files with config.h as first include
this should help on aix 5.3.

(This used to be commit bfd8c275bb90b2709753ef3177c8ab24f91c75c0)

13 years agor25297: - fix sed arguments to make the replacement work
Stefan Metzmacher [Sat, 22 Sep 2007 09:42:38 +0000 (09:42 +0000)]
r25297: - fix sed arguments to make the replacement work
- always add #include "config.h" in the first line

(This used to be commit 7939f847bfdda6977e7d04dc5a55e1333ade7b14)

13 years agor25296: Apply patch by Elrond <>: Put
Volker Lendecke [Sat, 22 Sep 2007 09:22:58 +0000 (09:22 +0000)]
r25296: Apply patch by Elrond <>: Put
__location__ into a few printfs.


(This used to be commit b0e323a09e5f888850833dc4532110f8ceebb14b)

13 years agor25293: add WINBIND-STRUCT-CHECK_MACHACC test
Stefan Metzmacher [Fri, 21 Sep 2007 14:22:23 +0000 (14:22 +0000)]

(This used to be commit 8684167fd804fb04fc36e49f61027e9d44beb3ba)

13 years agor25292: minor cleanup
Stefan Metzmacher [Fri, 21 Sep 2007 13:55:21 +0000 (13:55 +0000)]
r25292: minor cleanup

(This used to be commit a98205f26dfbf680ad6ac9f3ba2043b3e2864f99)

13 years agor25291: add WINBIND-STRUCT-PRIV_PIPE_DIR test
Stefan Metzmacher [Fri, 21 Sep 2007 13:23:43 +0000 (13:23 +0000)]

this may needs
--option="torture:winbindd private pipe dir=/var/lib/samba/winbindd_privileged"

(This used to be commit f83062d10955115a55928c51d289a219c1442632)

13 years agor25290: remove wrong comment
Stefan Metzmacher [Fri, 21 Sep 2007 12:55:16 +0000 (12:55 +0000)]
r25290: remove wrong comment

(This used to be commit 9916d40769fa50be7e0bc88c981643f2c38f3336)

13 years agor25289: add WINBIND-STRUCT-INFO test
Stefan Metzmacher [Fri, 21 Sep 2007 12:49:32 +0000 (12:49 +0000)]
r25289: add WINBIND-STRUCT-INFO test

this may needs --option="torture:winbindd separator=+"

(This used to be commit 8bf28eecf274c5f53ab735036ffe09e0df751a9c)

13 years agor25288: add WINBIND-STRUCT-DOMAIN_INFO test
Stefan Metzmacher [Fri, 21 Sep 2007 12:35:44 +0000 (12:35 +0000)]

(This used to be commit f42965b6edfd91e00004a87a806d124be7eaeee0)

13 years agor25284: add WINBIND-STRUCT-DOMAIN_NAME test
Stefan Metzmacher [Fri, 21 Sep 2007 11:51:04 +0000 (11:51 +0000)]

this may needs --option="torture:winbindd netbios domain=BAR"

(This used to be commit 3aba871fc35821f4660749db6e449846fc6b8753)

13 years agor25283: add WINBIND-STRUCT-NETBIOS_NAME test.
Stefan Metzmacher [Fri, 21 Sep 2007 11:43:06 +0000 (11:43 +0000)]

this may needs --option="torture:winbindd netbios name=FOO"

(This used to be commit e67df9b8de4f3c9abc5ddfdad91e2682ddd40e45)

13 years agor25282: add WINBIND-STRUCT-INTERFACE_VERSION test
Stefan Metzmacher [Fri, 21 Sep 2007 11:30:44 +0000 (11:30 +0000)]

(This used to be commit d610281cc11351fdc4ed0e4242341530fe56c5bf)

13 years agor25280: call WINBINDD_GETDCNAME for each domain returned from WINBINDD_LIST_TRUSTDOMS
Stefan Metzmacher [Fri, 21 Sep 2007 10:43:21 +0000 (10:43 +0000)]
r25280: call WINBINDD_GETDCNAME for each domain returned from WINBINDD_LIST_TRUSTDOMS

(This used to be commit c06e7aebc5998da0a3b1d1f2021e6f49c31071f5)

13 years agor25279: - test in the generic get_trusted_domains() function that we got
Stefan Metzmacher [Fri, 21 Sep 2007 10:40:10 +0000 (10:40 +0000)]
r25279: - test in the generic get_trusted_domains() function that we got
  at least 2 domains.
- change the ordering of the tests

(This used to be commit 22eb3095d622e4cee559387900e5a7d9cfb51171)

13 years agor25278: add a more extented macro for doing struct based winbind requests
Stefan Metzmacher [Fri, 21 Sep 2007 10:36:51 +0000 (10:36 +0000)]
r25278: add a more extented macro for doing struct based winbind requests

(This used to be commit ad3ec174088393a9efb265fa7a135fbfd080b6a7)

13 years agor25269: this doesn't fix the problems with BSD make completely...
Stefan Metzmacher [Fri, 21 Sep 2007 09:00:25 +0000 (09:00 +0000)]
r25269: this doesn't fix the problems with BSD make completely...

(This used to be commit 869c30abb660d00fdf7e049f69a8e4312d86a50c)

13 years agor25268: Thanks to Andrew Kroeger for pointing out on IRC that this is
Andrew Bartlett [Fri, 21 Sep 2007 05:49:48 +0000 (05:49 +0000)]
r25268: Thanks to Andrew Kroeger for pointing out on IRC that this is
compleatly dead code.

Andrew Bartlett
(This used to be commit 5838aca79b11fd8a94567a04c1c1a99bc4343547)

13 years agor25267: Move PRINTF_ATTRIBUTE to lib/util as well.
Jelmer Vernooij [Fri, 21 Sep 2007 02:00:50 +0000 (02:00 +0000)]
r25267: Move PRINTF_ATTRIBUTE to lib/util as well.
(This used to be commit 72b9d6c03661d72e83a5d60d43b75bb9bd5f5285)

13 years agor25266: Fix case.
Jelmer Vernooij [Fri, 21 Sep 2007 00:42:51 +0000 (00:42 +0000)]
r25266: Fix case.
(This used to be commit 935ac3189d93e53841dc47c0f9c7fcca5661a2bb)

13 years agor25265: Move attribute definitions to lib/util.
Jelmer Vernooij [Fri, 21 Sep 2007 00:09:13 +0000 (00:09 +0000)]
r25265: Move attribute definitions to lib/util.
(This used to be commit 5bb9f041f47a1b7e03c3dc02e38546bc43bcc856)

13 years agor25264: add a test to verify that the ACLs are checked when a normal user connects...
Ronnie Sahlberg [Thu, 20 Sep 2007 23:27:28 +0000 (23:27 +0000)]
r25264: add a test to verify that the ACLs are checked when a normal user connects to SAMR
(This used to be commit 2be2ab575b14ea3cec0097705c3c0a10a570d340)

13 years agor25263: add a test to check the accessmasks and ACLs on policy handles returned on the
Ronnie Sahlberg [Thu, 20 Sep 2007 22:57:57 +0000 (22:57 +0000)]
r25263: add a test to check the accessmasks and ACLs on policy handles returned on the
SAMR pipe.

also test which bits in the accessmasks grant which right to perform operations on the returned policy handle
(This used to be commit cb5bc801362a4a81a690e641146c70a7af8e6096)

13 years agor25262: add WINBIND-STRUCT-LIST_TRUSTDOM torture test
Stefan Metzmacher [Thu, 20 Sep 2007 18:44:59 +0000 (18:44 +0000)]
r25262: add WINBIND-STRUCT-LIST_TRUSTDOM torture test

(This used to be commit 52dfec08e7b09c3d80c7e5efc88889144079fc9e)

13 years agor25259: try to work arround the build failures on OpenBSD 3.7
Stefan Metzmacher [Thu, 20 Sep 2007 14:36:11 +0000 (14:36 +0000)]
r25259: try to work arround the build failures on OpenBSD 3.7

(This used to be commit 5679e7d824d8a814b6cbc39855bb30086aad7b6c)

13 years agor25256: Fix missing field set in libnet_ModifyUser routine.
Rafal Szczesniak [Thu, 20 Sep 2007 10:23:02 +0000 (10:23 +0000)]
r25256: Fix missing field set in libnet_ModifyUser routine.

Submitted by Matthias Dieter Wallnoefer <>

(This used to be commit 4fe47e4f976f125537b6a9fc7b13b25efe3d73a6)

13 years agor25251: move macro defines to the end of replace.h
Stefan Metzmacher [Thu, 20 Sep 2007 09:11:58 +0000 (09:11 +0000)]
r25251: move macro defines to the end of replace.h
and move the include location sys/param.h
before we redefine missing macros

(This used to be commit 87559febdf887940ca85571d301269b734906401)

13 years agor25249: Thanks to Andrew Kroeger for pointing out this silly typo (calling
Andrew Bartlett [Thu, 20 Sep 2007 07:51:08 +0000 (07:51 +0000)]
r25249: Thanks to Andrew Kroeger for pointing out this silly typo (calling
end_transaction in delete_tranaction would be very much the wrong
thing to do) in the update_keytab module.

Andrew Bartlett
(This used to be commit aad9545ca12bc8a3aeaf5cc870d137d89c34bb39)

13 years agor25242: remove sequence_number out of WINBINDD_DOMAIN_INFO call
Stefan Metzmacher [Wed, 19 Sep 2007 19:09:02 +0000 (19:09 +0000)]
r25242: remove sequence_number out of WINBINDD_DOMAIN_INFO call
as this is always answered by the winbindd parent and will
most times return old sequence number values.

(This used to be commit af259f35f22ea24c1b2f2e007998bfa0bb58f6f6)

13 years agor25235: add simple WINBIND-STRUCT-GETDCNAME test
Stefan Metzmacher [Wed, 19 Sep 2007 16:24:12 +0000 (16:24 +0000)]
r25235: add simple WINBIND-STRUCT-GETDCNAME test

(This used to be commit 2abd86f520a74662f8fe0d10b72484459c3d74a9)

13 years agor25234: make WINBIND-STRUCT-PING a benchmark test
Stefan Metzmacher [Wed, 19 Sep 2007 16:22:19 +0000 (16:22 +0000)]
r25234: make WINBIND-STRUCT-PING a benchmark test

which runs WINBIND_PING for 5 seconds

(This used to be commit 86809a965e160d0e6dff2d9bde8c990783388d8d)

13 years agor25231: revert hunk that was commited together with the change to gplv3
Stefan Metzmacher [Wed, 19 Sep 2007 14:55:10 +0000 (14:55 +0000)]
r25231: revert hunk that was commited together with the change to gplv3
was revision 23801

(This used to be commit 6ea0d61ab3bbf801709ca683ce84bfa71267f8f9)

13 years agor25221: Experiment with Jelmer's new generic loadparm code.
Tim Potter [Wed, 19 Sep 2007 01:59:06 +0000 (01:59 +0000)]
r25221: Experiment with Jelmer's new generic loadparm code.
(This used to be commit 9fbbd1b5c9c19a0f5d49bafc6d25967e133e38b4)

13 years agor25220: Comment out obsolete functions.
Tim Potter [Wed, 19 Sep 2007 01:57:26 +0000 (01:57 +0000)]
r25220: Comment out obsolete functions.
(This used to be commit 448cf5b61fdc8435823c3490767489ea4d85c5bc)

13 years agor25219: remove unused check for precompiled headers.
Jelmer Vernooij [Tue, 18 Sep 2007 23:19:04 +0000 (23:19 +0000)]
r25219: remove unused check for precompiled headers.
(This used to be commit 17c92c091d9b9eb7f6a4cf1f263533f235d6717f)

13 years agor25218: After discussion with Simo, remove the subclass support from LDB.
Andrew Bartlett [Tue, 18 Sep 2007 22:43:06 +0000 (22:43 +0000)]
r25218: After discussion with Simo, remove the subclass support from LDB.

Subclass support was designed to avoid needing to spell out the full
list of objectClasses that an entry was in.  However, Samba4 now
enforces this restriction in the objectClass module, and the way
subclass matching was handled was complex and counter-intuitive in my
opinion (and did not match LDAP).

Andrew Bartlett
(This used to be commit f5ce04b904e14445a2a7e7f92e7e1f64b645c6f2)

13 years agor25217: #define TALLOC_DEPRECATED 1 to get talloc_append_string() macro
Stefan Metzmacher [Tue, 18 Sep 2007 13:47:10 +0000 (13:47 +0000)]
r25217: #define TALLOC_DEPRECATED 1 to get talloc_append_string() macro

I'm not updating any code here, as in a few places the
existing code seems totaly broken to me...

(This used to be commit 97e535338be61c4f6675de3bfb3396bf43ba0103)

13 years agor25216: make talloc_append_string() a deprecated macro instead of
Stefan Metzmacher [Tue, 18 Sep 2007 13:45:43 +0000 (13:45 +0000)]
r25216: make talloc_append_string() a deprecated macro instead of
having it as a real function.

(This used to be commit 2b2e8414650f4793e7fd6e7fb368383ee268948f)

13 years agor25215: replace talloc_append_string() with talloc_strdup_append_buffer()
Stefan Metzmacher [Tue, 18 Sep 2007 13:41:50 +0000 (13:41 +0000)]
r25215: replace talloc_append_string() with talloc_strdup_append_buffer()

(This used to be commit 8f2db3c130ce85d38f805836a7df039822ede066)

13 years agor25214: use talloc_strndup_append() instead of talloc_append_string()
Stefan Metzmacher [Tue, 18 Sep 2007 13:33:44 +0000 (13:33 +0000)]
r25214: use talloc_strndup_append() instead of talloc_append_string()
and ugly hacks to handle the string termination.

(This used to be commit 32bb276920d3f6987427613c6f1bc71557d8893e)

13 years agor25213: use talloc_strdup_append_buffer() instead of talloc_append_string()
Stefan Metzmacher [Tue, 18 Sep 2007 13:31:55 +0000 (13:31 +0000)]
r25213: use talloc_strdup_append_buffer() instead of talloc_append_string()

(This used to be commit d0306ed16b55034f48cb514ea1f4dcd1d388ac50)

13 years agor25212: merge some stuff from samba3
Stefan Metzmacher [Tue, 18 Sep 2007 13:31:05 +0000 (13:31 +0000)]
r25212: merge some stuff from samba3

(This used to be commit 502251451aa78b82131283d0590b382943b1d156)

13 years agor25211: fix compiler warning
Stefan Metzmacher [Tue, 18 Sep 2007 13:25:48 +0000 (13:25 +0000)]
r25211: fix compiler warning

(This used to be commit c0d095c8c9c1f9a7a96771e20680c105f0cce308)

13 years agor25210: fix typo
Stefan Metzmacher [Tue, 18 Sep 2007 12:00:29 +0000 (12:00 +0000)]
r25210: fix typo

(This used to be commit 489758afb22368399054d1306711e14cebce94e1)

13 years agor25209: unify logic of talloc_vasprintf_append() and talloc_vasprintf_append_buffer()
Stefan Metzmacher [Tue, 18 Sep 2007 11:56:24 +0000 (11:56 +0000)]
r25209: unify logic of talloc_vasprintf_append() and talloc_vasprintf_append_buffer()

(This used to be commit 780c1c776e15f7224256a0ba0bda3e9f04702abe)

13 years agor25208: add talloc_str[n]dup_append[_buffer]() functions
Stefan Metzmacher [Tue, 18 Sep 2007 11:54:10 +0000 (11:54 +0000)]
r25208: add talloc_str[n]dup_append[_buffer]() functions

(This used to be commit 8532076720ddaf3409db1196550cd7c6884380fc)

13 years agor25207: remove one nesting level and use unlikely()
Stefan Metzmacher [Tue, 18 Sep 2007 11:52:35 +0000 (11:52 +0000)]
r25207: remove one nesting level and use unlikely()

(This used to be commit c2931540bc6e2d7665ef46a123f1c0618c3b55b7)

13 years agor25206: unify logic of talloc_strdup() and talloc_strndup(),
Stefan Metzmacher [Tue, 18 Sep 2007 11:51:41 +0000 (11:51 +0000)]
r25206: unify logic of talloc_strdup() and talloc_strndup(),
only strlen() vs. strnlen() is the difference now.

(This used to be commit 92106e6b7e4ed3b6e1aa942b6dc8ae52fdf5805b)

13 years agor25205: $(srcdir) isn't expanded here...
Stefan Metzmacher [Tue, 18 Sep 2007 11:50:39 +0000 (11:50 +0000)]
r25205: $(srcdir) isn't expanded here...

(This used to be commit 4bce808917e296a0d50f39516da06bfb12418cf8)

13 years agor25204: Patch by Andrew Kroeger <> fixing bug #4958 -
Andrew Bartlett [Tue, 18 Sep 2007 06:36:07 +0000 (06:36 +0000)]
r25204: Patch by Andrew Kroeger <> fixing bug #4958 -
rename of ldb entries for a case change (only).

I've modified the testsuite to verify this.

Andrew Bartlett
(This used to be commit 9cccd00dac44dd9152ec03cecf5ffac24f918445)

13 years agor25203: Don't use subclasses in Samba4, as we always fill out the full
Andrew Bartlett [Tue, 18 Sep 2007 02:43:56 +0000 (02:43 +0000)]
r25203: Don't use subclasses in Samba4, as we always fill out the full
objectClass list.

Andrew Bartlett
(This used to be commit e882dcb7aaa52843c656084c47c0b3c49557c22e)

13 years agor25196: Thanks to id10ts on IRC for finding some typos in my well-known names
Andrew Bartlett [Mon, 17 Sep 2007 12:44:26 +0000 (12:44 +0000)]
r25196: Thanks to id10ts on IRC for finding some typos in my well-known names

Andrew Bartlett
(This used to be commit 99e013207e4a10a97fe3b37eb901bc33805731a9)

13 years agor25194: A major rework of the Samba4 LSA LookupNames and LookupSids code, with
Andrew Bartlett [Mon, 17 Sep 2007 05:31:49 +0000 (05:31 +0000)]
r25194: A major rework of the Samba4 LSA LookupNames and LookupSids code, with
a new torture suite to match.

This should fix bug #4954 by Matthias Wallnöfer <>

Previously we had no knowlege of BUILTIN or well-known names.

This code needs expansion to check with winbind for trusted domains.

Andrew Bartlett
(This used to be commit e6fc0e1f54ad64bdddc88e9ebd0d8d181b6ce26a)

13 years agor25193: Update headers to easy use by external apps.
Jelmer Vernooij [Sun, 16 Sep 2007 19:14:46 +0000 (19:14 +0000)]
r25193: Update headers to easy use by external apps.
(This used to be commit 20b70fbb7af6b6759c3b8c8aa56e10944b32bfdf)

13 years agor25192: try to fix the build on sun/solaris hosts
Stefan Metzmacher [Sun, 16 Sep 2007 15:12:04 +0000 (15:12 +0000)]
r25192: try to fix the build on sun/solaris hosts

we should try to get rid of all c++ sympols
in samba4...

(This used to be commit 96d2f8b3604b8d34bc65877886d1d663131a712a)

13 years agor25191: Fix include for BSD systems.
Jelmer Vernooij [Sun, 16 Sep 2007 14:39:19 +0000 (14:39 +0000)]
r25191: Fix include for BSD systems.
(This used to be commit 24a0df29677e6392aa88f4400e08effc29de9366)

13 years agor25190: Update talloc version to 1.1.0 after API-incompatible changes.
Jelmer Vernooij [Sun, 16 Sep 2007 14:34:33 +0000 (14:34 +0000)]
r25190: Update talloc version to 1.1.0 after API-incompatible changes.
(This used to be commit 66000a1fa2365cd8a08e3ecaaa116b27eb74e8b8)

13 years agor25189: add first winbind test for the struct based protocol (WINBINDD_PING)
Stefan Metzmacher [Sun, 16 Sep 2007 14:20:53 +0000 (14:20 +0000)]
r25189: add first winbind test for the struct based protocol (WINBINDD_PING)

(This used to be commit 84b5babae7d24f5e076318f57642c99e40e7bf6b)

13 years agor25188: add infrastructure for WINBIND-* tests in smbtorture
Stefan Metzmacher [Sun, 16 Sep 2007 14:19:30 +0000 (14:19 +0000)]
r25188: add infrastructure for WINBIND-* tests in smbtorture

(This used to be commit 3807699c001ce7a8ee0acba071cc2bb7f4406cd9)

13 years agor25187: pass FIRST_PREREQ to Makefile so that the value can be used
Stefan Metzmacher [Sun, 16 Sep 2007 14:08:08 +0000 (14:08 +0000)]
r25187: pass FIRST_PREREQ to Makefile so that the value can be used
in handwritten rules too, hopefully fix the build
of ldb with bsd make.

(This used to be commit 9d6d296105526c55f08d82d289a30b92193d51e3)

13 years agor25186: Fix a memory corruption in base-mangle
Volker Lendecke [Sun, 16 Sep 2007 10:30:31 +0000 (10:30 +0000)]
r25186: Fix a memory corruption in base-mangle
(This used to be commit 4822b3f0db11059281b33e896250f36e3b3448eb)

13 years agor25185: Check that can_contain_deferred returns true if one of the members of a type...
Jelmer Vernooij [Sat, 15 Sep 2007 23:03:34 +0000 (23:03 +0000)]
r25185: Check that can_contain_deferred returns true if one of the members of a type can contain deferred data.
(This used to be commit 9e804e0c21f09b699707bb88d534bde55d265087)

13 years agor25183: return LOCKDIR too
Stefan Metzmacher [Sat, 15 Sep 2007 20:14:17 +0000 (20:14 +0000)]
r25183: return LOCKDIR too

(This used to be commit 9d73932972ca5ceaf941c4b7cc88fe1fa19e1cc2)

13 years agor25182: don't hide the envlog in plain mode
Stefan Metzmacher [Sat, 15 Sep 2007 20:11:28 +0000 (20:11 +0000)]
r25182: don't hide the envlog in plain mode

(This used to be commit 77050171ae1c8157ff2c7722fb0b046efb82411d)

13 years agor25181: sync winbind client code with samba3
Stefan Metzmacher [Sat, 15 Sep 2007 20:09:29 +0000 (20:09 +0000)]
r25181: sync winbind client code with samba3

NOTE: wbinfo.c isn't fully merged here

(This used to be commit eee5327dc2f79c052c2db0ca89f23cc9d2ce355d)

13 years agor25175: Change to talloc_asprintf_append_buffer().
Jeremy Allison [Fri, 14 Sep 2007 23:21:00 +0000 (23:21 +0000)]
r25175: Change to talloc_asprintf_append_buffer().
(This used to be commit 0844dbf597191b3e4d35a696695b229e986daec4)

13 years agor25174: Export header from just one place.
Jelmer Vernooij [Fri, 14 Sep 2007 23:03:29 +0000 (23:03 +0000)]
r25174: Export header from just one place.
(This used to be commit 82383a6c12c2c4f2a8779f9399e503003a4a9f99)

13 years agor25168: Fix include for gen_ndr/misc.h. Patch by Julien Kerihuel.
Jelmer Vernooij [Fri, 14 Sep 2007 18:26:23 +0000 (18:26 +0000)]
r25168: Fix include for gen_ndr/misc.h. Patch by Julien Kerihuel.
(This used to be commit 160c0013dc02165ed1787291937b641b6cef5a2b)

13 years agor25166: Simplify can_contain_deferred and add tests for it.
Jelmer Vernooij [Fri, 14 Sep 2007 18:06:51 +0000 (18:06 +0000)]
r25166: Simplify can_contain_deferred and add tests for it.
(This used to be commit 1afc7dd4d33f05d58121defed88faf8fcee3df8f)

13 years agor25164: Add talloc_asprintf_append_buffer() and the docs for it.
Jeremy Allison [Fri, 14 Sep 2007 17:40:58 +0000 (17:40 +0000)]
r25164: Add talloc_asprintf_append_buffer() and the docs for it.
(This used to be commit 5bb8613b86a6788efde840d5b50710f9afd22fed)

13 years agor25159: fix missing declarations warning
Stefan Metzmacher [Fri, 14 Sep 2007 13:16:46 +0000 (13:16 +0000)]
r25159: fix missing declarations warning

(This used to be commit 3d321a5efc22f8a702095f7704a36325a97db138)

13 years agor25158: rename nsswitch/winbindd_nss.h => nsswitch/winbind_struct_protocol.h
Stefan Metzmacher [Fri, 14 Sep 2007 13:14:59 +0000 (13:14 +0000)]
r25158: rename nsswitch/winbindd_nss.h => nsswitch/winbind_struct_protocol.h

(This used to be commit 1fc3a37902005a4f127191b9183747ddfb1f59a3)

13 years agor25124: Include link to summary page, hide environment variables for 'none' environment.
Jelmer Vernooij [Thu, 13 Sep 2007 12:22:08 +0000 (12:22 +0000)]
r25124: Include link to summary page, hide environment variables for 'none' environment.
(This used to be commit 9fac2bd884bc325792d65bcdd166d785269655df)

13 years agor25123: we only need lib/ldb/sqlite3.m4 and lib/ldb/libldb.m4,
Stefan Metzmacher [Thu, 13 Sep 2007 10:53:35 +0000 (10:53 +0000)]
r25123: we only need lib/ldb/sqlite3.m4 and lib/ldb/libldb.m4,
when we build our own ldb...

(This used to be commit 775f723c80335d3c701b907af18420ae68933d2f)

13 years agor25122: fix interface detection code
Stefan Metzmacher [Thu, 13 Sep 2007 10:51:31 +0000 (10:51 +0000)]
r25122: fix interface detection code

jelmer: I wonder what broke it...

(This used to be commit 4c8063b9c4ca2c0359859338a8335e177e9c31bd)

13 years agor25116: Fix talloc_asprintf_append to do the right thing with
Jeremy Allison [Wed, 12 Sep 2007 21:41:36 +0000 (21:41 +0000)]
r25116: Fix talloc_asprintf_append to do the right thing with
truncated strings.
(This used to be commit 948d32bb62b0e8c68cc961a380eae602ffc71870)

13 years agor25115: move normalizing of the define string into a function
Stefan Metzmacher [Wed, 12 Sep 2007 12:36:42 +0000 (12:36 +0000)]
r25115: move normalizing of the define string into a function
and replace '-' with '_' as '-' isn't a string constant in C

jelmer: I assume the "..". for the public header was a bug...

(This used to be commit 5522ee146151603e64e0fc26fc8c900b0403c883)

13 years agor25114: handle structs and unions without typedefs better
Stefan Metzmacher [Wed, 12 Sep 2007 12:31:19 +0000 (12:31 +0000)]
r25114: handle structs and unions without typedefs better
in can_contain_deffered()

jelmer: we need to handle this more genericly, I assume
        we have a lot of other related bugs

(This used to be commit 3e0f22c85769cac7a5f439836be7b692259ddd81)

13 years agor25113: fix compiler warning
Stefan Metzmacher [Wed, 12 Sep 2007 09:26:57 +0000 (09:26 +0000)]
r25113: fix compiler warning

(This used to be commit d0ada02532d10e8b31c390ee191b94c2f2299cb0)

13 years agor25112: make torture_temp_dir() available via tortore/torture.h
Stefan Metzmacher [Wed, 12 Sep 2007 07:29:29 +0000 (07:29 +0000)]
r25112: make torture_temp_dir() available via tortore/torture.h
and return more detailed errors

(This used to be commit c2b645c8763fd75a0a81983ec44a5990670c4fc4)

13 years agor25110: Show environment variables in HTML output.
Jelmer Vernooij [Tue, 11 Sep 2007 23:53:25 +0000 (23:53 +0000)]
r25110: Show environment variables in HTML output.
(This used to be commit 62e770ace32f0e38863d4020773562e74117fc65)

13 years agor25106: ldb_map is provided by in the system-provided ldb.
Jelmer Vernooij [Tue, 11 Sep 2007 22:49:11 +0000 (22:49 +0000)]
r25106: ldb_map is provided by in the system-provided ldb.
(This used to be commit 15476d75e781a9755f2e842d83527836758e4369)

13 years agor25105: No need to register ldb_map as a module.
Jelmer Vernooij [Tue, 11 Sep 2007 22:45:15 +0000 (22:45 +0000)]
r25105: No need to register ldb_map as a module.
(This used to be commit 6c66e09c9e400ea66fc6d941e192b28d0170a01f)

13 years agor25101: Directly depend on drsblobs - can't rely on having it in via ldb.
Jelmer Vernooij [Tue, 11 Sep 2007 18:25:54 +0000 (18:25 +0000)]
r25101: Directly depend on drsblobs - can't rely on having it in via ldb.
(This used to be commit 6b4a21e1abd35c33d7a57084a86607bfa72ad3b1)

13 years agor25100: Include LDAP libs in .pc file so linking statically against libldb works...
Jelmer Vernooij [Tue, 11 Sep 2007 18:24:09 +0000 (18:24 +0000)]
r25100: Include LDAP libs in .pc file so linking statically against libldb works again.
(This used to be commit bcf5c9447435a826027626ac89a00eaa6739b12a)

13 years agor25098: Fix typo
Jelmer Vernooij [Tue, 11 Sep 2007 18:02:30 +0000 (18:02 +0000)]
r25098: Fix typo
(This used to be commit 29415b661d103a80482b932172bf68cb9e394bc9)

13 years agor25097: Don't clutter users' CFLAGS with ldb cflags.
Jelmer Vernooij [Tue, 11 Sep 2007 17:57:37 +0000 (17:57 +0000)]
r25097: Don't clutter users' CFLAGS with ldb cflags.
(This used to be commit e31614b5ea73cab56c572d2e2d61f8070928b230)

13 years agor25096: Missed an include - otherwise the embedded ldb is always used.
Jelmer Vernooij [Tue, 11 Sep 2007 17:32:55 +0000 (17:32 +0000)]
r25096: Missed an include - otherwise the embedded ldb is always used.
(This used to be commit 557b4b3d456a5dbc501695bf90d1436bdbbc49e9)

13 years agor25095: Display of which libraries the system-provided version is being used.
Jelmer Vernooij [Tue, 11 Sep 2007 17:31:23 +0000 (17:31 +0000)]
r25095: Display of which libraries the system-provided version is being used.
(This used to be commit 635ea8996a3b7f05acdb679d77c81f2bee5db705)

13 years agor25094: Force building shared module if subsystem is a shared library.
Jelmer Vernooij [Tue, 11 Sep 2007 17:29:49 +0000 (17:29 +0000)]
r25094: Force building shared module if subsystem is a shared library.
(This used to be commit 3146f0deadbc49b1a56f667bfcee950880ffe0f9)

13 years agor25093: Use system-provided ldb library if available. Note that this only means using...
Jelmer Vernooij [Tue, 11 Sep 2007 17:27:25 +0000 (17:27 +0000)]
r25093: Use system-provided ldb library if available. Note that this only means using the ldb library from the system - the custom command-line tools for Samba 4 will still be built even if they are already provided by the system.
(This used to be commit 8aab673df5200a4555777caf4ee58907cf6fe4cc)

13 years agor25085: Define LDB_MODULESDIR for standalone build.
Jelmer Vernooij [Tue, 11 Sep 2007 16:09:36 +0000 (16:09 +0000)]
r25085: Define LDB_MODULESDIR for standalone build.
(This used to be commit 1ba883c62e86274a55c1a0012201fc2e8b6b57fc)

13 years agor25084: Move samba-specific code out of lib/ldb directory.
Jelmer Vernooij [Tue, 11 Sep 2007 16:06:32 +0000 (16:06 +0000)]
r25084: Move samba-specific code out of lib/ldb directory.
(This used to be commit 917bd737cb07817664d9088860588d47525f5ff8)

13 years agor25083: Keep actual symbol names the same.
Jelmer Vernooij [Tue, 11 Sep 2007 15:50:31 +0000 (15:50 +0000)]
r25083: Keep actual symbol names the same.
(This used to be commit 106118f116400c8601ebb3cd93b35278a6f09605)

13 years agor25082: Avoid use of MACHINE because it's defined already on Tru64. Thanks to Björn...
Jelmer Vernooij [Tue, 11 Sep 2007 15:47:49 +0000 (15:47 +0000)]
r25082: Avoid use of MACHINE because it's defined already on Tru64. Thanks to Björn and BaT for pointing this out.
(This used to be commit e2ea41740bc7781b3278f9533b4d24bc9222b3a2)

13 years agor25081: Add modules_dir member to ldb_context that is used rather than a global
Jelmer Vernooij [Tue, 11 Sep 2007 15:42:19 +0000 (15:42 +0000)]
r25081: Add modules_dir member to ldb_context that is used rather than a global
modulesdir setting. Samba always sets this to lp_modulesdir()/ldb
(This used to be commit e672380d2156cf0421108a9c34f04f096c2afeed)

13 years agor25073: Correct test name so make test can pass again.
Andrew Bartlett [Tue, 11 Sep 2007 01:02:50 +0000 (01:02 +0000)]
r25073: Correct test name so make test can pass again.

Andrew Bartlett
(This used to be commit adcb3c864a5af5286cd7f7f6e2a3b904c7db9f42)

13 years agor25071: Add some more testcases for RPC-DRSUAPI-CRACKNAMES, proving I can't
Andrew Bartlett [Tue, 11 Sep 2007 00:19:10 +0000 (00:19 +0000)]
r25071: Add some more testcases for RPC-DRSUAPI-CRACKNAMES, proving I can't
use this as a backend for the LSA LookupNames call.

Andrew Bartlett
(This used to be commit 9266e36633fc7465edb725f78d7ed02ce1b1aca2)

13 years agor25070: Revert DRSUAPI conversion to new API, as it broke some tests.
Jelmer Vernooij [Mon, 10 Sep 2007 23:47:29 +0000 (23:47 +0000)]
r25070: Revert DRSUAPI conversion to new API, as it broke some tests.
(This used to be commit cfb33df2d0eb36704d4702948a78102153663131)