s4-dsdb: moved a bunch of fuctions from schema/schema_info_attr.c to samdb/ldb_module...
authorAndrew Tridgell <tridge@samba.org>
Thu, 21 Oct 2010 01:47:57 +0000 (12:47 +1100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 21 Oct 2010 08:03:25 +0000 (19:03 +1100)
commit47591ea5ec03916393d22484e3b551da033260ea
tree9beda732635d7fe5e630393a1e9c6d7e3c43e804
parentcffbccb5cb0046bc9713de5d5a89d7f8236888f4
s4-dsdb: moved a bunch of fuctions from schema/schema_info_attr.c to samdb/ldb_modules/schema_util.c

these functions operate on ldb_modules, so they should be in the
ldb_modules directory. They also should return ldb errors codes, not
WERROR codes, as otherwise the error can be hidden from the ldap
caller

This re-arrangement fixes a dependency loop in the schema/samdb code.

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Pair-Programmed-With: Kamen Mazdrashki <kamenim@samba.org>
source4/dsdb/samdb/ldb_modules/samldb.c
source4/dsdb/samdb/ldb_modules/schema_util.c [new file with mode: 0644]
source4/dsdb/samdb/ldb_modules/wscript_build
source4/dsdb/schema/schema_info_attr.c
source4/dsdb/wscript_build
source4/torture/drs/unit/schemainfo_tests.c
source4/torture/drs/wscript_build