nivanova/samba-autobuild/.git
16 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

metze
(This used to be commit ad3ec174088393a9efb265fa7a135fbfd080b6a7)

16 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...

metze
(This used to be commit 869c30abb660d00fdf7e049f69a8e4312d86a50c)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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

metze
(This used to be commit 52dfec08e7b09c3d80c7e5efc88889144079fc9e)

16 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

metze
(This used to be commit 5679e7d824d8a814b6cbc39855bb30086aad7b6c)

16 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 <mwallnoefer@yahoo.de>

rafal
(This used to be commit 4fe47e4f976f125537b6a9fc7b13b25efe3d73a6)

16 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

metze
(This used to be commit 87559febdf887940ca85571d301269b734906401)

16 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)

16 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.

metze
(This used to be commit af259f35f22ea24c1b2f2e007998bfa0bb58f6f6)

16 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

metze
(This used to be commit 2abd86f520a74662f8fe0d10b72484459c3d74a9)

16 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

metze
(This used to be commit 86809a965e160d0e6dff2d9bde8c990783388d8d)

16 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

metze
(This used to be commit 6ea0d61ab3bbf801709ca683ce84bfa71267f8f9)

16 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)

16 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)

16 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)

16 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)

16 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...

metze
(This used to be commit 97e535338be61c4f6675de3bfb3396bf43ba0103)

16 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.

metze
(This used to be commit 2b2e8414650f4793e7fd6e7fb368383ee268948f)

16 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()

metze
(This used to be commit 8f2db3c130ce85d38f805836a7df039822ede066)

16 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.

metze
(This used to be commit 32bb276920d3f6987427613c6f1bc71557d8893e)

16 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()

metze
(This used to be commit d0306ed16b55034f48cb514ea1f4dcd1d388ac50)

16 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

metze
(This used to be commit 502251451aa78b82131283d0590b382943b1d156)

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

metze
(This used to be commit c0d095c8c9c1f9a7a96771e20680c105f0cce308)

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

metze
(This used to be commit 489758afb22368399054d1306711e14cebce94e1)

16 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()

metze
(This used to be commit 780c1c776e15f7224256a0ba0bda3e9f04702abe)

16 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

metze
(This used to be commit 8532076720ddaf3409db1196550cd7c6884380fc)

16 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()

metze
(This used to be commit c2931540bc6e2d7665ef46a123f1c0618c3b55b7)

16 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.

metze
(This used to be commit 92106e6b7e4ed3b6e1aa942b6dc8ae52fdf5805b)

16 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...

metze
(This used to be commit 4bce808917e296a0d50f39516da06bfb12418cf8)

16 years agor25204: Patch by Andrew Kroeger <andrew@sprocks.gotdns.com> fixing bug #4958 -
Andrew Bartlett [Tue, 18 Sep 2007 06:36:07 +0000 (06:36 +0000)]
r25204: Patch by Andrew Kroeger <andrew@sprocks.gotdns.com> 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)

16 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)

16 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
patch.

Andrew Bartlett
(This used to be commit 99e013207e4a10a97fe3b37eb901bc33805731a9)

16 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 <mwallnoefer@yahoo.de>

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)

16 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)

16 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...

metze
(This used to be commit 96d2f8b3604b8d34bc65877886d1d663131a712a)

16 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)

16 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)

16 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)

metze
(This used to be commit 84b5babae7d24f5e076318f57642c99e40e7bf6b)

16 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

metze
(This used to be commit 3807699c001ce7a8ee0acba071cc2bb7f4406cd9)

16 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.

metze
(This used to be commit 9d6d296105526c55f08d82d289a30b92193d51e3)

16 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)

16 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)

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

metze
(This used to be commit 9d73932972ca5ceaf941c4b7cc88fe1fa19e1cc2)

16 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

metze
(This used to be commit 77050171ae1c8157ff2c7722fb0b046efb82411d)

16 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

metze
(This used to be commit eee5327dc2f79c052c2db0ca89f23cc9d2ce355d)

16 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().
Jeremy.
(This used to be commit 0844dbf597191b3e4d35a696695b229e986daec4)

16 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)

16 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)

16 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)

16 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.
Jeremy.
(This used to be commit 5bb8613b86a6788efde840d5b50710f9afd22fed)

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

metze
(This used to be commit 3d321a5efc22f8a702095f7704a36325a97db138)

16 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

metze
(This used to be commit 1fc3a37902005a4f127191b9183747ddfb1f59a3)

16 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)

16 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...

metze
(This used to be commit 775f723c80335d3c701b907af18420ae68933d2f)

16 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...

metze
(This used to be commit 4c8063b9c4ca2c0359859338a8335e177e9c31bd)

16 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.
Jeremy.
(This used to be commit 948d32bb62b0e8c68cc961a380eae602ffc71870)

16 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...

metze
(This used to be commit 5522ee146151603e64e0fc26fc8c900b0403c883)

16 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

metze
(This used to be commit 3e0f22c85769cac7a5f439836be7b692259ddd81)

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

metze
(This used to be commit d0ada02532d10e8b31c390ee191b94c2f2299cb0)

16 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

metze
(This used to be commit c2b645c8763fd75a0a81983ec44a5990670c4fc4)

16 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)

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

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 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)

16 years agor25056: Install some extra files. Patch from Stefan Gohmann
Jelmer Vernooij [Mon, 10 Sep 2007 15:06:05 +0000 (15:06 +0000)]
r25056: Install some extra files. Patch from Stefan Gohmann
(This used to be commit 1b13c91375682011e1951c008b83a0780ec20d38)

16 years agor25053: Show the user class alongside the username.
Andrew Bartlett [Mon, 10 Sep 2007 06:09:16 +0000 (06:09 +0000)]
r25053: Show the user class alongside the username.

(Trying to figure out why we can't provision as an administrator).

Andrew Bartlett
(This used to be commit 080bfd5819aa6ceb51508c01dc91d0e591836afd)

16 years agor25052: This missing 'break' caused problems on 32 bit platforms only, due to
Andrew Bartlett [Mon, 10 Sep 2007 04:41:14 +0000 (04:41 +0000)]
r25052: This missing 'break' caused problems on 32 bit platforms only, due to
alignment of the union.

Sorry for the time it took to test and fix this.

Andrew Bartlett
(This used to be commit 5b893fc6f59aa9324360ca1af4b504a2c140e806)

16 years agor25051: Move SWAT back to the old-style form-submit modal.
Andrew Bartlett [Mon, 10 Sep 2007 03:44:47 +0000 (03:44 +0000)]
r25051: Move SWAT back to the old-style form-submit modal.

The Web 2.0, async client tools were really interesting, but without
developer backing they remain impossible to support into a release.

The most interesting app was the LDB browser, and I intend to replace
this with phpLdapAdmin, preconfigured for Apache during provision.

This also removes the need to 'compile' SWAT on SVN checkouts.

Andrew Bartlett
(This used to be commit cda965e908055d45b1c05bc29cc791f7238d2fae)

16 years agor25048: From the archives (patch found in one of my old working trees):
Andrew Bartlett [Mon, 10 Sep 2007 01:39:20 +0000 (01:39 +0000)]
r25048: From the archives (patch found in one of my old working trees):

Try two different DNs, when performing a samsync from an AD server.

Andrew Bartlett
(This used to be commit 8204e261b5c554866a8433362477b532d1123e5d)

16 years agor25047: Fix more warnings.
Jelmer Vernooij [Sun, 9 Sep 2007 19:34:30 +0000 (19:34 +0000)]
r25047: Fix more warnings.
(This used to be commit 69de86d2d2e49439760fbc61901eb87fb7fc5d55)

16 years agor25046: Ditch tdb_traverse() as it doesn't lend itself to any Python idioms
Tim Potter [Sun, 9 Sep 2007 12:02:51 +0000 (12:02 +0000)]
r25046: Ditch tdb_traverse() as it doesn't lend itself to any Python idioms
and the semantics can be reproduced using tdb_firstkey() and
tdb_nextkey().  Oh, and also because I can't figure out how to get SWIG
to do exactly what I want here.
(This used to be commit 59b44a9796c8254c59ff110c436d8832af81bedc)

16 years agor25045: Add constants for enum TDB_ERROR.
Tim Potter [Sun, 9 Sep 2007 06:41:15 +0000 (06:41 +0000)]
r25045: Add constants for enum TDB_ERROR.

Remove some functions that I don't think should be in at the moment -
tdb_open_ex(), tdb_reopen{,_all} and locking functions.  Locking
functions may come back at a later stage along with transaction support.
(This used to be commit 89740efc6795c25f222e45a8aa76dd80f0f2ae4e)

16 years agor25044: The has_key() method should return a boolean, not an integer.
Tim Potter [Sun, 9 Sep 2007 06:39:24 +0000 (06:39 +0000)]
r25044: The has_key() method should return a boolean, not an integer.

Add TODO for missing iterator and other oddball methods.
(This used to be commit cd89b6793776b6db75eac09c718bfc9551b7641b)

16 years agor25043: Avoid allocation on with NULL parent.
Jelmer Vernooij [Sun, 9 Sep 2007 01:08:50 +0000 (01:08 +0000)]
r25043: Avoid allocation on with NULL parent.
(This used to be commit 3f30cd5688a532a2d6c4d970c2bc759efa2a1b04)

16 years agor25042: Avoid direct references to global loadparm context.
Jelmer Vernooij [Sat, 8 Sep 2007 21:06:57 +0000 (21:06 +0000)]
r25042: Avoid direct references to global loadparm context.
(This used to be commit 256532ab4b772c5c38bc7ced21408f3ed42fe6b5)

16 years agor25041: Use context in more places, fix warnings.
Jelmer Vernooij [Sat, 8 Sep 2007 20:49:43 +0000 (20:49 +0000)]
r25041: Use context in more places, fix warnings.
(This used to be commit 9bb8738945b80d308e592bbecd44fe4e4f048ad8)

16 years agor25039: Rename service -> loadparm_service, use context more.
Jelmer Vernooij [Sat, 8 Sep 2007 20:03:19 +0000 (20:03 +0000)]
r25039: Rename service -> loadparm_service, use context more.
(This used to be commit ab417cb32bd348c05b20707e73297df05c920079)

16 years agor25038: Pass context in more places.
Jelmer Vernooij [Sat, 8 Sep 2007 19:16:08 +0000 (19:16 +0000)]
r25038: Pass context in more places.
(This used to be commit 8df36c15356b74e075604184558f9d6aa8a3f5e0)

16 years agor25037: Start passing the context around.
Jelmer Vernooij [Sat, 8 Sep 2007 17:25:24 +0000 (17:25 +0000)]
r25037: Start passing the context around.
(This used to be commit 88c72ac75fed673f7bfb65bf633f352f231c90a3)

16 years agor25035: Fix some more warnings, use service pointer rather than service number in...
Jelmer Vernooij [Sat, 8 Sep 2007 16:46:30 +0000 (16:46 +0000)]
r25035: Fix some more warnings, use service pointer rather than service number in more places.
(This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)