jelmer/samba4-debian.git
16 years agor20365: SWAT updates, part 2
Derrell Lipman [Wed, 27 Dec 2006 21:24:27 +0000 (21:24 +0000)]
r20365: SWAT updates, part 2

16 years agor20364: SWAT updates, part 1
Derrell Lipman [Wed, 27 Dec 2006 21:22:01 +0000 (21:22 +0000)]
r20364: SWAT updates, part 1

These next few check-ins will add a working Statistics module to SWAT, and add
an API Documentation module as well.

Next step will be to modify the LDB browser to work with this new module and
fsm structure.

Derrell

16 years agor20360: level -4 of DsReplicaGetInfo(), which gives back all open bind handles
Stefan Metzmacher [Wed, 27 Dec 2006 18:00:20 +0000 (18:00 +0000)]
r20360: level -4 of DsReplicaGetInfo(), which gives back all open bind handles
returned by DsBind() on all drsuapi connection also contains the client
ip address. Also the u1 value of the clients DsBindInfoX structure is returned
in u5 here...

metze

16 years agor20359: level -1 of DsGetDomainControllerInfo gives back a list
Stefan Metzmacher [Wed, 27 Dec 2006 17:57:20 +0000 (17:57 +0000)]
r20359: level -1 of DsGetDomainControllerInfo gives back a list
of all active connections to the Directory Service Agent (DSA)
(This can be LDAP or DRSUAPI connections)

abartlet: you had just luck by using flag(BIG_ENDIAN) as BIG_ENDIAN is
          defined in <endian.h>, it should be flag(NDR_BIG_ENDIAN)...

metze

16 years agor20358: - fix ejs generated code for ipv4address
Stefan Metzmacher [Wed, 27 Dec 2006 15:36:50 +0000 (15:36 +0000)]
r20358: - fix ejs generated code for ipv4address
- (not Parse::Pidl::Typelist::scalar_is_reference($e->{TYPE}))
  is much more generic than ($e->{TYPE} ne "string")
  and handles ipv4address and other special types...

metze

16 years agor20357: run_trans2test and torture_trans2_scan are two separate tests
Volker Lendecke [Wed, 27 Dec 2006 15:24:48 +0000 (15:24 +0000)]
r20357: run_trans2test and torture_trans2_scan are two separate tests

16 years agor20354: Trusted domains don't have a surname, I think we want 'cn' here.
Andrew Bartlett [Wed, 27 Dec 2006 03:23:25 +0000 (03:23 +0000)]
r20354: Trusted domains don't have a surname, I think we want 'cn' here.

Andrew Bartlett

16 years agor20353: Restructure the DRSUAPI DsGetDomainControllerInfo test, because as
Andrew Bartlett [Wed, 27 Dec 2006 02:01:38 +0000 (02:01 +0000)]
r20353: Restructure the DRSUAPI DsGetDomainControllerInfo test, because as
usual things are more complex than they appear.

Also remove the incorrect server-side implementation, which blindly
assumed some sense of consistancy across the API switch levels.

Andrew Bartlett

16 years agor20352: Use the common function to find the DN for a domain.
Andrew Bartlett [Wed, 27 Dec 2006 01:59:33 +0000 (01:59 +0000)]
r20352: Use the common function to find the DN for a domain.

Andrew Bartlett

16 years agor20351: ensure these variables are set in the right place in the Makefile
Andrew Tridgell [Wed, 27 Dec 2006 00:36:03 +0000 (00:36 +0000)]
r20351: ensure these variables are set in the right place in the Makefile

16 years agor20350: configure svn:ignore values via a .ignore file
Derrell Lipman [Mon, 25 Dec 2006 19:39:36 +0000 (19:39 +0000)]
r20350: configure svn:ignore values via a .ignore file

16 years agor20348: don't check in auto-generated code
Derrell Lipman [Mon, 25 Dec 2006 19:30:02 +0000 (19:30 +0000)]
r20348: don't check in auto-generated code

16 years agor20347: added generic rpc fsm and statistics-specific fsm. next step: statistics gui
Derrell Lipman [Mon, 25 Dec 2006 19:23:33 +0000 (19:23 +0000)]
r20347: added generic rpc fsm and statistics-specific fsm.  next step: statistics gui

16 years agor20346: This is the beginnings of a framework for a complete SWAT. It will provide
Derrell Lipman [Sun, 24 Dec 2006 21:42:02 +0000 (21:42 +0000)]
r20346: This is the beginnings of a framework for a complete SWAT.  It will provide
for easily adding modules, and using as much common code as possible.
Although all modules are loaded to the browser as part of the application,
modules are not actually initialized, their finite state machines generated,
or their graphical user interfaces built until they are selected to be viewed
for the first time.

I'm checking this in at this early stage because I promised Brad some
check-ins a week ago, and the flu has kept me unable to do anything for the
past 10 days.  Now that I'm back in working order, I hope to be building on
this regularly over the next few days.

Derrell

16 years agor20341: Make sure we do not regress on r20338 in Samba3
Volker Lendecke [Sun, 24 Dec 2006 15:09:47 +0000 (15:09 +0000)]
r20341: Make sure we do not regress on r20338 in Samba3

16 years agor20332: add mastered-By and msDs-mastered-By attributes to the domain object
Stefan Metzmacher [Sat, 23 Dec 2006 10:55:45 +0000 (10:55 +0000)]
r20332: add mastered-By and msDs-mastered-By attributes to the domain object
the config and schema head objects already have them

metze

16 years agor20331: the last entry in the oid mapping array which starts with 0xFF
Stefan Metzmacher [Sat, 23 Dec 2006 10:39:26 +0000 (10:39 +0000)]
r20331: the last entry in the oid mapping array which starts with 0xFF
is the content of the schemaInfo attribute of the schema head object

metze

16 years agor20328: use prereq function instead of local implementation.
Rafal Szczesniak [Fri, 22 Dec 2006 22:34:45 +0000 (22:34 +0000)]
r20328: use prereq function instead of local implementation.

rafal

16 years agor20327: start to analyse the schema content
Stefan Metzmacher [Fri, 22 Dec 2006 21:31:57 +0000 (21:31 +0000)]
r20327: start to analyse the schema content

metze

16 years agor20326: always set the binding->target_hostname!
Stefan Metzmacher [Fri, 22 Dec 2006 19:38:32 +0000 (19:38 +0000)]
r20326: always set the binding->target_hostname!
we crashed before trying ncacn_np: for frsrpc
as frsrpc doesn't have a ncacn_np endpoint listed
in the idl header and the endpoint mapping code
was trying our smbcli lib with a
NULL target_hostname -> called_name

metze

16 years agor20325: handle NULL strings in is_ipaddress()
Stefan Metzmacher [Fri, 22 Dec 2006 18:53:39 +0000 (18:53 +0000)]
r20325: handle NULL strings in is_ipaddress()

metze

16 years agor20323: allow empty dcerpc reqeusts, this fixes the RPC-COUNTCALLS test
Stefan Metzmacher [Fri, 22 Dec 2006 18:22:40 +0000 (18:22 +0000)]
r20323: allow empty dcerpc reqeusts, this fixes the RPC-COUNTCALLS test

metze

16 years agor20322: I assume the options attribute of the nTDSDSA object contains
Stefan Metzmacher [Fri, 22 Dec 2006 17:40:34 +0000 (17:40 +0000)]
r20322: I assume the options attribute of the nTDSDSA object contains
mutiple flags not just 1 for being a global catalog

metze

16 years agor20321: fix the samdb_partitions_dn() and samdb_sites_dn() calls,
Stefan Metzmacher [Fri, 22 Dec 2006 17:39:01 +0000 (17:39 +0000)]
r20321: fix the samdb_partitions_dn() and samdb_sites_dn() calls,
to use the new samdb_config_dn() call.

also add samdb_ wrappers for samdb_schema_dn() and samdb_config_dn()

metze

16 years agor20320: add missing prototypes
Stefan Metzmacher [Fri, 22 Dec 2006 17:27:07 +0000 (17:27 +0000)]
r20320: add missing prototypes

metze

16 years agor20319: fix compiler warnings
Stefan Metzmacher [Fri, 22 Dec 2006 17:26:09 +0000 (17:26 +0000)]
r20319: fix compiler warnings

metze

16 years agor20318: do what the printf statement says:-)
Stefan Metzmacher [Fri, 22 Dec 2006 17:13:57 +0000 (17:13 +0000)]
r20318: do what the printf statement says:-)

metze

16 years agor20317: store references to all important naming contexts.
Stefan Metzmacher [Fri, 22 Dec 2006 16:59:07 +0000 (16:59 +0000)]
r20317: store references to all important naming contexts.

add ldb_get_config_basedn(), ldb_get_schema_basedn()
and ldb_get_root_basedn()

metze

16 years agor20316: fix compiler warning
Stefan Metzmacher [Fri, 22 Dec 2006 16:53:12 +0000 (16:53 +0000)]
r20316: fix compiler warning

metze

16 years agor20315: Implement the server side of DsGetDomainControllerInfo. This is a
Andrew Bartlett [Fri, 22 Dec 2006 07:04:06 +0000 (07:04 +0000)]
r20315: Implement the server side of DsGetDomainControllerInfo.  This is a
supprisingly complex call...

It turns out that the in/out parameter 'level' is not in/out, but set
seperatly by the server-side code from r->req.req1.level.

This commit also breaks out some common code from samldb into samdb.

Andrew Bartlett

16 years agor20314: I think some hosts need this to get the right ASN1 header deps
Andrew Bartlett [Fri, 22 Dec 2006 07:01:29 +0000 (07:01 +0000)]
r20314: I think some hosts need this to get the right ASN1 header deps

16 years agor20311: Check one more samba3 error path for t2mkdir
Volker Lendecke [Thu, 21 Dec 2006 22:16:16 +0000 (22:16 +0000)]
r20311: Check one more samba3 error path for t2mkdir

16 years agor20309: Don't treat non-supported EAs as fatal against Samba3.
Volker Lendecke [Thu, 21 Dec 2006 21:15:59 +0000 (21:15 +0000)]
r20309: Don't treat non-supported EAs as fatal against Samba3.

Volker

16 years agor20308: ContextSimple can be zero length -- seen in a multi-step gssapi ldap bind...
Volker Lendecke [Thu, 21 Dec 2006 21:14:53 +0000 (21:14 +0000)]
r20308: ContextSimple can be zero length -- seen in a multi-step gssapi ldap bind. Did
not find that in Samba3 code, so there's nothing to port.

Volker

16 years agor20307: remove unused vars
Stefan Metzmacher [Thu, 21 Dec 2006 20:52:31 +0000 (20:52 +0000)]
r20307: remove unused vars

metze

16 years agor20306: remove the static oid mapping table
Stefan Metzmacher [Thu, 21 Dec 2006 20:51:50 +0000 (20:51 +0000)]
r20306: remove the static oid mapping table
and attach the table to the dsdb_schema

metze

16 years agor20305: as the oid mapping table is dynnamic it makes no sense
Stefan Metzmacher [Thu, 21 Dec 2006 20:00:55 +0000 (20:00 +0000)]
r20305: as the oid mapping table is dynnamic it makes no sense
to test the mappings when we got the schema via LDAP
as we don't get the mappings

metze

16 years agor20303: try to fix 'make install' on solaris 8, ln -fs doesn't seem to work if
Stefan Metzmacher [Thu, 21 Dec 2006 10:04:08 +0000 (10:04 +0000)]
r20303: try to fix 'make install' on solaris 8, ln -fs doesn't seem to work if
the link already exist

metze

16 years agor20302: added support for 64 bit file offsets in NBENCH
Andrew Tridgell [Thu, 21 Dec 2006 06:48:42 +0000 (06:48 +0000)]
r20302: added support for 64 bit file offsets in NBENCH

16 years agor20301: add an option torture:readonly which allows the NBENCH test to be run
Andrew Tridgell [Thu, 21 Dec 2006 05:34:26 +0000 (05:34 +0000)]
r20301: add an option torture:readonly which allows the NBENCH test to be run
read only. This is only any use with customer loadfiles, and
pre-created data. I'm using this to test performance as a video
server, with pre-created video files.

16 years agor20300: Trim number of shared libs significantly.
Jelmer Vernooij [Thu, 21 Dec 2006 03:39:33 +0000 (03:39 +0000)]
r20300: Trim number of shared libs significantly.

16 years agor20299: Disable two new tests that are apparently broken.
Jelmer Vernooij [Thu, 21 Dec 2006 02:48:46 +0000 (02:48 +0000)]
r20299: Disable two new tests that are apparently broken.

16 years agor20298: Fix pidl tests (missing symlink..).
Jelmer Vernooij [Thu, 21 Dec 2006 01:51:35 +0000 (01:51 +0000)]
r20298: Fix pidl tests (missing symlink..).

16 years agor20297: Finally got to the bottom of why we were failing the RPC-CRACKNAMES
Andrew Bartlett [Thu, 21 Dec 2006 00:53:38 +0000 (00:53 +0000)]
r20297: Finally got to the bottom of why we were failing the RPC-CRACKNAMES
test against my win2k3 domain.  I have a child domain, and as such the
BUILTIN domain SID appears multiple times in the tree, and is
therefore not unique.

Andrew Bartlett

16 years agor20295: Add a couple more tests to the CrackNames test.
Andrew Bartlett [Thu, 21 Dec 2006 00:22:20 +0000 (00:22 +0000)]
r20295: Add a couple more tests to the CrackNames test.

16 years agor20294: Without this we don't do the ADS join against Win2k3 SP1
Andrew Bartlett [Wed, 20 Dec 2006 23:43:05 +0000 (23:43 +0000)]
r20294: Without this we don't do the ADS join against Win2k3 SP1

Andrew Bartlett

16 years agor20293: implement store chunk hook for libnet_BecomeDC()
Stefan Metzmacher [Wed, 20 Dec 2006 21:54:06 +0000 (21:54 +0000)]
r20293: implement store chunk hook for libnet_BecomeDC()

metze

16 years agor20292: set ntds_dn_str if DsAddEntry() was successful
Stefan Metzmacher [Wed, 20 Dec 2006 21:17:19 +0000 (21:17 +0000)]
r20292: set ntds_dn_str if DsAddEntry() was successful

metze

16 years agor20291: implement prepare_db hook of libnet_BecomeDC()
Stefan Metzmacher [Wed, 20 Dec 2006 21:14:44 +0000 (21:14 +0000)]
r20291: implement prepare_db hook of libnet_BecomeDC()

metze

16 years agor20288: fix a mem leak and remove useless code
Stefan Metzmacher [Wed, 20 Dec 2006 16:58:10 +0000 (16:58 +0000)]
r20288: fix a mem leak and remove useless code

metze

16 years agor20286: handle the non oid string cases for pushing too
Stefan Metzmacher [Wed, 20 Dec 2006 16:53:29 +0000 (16:53 +0000)]
r20286: handle the non oid string cases for pushing too

metze

16 years agor20285: pass more info to check_options hook and move behavior versions etc.
Stefan Metzmacher [Wed, 20 Dec 2006 16:34:35 +0000 (16:34 +0000)]
r20285: pass more info to check_options hook and move behavior versions etc.
to the domain and forest structures

metze

16 years agor20284: Simplify OID primitive BER parsing.
Simo Sorce [Wed, 20 Dec 2006 15:51:02 +0000 (15:51 +0000)]
r20284: Simplify OID primitive BER parsing.
Do not require an artificial ASN.1 context to be setup.

Simo.

16 years agor20283: pass in callbacks to libnet_BecomeDC() from the caller
Stefan Metzmacher [Wed, 20 Dec 2006 15:34:32 +0000 (15:34 +0000)]
r20283: pass in callbacks to libnet_BecomeDC() from the caller
and implement the check_options call

metze

16 years agor20282: prepare callback infrastructure to check if the forest/domain
Stefan Metzmacher [Wed, 20 Dec 2006 14:49:40 +0000 (14:49 +0000)]
r20282: prepare callback infrastructure to check if the forest/domain
behaviors and the schema version is what the caller expects.
also a callback prepares the new database and commits chunks
to the partitions

metze

16 years agor20281: remove debug statement
Stefan Metzmacher [Wed, 20 Dec 2006 14:47:07 +0000 (14:47 +0000)]
r20281: remove debug statement

metze

16 years agor20280: if the uint8_t array starts with 0xFF, then it's not a OID
Stefan Metzmacher [Wed, 20 Dec 2006 14:44:14 +0000 (14:44 +0000)]
r20280: if the uint8_t array starts with 0xFF, then it's not a OID
and we return the array as hexstring. this is always in the last
array member of the meppings array, and I is always 21 bytes long

w2k in mixed mode:   FF0000000000000000000000000000000000000000
w2k3 in mixed mode:  FF00000002A5DA73B101C43B449028E2F832FE466F
w2k3 in native mode: FF00000001635D94BDE62E2C4C9BAC9D6AFA4F69F8

I assume it's some kind of schema version...

metze

16 years agor20278: make it possible to use oid strings in the drsuapi instead of uint8_t arrays
Stefan Metzmacher [Wed, 20 Dec 2006 13:05:13 +0000 (13:05 +0000)]
r20278: make it possible to use oid strings in the drsuapi instead of uint8_t arrays
with ber encoded oid's

metze

16 years agor20277: make sure the asn1 structure has a welldefined state after a asn1_free()
Stefan Metzmacher [Wed, 20 Dec 2006 12:53:58 +0000 (12:53 +0000)]
r20277: make sure the asn1 structure has a welldefined state after a asn1_free()

metze

16 years agor20276: remove unneeded talloc_strdup()
Stefan Metzmacher [Wed, 20 Dec 2006 12:51:29 +0000 (12:51 +0000)]
r20276: remove unneeded talloc_strdup()

metze

16 years agor20275: we should check for the oid the caller gave us!
Stefan Metzmacher [Wed, 20 Dec 2006 12:50:03 +0000 (12:50 +0000)]
r20275: we should check for the oid the caller gave us!

metze

16 years agor20274: add missing return statement and make it more explicit that we return a NULL...
Stefan Metzmacher [Wed, 20 Dec 2006 12:49:11 +0000 (12:49 +0000)]
r20274: add missing return statement and make it more explicit that we return a NULL DATA_BLOB

metze

16 years agor20272: Fix for BASE-BENCH-READWRITE from Mathias Dietz <MDIETZ@de.ibm.com>
Volker Lendecke [Wed, 20 Dec 2006 07:46:22 +0000 (07:46 +0000)]
r20272: Fix for BASE-BENCH-READWRITE from Mathias Dietz <MDIETZ@de.ibm.com>

16 years agor20259: add function to start a fake tag so that asn1_read_OID_String()
Stefan Metzmacher [Tue, 19 Dec 2006 19:28:49 +0000 (19:28 +0000)]
r20259: add function to start a fake tag so that asn1_read_OID_String()
can work alone

metze

16 years agor20258: add functions to read and write asn1 encoded OID strings without leading tag
Stefan Metzmacher [Tue, 19 Dec 2006 19:25:49 +0000 (19:25 +0000)]
r20258: add functions to read and write asn1 encoded OID strings without leading tag

metze

16 years agor20251: I found out that the oid-prefix to uint32-id-prefix mapping is transferred
Stefan Metzmacher [Tue, 19 Dec 2006 13:38:42 +0000 (13:38 +0000)]
r20251: I found out that the oid-prefix to uint32-id-prefix mapping is transferred
in replication replies, but I don't know the exact encoding.

for example the oids are transferred as:

2.5.4 => uint8_t v[] = { 0x55, 0x04 };
2.5.5 => uint8_t v[] = { 0x55, 0x05 };
2.5.6 => uint8_t v[] = { 0x55, 0x06 };
2.5.18 => uint8_t v[] = { 0x55, 0x12 };
2.5.20 => uint8_t v[] = { 0x55, 0x14 };
2.5.21 => uint8_t v[] = { 0x55, 0x15 };
1.2.840.113556.1.2 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x02 };
1.2.840.113556.1.3 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x03 };
1.2.840.113556.1.4 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x04 };
1.2.840.113556.1.5 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x05 };
1.2.840.113556.1.5.7000 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x05, 0xb6, 0x58 };
1.2.840.113549.1.9 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x09 };
2.16.840.1.113730.3 => uint8_t v[] = { 0x60, 0x86, 0x48, 0x01, 0x86, 0xf8, 0x42, 0x03 };
2.16.840.1.113730.3.1 => uint8_t v[] = { 0x60, 0x86, 0x48, 0x01, 0x86, 0xf8, 0x42, 0x03, 0x01 };
2.16.840.1.113730.3.2 => uint8_t v[] = { 0x60, 0x86, 0x48, 0x01, 0x86, 0xf8, 0x42, 0x03, 0x02 };
0.9.2342.19200300.100.1 => uint8_t v[] = { 0x09, 0x92, 0x26, 0x89, 0x93, 0xf2, 0x2c, 0x64, 0x01 };
0.9.2342.19200300.100.4 => uint8_t v[] = { 0x09, 0x92, 0x26, 0x89, 0x93, 0xf2, 0x2c, 0x64, 0x04 };
1.3.6.1.4.1.250.1 => uint8_t v[] = { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x81, 0x7a, 0x01 };
1.3.6.1.4.1.1466.101.119=> uint8_t v[] = { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x8b, 0x3a, 0x65, 0x77 };

if someone knows how the encoding works, please tell me:-)
I assume some ASN.1 encoding...

metze

16 years agor20234: metze pointed out that we are re-loading the cache records on each
Andrew Tridgell [Sun, 17 Dec 2006 23:11:46 +0000 (23:11 +0000)]
r20234: metze pointed out that we are re-loading the cache records on each
write. We should only be doing this if another process writes and
changes the seqnum. This avoids the extra cache loads

16 years agor20233: add functions to create a dsdb_attribute and dsdb_class from
Stefan Metzmacher [Sun, 17 Dec 2006 21:58:49 +0000 (21:58 +0000)]
r20233: add functions to create a dsdb_attribute and dsdb_class from
a drsuapi_DsReplicaObject

metze

16 years agor20232: specify attribute name and structure element name always together
Stefan Metzmacher [Sun, 17 Dec 2006 20:19:06 +0000 (20:19 +0000)]
r20232: specify attribute name and structure element name always together
there're a view elements where both values doesn't match

LDAP-SCHEMA now successful loads the schema

metze

16 years agor20231: - add more oid => uint32 id mappings
Stefan Metzmacher [Sun, 17 Dec 2006 20:11:40 +0000 (20:11 +0000)]
r20231: - add more oid => uint32 id mappings
- handle the case where mappings for 1.2.3.4. and 1.2.3.4.5. prefixes
  exist
- extend test suite for the mappings

metze

16 years agor20230: I found more mappings of OID string to uint32 id
Stefan Metzmacher [Sun, 17 Dec 2006 19:36:09 +0000 (19:36 +0000)]
r20230: I found more mappings of OID string to uint32 id

metze

16 years agor20226: rename macros with a _LDB at the end, because I'll add macros with _DS
Stefan Metzmacher [Sun, 17 Dec 2006 13:34:56 +0000 (13:34 +0000)]
r20226: rename macros with a _LDB at the end, because I'll add macros with _DS
soon

metze

16 years agor20225: we can't use composite_error() in a _recv() function, as that would
Stefan Metzmacher [Sun, 17 Dec 2006 13:33:43 +0000 (13:33 +0000)]
r20225: we can't use composite_error() in a _recv() function, as that would
trigger the caller to call the _recv() function again and will be an endless
loop.

this is just a fix the to prevent this, and use a more usefull error code
than NT_STATUS_UNSUCCESSFUL

I think we should move the checks about valid responses into the function
which receives the the response (here continue_name_found()),
so that the _recv() function only needs to transfer the output vars to the caller
without any logic to analyse the network response.

metze

16 years agor20224: the struct element msDs_Schema_Extensions and the attribute name "msDs-Schema...
Stefan Metzmacher [Sun, 17 Dec 2006 13:20:57 +0000 (13:20 +0000)]
r20224: the struct element msDs_Schema_Extensions and the attribute name "msDs-Schema-Extensions"
doesn't match so we need to pass 2 parameters to the GET_BLOB() macro

metze

16 years agor20223: this function is in the torture test now
Stefan Metzmacher [Sun, 17 Dec 2006 13:05:34 +0000 (13:05 +0000)]
r20223: this function is in the torture test now

metze

16 years agor20222: return status unsuccessful when null pointers are returned
Rafal Szczesniak [Sun, 17 Dec 2006 13:01:35 +0000 (13:01 +0000)]
r20222: return status unsuccessful when null pointers are returned
from lookup call.

rafal

16 years agor20221: - move the dsdb_schema, dsdb_attribute, dsdb_class structs into
Stefan Metzmacher [Sun, 17 Dec 2006 02:19:56 +0000 (02:19 +0000)]
r20221: - move the dsdb_schema, dsdb_attribute, dsdb_class structs into
  a generic location
- this struct should be also used by the dsdb/samdb/ldb_modules/schema.c
  module later
- add functions to map from LDAP OID values to uint32_t values
- add torture test for the OID => uint32 mapping code

metze

16 years agor20220: Apply patch from Brad Henry with some additional qooxdoo/json-rpc SWAT
Derrell Lipman [Sat, 16 Dec 2006 19:07:37 +0000 (19:07 +0000)]
r20220: Apply patch from Brad Henry with some additional qooxdoo/json-rpc SWAT
functionality: basic admin console.

16 years agor20219: add enough knowledge to display the content of attributeSchema objects
Stefan Metzmacher [Sat, 16 Dec 2006 19:05:50 +0000 (19:05 +0000)]
r20219: add enough knowledge to display the content of attributeSchema objects

metze

16 years agor20213: add 2 error codes related to the msDs-IntId attribute
Stefan Metzmacher [Sat, 16 Dec 2006 17:21:53 +0000 (17:21 +0000)]
r20213: add 2 error codes related to the msDs-IntId attribute

metze

16 years agor20205: remove unused var
Stefan Metzmacher [Sat, 16 Dec 2006 01:24:43 +0000 (01:24 +0000)]
r20205: remove unused var

metze

16 years agor20204: use symbolic constant
Stefan Metzmacher [Sat, 16 Dec 2006 01:21:59 +0000 (01:21 +0000)]
r20204: use symbolic constant

metze

16 years agor20198: let the IBM checker ignore the warning about a missing break
Stefan Metzmacher [Fri, 15 Dec 2006 23:00:24 +0000 (23:00 +0000)]
r20198: let the IBM checker ignore the warning about a missing break
statement...

metze

16 years agor20195: fix typo
Stefan Metzmacher [Fri, 15 Dec 2006 22:51:31 +0000 (22:51 +0000)]
r20195: fix typo

metze

16 years agor20194: inline all static talloc functions
Stefan Metzmacher [Fri, 15 Dec 2006 22:47:50 +0000 (22:47 +0000)]
r20194: inline all static talloc functions

metze

16 years agor20193: - let talloc_parent_chunk() handle a NULL pointer
Stefan Metzmacher [Fri, 15 Dec 2006 22:45:36 +0000 (22:45 +0000)]
r20193: - let talloc_parent_chunk() handle a NULL pointer
- use talloc_parent_chunk() in talloc_parent_name()
- add prototype of talloc_parent_name()

metze

16 years agor20192: I assume a 'break' is the correct thing to do here,
Stefan Metzmacher [Fri, 15 Dec 2006 22:37:06 +0000 (22:37 +0000)]
r20192: I assume a 'break' is the correct thing to do here,

simo,tridge: please check this.

found by the IBM checker

metze

16 years agor20191: fix bug found by the IBM checker
Stefan Metzmacher [Fri, 15 Dec 2006 22:00:56 +0000 (22:00 +0000)]
r20191: fix bug found by the IBM checker

metze

16 years agor20190: fix the ldb_ldap backend
Stefan Metzmacher [Fri, 15 Dec 2006 21:04:01 +0000 (21:04 +0000)]
r20190: fix the ldb_ldap backend

metze

16 years agor20189: remove unused struct element
Stefan Metzmacher [Fri, 15 Dec 2006 20:22:17 +0000 (20:22 +0000)]
r20189: remove unused struct element

metze

16 years agor20188: move back to an default attribute handler and not use the '*' attribute
Stefan Metzmacher [Fri, 15 Dec 2006 18:56:56 +0000 (18:56 +0000)]
r20188: move back to an default attribute handler and not use the '*' attribute
to not conflict with the one that maybe added via the @ATTRIBUTES object

this is just to make the test-tdb-feature.sh torture test happy

There's still a bug when a attribute is registered multiple time
without removing old ldb_schema_attribute instances. But this bug
was there before my changes too and was just triggered by my changes

metze

16 years agor20187: fix the build on systems without sqlite3
Stefan Metzmacher [Fri, 15 Dec 2006 17:54:47 +0000 (17:54 +0000)]
r20187: fix the build on systems without sqlite3

metze

16 years agor20185: - SMB_ENABLE() needs upper case YES/NO
Stefan Metzmacher [Fri, 15 Dec 2006 13:12:18 +0000 (13:12 +0000)]
r20185: - SMB_ENABLE() needs upper case YES/NO
- fix compilation of the ldb_sqlite3 module

metze

16 years agor20184: change ldb_attrib_handler into ldb_schema_attribute, which has a pointer
Stefan Metzmacher [Fri, 15 Dec 2006 13:08:57 +0000 (13:08 +0000)]
r20184: change ldb_attrib_handler into ldb_schema_attribute, which has a pointer
to a ldb_schema_syntax struct.

the default attribute handler is now registered dynamicly as "*"
attribute, instead of having its own code path.

ldb_schema_attribute's can be added to the ldb_schema given a
ldb_schema_syntax struct or the syntax name

we may also need to introduce a ldb_schema_matching_rule,
and add a pointer to a default ldb_schema_matching_rule
in the ldb_schema_syntax.

metze

16 years agor20182: make the composite api usage more consistant (only cosmetic change)
Stefan Metzmacher [Fri, 15 Dec 2006 11:07:35 +0000 (11:07 +0000)]
r20182: make the composite api usage more consistant (only cosmetic change)

metze

16 years agor20177: return the actual function status code.
Rafal Szczesniak [Thu, 14 Dec 2006 22:45:12 +0000 (22:45 +0000)]
r20177: return the actual function status code.

rafal

16 years agor20176: Info method returns null object if the user is not found.
Rafal Szczesniak [Thu, 14 Dec 2006 22:14:07 +0000 (22:14 +0000)]
r20176: Info method returns null object if the user is not found.

rafal

16 years agor20175: use libnet context instead mem_ctx as the latter gets
Rafal Szczesniak [Thu, 14 Dec 2006 22:12:53 +0000 (22:12 +0000)]
r20175: use libnet context instead mem_ctx as the latter gets
freed just before the function returns.

rafal

16 years agor20168: start separating attributes and syntaxes
Stefan Metzmacher [Thu, 14 Dec 2006 10:03:21 +0000 (10:03 +0000)]
r20168: start separating attributes and syntaxes

metze

16 years agor20167: reenable the ejsnet tests
Stefan Metzmacher [Thu, 14 Dec 2006 08:25:24 +0000 (08:25 +0000)]
r20167: reenable the ejsnet tests

metze