summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-08-28 18:00:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:16:53 -0500
commit3ddab071eb81023fa99e69d0a8a2d696cf56db70 (patch)
tree64d9ffddc16a2e57d1f2615c83bc6eec7a39b1d2 /source4/dsdb/samdb/ldb_modules
parent3400d91197aef446d6d113363f12edd7f14525a4 (diff)
downloadsamba-3ddab071eb81023fa99e69d0a8a2d696cf56db70.tar.gz
samba-3ddab071eb81023fa99e69d0a8a2d696cf56db70.tar.bz2
samba-3ddab071eb81023fa99e69d0a8a2d696cf56db70.zip
r17894: better name for the internal syntax type
(This used to be commit 4241a1bb832461ca44ce0f20cb770ea2b6f2d7e3)
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r--source4/dsdb/samdb/ldb_modules/schema.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/schema.c b/source4/dsdb/samdb/ldb_modules/schema.c
index 21a6527e10..3e8a70a043 100644
--- a/source4/dsdb/samdb/ldb_modules/schema.c
+++ b/source4/dsdb/samdb/ldb_modules/schema.c
@@ -41,7 +41,7 @@
see ldap_server/devdocs/AD-syntaxes.txt
*/
-enum schema_int_attr_id {
+enum schema_internal_syntax {
SCHEMA_AS_BOOLEAN,
SCHEMA_AS_INTEGER,
SCHEMA_AS_OCTET_STRING,
@@ -77,7 +77,7 @@ enum schema_class_type {
struct schema_attribute {
char *OID; /* attributeID */
char *name; /* lDAPDisplayName */
- enum schema_int_attr_id syntax; /* generated from attributeSyntax, oMSyntax, oMObjectClass */
+ enum schema_internal_syntax syntax; /* generated from attributeSyntax, oMSyntax, oMObjectClass */
bool single; /* isSingleValued */
int min; /* rangeLower */
int max; /* rangeUpper */
@@ -253,7 +253,7 @@ struct schema_attribute **schema_get_attrs_list(struct ldb_module *module,
return list;
}
-static int map_schema_syntax(uint32_t om_syntax, const char *attr_syntax, const struct ldb_val *om_class, enum schema_int_attr_id *syntax)
+static int map_schema_syntax(uint32_t om_syntax, const char *attr_syntax, const struct ldb_val *om_class, enum schema_internal_syntax *syntax)
{
int ret;