s4: Remove autogenerated attributes from minschema and fullschema output
[kai/samba.git] / source4 / scripting / bin / fullschema
index 02e90f6973c7232d1726e0b6732d505bf4defea4..d3bf398e6579278ff6e96d08b009c746156c87d2 100644 (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))
 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")
 
 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"])
 
 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",
 # the attributes we need for objectclasses
 class_attrs = ["objectClass", 
                "cn",
@@ -62,7 +58,6 @@ class_attrs = ["objectClass",
                "mustContain",
                "auxiliaryClass",
                "rDNAttID",
                "mustContain",
                "auxiliaryClass",
                "rDNAttID",
-               "showInAdvancedViewOnly",
                "adminDisplayName",
                "adminDescription",
                "objectClassCategory",
                "adminDisplayName",
                "adminDescription",
                "objectClassCategory",
@@ -94,7 +89,6 @@ attrib_attrs = ["objectClass",
                 "rangeUpper",
                 "mAPIID",
                 "linkID",
                 "rangeUpper",
                 "mAPIID",
                 "linkID",
-                "showInAdvancedViewOnly",
                 "adminDisplayName",
                 "oMObjectClass",
                 "adminDescription",
                 "adminDisplayName",
                 "oMObjectClass",
                 "adminDescription",
@@ -116,14 +110,6 @@ attrib_attrs = ["objectClass",
                 "isEphemeral",
                 "isDefunct"]
 
                 "isEphemeral",
                 "isDefunct"]
 
-#
-#  notes:
-#
-#  objectClassCategory 
-#      1: structural
-#      2: abstract
-#      3: auxiliary
-
 class Objectclass(dict):
 
     def __init__(self, ldb, name):
 class Objectclass(dict):
 
     def __init__(self, ldb, name):