Updates from Alain Roy to provide better examples for importing the

schema and to fix problems caused by Windows validating attributes
which have not yet been added before committing the changes.
This commit is contained in:
Todd C. Miller
2010-06-14 10:20:41 -04:00
parent ec77318e32
commit 93d48cfc60

View File

@@ -1,10 +1,27 @@
# #
# Active Directory Schema for sudo configuration (sudoers) # Active Directory Schema for sudo configuration (sudoers)
# #
# To extend your Active Directory schema, run the following command # To extend your Active Directory schema, run one of the following command
# on your Windows DC: # on your Windows DC (default port - Active Directory):
# #
# ldifde -i -f schema.ActiveDirectory -c dc=X dc=YOURDOMAIN,DC=COM # ldifde -i -f schema.ActiveDirectory -c "CN=Schema,CN=Configuration,DC=X" #schemaNamingContext
#
# or on your Windows DC if using another port (with Active Directory LightWeight Directory Services / ADAM-Active Directory Application Mode)
# Port 50000 by example (or any other port specified when defining the ADLDS/ADAM instance
#
# ldifde -i -f schema.ActiveDirectory -t 50000 -c "CN=Schema,CN=Configuration,DC=X" #schemaNamingContext
#
# or
#
# ldifde -i -f schema.ActiveDirectory -s server:port -c "CN=Schema,CN=Configuration,DC=X" #schemaNamingContext
#
# Can add username domain and password
#
# -b username domain password
#
# Can create Log file in current or any directory
#
# -j .
# #
dn: CN=sudoUser,CN=Schema,CN=Configuration,DC=X dn: CN=sudoUser,CN=Schema,CN=Configuration,DC=X
@@ -141,6 +158,12 @@ name: sudoRunAsGroup
schemaIDGUID:: xJhSt/Yd3RGJPTB1VtiVkw== schemaIDGUID:: xJhSt/Yd3RGJPTB1VtiVkw==
objectCategory: CN=Attribute-Schema,CN=Schema,CN=Configuration,DC=X objectCategory: CN=Attribute-Schema,CN=Schema,CN=Configuration,DC=X
dn:
changetype: modify
add: schemaUpdateNow
schemaUpdateNow: 1
-
dn: CN=sudoRole,CN=Schema,CN=Configuration,DC=X dn: CN=sudoRole,CN=Schema,CN=Configuration,DC=X
changetype: add changetype: add
objectClass: top objectClass: top