1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s4: Remove autogenerated attributes from minschema and fullschema output

These attributes will be generated by Samba on import, and do not need
to be in the schema file.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett 2009-03-20 16:18:40 +11:00
parent 653dd024a6
commit f696bb81f8
2 changed files with 0 additions and 16 deletions

View File

@ -22,7 +22,6 @@ parser.add_option_group(sambaopts)
credopts = options.CredentialsOptions(parser)
parser.add_option_group(credopts)
parser.add_option_group(options.VersionOptions(parser))
parser.add_option("--verbose", help="Be verbose", action="store_true")
parser.add_option("--dump-classes", action="store_true")
parser.add_option("--dump-attributes", action="store_true")
@ -48,9 +47,6 @@ lp_ctx = sambaopts.get_loadparm()
creds = credopts.get_credentials(lp_ctx)
ldb = Ldb(url, credentials=creds, lp=lp_ctx, options=["modules:paged_searches"])
objectclasses = {}
attributes = {}
# the attributes we need for objectclasses
class_attrs = ["objectClass",
"cn",
@ -62,7 +58,6 @@ class_attrs = ["objectClass",
"mustContain",
"auxiliaryClass",
"rDNAttID",
"showInAdvancedViewOnly",
"adminDisplayName",
"adminDescription",
"objectClassCategory",
@ -94,7 +89,6 @@ attrib_attrs = ["objectClass",
"rangeUpper",
"mAPIID",
"linkID",
"showInAdvancedViewOnly",
"adminDisplayName",
"oMObjectClass",
"adminDescription",
@ -116,14 +110,6 @@ attrib_attrs = ["objectClass",
"isEphemeral",
"isDefunct"]
#
# notes:
#
# objectClassCategory
# 1: structural
# 2: abstract
# 3: auxiliary
class Objectclass(dict):
def __init__(self, ldb, name):

View File

@ -72,7 +72,6 @@ class_attrs = ["objectClass",
"mustContain",
"auxiliaryClass",
"rDNAttID",
"showInAdvancedViewOnly",
"adminDisplayName",
"adminDescription",
"objectClassCategory",
@ -104,7 +103,6 @@ attrib_attrs = ["objectClass",
"rangeUpper",
"mAPIID",
"linkID",
"showInAdvancedViewOnly",
"adminDisplayName",
"oMObjectClass",
"adminDescription",